Class DefaultContext

All Implemented Interfaces:
WebContext, Adaptable

public class DefaultContext extends AbstractWebContext
Author:
Bogdan Stefanescu
  • Field Details

    • info

      protected javax.ws.rs.core.UriInfo info
    • headers

      protected javax.ws.rs.core.HttpHeaders headers
    • sic

      protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext sic
    • hc

      protected com.sun.jersey.api.core.HttpContext hc
  • Constructor Details

    • DefaultContext

      public DefaultContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
  • Method Details

    • getHttpHeaders

      public javax.ws.rs.core.HttpHeaders getHttpHeaders()
      Description copied from interface: WebContext
      Gets HTTP Headers as defined by JAX-RS.
      Returns:
      HTTP headers object
    • getUriInfo

      public javax.ws.rs.core.UriInfo getUriInfo()
      Description copied from interface: WebContext
      Gets the JAX-RS UriInfo.
      Returns:
      the uri info
    • getServerHttpContext

      public com.sun.jersey.api.core.HttpContext getServerHttpContext()
      Description copied from interface: WebContext
      Gets the jersey server http context
    • getServerInjectableProviderContext

      public com.sun.jersey.server.impl.inject.ServerInjectableProviderContext getServerInjectableProviderContext()
      Description copied from interface: WebContext
      Gets the jersey server injection context
    • setJerseyContext

      public void setJerseyContext(com.sun.jersey.server.impl.inject.ServerInjectableProviderContext sic, com.sun.jersey.api.core.HttpContext hc)