|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.pipeline.AbstractValve
public abstract class AbstractValve
Valve that can be used as the basis of Valve implementations.
Constructor Summary | |
---|---|
AbstractValve()
|
Method Summary | |
---|---|
RunData |
getRunData(PipelineData pipelineData)
utility for getting RunData out of the pielineData object. |
void |
initialize()
Initialize this valve for use in a pipeline. |
abstract void |
invoke(PipelineData data,
ValveContext context)
Perform request processing as required by this Valve. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractValve()
Method Detail |
---|
public void initialize() throws Exception
initialize
in interface Valve
Exception
public abstract void invoke(PipelineData data, 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
data
- 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 pipeline
IOException
- Thrown by a subsequent Valve.
TurbineException
- Thrown by a subsequent Valve.org.apache.turbine.Valve#invoke(PipelineData, ValveContext)
public final RunData getRunData(PipelineData pipelineData)
pipelineData
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |