Class Overview
This has a thread local that contains the currently executing javax.servlet.http.HttpServletRequest
It is set in the entry filter and set back to null at the end of the filter chain
Summary
Public Methods |
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
HttpServletRequest
|
get()
|
static
HttpServletResponse
|
getResponse()
|
@Nonnull
static
Supplier<HttpServletRequest>
|
getSupplier()
Return a Supplier for the currently executing HTTP request.
|
static
void
|
set(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTER
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
ExecutingHttpRequest
()
Public Methods
public
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
public
static
HttpServletRequest
get
()
Returns
- the currently executing javax.servlet.http.HttpServletRequest on this thread within JIRA
public
static
HttpServletResponse
getResponse
()
Returns
- the currently executing javax.servlet.http.HttpServletResponse on this thread within JIRA
@Nonnull
public
static
Supplier<HttpServletRequest>
getSupplier
()
Return a Supplier for the currently executing HTTP request.
Returns
- a Supplier for the currently executing HTTP request.
public
static
void
set
(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTER
Parameters
httpServletRequest
| the current HttpServletRequest
|