Hi everybody, I would like to use query parameters in order to specify the media type to be sent to the client. Tunneling and metadata services should do the trick.
However I cannot achieve this. I called in createRoot() of the JaxRsApplication (I am the using JAX-RS extension) getTunnelService().setEnabled(true); getTunnelService().setExtensionsTunnel(true); getMetadataService().addCommonExtensions() getMetadataService().setEnabled(true) and request some URI using: ?media=json ?media=application/json ?accept=application/json but it doesn't seem to work. Any hint? Thanks, Fabio ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1574220