org.eclipse.jetty.server
Interface HandlerContainer
- All Superinterfaces:
- LifeCycle
- All Known Implementing Classes:
- AbstractHandlerContainer, ConstraintSecurityHandler, ContextHandler, ContextHandlerCollection, DebugHandler, HandlerCollection, HandlerList, HandlerWrapper, HotSwapHandler, MovedContextHandler, RequestLogHandler, RewriteHandler, ScopedHandler, SecurityHandler, Server, ServletContextHandler, ServletHandler, ServletHandler, SessionHandler, StatisticsHandler, WebAppContext
public interface HandlerContainer
- extends LifeCycle
A Handler that contains other Handlers.
The contained handlers may be one (see @{link org.eclipse.jetty.server.server.handler.HandlerWrapper
)
or many (see org.eclipse.jetty.server.server.handler.HandlerList
or org.eclipse.jetty.server.server.handler.HandlerCollection
.
getHandlers
Handler[] getHandlers()
- Returns:
- array of handlers directly contained by this handler.
getChildHandlers
Handler[] getChildHandlers()
- Returns:
- array of all handlers contained by this handler and it's children
getChildHandlersByClass
Handler[] getChildHandlersByClass(Class<?> byclass)
- Parameters:
byclass
-
- Returns:
- array of all handlers contained by this handler and it's children of the passed type.
getChildHandlerByClass
Handler getChildHandlerByClass(Class<?> byclass)
- Parameters:
byclass
-
- Returns:
- first handler of all handlers contained by this handler and it's children of the passed type.
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.