0 Replies Latest reply on Mar 31, 2014 6:31 PM by Gabriel Francisco dos Santos Silva

    Get HttpServletRequest parameters in a MessageBodyReader.

    Gabriel Francisco dos Santos Silva Newbie

      Is there a way to get HttpServletRequest parameters inside a MessageBodyReader? I'm trying to inject HttpServletRequest inside the MessageBodyReader and the parameters map is empty, but, if I try to inject HttpServletRequest inside the JAX-RS endpoint, I get all the parameters.

       

      Does anyone know why?

       

      Thanks!