Module org.eclipse.jetty.ee8.nested
Package org.eclipse.jetty.ee8.nested
Class ContextHandler.CoreContextHandler
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.server.Handler.Abstract
org.eclipse.jetty.server.Handler.AbstractContainer
org.eclipse.jetty.server.Handler.Wrapper
org.eclipse.jetty.server.handler.ContextHandler
org.eclipse.jetty.ee8.nested.ContextHandler.CoreContextHandler
- All Implemented Interfaces:
org.eclipse.jetty.server.AliasCheck,org.eclipse.jetty.server.Handler,org.eclipse.jetty.server.Handler.Container,org.eclipse.jetty.server.Handler.Singleton,org.eclipse.jetty.server.Request.Handler,org.eclipse.jetty.util.Attributes,org.eclipse.jetty.util.component.Container,org.eclipse.jetty.util.component.Destroyable,org.eclipse.jetty.util.component.Dumpable,org.eclipse.jetty.util.component.Dumpable.DumpableContainer,org.eclipse.jetty.util.component.LifeCycle,org.eclipse.jetty.util.thread.Invocable
- Enclosing class:
ContextHandler
public class ContextHandler.CoreContextHandler
extends org.eclipse.jetty.server.handler.ContextHandler
implements org.eclipse.jetty.server.Request.Handler
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.server.handler.ContextHandler
org.eclipse.jetty.server.handler.ContextHandler.Availability, org.eclipse.jetty.server.handler.ContextHandler.ContextScopeListener, org.eclipse.jetty.server.handler.ContextHandler.ScopedContextNested classes/interfaces inherited from class org.eclipse.jetty.server.Handler.Abstract
org.eclipse.jetty.server.Handler.Abstract.NonBlockingNested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
org.eclipse.jetty.util.Attributes.Layer, org.eclipse.jetty.util.Attributes.Lazy, org.eclipse.jetty.util.Attributes.Mapped, org.eclipse.jetty.util.Attributes.Synthetic, org.eclipse.jetty.util.Attributes.WrapperNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.server.Handler
org.eclipse.jetty.server.Handler.Abstract, org.eclipse.jetty.server.Handler.AbstractContainer, org.eclipse.jetty.server.Handler.Collection, org.eclipse.jetty.server.Handler.Container, org.eclipse.jetty.server.Handler.Sequence, org.eclipse.jetty.server.Handler.Singleton, org.eclipse.jetty.server.Handler.WrapperNested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
org.eclipse.jetty.util.thread.Invocable.Callable, org.eclipse.jetty.util.thread.Invocable.InvocationType, org.eclipse.jetty.util.thread.Invocable.ReadyTask, org.eclipse.jetty.util.thread.Invocable.TaskNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
org.eclipse.jetty.util.component.LifeCycle.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.server.Request.Handler
org.eclipse.jetty.server.Request.Handler.AbortException -
Field Summary
Fields inherited from class org.eclipse.jetty.server.handler.ContextHandler
CROSS_CONTEXT_ATTRIBUTE, MANAGED_ATTRIBUTESFields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, STARTED, STARTING, STOPPED, STOPPINGFields inherited from interface org.eclipse.jetty.util.Attributes
NULLFields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEYFields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking, NOOP -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voiddoStart()protected voiddoStop()org.eclipse.jetty.util.resource.ResourcevoidinsertHandler(org.eclipse.jetty.server.Handler.Singleton handler) voidprotected org.eclipse.jetty.server.handler.ContextHandler.ScopedContextprotected voidnotifyEnterScope(org.eclipse.jetty.server.Request coreRequest) protected voidnotifyExitScope(org.eclipse.jetty.server.Request coreRequest) voidsetContextPath(String contextPath) voidsetHandler(org.eclipse.jetty.server.Handler handler) voidsetServer(org.eclipse.jetty.server.Server server) voidsetTempDirectory(File dir) protected org.eclipse.jetty.server.handler.ContextRequestwrapRequest(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response) Methods inherited from class org.eclipse.jetty.server.handler.ContextHandler
addAliasCheck, addEventListener, addVirtualHosts, checkAlias, checkVirtualHost, cleanupAfterStop, clearAliasChecks, clearAttributes, destroy, dump, enterScope, exitScope, getAliasChecks, getAllowNullPathInContext, getAttribute, getBaseName, getBaseResource, getClassLoader, getClassPath, getContext, getContextHandler, getContextPath, getCrossContextHandler, getCurrentContext, getCurrentContext, getCurrentContextHandler, getDisplayName, getErrorHandler, getMimeTypes, getProtectedTargets, getTempDirectory, getVirtualHosts, handle, handleByContextHandler, handleMovedPermanently, handleUnavailable, isAvailable, isCrossContextDispatchSupported, isProtectedTarget, isTempDirectoryPersistent, removeAttribute, removeEventListener, removeVirtualHosts, setAliasChecks, setAllowNullPathInContext, setAttribute, setAvailable, setBaseResource, setBaseResourceAsPath, setBaseResourceAsString, setClassLoader, setCrossContextDispatchSupported, setDisplayName, setErrorHandler, setProtectedTargets, setTempDirectoryPersistent, setVirtualHosts, toString, wrapResponseMethods inherited from class org.eclipse.jetty.server.Handler.Wrapper
getHandler, getInvocationTypeMethods inherited from class org.eclipse.jetty.server.Handler.AbstractContainer
findContainerOf, getDescendant, getDescendants, isDynamic, setDynamicMethods inherited from class org.eclipse.jetty.server.Handler.Abstract
getServerMethods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addManaged, contains, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, installBean, installBean, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeansMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.Attributes
asAttributeMap, equals, hashCodeMethods inherited from interface org.eclipse.jetty.util.component.Container
getCachedBeans, getEventListenersMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dumpSelfMethods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpableMethods inherited from interface org.eclipse.jetty.server.Handler
getServerMethods inherited from interface org.eclipse.jetty.server.Handler.Container
getContainer, getDescendant, getDescendants, getDescendantsMethods inherited from interface org.eclipse.jetty.server.Handler.Singleton
getHandlers, getTail, setHandlerMethods inherited from interface org.eclipse.jetty.util.component.LifeCycle
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stopMethods inherited from interface org.eclipse.jetty.server.Request.Handler
getInvocationType, handle
-
Method Details
-
makeTempDirectory
-
getCanonicalNameForTmpDir
- Overrides:
getCanonicalNameForTmpDirin classorg.eclipse.jetty.server.handler.ContextHandler
-
getResourceForTempDirName
public org.eclipse.jetty.util.resource.Resource getResourceForTempDirName()- Overrides:
getResourceForTempDirNamein classorg.eclipse.jetty.server.handler.ContextHandler
-
setTempDirectory
- Overrides:
setTempDirectoryin classorg.eclipse.jetty.server.handler.ContextHandler
-
setContextPath
- Overrides:
setContextPathin classorg.eclipse.jetty.server.handler.ContextHandler
-
doStart
-
createTempDirectory
public void createTempDirectory()- Overrides:
createTempDirectoryin classorg.eclipse.jetty.server.handler.ContextHandler
-
doStop
-
insertHandler
public void insertHandler(org.eclipse.jetty.server.Handler.Singleton handler) - Specified by:
insertHandlerin interfaceorg.eclipse.jetty.server.Handler.Singleton
-
setHandler
public void setHandler(org.eclipse.jetty.server.Handler handler) - Specified by:
setHandlerin interfaceorg.eclipse.jetty.server.Handler.Singleton- Overrides:
setHandlerin classorg.eclipse.jetty.server.Handler.Wrapper
-
setServer
public void setServer(org.eclipse.jetty.server.Server server) - Specified by:
setServerin interfaceorg.eclipse.jetty.server.Handler- Overrides:
setServerin classorg.eclipse.jetty.server.handler.ContextHandler
-
newContext
protected org.eclipse.jetty.server.handler.ContextHandler.ScopedContext newContext()- Overrides:
newContextin classorg.eclipse.jetty.server.handler.ContextHandler
-
wrapRequest
protected org.eclipse.jetty.server.handler.ContextRequest wrapRequest(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response) - Overrides:
wrapRequestin classorg.eclipse.jetty.server.handler.ContextHandler
-
notifyEnterScope
protected void notifyEnterScope(org.eclipse.jetty.server.Request coreRequest) - Overrides:
notifyEnterScopein classorg.eclipse.jetty.server.handler.ContextHandler
-
notifyExitScope
protected void notifyExitScope(org.eclipse.jetty.server.Request coreRequest) - Overrides:
notifyExitScopein classorg.eclipse.jetty.server.handler.ContextHandler
-
getContextHandler
-
getAttributeNameSet
-