public class DeferredResponseRenderer extends Object implements ComponentRequestFilter
TapestryConstants.RESPONSE_RENDERER request attribute,
and invokes it to render the deferred response.| Constructor and Description |
|---|
DeferredResponseRenderer(Request request,
OperationTracker tracker) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleComponentEvent(ComponentEventRequestParameters parameters,
ComponentRequestHandler handler)
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).
|
void |
handlePageRender(PageRenderRequestParameters parameters,
ComponentRequestHandler handler)
Invoked to activate and render a page.
|
public DeferredResponseRenderer(Request request, OperationTracker tracker)
public void handleComponentEvent(ComponentEventRequestParameters parameters, ComponentRequestHandler handler) throws IOException
ComponentRequestFilterhandleComponentEvent in interface ComponentRequestFilterparameters - defining the requsthandler - next handler in the pipelineIOExceptionpublic void handlePageRender(PageRenderRequestParameters parameters, ComponentRequestHandler handler) throws IOException
ComponentRequestFilterComponentEventResultProcessor may be used to send an alternate response
(typically, a redirect).handlePageRender in interface ComponentRequestFilterparameters - defines the page name and activation contexthandler - next handler in the pipelineIOException5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.