|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Context
It represents a context, i.e. an attribute collector, just like a ServletRequest or a ServletContext.
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns a stored attribute. |
java.util.Set<java.lang.String> |
getAttributeNames()
Returns a set of attribute names. |
void |
removeAttribute(java.lang.String name)
Removes an attribute. |
void |
setAttribute(java.lang.String name,
java.lang.Object object)
Sets an attribute. |
| Method Detail |
|---|
java.lang.Object getAttribute(java.lang.String name)
name - The name of the attribute.
java.util.Set<java.lang.String> getAttributeNames()
void setAttribute(java.lang.String name,
java.lang.Object object)
name - The name of the attribute.object - The attribute.void removeAttribute(java.lang.String name)
name - The attribute to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||