public class DetermineRedirectRequestedValve extends AbstractValve
| Constructor and Description |
|---|
DetermineRedirectRequestedValve()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(PipelineData pipelineData,
ValveContext context)
Perform request processing as required by this Valve.
|
protected void |
redirectRequested(PipelineData pipelineData)
Perform clean up after processing the request.
|
getRunData, initializepublic DetermineRedirectRequestedValve()
public void invoke(PipelineData pipelineData, ValveContext context) throws IOException, TurbineException
ValvePerform request processing as required by this Valve.
An individual Valve MAY perform the following actions, in the specified order:
context.invokeNext().
context.invokeNext()).
A Valve MUST NOT do any of the following things:
invokeNext() method has returned.
invokeNext() method has
returned.
invoke in interface Valveinvoke in class AbstractValvepipelineData - The run-time information, including the servlet
request and response we are processing.context - The valve context used to invoke the next valve
in the current processing pipelineIOException - Thrown by a subsequent Valve.TurbineException - Thrown by a subsequent Valve.Valve.invoke(PipelineData, ValveContext)protected void redirectRequested(PipelineData pipelineData) throws IOException
pipelineData - The run-time data.IOException - if sending the redirect failsCopyright © 2000–2018 The Apache Software Foundation. All rights reserved.