public class ExecutingHttpRequest extends Object
RequestContext
.
It is set in the entry filter and set back to null at the end of the filter chain.
Constructor and Description |
---|
ExecutingHttpRequest() |
Modifier and Type | Method and Description |
---|---|
static void |
clear()
DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTER
|
static Optional<RequestContext> |
get() |
static void |
set(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTER
|
static void |
set(RequestContext requestContext)
DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTER
|
public static Optional<RequestContext> get()
public static void set(RequestContext requestContext)
Set the request context for this thread
public static void set(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
Set the request context for this thread
public static void clear()
Clear the request context for this thread
Copyright © 2020 Atlassian. All rights reserved.