|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.fckeditor.requestcycle.ThreadLocalData
public class ThreadLocalData
Maintains current context
and request
instances. This container relies on ThreadLocal
and provides
static access to the aforementioned objects for the current File Browse
request. This means that this class is thread-safe.
Constructor Summary | |
---|---|
ThreadLocalData()
|
Method Summary | |
---|---|
static void |
beginRequest(HttpServletRequest request)
Initializes the current request cycle. |
static void |
endRequest()
Terminates the current request cycle. |
static Context |
getContext()
Returns the current context instance. |
static HttpServletRequest |
getRequest()
Returns the current user request instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadLocalData()
Method Detail |
---|
public static void beginRequest(HttpServletRequest request)
request
- current user request instancepublic static HttpServletRequest getRequest()
public static Context getContext()
public static void endRequest()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |