org.eclipse.jetty.http.spi
类 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
所有已实现的接口:
Handler, HandlerContainer, Server.Graceful, Attributes, Destroyable, Dumpable, LifeCycle

public class HttpSpiContextHandler
extends ContextHandler

Jetty handler that bridges requests to HttpHandler.


嵌套类摘要
 
从类 org.eclipse.jetty.server.handler.ContextHandler 继承的嵌套类/接口
ContextHandler.AliasCheck, ContextHandler.ApproveNonExistentDirectoryAliases, ContextHandler.ApprovePathPrefixAliases, ContextHandler.ApproveSameSuffixAliases, ContextHandler.Context
 
从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的嵌套类/接口
AbstractLifeCycle.AbstractLifeCycleListener
 
从接口 org.eclipse.jetty.util.component.LifeCycle 继承的嵌套类/接口
LifeCycle.Listener
 
字段摘要
 
从类 org.eclipse.jetty.server.handler.ContextHandler 继承的字段
_scontext, MANAGED_ATTRIBUTES
 
从类 org.eclipse.jetty.server.handler.ScopedHandler 继承的字段
_nextScope, _outerScope
 
从类 org.eclipse.jetty.server.handler.HandlerWrapper 继承的字段
_handler
 
从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的字段
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
 
构造方法摘要
HttpSpiContextHandler(com.sun.net.httpserver.HttpContext httpContext, com.sun.net.httpserver.HttpHandler httpHandler)
           
 
方法摘要
 void doScope(String target, Request baseRequest, HttpServletRequest req, HttpServletResponse resp)
           
 com.sun.net.httpserver.HttpHandler getHttpHandler()
           
 void setHttpHandler(com.sun.net.httpserver.HttpHandler handler)
           
 
从类 org.eclipse.jetty.server.handler.ContextHandler 继承的方法
addAliasCheck, addEventListener, addLocaleEncoding, addVirtualHosts, callContextDestroyed, callContextInitialized, checkContext, checkManagedAttribute, clearAttributes, doHandle, doStart, doStop, dump, getAliasChecks, getAllowNullPathInfo, getAttribute, getAttributeNames, getAttributes, getBaseResource, getClassLoader, getClassPath, getConnectorNames, getContextPath, getCurrentContext, getDisplayName, getErrorHandler, getEventListeners, getInitParameter, getInitParameterNames, getInitParams, getLocaleEncoding, getLocaleEncoding, getLogger, getMaxFormContentSize, getMaxFormKeys, getMimeTypes, getProtectedTargets, 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, setProtectedTargets, setResourceBase, setServer, setShutdown, setVirtualHosts, setWelcomeFiles, startContext, toString
 
从类 org.eclipse.jetty.server.handler.ScopedHandler 继承的方法
handle, never, nextHandle, nextScope
 
从类 org.eclipse.jetty.server.handler.HandlerWrapper 继承的方法
destroy, expandChildren, getHandler, getHandlers, getNestedHandlerByClass, setHandler
 
从类 org.eclipse.jetty.server.handler.AbstractHandlerContainer 继承的方法
expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
 
从类 org.eclipse.jetty.server.handler.AbstractHandler 继承的方法
dumpThis, getServer
 
从类 org.eclipse.jetty.util.component.AggregateLifeCycle 继承的方法
addBean, addBean, contains, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, unmanage
 
从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的方法
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
从接口 org.eclipse.jetty.server.Handler 继承的方法
destroy, getServer, handle
 
从接口 org.eclipse.jetty.util.component.LifeCycle 继承的方法
addLifeCycleListener, 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
覆盖:
ContextHandler 中的 doScope
抛出:
IOException
ServletException
另请参见:
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 © 2013. All Rights Reserved.