Package com.atlassian.crowd.plugin.web
Class ExecutingHttpRequest
java.lang.Object
com.atlassian.crowd.plugin.web.ExecutingHttpRequest
This has a thread local that contains the current
RequestContext.
It is set in the entry filter and set back to null at the end of the filter chain.
- Since:
- v2.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclear()DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTERstatic Optional<RequestContext>get()static voidset(RequestContext requestContext) DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTERstatic voidset(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTER
-
Constructor Details
-
ExecutingHttpRequest
public ExecutingHttpRequest()
-
-
Method Details
-
get
- Returns:
- the current request context for this thread
-
set
DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTERSet the request context for this thread
-
set
public static void set(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTERSet the request context for this thread
-
clear
public static void clear()DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTERClear the request context for this thread
-