|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.pipeline.AbstractValve
org.apache.turbine.pipeline.DefaultLoginValve
public class DefaultLoginValve
Handles the Login and Logout actions in the request process cycle.
Constructor Summary | |
---|---|
DefaultLoginValve()
Here we can setup objects that are thread safe and can be reused. |
Method Summary | |
---|---|
void |
initialize()
Initialize this valve for use in a pipeline. |
void |
invoke(PipelineData pipelineData,
ValveContext context)
Perform request processing as required by this Valve. |
protected void |
process(PipelineData pipelineData)
Handles user sessions, parsing of the action from the query string, and access control. |
Methods inherited from class org.apache.turbine.pipeline.AbstractValve |
---|
getRunData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultLoginValve() throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public void initialize() throws java.lang.Exception
initialize
in interface Valve
initialize
in class AbstractValve
java.lang.Exception
AbstractValve.initialize()
public void invoke(PipelineData pipelineData, ValveContext context) throws java.io.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
invoke
in class AbstractValve
pipelineData
- 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
java.io.IOException
- Thrown by a subsequent Valve.
TurbineException
- Thrown by a subsequent Valve.org.apache.turbine.Valve#invoke(RunData, ValveContext)
protected void process(PipelineData pipelineData) throws java.lang.Exception
data
- The run-time data.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |