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 encoderepresentation
should work psudocode:
return new encoderepresentation(encoding.zip, stringrepresentation);
do double check have selected correct encoding there few options.
Comments
Post a Comment