org.apache.tapestry5.internal.services

## Class AjaxFilter

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

- All Implemented Interfaces:
    ComponentEventRequestFilter

      public class AjaxFilter
      extends 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 and Description
    `AjaxFilter(Request request, ComponentEventRequestHandler ajaxHandler)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 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:
        `IOException`

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.