Hi
On 06/08/14 06:57, New Groovy wrote:
Hi,

I have a method that receives a POST-ed parameter, so as such, it is not a
path/query param etc.

I need to access it in an In-Interceptor, but am struggling to retrieve
it.  I get the path/query ones from the UriInfo object, but can't figure
out how to get the unnamed one.

Do you implement ContainerRequestFilter ? If so ContainerRequestContext (passed as a parameter to the filter) has a method like getEntityStream() or similar. Make sure to replace the stream if you expect it be read by the service later on

Cheers, Sergey
Would appreciate some pointers.

Thanks!


Reply via email to