java - Access Request object from REST -


Is JAX-RS accessible to a request object in a REST method?

I just found out

  @contact request request;  

On JX-RS you have to comment on a parameter:

  @GET Public Response Fu (@contentate request request) {}  

Alternatively, you can also inject:


Comments

Popular posts from this blog

c# - PInvoke of NetUserAdd returns 24 -

c# - XMLDocument.Validate Error: System.InvalidOperationException : The XmlSchemaSet on the document is either null or has no schemas in it -