public class DefaultSessionTimeoutValve extends AbstractValve
Modifier and Type | Field and Description |
---|---|
protected int |
timeout |
Constructor and Description |
---|
DefaultSessionTimeoutValve()
Here we can setup objects that are thread safe and can be
reused, so we get the timeout from the configuration..
|
Modifier and Type | Method and Description |
---|---|
void |
invoke(PipelineData pipelineData,
ValveContext context)
Perform request processing as required by this Valve.
|
getRunData, initialize
protected int timeout
public DefaultSessionTimeoutValve()
public void invoke(PipelineData pipelineData, ValveContext context) throws IOException, TurbineException
Valve
Perform 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 Valve
invoke
in class AbstractValve
pipelineData
- 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)
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.