|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.web.LocalVariables
public final class LocalVariables
Tools class to transmit config, request and response servlet parameters
using ThreadLocal
.
Method Summary | |
---|---|
static javax.servlet.ServletConfig |
getConfig()
Read ServletConfig associate to the current thread |
static javax.servlet.http.HttpServletRequest |
getRequest()
Read HttpServletRequest associate to the current thread |
static javax.servlet.http.HttpServletResponse |
getResponse()
Read HttpServletResponse associate to the current thread |
static void |
setLocal(javax.servlet.ServletConfig config,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Initialize thread locals variables |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setLocal(javax.servlet.ServletConfig config, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
config
- Current ServletConfig
to associate to the threadrequest
- Current HttpServletRequest
to associate to the threadresponse
- Current HttpServletResponse
to associate to the threadpublic static javax.servlet.ServletConfig getConfig()
ServletConfig
associate to the current thread
ServletConfig
associate to the current threadpublic static javax.servlet.http.HttpServletRequest getRequest()
HttpServletRequest
associate to the current thread
HttpServletRequest
associate to the current threadpublic static javax.servlet.http.HttpServletResponse getResponse()
HttpServletResponse
associate to the current thread
HttpServletResponse
associate to the current thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |