public interface ValveContext
Modifier and Type | Method and Description |
---|---|
void |
invokeNext(RequestContext request)
Cause the
invoke() method of the next Valve
that is part of the Pipeline currently being processed (if any)
to be executed, passing on the specified request and response
objects plus this ValveContext instance. |
void invokeNext(RequestContext request) throws PipelineException
Cause the invoke()
method of the next Valve
that is part of the Pipeline currently being processed (if any)
to be executed, passing on the specified request and response
objects plus this ValveContext
instance.
Exceptions thrown by a subsequently executed Valve will be
passed on to our caller.
If there are no more Valves to be executed, execution of this method will result in a no op.
request
- The run-time information, including the servlet
request and response we are processing.PipelineException
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.