public static class JFinalView.InnerSession extends HashMap<Object,Object> implements javax.servlet.http.HttpSession
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
InnerSession(javax.servlet.http.HttpSession session) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(Object name)
覆盖 HashMap 的 get
|
Object |
getAttribute(String key) |
Enumeration |
getAttributeNames() |
long |
getCreationTime() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSessionContext |
getSessionContext() |
Object |
getValue(String key) |
String[] |
getValueNames() |
void |
invalidate() |
boolean |
isNew() |
Object |
put(Object name,
Object value)
覆盖 HashMap 的 put
|
void |
putValue(String key,
Object value) |
void |
removeAttribute(String key) |
void |
removeValue(String key) |
void |
setAttribute(String key,
Object value) |
void |
setMaxInactiveInterval(int maxInactiveInterval) |
String |
toString() |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCodepublic Object getAttribute(String key)
getAttribute in interface javax.servlet.http.HttpSessionpublic Enumeration getAttributeNames()
getAttributeNames in interface javax.servlet.http.HttpSessionpublic long getCreationTime()
getCreationTime in interface javax.servlet.http.HttpSessionpublic String getId()
getId in interface javax.servlet.http.HttpSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface javax.servlet.http.HttpSessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface javax.servlet.http.HttpSessionpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.http.HttpSessionpublic javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext in interface javax.servlet.http.HttpSessionpublic Object getValue(String key)
getValue in interface javax.servlet.http.HttpSessionpublic String[] getValueNames()
getValueNames in interface javax.servlet.http.HttpSessionpublic void invalidate()
invalidate in interface javax.servlet.http.HttpSessionpublic boolean isNew()
isNew in interface javax.servlet.http.HttpSessionpublic void putValue(String key, Object value)
putValue in interface javax.servlet.http.HttpSessionpublic void removeAttribute(String key)
removeAttribute in interface javax.servlet.http.HttpSessionpublic void removeValue(String key)
removeValue in interface javax.servlet.http.HttpSessionpublic void setAttribute(String key, Object value)
setAttribute in interface javax.servlet.http.HttpSessionpublic void setMaxInactiveInterval(int maxInactiveInterval)
setMaxInactiveInterval in interface javax.servlet.http.HttpSessionpublic String toString()
toString in class AbstractMap<Object,Object>Copyright © 2018. All rights reserved.