org.eclipse.jetty.server
接口 HandlerContainer
- 所有超级接口:
- LifeCycle
- 所有已知实现类:
- AbstractHandlerContainer, ConnectHandler, ConstraintSecurityHandler, ContextHandler, ContextHandlerCollection, DebugHandler, GzipHandler, HandlerCollection, HandlerList, HandlerWrapper, HotSwapHandler, HttpSpiContextHandler, IPAccessHandler, MovedContextHandler, ProxyHandler, RequestLogHandler, ResourceHandler, RewriteHandler, ScopedHandler, SecurityHandler, Server, ServletContextHandler, ServletHandler, ServletHandler, SessionHandler, StatisticsHandler, WebAppContext, WebSocketHandler
public interface HandlerContainer
- extends LifeCycle
A Handler that contains other Handlers.
The contained handlers may be one (see @{link HandlerWrapper)
or many (see HandlerList or HandlerCollection.
getHandlers
Handler[] getHandlers()
- 返回:
- array of handlers directly contained by this handler.
getChildHandlers
Handler[] getChildHandlers()
- 返回:
- array of all handlers contained by this handler and it's children
getChildHandlersByClass
Handler[] getChildHandlersByClass(Class<?> byclass)
- 参数:
byclass -
- 返回:
- array of all handlers contained by this handler and it's children of the passed type.
getChildHandlerByClass
<T extends Handler> T getChildHandlerByClass(Class<T> byclass)
- 参数:
byclass -
- 返回:
- first handler of all handlers contained by this handler and it's children of the passed type.
Copyright © 2013. All Rights Reserved.