public class JettyHttpContext
extends com.sun.net.httpserver.HttpContext
HttpContext
Modifier | Constructor and Description |
---|---|
protected |
JettyHttpContext(com.sun.net.httpserver.HttpServer server,
String path,
com.sun.net.httpserver.HttpHandler handler) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAttributes() |
com.sun.net.httpserver.Authenticator |
getAuthenticator() |
List<com.sun.net.httpserver.Filter> |
getFilters() |
com.sun.net.httpserver.HttpHandler |
getHandler() |
protected HttpSpiContextHandler |
getJettyContextHandler() |
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) |
protected JettyHttpContext(com.sun.net.httpserver.HttpServer server, 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 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 Map<String,Object> getAttributes()
getAttributes
in class com.sun.net.httpserver.HttpContext
public 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
Copyright © 1995-2015 Webtide. All Rights Reserved.