Hello,

in this case, the entity has been consumed, directly from the socket and cannot 
be read again.
The benefit from this approach is that such representations (the class of the 
representation should be InputRepresentation) has a minimal impact on memory 
(the representation is not stored), but at the same time, they can only be read 
once.
If you want to reuse the content of the entity, you can dump it into a String, 
or a StringRepresentation.

Having said that, this raises the case where the DomRepresentation is 
instantiated with a unavailable representation... There should be an error, or 
a trace something that keep you informed. I check that. 

Best regards,
Thierry Boileau

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

Reply via email to