public class ExecutingHttpRequest extends Object
HttpServletRequest
It is set in the entry filter and set back to null at the end of the filter chain. Note: this class was shamelessly stolen from JIRA.
| Constructor and Description |
|---|
ExecutingHttpRequest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTER
|
static javax.servlet.http.HttpServletRequest |
get() |
static javax.servlet.http.HttpServletResponse |
getResponse() |
static void |
set(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTER
|
public static javax.servlet.http.HttpServletRequest get()
HttpServletRequest on this thread within Crowdpublic static javax.servlet.http.HttpServletResponse getResponse()
HttpServletResponse on this thread within Crowdpublic static void set(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
httpServletRequest - the current HttpServletRequestpublic static void clear()
Called to clear the current HttpServletRequest back to null for this thread
Copyright © 2016 Atlassian. All rights reserved.