Java Reference
In-Depth Information
Table 8-4. Context Types
Context Type
Description
Application
Provides information regarding application configuration
UriInfo
Provides static or dynamic information regarding a request URI
HttpHeaders
Provides access to request header information, either in a map format or via convenience
methods
Request
Provides support for content negotiation and preconditions
SecurityContext
Provides information about the security of a request
Providers
Allows for a lookup of provider instances
ResourceContext
Provides access to the instantiation and initialization of resource or subresource classes in the
per-request scope
Summary
The JAX-RS API has been re-worked to enable more customization of REST services. Along with an expanded API
for creating services, a client API has been included with JAX-RS 2.0, providing another standard means for which to
create stand-alone or web clients. Features such as asynchronous processing and filters will increase the capability of
services, while making them more useable via rich clients such as those written in HTML5.
 
 
Search WWH ::




Custom Search