Handler, HandlerContainer, Attributes, Container, Destroyable, Dumpable, Graceful, LifeCyclepublic class HttpSpiContextHandler extends ContextHandler
HttpHandler.AbstractHandler.ErrorDispatchHandlerAbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerContextHandler.AliasCheck, ContextHandler.ApproveAliases, ContextHandler.ApproveNonExistentDirectoryAliases, ContextHandler.Availability, ContextHandler.Context, ContextHandler.ContextScopeListener, ContextHandler.StaticContextLifeCycle.Listener| Modifier and Type | Field | Description |
|---|---|---|
static Logger |
LOG |
FAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING_scontext, DEFAULT_LISTENER_TYPE_INDEX, EXTENDED_LISTENER_TYPE_INDEX, MANAGED_ATTRIBUTES, SERVLET_LISTENER_TYPES, SERVLET_MAJOR_VERSION, SERVLET_MINOR_VERSION_handler_nextScope, _outerScope| Constructor | Description |
|---|---|
HttpSpiContextHandler(com.sun.net.httpserver.HttpContext httpContext,
com.sun.net.httpserver.HttpHandler httpHandler) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
doScope(java.lang.String target,
Request baseRequest,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
|
com.sun.net.httpserver.HttpHandler |
getHttpHandler() |
|
void |
setHttpHandler(com.sun.net.httpserver.HttpHandler handler) |
doError, dumpThis, getServerexpandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClassaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopaddBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddAliasCheck, addEventListener, addLocaleEncoding, addProgrammaticListener, addVirtualHosts, callContextDestroyed, callContextInitialized, checkAlias, checkContext, checkContextPath, checkVirtualHost, clearAliasChecks, clearAttributes, doHandle, doStart, doStop, dump, enterScope, exitScope, getAliasChecks, getAllowNullPathInfo, getAttribute, getAttributeNames, getAttributes, getBaseResource, getClassLoader, getClassPath, getContextHandler, getContextPath, getContextPathEncoded, getCurrentContext, getDisplayName, getErrorHandler, getEventListeners, getInitParameter, getInitParameterNames, getInitParams, getLocaleEncoding, getLocaleEncoding, getLocaleEncodings, getLogger, getMaxFormContentSize, getMaxFormKeys, getMimeTypes, getProtectedTargets, getResource, getResourceBase, getResourcePaths, getServerInfo, getServletContext, getVirtualHosts, getWelcomeFiles, handle, handle, isAvailable, isCompactPath, isProgrammaticListener, isProtectedTarget, isShutdown, isUsingSecurityManager, loadClass, newResource, newResource, newResource, removeAttribute, removeEventListener, removeVirtualHosts, requestDestroyed, requestInitialized, setAliasChecks, setAllowNullPathInfo, setAttribute, setAttributes, setAvailable, setBaseResource, setClassLoader, setCompactPath, setContextPath, setDisplayName, setErrorHandler, setEventListeners, setInitParameter, setLogger, setManagedAttribute, setMaxFormContentSize, setMaxFormKeys, setMimeTypes, setProtectedTargets, setResourceBase, setServer, setServerInfo, setUsingSecurityManager, setVirtualHosts, setWelcomeFiles, shutdown, startContext, stopContext, toStringdestroy, expandChildren, getHandler, getHandlers, insertHandler, setHandleraddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandle, nextHandle, nextScopepublic static final Logger LOG
public HttpSpiContextHandler(com.sun.net.httpserver.HttpContext httpContext,
com.sun.net.httpserver.HttpHandler httpHandler)
public void doScope(java.lang.String target,
Request baseRequest,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.io.IOException,
javax.servlet.ServletException
doScope in class ContextHandlerjava.io.IOExceptionjavax.servlet.ServletExceptionpublic com.sun.net.httpserver.HttpHandler getHttpHandler()
public void setHttpHandler(com.sun.net.httpserver.HttpHandler handler)
Copyright © 1995–2018 Webtide. All rights reserved.