com.bea.p13n.appflow.webflow
Interface InputProcessor
- All Known Implementing Classes:
- AbstractPortalProcessor, InputProcessorSupport
- public interface InputProcessor
The interface InputProcessor should be implemented by classses
that needs to perform:
-
validation of user's data.
-
store the data entered by the user into the
PipelineSession
so that it can be retrieved later by other processors such as Pipelines.
- See Also:
PipelineSession
,
ProcessingException
,
InputProcessorSupport
Method Summary
|
java.lang.Object |
process(javax.servlet.http.HttpServletRequest req,
java.lang.Object requestContext)
Process the HttpServletRequest or the PipelineSession
present in the HttpSession. |
process
public java.lang.Object process(javax.servlet.http.HttpServletRequest req,
java.lang.Object requestContext)
throws ProcessingException
- Process the HttpServletRequest or the
PipelineSession
present in the HttpSession.
The return object can be anything, but it must have a meaningful
implementation of toString()
. The webflow executor will call
toString()
on the returned object to generate the event for
the processor.
- Parameters:
req
- the HttpServletRequest objectrequestContext
- the Object that uniquely identifies the request- Returns:
- an Object, which has implemented a meaningful form of toString().
- Throws:
ProcessingException
- or one of its sub-classes
Copyright © 2002 BEA Systems, Inc. All Rights Reserved