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
Post a Comment