Hi John,
 
Yes, this is the intention regarding the null stream. Your workaround looks 
good. You may want to leverage the WrapperRepresentation to not have to copy 
all the metadata in the original representation.
 
Also, I've just added a Message#getEntityAsText() method that caches the text 
content, like the existing getEntityAsDom() method. This is available in SVN 
trunk.
 
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com

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

Reply via email to