Interface Handler.Container
- All Superinterfaces:
org.eclipse.jetty.util.component.Destroyable, Handler, org.eclipse.jetty.util.thread.Invocable, org.eclipse.jetty.util.component.LifeCycle, Request.Handler
- All Known Subinterfaces:
Handler.Collection, Handler.Singleton, HandlerContainer
- All Known Implementing Classes:
AbstractHandlerContainer, BufferedResponseHandler, ConditionalHandler, ConditionalHandler.Abstract, ConditionalHandler.DontHandle, ConditionalHandler.ElseNext, ConditionalHandler.Reject, ConditionalHandler.SkipNext, ConnectHandler, ContextHandler, ContextHandlerCollection, CrossOriginHandler, DebugHandler, DelayedHandler, EventsHandler, GracefulHandler, GzipHandler, Handler.AbstractContainer, Handler.Sequence, Handler.Wrapper, HotSwapHandler, IdleTimeoutHandler, InetAccessHandler, LatencyRecordingHandler, MovedContextHandler, PathMappingsHandler, QoSHandler, ResourceHandler, ResourceHandler.ResourceContext, SecuredRedirectHandler, Server, ShutdownHandler, SizeLimitHandler, SizeLimitHandler, StateTrackingHandler, StatisticsHandler, StatisticsHandler.MinimumDataRateHandler, ThreadLimitHandler, TryPathsHandler
- Enclosing interface:
Handler
A Handler that contains one or more other Handlers.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface Handler
Handler.Abstract, Handler.AbstractContainer, Handler.Collection, Handler.Container, Handler.Sequence, Handler.Singleton, 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 Request.Handler
Request.Handler.AbortException -
Field Summary
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking, NOOP -
Method Summary
Modifier and TypeMethodDescriptiondefault <T extends Handler.Container>
TgetContainer(Handler handler, Class<T> type) default <T extends Handler>
TgetDescendant(Class<T> type) getDescendants(Class<T> type) Methods inherited from interface org.eclipse.jetty.util.component.Destroyable
destroyMethods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addEventListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, start, stopMethods inherited from interface Request.Handler
getInvocationType, handle
-
Method Details
-
getHandlers
-
getDescendants
-
getDescendants
-
getDescendant
-
getContainer
- Type Parameters:
T- the type of the containerHandler- Parameters:
handler- the descendantHandlertype- the class of the containerHandler- Returns:
- the
Handler.Containerdescendant of thisHandlerthat is the ancestor of the givenHandler
-