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 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.
-
-
-
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 interfaceComponentEventRequestFilter
- Parameters:
parameters
- defining details of the requesthandler
- to delegate to- Throws:
IOException
-
-