I am using REST-Jersey
in my project. All the POST data is send in JSON
format and unmarshalled at server-side into respective beans. Something lik
You can only read the content once, because it's an input stream. If you pick it up in the interceptor then you won't be able to provide it in the main parsing.
What you need to do is to create a filter which reads the data and makes it available to anyone else who needs it. Basic steps are: