|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectPageFlowContext
public class PageFlowContext
This class is a ThreadLocal class that contains the servlet information. In addition, it supports a Map that allows other aspects of the framework to create place their own context objects into the thread local context.
| Constructor Summary | |
|---|---|
PageFlowContext()
|
|
| Method Summary | |
|---|---|
Object |
get(String name,
PageFlowContextActivator activator)
This method will lookup a named object and return it. |
static PageFlowContext |
getContext()
Factory method that will return the PageFlowContext object to the caller. |
HttpServletRequest |
getRequest()
Return the request object. |
HttpServletResponse |
getResponse()
Return the response object to the caller. |
ServletContext |
getServletContext()
Return the servlet context. |
void |
init()
Place the context into it's initialized state. |
void |
setRequest(HttpServletRequest request)
Set the request object. |
void |
setResponse(HttpServletResponse response)
Set the response object on the context. |
void |
setServletContext(ServletContext servletContext)
Set the servlet context for this request. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageFlowContext()
| Method Detail |
|---|
public static PageFlowContext getContext()
PageFlowContext object to the caller.
PageFlowContext that is associated with the tread.public HttpServletRequest getRequest()
HttpServletRequest object.public void setRequest(HttpServletRequest request)
request - The HttpServletRequstpublic HttpServletResponse getResponse()
HttpServletResponse object.public void setResponse(HttpServletResponse response)
response - The HttpServletResponse object.public ServletContext getServletContext()
ServletContext object for this request.public void setServletContext(ServletContext servletContext)
servletContext - The ServletContext object.
public Object get(String name,
PageFlowContextActivator activator)
name - The name of the object to returnactivator - An PageFlowContextActivator that will create the new object if
it doesn't exist.
public void init()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||