How to read authorization header in JAX-RS service - Stack Overflow
You should use @Context HttpServletRequest request
to inject request in your method, like this:
public Response log(@Context HttpServletRequest req) throws JSONException
Read full article from How to read authorization header in JAX-RS service - Stack Overflow
No comments:
Post a Comment