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 ?

-- 
Regards,
Evgeny Shepelyuk

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

Reply via email to