|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jlf.httpRequest.Workflow
This class serves as the key class in the httpRequest processing framework to extend when creating specific request processing workflows and work steps. It allows the user to hook into the framework and perform workflow/step specific actions after data is mapped but before the HTTP output page is displayed.
This class also wraps the HTTP request, so you can always
have direct access to any servlet information should the
Processor
class not map enough information for you.
Processor
Field Summary | |
protected AbstractProcessor |
processor
Holds the HTTP Request servlet. |
Constructor Summary | |
Workflow()
|
Method Summary | |
java.io.PrintWriter |
getOutputStream()
Returns the output stream of the servlet, lazy-initialized so that we don't open the stream until we know we need it. |
javax.servlet.http.HttpServletRequest |
getRequest()
Returns the HTTP Request object. |
javax.servlet.http.HttpServletResponse |
getResponse()
Returns the HTTP Response object. |
protected javax.servlet.http.HttpSession |
getSession()
Retrieves (or creates if not yet created) the user's session info. |
void |
setServletInfo(AbstractProcessor processor)
Sets the Processor servlet that
initiated the workflow/step request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected AbstractProcessor processor
Constructor Detail |
public Workflow()
Method Detail |
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
protected javax.servlet.http.HttpSession getSession()
public java.io.PrintWriter getOutputStream()
public void setServletInfo(AbstractProcessor processor)
Processor
servlet that
initiated the workflow/step request.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |