public class InitializeActivePageName extends Object implements ComponentRequestFilter
ComponentRequestHandler
pipeline to set the
activePageName property
.Constructor and Description |
---|
InitializeActivePageName(RequestGlobals globals) |
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 InitializeActivePageName(RequestGlobals globals)
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
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.