public class JettyHttpContext
extends com.sun.net.httpserver.HttpContext
HttpContext
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.lang.Object> |
_attributes |
private com.sun.net.httpserver.Authenticator |
_authenticator |
private java.util.List<com.sun.net.httpserver.Filter> |
_filters |
private HttpSpiContextHandler |
_jettyContextHandler |
private com.sun.net.httpserver.HttpServer |
_server |
Modifier | Constructor and Description |
---|---|
protected |
JettyHttpContext(com.sun.net.httpserver.HttpServer server,
java.lang.String path,
com.sun.net.httpserver.HttpHandler handler) |
Modifier and Type | Method and 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) |
private HttpSpiContextHandler _jettyContextHandler
private com.sun.net.httpserver.HttpServer _server
private java.util.Map<java.lang.String,java.lang.Object> _attributes
private java.util.List<com.sun.net.httpserver.Filter> _filters
private com.sun.net.httpserver.Authenticator _authenticator
protected JettyHttpContext(com.sun.net.httpserver.HttpServer server, java.lang.String path, com.sun.net.httpserver.HttpHandler handler)
protected HttpSpiContextHandler getJettyContextHandler()
public com.sun.net.httpserver.HttpHandler getHandler()
getHandler
in class com.sun.net.httpserver.HttpContext
public void setHandler(com.sun.net.httpserver.HttpHandler h)
setHandler
in class com.sun.net.httpserver.HttpContext
public java.lang.String getPath()
getPath
in class com.sun.net.httpserver.HttpContext
public com.sun.net.httpserver.HttpServer getServer()
getServer
in class com.sun.net.httpserver.HttpContext
public java.util.Map<java.lang.String,java.lang.Object> getAttributes()
getAttributes
in class com.sun.net.httpserver.HttpContext
public java.util.List<com.sun.net.httpserver.Filter> getFilters()
getFilters
in class com.sun.net.httpserver.HttpContext
public com.sun.net.httpserver.Authenticator setAuthenticator(com.sun.net.httpserver.Authenticator auth)
setAuthenticator
in class com.sun.net.httpserver.HttpContext
public com.sun.net.httpserver.Authenticator getAuthenticator()
getAuthenticator
in class com.sun.net.httpserver.HttpContext