Hello Neel, actually, the default request's representation is an InputRepresentation which reads the entity from a stream and does not persist it in memory. You can still get the full entity text and store it as a String object with the Representation#getText(), and even instantiate a StringRepresentation. Other representations digest the stream and populate a set of objects, such as DomRepresentation (for XML), Feed, Entry, etc (Atom), etc.
Best regards, Thierry Boileau > In Restlet, the Entity in the request only can be read one time by > default. In the development , I usually need to print the entity > context for debugging before the entity is handled. So how to config > or code to make the entity can be read many a time. > > thank you very much !!! > > 2009-11-17 > ------------------------------------------------------------------------ > guozhen07 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2418813

