I have a client that sends data with
CONTENT-ENCODING deflate
I have code like this
@RequestMapping(value = \"/connect\",
You don't handle it in Spring. Instead you use a filter so that the data arrives in Spring already deflated.
Hopefully these two links can get you started.