java - How to decode Gzip compressed request body in Spring MVC -


i have client sends data

content-encoding deflate 

i have code this

@requestmapping(value = "/connect", method = requestmethod.post) @responsebody public map onconnect(@requestbody string body){} 

currently 'body' prints out garbled, compressed data. there way make spring mvc automatically uncompress it?

you don't handle in spring. instead use filter data arrives in spring deflated.

hopefully these 2 links can started.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -