public class ComponentRequestHandlerTerminator extends Object implements ComponentRequestHandler
ComponentRequestHandler pipeline, that feeds out into the
ComponentEventRequestHandler and PageRenderRequestHandler
pipelines.| Constructor and Description |
|---|
ComponentRequestHandlerTerminator(ComponentEventRequestHandler componentEventRequestHandler,
PageRenderRequestHandler pageRenderRequestHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleComponentEvent(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).
|
void |
handlePageRender(PageRenderRequestParameters parameters)
Invoked to activate and render a page.
|
public ComponentRequestHandlerTerminator(@Traditional ComponentEventRequestHandler componentEventRequestHandler, PageRenderRequestHandler pageRenderRequestHandler)
public void handleComponentEvent(ComponentEventRequestParameters parameters) throws IOException
ComponentRequestHandlerhandleComponentEvent in interface ComponentRequestHandlerparameters - defining the requestIOExceptionpublic void handlePageRender(PageRenderRequestParameters parameters) throws IOException
ComponentRequestHandlerComponentEventResultProcessor may be used to send an alternate response
(typically, a redirect).handlePageRender in interface ComponentRequestHandlerparameters - defines the page name and activation contextIOException5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.