public interface ValveContext
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getEnvironment()
Retrieve the environment of the pipeline, this is usually useful inside
valve implementation to retrieve the environment of the pipeline, and for
example access service instance, etc...
|
void |
invokeNext(Object context)
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(Object context) 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.
context - The run-time information, including the servlet
request and response we are processing.PipelineException - Thrown by a subsequent Valve.Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.