Package org.togglz.servlet.util
Class HttpServletRequestHolder
- java.lang.Object
-
- org.togglz.servlet.util.HttpServletRequestHolder
-
-
Constructor Summary
Constructors Constructor Description HttpServletRequestHolder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidbind(javax.servlet.http.HttpServletRequest request)Associate the request with the current thread.static javax.servlet.http.HttpServletRequestget()static voidrelease()Remove the request that is currently associated with the current thread.
-
-
-
Method Detail
-
bind
public static void bind(javax.servlet.http.HttpServletRequest request)
Associate the request with the current thread.
-
release
public static void release()
Remove the request that is currently associated with the current thread.
-
get
public static javax.servlet.http.HttpServletRequest get()
-
-