Class Overview
A context used to store servlet specific information.
Summary
Public Methods |
static
MultiPartRequestWrapper
|
getMultiPartRequest()
Return multipart request for HttpServletRequest.
|
static
HttpServletRequest
|
getRequest()
Returns the HttpServletRequest object.
|
static
HttpServletResponse
|
getResponse()
Returns the HttpServletResponse.
|
static
ServletContext
|
getServletContext()
Returns the ServletContext when in a servlet environment.
|
static
void
|
setContext(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext, String actionName)
Set the ServletContext.
|
static
void
|
setRequest(HttpServletRequest request)
Set the HttpServletRequest.
|
static
void
|
setResponse(HttpServletResponse response)
Set the HttpServletResponse.
|
static
void
|
setServletContext(ServletContext context)
Set the ServletContext.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Constants
public
static
final
String
REQUEST
Constant Value:
"webwork.action.ServletContext.request"
public
static
final
String
RESPONSE
Constant Value:
"webwork.action.ServletContext.response"
public
static
final
String
SERVLET_CONTEXT
Constant Value:
"webwork.action.ServletContext.servletContext"
Public Constructors
public
ServletActionContext
()
Public Methods
Return multipart request for HttpServletRequest.
public
static
HttpServletRequest
getRequest
()
Returns the HttpServletRequest object.
public
static
HttpServletResponse
getResponse
()
Returns the HttpServletResponse.
public
static
ServletContext
getServletContext
()
Returns the ServletContext when in a servlet environment.
public
static
void
setContext
(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext, String actionName)
public
static
void
setRequest
(HttpServletRequest request)
Set the HttpServletRequest.
public
static
void
setResponse
(HttpServletResponse response)
Set the HttpServletResponse.
public
static
void
setServletContext
(ServletContext context)