Class JettyHttpContext

java.lang.Object
com.sun.net.httpserver.HttpContext
org.eclipse.jetty.http.spi.JettyHttpContext

public class JettyHttpContext extends com.sun.net.httpserver.HttpContext
Jetty implementation of HttpContext
  • Constructor Details

    • JettyHttpContext

      protected JettyHttpContext(com.sun.net.httpserver.HttpServer server, String path, com.sun.net.httpserver.HttpHandler handler)
  • Method Details

    • getJettyContextHandler

      protected HttpSpiContextHandler getJettyContextHandler()
    • getHandler

      public com.sun.net.httpserver.HttpHandler getHandler()
      Specified by:
      getHandler in class com.sun.net.httpserver.HttpContext
    • setHandler

      public void setHandler(com.sun.net.httpserver.HttpHandler h)
      Specified by:
      setHandler in class com.sun.net.httpserver.HttpContext
    • getPath

      public String getPath()
      Specified by:
      getPath in class com.sun.net.httpserver.HttpContext
    • getServer

      public com.sun.net.httpserver.HttpServer getServer()
      Specified by:
      getServer in class com.sun.net.httpserver.HttpContext
    • getAttributes

      public Map<String,Object> getAttributes()
      Specified by:
      getAttributes in class com.sun.net.httpserver.HttpContext
    • getFilters

      public List<com.sun.net.httpserver.Filter> getFilters()
      Specified by:
      getFilters in class com.sun.net.httpserver.HttpContext
    • setAuthenticator

      public com.sun.net.httpserver.Authenticator setAuthenticator(com.sun.net.httpserver.Authenticator auth)
      Specified by:
      setAuthenticator in class com.sun.net.httpserver.HttpContext
    • getAuthenticator

      public com.sun.net.httpserver.Authenticator getAuthenticator()
      Specified by:
      getAuthenticator in class com.sun.net.httpserver.HttpContext