camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nojonojo <n0...@yahoo.com>
Subject restlet response content type and return code
Date Tue, 03 Feb 2009 21:22:12 GMT


Is there a way to set the content type and return code on the response sent
by the Restlet component?  Looking at the code, it's clear that the answer
is "no" for the content type - you get either text/plain or text/xml (no
chance for application/JSON or anything else user-defined).

Thanks.

Nolan
-- 
View this message in context: http://www.nabble.com/restlet-response-content-type-and-return-code-tp21819209s22882p21819209.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message