Hello Tobias, I wonder what the correct media type extension to use in the annotated > methods for the MediaType.TEXT_URI_LIST is? It is not listed here: > > http://www.restlet.org/documentation/snapshot/jee/api/org/restlet/service/MetadataService.html#addCommonExtensions%28%29 >
In this case, you can add your own extension by calling the MetadataService#addExtension(String, MediaType) method. This media type has been created originally for internal use (especially for the Directory restlet). It was not intended to reflect a widely used media type. What about the other MediaTypes not listed here that were available in > restlet 1.x? > humm, I think both lists of shipped media types and extensions have been enriched. Best regards, Thierry Boileau > > best regards, > Tobias > -- > Dipl.-Bioinf. Tobias Girschick > > Technische Universität München > Institut für Informatik > Lehrstuhl I12 - Bioinformatik > Bolzmannstr. 3 > 85748 Garching b. München, Germany > > Room: MI 01.09.042 > Phone: +49 (89) 289-18002 > Email: [email protected] > Web: http://wwwkramer.in.tum.de/girschick > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2671231 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2671280

