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

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -