Package org.apache.tapestry5.http.services

## Interface Dispatcher

- All Known Implementing Classes:
    `AssetDispatcher`, `ComponentEventDispatcher`, `ModuleDispatcher`, `OpenApiDescriptionDispatcher`, `PageRenderDispatcher`, `RootPathDispatcher`

      @UsesOrderedConfiguration(Dispatcher.class)
      public interface Dispatcher

  A dispatcher is responsible for recognizing an incoming request. Dispatchers form an ordered chain of command, with each dispatcher responsible for recognizing requests that it can process. This is the interface for the MasterDispatcher service, which takes an ordered configuration of Dispatchers (that is, the chain of command pattern). If no dispatcher processes the request, it will ultimately be passed off to the servlet container.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `dispatch​(Request request, Response response)` | Analyzes the incoming request and performs an appropriate operation for each.

- - ### Method Detail

    - #### dispatch

          boolean dispatch​(Request request,
                           Response response)
                    throws java.io.IOException

      Analyzes the incoming request and performs an appropriate operation for each.
      Returns:
        true if a response was delivered, false if the dispatcher did not handle the request (and a search for a handler should continue)
      Throws:
        `java.io.IOException`