|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
NOTE: This class will be deprecated once we merge with Summit
Method Summary | |
void |
addValve(Valve valve)
Add a new Valve to the end of the pipeline. |
Valve[] |
getValves()
Return the set of all Valves in the pipeline. |
void |
initialize()
|
void |
invoke(org.apache.jetspeed.request.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 |
public void initialize() throws PipelineException
PipelineException
public void addValve(Valve valve)
Add a new Valve to the end of the pipeline.
valve
- Valve to be added.
IllegalStateException
- If the pipeline has not been
initialized.public Valve[] getValves()
Return the set of all Valves in the pipeline. If there are no such Valves, a zero-length array is returned.
public void invoke(org.apache.jetspeed.request.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.
IOException
- an input/output error occurred.
PipelineException
public void removeValve(Valve valve)
Remove the specified Valve from the pipeline, if it is found; otherwise, do nothing.
valve
- Valve to be removed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |