Hi,

Thanks Jerome for your answers.

I also got a comment that custom media type info can be added during server 
resource initialization by calling getVariants().add(new 
Variant("​application/vnd.aaa.​bbb+json")).

Regarding WriterRepresentation. Using this I will have to basically re-write 
all the JSON related stuff that already exists in JsonRepresentation because 
after all my media type's format is JSON. Is it anyhow possible to use existing 
JsonRepresentation but make it return application/vnd.aaa.bbb+json media type 
instead of application/json?

Ivan

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

Reply via email to