Package org.apache.tapestry5.internal.services

## Class AjaxFilter

- java.lang.Object
- - org.apache.tapestry5.internal.services.AjaxFilter

- All Implemented Interfaces:
    `ComponentEventRequestFilter`

      public class AjaxFilter
      extends java.lang.Object
      implements ComponentEventRequestFilter

  A filter that intercepts Ajax-oriented requests, thos that originate on the client-side using XmlHttpRequest. In these cases, the action processing occurs normally, but the response is quite different.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AjaxFilter​(Request request, ComponentEventRequestHandler ajaxHandler)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `handle​(ComponentEventRequestParameters parameters, ComponentEventRequestHandler handler)` | Filter for a component action request.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AjaxFilter

          public AjaxFilter​(Request request,
                            @Ajax
                            ComponentEventRequestHandler ajaxHandler)

  - ### Method Detail

    - #### handle

          public void handle​(ComponentEventRequestParameters parameters,
                             ComponentEventRequestHandler handler)
                      throws java.io.IOException

      Description copied from interface: `ComponentEventRequestFilter`
      Filter for a component action request.
      Specified by:
        `handle` in interface `ComponentEventRequestFilter`
      Parameters:
        `parameters` - defining details of the request
        `handler` - to delegate to
      Throws:
        `java.io.IOException`