public abstract class AbstractSessionAttributeResolver extends Object implements AttributeResolver
| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.http.HttpServletRequest |
req
.
|
| Constructor and Description |
|---|
AbstractSessionAttributeResolver(javax.servlet.http.HttpServletRequest req) |
| Modifier and Type | Method and Description |
|---|---|
protected Map |
createMap(String mapKey) |
Object |
getAttribute(Object attrKey)
Return an attribute from this resolver.
|
Set |
getKeys()
Returns the set of keys of the attributes bound in that resolver.
|
protected abstract String |
getMapKey() |
void |
setAttribute(Object attrKey,
Object attrValue)
Update an attribute value on this resolve.
|
public AbstractSessionAttributeResolver(javax.servlet.http.HttpServletRequest req)
public Set getKeys()
AttributeResolvergetKeys in interface AttributeResolverpublic Object getAttribute(Object attrKey) throws IllegalArgumentException
AttributeResolvergetAttribute in interface AttributeResolverIllegalArgumentException - if the attribute key is not validpublic void setAttribute(Object attrKey, Object attrValue) throws IllegalArgumentException
AttributeResolversetAttribute in interface AttributeResolverattrValue - the attribute valueIllegalArgumentException - if the attribute key is not validprotected abstract String getMapKey()
Copyright © 2003-2020 GateIn. All Rights Reserved.