Package org.eclipse.jetty.http.spi
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 ofHttpContext
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JettyHttpContext(com.sun.net.httpserver.HttpServer server, java.lang.String path, com.sun.net.httpserver.HttpHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getAttributes()
com.sun.net.httpserver.Authenticator
getAuthenticator()
java.util.List<com.sun.net.httpserver.Filter>
getFilters()
com.sun.net.httpserver.HttpHandler
getHandler()
protected HttpSpiContextHandler
getJettyContextHandler()
java.lang.String
getPath()
com.sun.net.httpserver.HttpServer
getServer()
com.sun.net.httpserver.Authenticator
setAuthenticator(com.sun.net.httpserver.Authenticator auth)
void
setHandler(com.sun.net.httpserver.HttpHandler h)
-
-
-
Method Detail
-
getJettyContextHandler
protected HttpSpiContextHandler getJettyContextHandler()
-
getHandler
public com.sun.net.httpserver.HttpHandler getHandler()
- Specified by:
getHandler
in classcom.sun.net.httpserver.HttpContext
-
setHandler
public void setHandler(com.sun.net.httpserver.HttpHandler h)
- Specified by:
setHandler
in classcom.sun.net.httpserver.HttpContext
-
getPath
public java.lang.String getPath()
- Specified by:
getPath
in classcom.sun.net.httpserver.HttpContext
-
getServer
public com.sun.net.httpserver.HttpServer getServer()
- Specified by:
getServer
in classcom.sun.net.httpserver.HttpContext
-
getAttributes
public java.util.Map<java.lang.String,java.lang.Object> getAttributes()
- Specified by:
getAttributes
in classcom.sun.net.httpserver.HttpContext
-
getFilters
public java.util.List<com.sun.net.httpserver.Filter> getFilters()
- Specified by:
getFilters
in classcom.sun.net.httpserver.HttpContext
-
setAuthenticator
public com.sun.net.httpserver.Authenticator setAuthenticator(com.sun.net.httpserver.Authenticator auth)
- Specified by:
setAuthenticator
in classcom.sun.net.httpserver.HttpContext
-
getAuthenticator
public com.sun.net.httpserver.Authenticator getAuthenticator()
- Specified by:
getAuthenticator
in classcom.sun.net.httpserver.HttpContext
-
-