Obtaining information about URIs using UriInfo objects
Using Java API for
RESTful Web Services (JAX-RS), you can use the UriInfo object to access
request headers. The UriInfo object provides methods to enable you
to find or build URI information of a request.
Evaluating request preconditions using Request objects
Using Java API for
RESTful Web Services (JAX-RS), you can use the Request object to access
request headers. The Request object provides methods for evaluating
preconditions and for selecting the optimal response variant based
on the request headers.
Last updated: April 18, 2014 05:01 AM CDT http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-iseries&topic=twbs_jaxrs_contextobjects_step4 File name: twbs_jaxrs_contextobjects_step4.html