Section 5.2.3 Passing the Request and Response

A handler inspects the request and uses the target, requests URI or other information in selecting another handler to pass the request to. These handlers typically implement the HandlerContainer interface.

Example:

  • HandlerCollection – A collection of handlers, where each handler is called regardless of the state of the request. This is typically used to pass a request to a ContextHandlerCollection and then, the a RequestLogHandler.
  • HandlerList – A list of handlers which are called in turn until the request state is set as handled.
  • ContextHandlerCollection – A collection of Handlers of which on is selected by best match for the context path.


  • Currently 3.06/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
  Flag Inappropriate Content 0 comments