|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.web.ExecutingHttpRequest
public class ExecutingHttpRequest
This has a thread local that contains the currently executing HttpServletRequest
Constructor Summary | |
---|---|
ExecutingHttpRequest()
|
Method Summary | |
---|---|
static void |
clear()
DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTER Called to clear the current HttpServletRequest back to null for this thread |
static javax.servlet.http.HttpServletRequest |
get()
|
static javax.servlet.http.HttpServletResponse |
getResponse()
|
static com.google.common.base.Supplier<javax.servlet.http.HttpServletRequest> |
getSupplier()
Return a Supplier for the currently executing HTTP request. |
static void |
set(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTER |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExecutingHttpRequest()
Method Detail |
---|
public static javax.servlet.http.HttpServletRequest get()
HttpServletRequest
on this thread within JIRApublic static javax.servlet.http.HttpServletResponse getResponse()
HttpServletResponse
on this thread within JIRA@Nonnull public static com.google.common.base.Supplier<javax.servlet.http.HttpServletRequest> getSupplier()
Supplier
for the currently executing HTTP request.
Supplier
for the currently executing HTTP request.public static void set(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
httpServletRequest
- the current HttpServletRequestpublic static void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |