public class RequestOperationTracker extends Object implements ComponentRequestFilter
OperationTracker
to add an operation generally describing each request.Constructor and Description |
---|
RequestOperationTracker(OperationTracker tracker,
Request request) |
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 RequestOperationTracker(OperationTracker tracker, Request request)
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.