Interface Handler.Container
- All Superinterfaces:
 Destroyable, Handler, Invocable, LifeCycle, Request.Handler
- All Known Subinterfaces:
 Handler.Collection, Handler.Singleton, HandlerContainer
- All Known Implementing Classes:
 AbstractHandlerContainer, BufferedResponseHandler, CompressionHandler, ConditionalHandler, ConditionalHandler.Abstract, ConditionalHandler.DontHandle, ConditionalHandler.ElseNext, ConditionalHandler.Reject, ConditionalHandler.SkipNext, ConnectHandler, ConstraintSecurityHandler, ConstraintSecurityHandler, ContextHandler, ContextHandler.CoreContextHandler, ContextHandler.CoreContextHandler, ContextHandlerCollection, CoreAppContext, CrossOriginHandler, DebugHandler, DelayedHandler, DoSHandler, EagerContentHandler, EagerFormHandler, EagerFormHandler, EventsHandler, GracefulHandler, GzipHandler, Handler.AbstractContainer, Handler.Sequence, Handler.Wrapper, HotSwapHandler, HttpSpiContextHandler, IdleTimeoutHandler, InetAccessHandler, LatencyRecordingHandler, MovedContextHandler, PathMappingsHandler, PathMappingsHandler.NoContext, QoSHandler, ResourceHandler, ResourceHandler.ResourceContext, RewriteHandler, SecuredRedirectHandler, SecurityHandler, SecurityHandler.PathMapped, Server, ServletContextHandler, ServletContextHandler, ServletHandler, ServletHandler, SessionHandler, SessionHandler, SessionHandler, ShutdownHandler, SizeLimitHandler, SizeLimitHandler, StateTrackingHandler, StaticAppContext, StatisticsHandler, StatisticsHandler.MinimumDataRateHandler, ThreadLimitHandler, TryPathsHandler, WebAppContext, WebAppContext, WebSocketUpgradeHandler, WebSocketUpgradeHandler
- 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 Invocable
Invocable.Callable, Invocable.InvocationType, Invocable.ReadyTask, Invocable.TaskNested classes/interfaces inherited from interface LifeCycle
LifeCycle.ListenerNested classes/interfaces inherited from interface Request.Handler
Request.Handler.AbortException - 
Field Summary
Fields inherited from interface 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 Destroyable
destroyMethods inherited from interface LifeCycle
addEventListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, start, stopMethods inherited from interface Request.Handler
getInvocationType, handle 
- 
Method Details
- 
getHandlers
@ManagedAttribute(value="The direct children Handlers of this Container", readonly=true) List<Handler> getHandlers()- Returns:
 - an immutable collection of 
Handlers directly contained by thisHandler. 
 - 
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 
 
 -