|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.cocoon.callstack.environment.CallFrameHelper
A set of constants and methods to access the content of the call frame.
The call frame is used to pass information about the Request, Response and Context of the calling environment to components used while the call frame is active.
| Field Summary | |
static String |
CONTEXT_OBJECT
Key for the environment ServletContext in the call frame. |
static String |
REQUEST_OBJECT
Key for the environment HttpServletRequest in the call frame. |
static String |
RESPONSE_OBJECT
Key for the environment HttpServletResponse in the call frame. |
| Method Summary | |
static ServletContext |
getContext()
|
static HttpServletRequest |
getRequest()
|
static HttpServletResponse |
getResponse()
|
static void |
setContext(ServletContext context)
|
static void |
setEnvironment(HttpServletRequest request,
HttpServletResponse response,
ServletContext context)
|
static void |
setRequest(HttpServletRequest request)
|
static void |
setResponse(HttpServletResponse response)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String REQUEST_OBJECT
HttpServletRequest in the call frame.
public static final String RESPONSE_OBJECT
HttpServletResponse in the call frame.
public static final String CONTEXT_OBJECT
ServletContext in the call frame.
| Method Detail |
public static final void setEnvironment(HttpServletRequest request,
HttpServletResponse response,
ServletContext context)
public static final HttpServletRequest getRequest()
public static final void setRequest(HttpServletRequest request)
public static final HttpServletResponse getResponse()
public static final void setResponse(HttpServletResponse response)
public static final ServletContext getContext()
public static final void setContext(ServletContext context)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||