|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractMap<java.lang.String,java.lang.Object>
jodd.util.collection.StringKeyedMapAdapter
jodd.servlet.HttpServletContextMap
public class HttpServletContextMap
Map backed by the Servlet context for accessing application scoped attributes.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
HttpServletContextMap(javax.servlet.http.HttpServletRequest request)
|
|
HttpServletContextMap(javax.servlet.ServletContext context)
Create a map wrapping given servlet context. |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
getAttribute(java.lang.String key)
Hooks 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. |
protected void |
removeAttribute(java.lang.String key)
Hooks method that needs to be implemented by concrete subclasses. |
protected void |
setAttribute(java.lang.String key,
java.lang.Object value)
Hooks method that needs to be implemented by concrete subclasses. |
| Methods inherited from class jodd.util.collection.StringKeyedMapAdapter |
|---|
clear, entrySet, get, put, remove |
| Methods inherited from class java.util.AbstractMap |
|---|
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HttpServletContextMap(javax.servlet.ServletContext context)
public HttpServletContextMap(javax.servlet.http.HttpServletRequest request)
| Method Detail |
|---|
protected java.lang.Object getAttribute(java.lang.String key)
StringKeyedMapAdapter
getAttribute in class StringKeyedMapAdapter
protected void setAttribute(java.lang.String key,
java.lang.Object value)
StringKeyedMapAdapter
setAttribute in class StringKeyedMapAdapterprotected void removeAttribute(java.lang.String key)
StringKeyedMapAdapter
removeAttribute in class StringKeyedMapAdapterprotected java.util.Iterator<java.lang.String> getAttributeNames()
StringKeyedMapAdapter
getAttributeNames in class StringKeyedMapAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||