org.eclipse.jetty.server
Interface HandlerContainer
- All Superinterfaces:
- LifeCycle
- All Known Implementing Classes:
- AbstractHandlerContainer, ContextHandler, ContextHandlerCollection, DebugHandler, HandlerCollection, HandlerList, HandlerWrapper, HotSwapHandler, MovedContextHandler, RequestLogHandler, ScopedHandler, Server, SessionHandler, StatisticsHandler
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(java.lang.Class<?> byclass)
- Parameters:
byclass -
- Returns:
- array of all handlers contained by this handler and it's children of the passed type.
getChildHandlerByClass
Handler getChildHandlerByClass(java.lang.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.