|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.slim3.commons.web.WebLocator
public final class WebLocator
The locator for web.
Method Summary | |
---|---|
static HttpServletRequest |
getRequest()
Returns the current request. |
static HttpServletResponse |
getResponse()
Returns the current response. |
static ServletContext |
getServletContext()
Returns the servlet context. |
static void |
setRequest(HttpServletRequest request)
Sets the current request. |
static void |
setResponse(HttpServletResponse response)
Sets the current response. |
static void |
setServletContext(ServletContext servletContext)
Sets the servlet context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static HttpServletRequest getRequest()
public static void setRequest(HttpServletRequest request)
request
- the current requestpublic static HttpServletResponse getResponse()
public static void setResponse(HttpServletResponse response)
response
- the current responsepublic static ServletContext getServletContext()
public static void setServletContext(ServletContext servletContext)
servletContext
- the servlet context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |