Class JettyHttpContext


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

      Constructors 
      Modifier Constructor Description
      protected JettyHttpContext​(com.sun.net.httpserver.HttpServer server, java.lang.String path, com.sun.net.httpserver.HttpHandler handler)  
    • Constructor Detail

      • JettyHttpContext

        protected JettyHttpContext​(com.sun.net.httpserver.HttpServer server,
                                   java.lang.String path,
                                   com.sun.net.httpserver.HttpHandler handler)
    • Method Detail

      • 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 java.lang.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 java.util.Map<java.lang.String,​java.lang.Object> getAttributes()
        Specified by:
        getAttributes in class com.sun.net.httpserver.HttpContext
      • getFilters

        public java.util.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