While using Soap web services I am able to get the HttpServletRequest by doing this:
[code]
@Resource
WebServiceContext wsContext;
@WebMethod
public void myMethod (){
(javax.servlet.http.HttpServletRequest) wsContext.getMessageContext().get(
MessageContext.SERVLET_REQUEST);
}
[/code]
Is it possible to get an http servlet request using JAX RS?
Thanks for any tips.
[Message sent by forum member 'hoffman462' (HoffmanDanielG_at_gmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=387031