Hello,
It's not quite clear how to set available media types to my resource
implemented with ServerResource.
Before in init() method i didi following
 
>>getVariants().add(new Variant(MediaType.TEXT_HTML));
 
How to handle the same with new ServerResource class ?
-- 
View this message in context: 
http://n2.nabble.com/How-to-set-set-avaialable-variants-in-ServerResource-tp3559080p3559080.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2389696

Reply via email to