|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.web.HttpRequestLocal<T>
@Immutable public class HttpRequestLocal<T>
Per-request variable (similar to ThreadLocal
, but request-scoped).
Constructor Summary | |
---|---|
HttpRequestLocal(String name)
|
Method Summary | |
---|---|
T |
get()
Returns the value of this HttpRequestLocal, or null if it is not set. |
void |
remove()
Removes the value of this HttpRequestLocal. |
void |
set(T value)
Sets the value of this HttpRequestLocal. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpRequestLocal(String name)
Method Detail |
---|
public T get()
public void set(T value)
value
- the value to setpublic void remove()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |