|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.nplus1.anduril.web.RequestContext
Utility class that transforms the request object into a UI independent context. The goal is to separate incoming request from the protocol specific into protocol independent context.
| Constructor Summary | |
RequestContext()
Default constructor to initialize the context |
|
| Method Summary | |
java.lang.Object |
getAttribute(java.lang.String key)
Returns the requested attribute. |
java.util.Set |
getKeySet()
Returns the set of keys for the requested attributes. |
java.lang.Object |
getSessionAttribute(java.lang.String key)
Returns the requested session attribute. |
java.util.Set |
getSessionKeySet()
Returns the set of keys for the session attributes. |
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Used to set attributes of the context. |
void |
setParameter(java.lang.String key,
java.lang.Object value)
Used to set parameters of the context. |
void |
setSessionAttribute(java.lang.String key,
java.lang.Object value)
Used to set sesion level attributes of the context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RequestContext()
| Method Detail |
public void setParameter(java.lang.String key,
java.lang.Object value)
key - the key to associate with the valuevalue - the data to store as a parameter
public void setAttribute(java.lang.String key,
java.lang.Object value)
key - the key to associate with the valuevalue - the data to store as an attributepublic java.lang.Object getAttribute(java.lang.String key)
key - to look up data stored as an attribute
public java.util.Set getKeySet()
public void setSessionAttribute(java.lang.String key,
java.lang.Object value)
key - the key to associate with the valuevalue - the data to store as a session attributepublic java.lang.Object getSessionAttribute(java.lang.String key)
key - to look up data stored as an attribute
public java.util.Set getSessionKeySet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||