public static class SessionInViewInterceptor.JFinalSession extends HashMap implements javax.servlet.http.HttpSession
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
JFinalSession(javax.servlet.http.HttpSession session) |
Modifier and Type | Method and Description |
---|---|
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() |
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, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode
public Object getAttribute(String key)
getAttribute
in interface javax.servlet.http.HttpSession
public Enumeration getAttributeNames()
getAttributeNames
in interface javax.servlet.http.HttpSession
public long getCreationTime()
getCreationTime
in interface javax.servlet.http.HttpSession
public String getId()
getId
in interface javax.servlet.http.HttpSession
public long getLastAccessedTime()
getLastAccessedTime
in interface javax.servlet.http.HttpSession
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface javax.servlet.http.HttpSession
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.http.HttpSession
public javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext
in interface javax.servlet.http.HttpSession
public Object getValue(String key)
getValue
in interface javax.servlet.http.HttpSession
public String[] getValueNames()
getValueNames
in interface javax.servlet.http.HttpSession
public void invalidate()
invalidate
in interface javax.servlet.http.HttpSession
public boolean isNew()
isNew
in interface javax.servlet.http.HttpSession
public void putValue(String key, Object value)
putValue
in interface javax.servlet.http.HttpSession
public void removeAttribute(String key)
removeAttribute
in interface javax.servlet.http.HttpSession
public void removeValue(String key)
removeValue
in interface javax.servlet.http.HttpSession
public void setAttribute(String key, Object value)
setAttribute
in interface javax.servlet.http.HttpSession
public void setMaxInactiveInterval(int maxInactiveInterval)
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
public String toString()
toString
in class AbstractMap
Copyright © 2018. All rights reserved.