org.eclipse.jetty.server.handler
类 AbstractHandlerContainer
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AggregateLifeCycle
org.eclipse.jetty.server.handler.AbstractHandler
org.eclipse.jetty.server.handler.AbstractHandlerContainer
- 所有已实现的接口:
- Handler, HandlerContainer, Destroyable, Dumpable, LifeCycle
- 直接已知子类:
- HandlerCollection, HandlerWrapper, HotSwapHandler
public abstract class AbstractHandlerContainer
- extends AbstractHandler
- implements HandlerContainer
Abstract Handler Container.
This is the base class for handlers that may contain other handlers.
| 从类 org.eclipse.jetty.util.component.AggregateLifeCycle 继承的方法 |
addBean, addBean, contains, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, unmanage |
| 从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的方法 |
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractHandlerContainer
public AbstractHandlerContainer()
getChildHandlers
public Handler[] getChildHandlers()
- 指定者:
- 接口
HandlerContainer 中的 getChildHandlers
- 返回:
- array of all handlers contained by this handler and it's children
getChildHandlersByClass
public Handler[] getChildHandlersByClass(Class<?> byclass)
- 指定者:
- 接口
HandlerContainer 中的 getChildHandlersByClass
- 返回:
- array of all handlers contained by this handler and it's children of the passed type.
getChildHandlerByClass
public <T extends Handler> T getChildHandlerByClass(Class<T> byclass)
- 指定者:
- 接口
HandlerContainer 中的 getChildHandlerByClass
- 返回:
- first handler of all handlers contained by this handler and it's children of the passed type.
expandChildren
protected Object expandChildren(Object list,
Class<?> byClass)
expandHandler
protected Object expandHandler(Handler handler,
Object list,
Class<Handler> byClass)
findContainerOf
public static <T extends HandlerContainer> T findContainerOf(HandlerContainer root,
Class<T> type,
Handler handler)
dump
public void dump(Appendable out,
String indent)
throws IOException
- 指定者:
- 接口
Dumpable 中的 dump - 覆盖:
- 类
AggregateLifeCycle 中的 dump
- 抛出:
IOException
Copyright © 2013. All Rights Reserved.