org.eclipse.jetty.http.spi
Class HttpSpiContextHandler
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AggregateLifeCycle
org.eclipse.jetty.server.handler.AbstractHandler
org.eclipse.jetty.server.handler.AbstractHandlerContainer
org.eclipse.jetty.server.handler.HandlerWrapper
org.eclipse.jetty.server.handler.ScopedHandler
org.eclipse.jetty.server.handler.ContextHandler
org.eclipse.jetty.http.spi.HttpSpiContextHandler
- All Implemented Interfaces:
- Handler, HandlerContainer, Server.Graceful, Attributes, Destroyable, Dumpable, LifeCycle
public class HttpSpiContextHandler
- extends ContextHandler
Jetty handler that bridges requests to HttpHandler
.
Constructor Summary |
HttpSpiContextHandler(com.sun.net.httpserver.HttpContext httpContext,
com.sun.net.httpserver.HttpHandler httpHandler)
|
Methods inherited from class org.eclipse.jetty.server.handler.ContextHandler |
addEventListener, addLocaleEncoding, addVirtualHosts, callContextDestroyed, callContextInitialized, checkContext, checkManagedAttribute, clearAttributes, doHandle, doStart, doStop, dump, getAllowNullPathInfo, getAttribute, getAttributeNames, getAttributes, getBaseResource, getClassLoader, getClassPath, getConnectorNames, getContextPath, getCurrentContext, getDisplayName, getErrorHandler, getEventListeners, getInitParameter, getInitParameterNames, getInitParams, getLocaleEncoding, getLocaleEncoding, getLogger, getMaxFormContentSize, getMaxFormKeys, getMimeTypes, getResource, getResourceBase, getResourcePaths, getServletContext, getVirtualHosts, getWelcomeFiles, handle, isAliases, isAvailable, isCompactPath, isProtectedTarget, isShutdown, loadClass, newResource, newResource, removeAttribute, removeVirtualHosts, restrictEventListener, setAliases, setAllowNullPathInfo, setAttribute, setAttributes, setAvailable, setBaseResource, setClassLoader, setCompactPath, setConnectorNames, setContextPath, setDisplayName, setErrorHandler, setEventListeners, setInitParameter, setLogger, setManagedAttribute, setMaxFormContentSize, setMaxFormKeys, setMimeTypes, setResourceBase, setServer, setShutdown, setVirtualHosts, setWelcomeFiles, startContext, toString |
Methods inherited from class org.eclipse.jetty.util.component.AggregateLifeCycle |
addBean, addBean, contains, dump, dump, dump, dump, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, unmanage |
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
HttpSpiContextHandler
public HttpSpiContextHandler(com.sun.net.httpserver.HttpContext httpContext,
com.sun.net.httpserver.HttpHandler httpHandler)
doScope
public void doScope(String target,
Request baseRequest,
HttpServletRequest req,
HttpServletResponse resp)
throws IOException,
ServletException
- Overrides:
doScope
in class ContextHandler
- Throws:
IOException
ServletException
- See Also:
ScopedHandler.doScope(java.lang.String, org.eclipse.jetty.server.Request, javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
getHttpHandler
public com.sun.net.httpserver.HttpHandler getHttpHandler()
setHttpHandler
public void setHttpHandler(com.sun.net.httpserver.HttpHandler handler)
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.