|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Pipeline
Jetspeed Pipeline
Method Summary | |
---|---|
void |
addValve(Valve valve)
Add a new Valve to the end of the pipeline. |
Valve[] |
getCleanupValves()
Return the set of all cleanup Valves in the pipeline. |
java.lang.String |
getName()
Get the name of the pipeine |
Valve[] |
getValves()
Return the set of all Valves in the pipeline. |
void |
initialize()
|
void |
invoke(RequestContext context)
Cause the specified request and response to be processed by the sequence of Valves associated with this pipeline, until one of these Valves decides to end the processing. |
void |
removeValve(Valve valve)
Remove the specified Valve from the pipeline, if it is found; otherwise, do nothing. |
Method Detail |
---|
void initialize() throws PipelineException
PipelineException
void addValve(Valve valve)
Add a new Valve to the end of the pipeline.
valve
- Valve to be added.
java.lang.IllegalStateException
- If the pipeline has not been
initialized.Valve[] getValves()
Return the set of all Valves in the pipeline. If there are no such Valves, a zero-length array is returned.
Valve[] getCleanupValves()
Return the set of all cleanup Valves in the pipeline. If there are no such Valves, a zero-length array is returned.
void invoke(RequestContext context) throws PipelineException
Cause the specified request and response to be processed by the sequence of Valves associated with this pipeline, until one of these Valves decides to end the processing.
The implementation must ensure that multiple simultaneous requests (on different threads) can be processed through the same Pipeline without interfering with each other's control flow.
data
- The run-time information, including the servlet
request and response we are processing.
java.io.IOException
- an input/output error occurred.
PipelineException
void removeValve(Valve valve)
Remove the specified Valve from the pipeline, if it is found; otherwise, do nothing.
valve
- Valve to be removed.java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |