Class HandlerCollection

All Implemented Interfaces:
Handler, HandlerContainer, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
Direct Known Subclasses:
ContextHandlerCollection, HandlerList

@ManagedObject("Handler of multiple handlers") public class HandlerCollection extends AbstractHandlerContainer
A collection of handlers.

The default implementations calls all handlers in list order, regardless of the response status or exceptions. Derived implementation may alter the order or the conditions of calling the contained handlers.

  • Field Details

  • Constructor Details

    • HandlerCollection

      public HandlerCollection()
    • HandlerCollection

      public HandlerCollection(Handler... handlers)
    • HandlerCollection

      public HandlerCollection(boolean mutableWhenRunning, Handler... handlers)
  • Method Details