Resources and Representation

2007-03-27 Thread Jim Alateras
Hi, I have some questions on the relationship between Resources and Representations. 1. Is there a mechanism to register Representations for a Resource 2. Is there a mechanism where a Representation is resolved for a specific Resource, given a mediaType or do we need to code for this in

RE: Resources and Representation

2007-03-27 Thread Jerome Louvel
by the framework in the Resource class. You can also manually use it via the Resource.getPreferredRepresentation() method. Best regards, Jerome -Message d'origine- De : Jim Alateras [mailto:[EMAIL PROTECTED] Envoyé : mardi 27 mars 2007 12:16 À : discuss@restlet.tigris.org Objet : Resources