Hi neel,

perhaps you could give this class back to the community? You are not the 
only one who wants to use this feature ...

best regards
   Stephan

Thierry Boileau schrieb:
> Hello neel,
>
> in this case, you need to update the request's entity 
> (request#setEntity()) with a new Representation.
> One solution is to instantiate a StringRepresentation with the text of 
> the current representation. In this case, you lost all of its attributes.
> Another solution is to wrap the current representation with a subclass 
> of the WrapperRepresentation class. You will have to override the 
> getText(), and getStream() methods - I guess - in order to keep the 
> content persistent.
>
> Best regards,
> Thierry Boileau

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

Reply via email to