public abstract class CallFrameHelper extends Object
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.
| Modifier and Type | Field and Description |
|---|---|
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. |
| Constructor and Description |
|---|
CallFrameHelper() |
| Modifier and Type | Method and Description |
|---|---|
static javax.servlet.ServletContext |
getContext() |
static javax.servlet.http.HttpServletRequest |
getRequest() |
static javax.servlet.http.HttpServletResponse |
getResponse() |
static void |
setContext(javax.servlet.ServletContext context) |
static void |
setEnvironment(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext context) |
static void |
setRequest(javax.servlet.http.HttpServletRequest request) |
static void |
setResponse(javax.servlet.http.HttpServletResponse response) |
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.public static final void setEnvironment(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext context)
public static final javax.servlet.http.HttpServletRequest getRequest()
public static final void setRequest(javax.servlet.http.HttpServletRequest request)
public static final javax.servlet.http.HttpServletResponse getResponse()
public static final void setResponse(javax.servlet.http.HttpServletResponse response)
public static final javax.servlet.ServletContext getContext()
public static final void setContext(javax.servlet.ServletContext context)
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.