com.atlassian.jira.web
Class ExecutingHttpRequest

java.lang.Object
  extended by com.atlassian.jira.web.ExecutingHttpRequest

public class ExecutingHttpRequest
extends java.lang.Object

This has a thread local that contains the currently executing HttpServletRequest It is set in the entry filter and set back to null at the end of the filter chain

Since:
v4.1

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 void set(javax.servlet.http.HttpServletRequest httpServletRequest)
          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

ExecutingHttpRequest

public ExecutingHttpRequest()
Method Detail

get

public static javax.servlet.http.HttpServletRequest get()
Returns:
the currently executing HttpServletRequest on this thread within JIRA

set

public static void set(javax.servlet.http.HttpServletRequest httpServletRequest)
DO NOT CALL THIS OUTSIDE OF THE FIRST WEB FILTER

Parameters:
httpServletRequest - the current HttpServletRequest

clear

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



Copyright © 2002-2011 Atlassian. All Rights Reserved.