java - Any way to zip the RestLet StringRepresentation response -


i using restlet , returning xml response stringrepresentation. 1 of service need return large amount of data makes response size close 5 mb.

is there way zip response?

wrapping in encoderepresentationshould work psudocode:

return new encoderepresentation(encoding.zip, stringrepresentation); 

do double check have selected correct encoding there few options.


Comments

Popular posts from this blog

c# - Sort XmlNodeList with a specific Node value -

Android Java.Lang.RuntimeException : Unable to start activity Component Info -

actionscript 3 - Equivalent to moveReceived in ElectroServer 5 -