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++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -