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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -