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
ComponentRequestFilter
handleComponentEvent
in interface ComponentRequestFilter
parameters
- defining the requsthandler
- next handler in the pipelineIOException
public void handlePageRender(PageRenderRequestParameters parameters, ComponentRequestHandler handler) throws IOException
ComponentRequestFilter
ComponentEventResultProcessor
may be used to send an alternate response
(typically, a redirect).handlePageRender
in interface ComponentRequestFilter
parameters
- defines the page name and activation contexthandler
- next handler in the pipelineIOException
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.