com.sun.ws.rest.api.core
Interface HttpContext

All Known Subinterfaces:
UriRuleContext

public interface HttpContext

A HttpContext makes it possible for a web resource implementation class to access and manipulate HTTP request and response information directly. Typically a HttpContext is injected into web resource implementation class using the Context annotation.


Method Summary
 HttpRequestContext getRequest()
          Get the HTTP request information.
 HttpResponseContext getResponse()
          Get the HTTP response information.
 ExtendedUriInfo getUriInfo()
          Get the extended URI information.
 

Method Detail

getUriInfo

ExtendedUriInfo getUriInfo()
Get the extended URI information.

Returns:
the extended URI information.

getRequest

HttpRequestContext getRequest()
Get the HTTP request information.

Returns:
the HTTP request information

getResponse

HttpResponseContext getResponse()
Get the HTTP response information.

Returns:
the HTTP response information