public class RequestContext
extends java.lang.Object
Constructor and Description |
---|
RequestContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
static void |
create(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static void |
destroy() |
static RequestContext |
get() |
javax.servlet.http.Cookie[] |
getCookies() |
javax.servlet.http.HttpServletRequest |
getRequest() |
long |
getRequestTimestamp() |
javax.servlet.http.HttpServletResponse |
getResponse() |
javax.servlet.http.HttpSession |
getSession() |
public RequestContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public long getRequestTimestamp()
public javax.servlet.http.HttpSession getSession()
public javax.servlet.http.Cookie[] getCookies()
public static void create(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public static void destroy()
public static RequestContext get()