public class AjaxComponentEventRequestHandler extends Object implements ComponentEventRequestHandler
ComponentEventRequestHandlerImpl, but built around the Ajax request cycle, where the action
request sends back an immediate JSON response containing the new content.| Constructor and Description |
|---|
AjaxComponentEventRequestHandler(RequestPageCache cache,
Request request,
PageRenderQueue queue,
ComponentEventResultProcessor resultProcessor,
PageActivator pageActivator,
Environment environment,
AjaxPartialResponseRenderer partialRenderer) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(ComponentEventRequestParameters parameters)
Handler for a component action request which will trigger an event on a component and use the return value to
send a response to the client (typically, a redirect to a page render URL).
|
public AjaxComponentEventRequestHandler(RequestPageCache cache, Request request, PageRenderQueue queue, @Ajax ComponentEventResultProcessor resultProcessor, PageActivator pageActivator, Environment environment, AjaxPartialResponseRenderer partialRenderer)
public void handle(ComponentEventRequestParameters parameters) throws IOException
ComponentEventRequestHandlerhandle in interface ComponentEventRequestHandlerparameters - defining the requstIOException5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.