|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vraptor.scope.DefaultRequestContext
public class DefaultRequestContext
A simple request context.
| Constructor Summary | |
|---|---|
DefaultRequestContext(javax.servlet.http.HttpServletRequest request)
|
|
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
Retrieves an attribute |
Map<String,Object> |
getAttributeMap()
|
Map<String,Object> |
getParameterMap()
|
boolean |
hasAttribute(String name)
Whether it contains an attribute |
Object |
removeAttribute(String name)
Removes an attribute |
void |
setAttribute(String name,
Object value)
Sets an attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRequestContext(javax.servlet.http.HttpServletRequest request)
| Method Detail |
|---|
public boolean hasAttribute(String name)
Context
hasAttribute in interface Contextname - name
public void setAttribute(String name,
Object value)
Context
setAttribute in interface Contextname - namevalue - valuepublic Object getAttribute(String name)
Context
getAttribute in interface Contextname - name
public Object removeAttribute(String name)
Context
removeAttribute in interface Contextname - name
public Map<String,Object> getParameterMap()
getParameterMap in interface RequestContextpublic Map<String,Object> getAttributeMap()
getAttributeMap in interface RequestContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||