title: How can I access form parameters from an interceptor on a JAX-RS service?
body: <p>I need to access html form parameters processed by JAX-RS in an interceptor defined as follows:</p>
  
  <pre><code>@Interceptor
  @InterceptThis
  public class MyInterceptor{
      @AroundInvoke
      public Object process(InvocationContext context) throws Exception{
          //I need to access form parameters here!
  
          return context.proceed();
      }
  }
  </code></pre>
  
  <p>I've tried injecting an HttpServletRequest and extracting it from there but the parameters are not available, they seem to have been consumed by the JAX-RS framework.  I can use @FormParam to inject the values into the method call in my service class but I can't do that in the interceptor.</p>
  
  <p>Is there any way to access form parameters from an interceptor after the JAX-RS implementation has already read them?</p>
  
  <p>I am using Apache CXF on TomEE.</p>