|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.binding.collection.StringKeyedMapAdapter<java.lang.Object>
org.springframework.webflow.context.servlet.HttpSessionMap
public class HttpSessionMap
A Shared Map backed by the Servlet HTTP session, for accessing session scoped attributes.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
HttpSessionMap(javax.servlet.http.HttpServletRequest request)
Create a map wrapping the session of given request. |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
getAttribute(java.lang.String key)
Hook method that needs to be implemented by concrete subclasses. |
protected java.util.Iterator<java.lang.String> |
getAttributeNames()
Hook method that needs to be implemented by concrete subclasses. |
java.lang.Object |
getMutex()
Returns the shared mutex that may be synchronized on using a synchronized block. |
protected void |
removeAttribute(java.lang.String key)
Hook method that needs to be implemented by concrete subclasses. |
protected void |
setAttribute(java.lang.String key,
java.lang.Object value)
Hook method that needs to be implemented by concrete subclasses. |
| Methods inherited from class org.springframework.binding.collection.StringKeyedMapAdapter |
|---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Constructor Detail |
|---|
public HttpSessionMap(javax.servlet.http.HttpServletRequest request)
| Method Detail |
|---|
protected java.lang.Object getAttribute(java.lang.String key)
StringKeyedMapAdapter
getAttribute in class StringKeyedMapAdapter<java.lang.Object>key - the key to lookup
protected void setAttribute(java.lang.String key,
java.lang.Object value)
StringKeyedMapAdapter
setAttribute in class StringKeyedMapAdapter<java.lang.Object>key - the key to associate the value withvalue - the value to associate with the keyprotected void removeAttribute(java.lang.String key)
StringKeyedMapAdapter
removeAttribute in class StringKeyedMapAdapter<java.lang.Object>key - the key to removeprotected java.util.Iterator<java.lang.String> getAttributeNames()
StringKeyedMapAdapter
getAttributeNames in class StringKeyedMapAdapter<java.lang.Object>public java.lang.Object getMutex()
SharedMap
synchronized (sharedMap.getMutex()) {
// do synchronized work
}
getMutex in interface SharedMap<java.lang.String,java.lang.Object>
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||