Package org.eclipse.jetty.server
Interface HandlerContainer
-
- All Superinterfaces:
LifeCycle
- All Known Implementing Classes:
AbstractHandlerContainer
,AsyncDelayHandler
,BufferedResponseHandler
,ConstraintSecurityHandler
,ContextHandler
,ContextHandlerCollection
,DebugHandler
,FileBufferedResponseHandler
,GzipHandler
,HandlerCollection
,HandlerList
,HandlerWrapper
,HotSwapHandler
,IdleTimeoutHandler
,InetAccessHandler
,IPAccessHandler
,MovedContextHandler
,RequestLogHandler
,ResourceHandler
,ScopedHandler
,SecurityHandler
,Server
,ServletContextHandler
,ServletHandler
,SessionHandler
,ShutdownHandler
,StatisticsHandler
,ThreadLimitHandler
,WebAppContext
,WebSocketHandler
,WebSocketHandler.Simple
,WebSocketUpgradeHandlerWrapper
@ManagedObject("Handler of Multiple Handlers") @Deprecated(since="2021-05-27") public interface HandlerContainer extends LifeCycle
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.A Handler that contains other Handlers.The contained handlers may be one (see @{link
HandlerWrapper
) or many (seeHandlerList
orHandlerCollection
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description <T extends Handler>
TgetChildHandlerByClass(java.lang.Class<T> byclass)
Deprecated.Handler[]
getChildHandlers()
Deprecated.Handler[]
getChildHandlersByClass(java.lang.Class<?> byclass)
Deprecated.Handler[]
getHandlers()
Deprecated.-
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
-
-
-
-
Method Detail
-
getHandlers
@ManagedAttribute("handlers in this container") Handler[] getHandlers()
Deprecated.- Returns:
- array of handlers directly contained by this handler.
-
getChildHandlers
@ManagedAttribute("all contained handlers") Handler[] getChildHandlers()
Deprecated.- Returns:
- array of all handlers contained by this handler and it's children
-
getChildHandlersByClass
Handler[] getChildHandlersByClass(java.lang.Class<?> byclass)
Deprecated.- Parameters:
byclass
- the child handler class to get- Returns:
- array of all handlers contained by this handler and it's children of the passed type.
-
getChildHandlerByClass
<T extends Handler> T getChildHandlerByClass(java.lang.Class<T> byclass)
Deprecated.- Type Parameters:
T
- the type of handler- Parameters:
byclass
- the child handler class to get- Returns:
- first handler of all handlers contained by this handler and it's children of the passed type.
-
-