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
ComponentRequestHandler
handleComponentEvent
in interface ComponentRequestHandler
parameters
- defining the requestIOException
public void handlePageRender(PageRenderRequestParameters parameters) throws IOException
ComponentRequestHandler
ComponentEventResultProcessor
may be used to send an alternate response
(typically, a redirect).handlePageRender
in interface ComponentRequestHandler
parameters
- defines the page name and activation contextIOException
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.