public class HazelcastHttpSession extends Object implements javax.servlet.http.HttpSession
| Constructor and Description |
|---|
HazelcastHttpSession(WebFilter webFilter,
String sessionId,
javax.servlet.http.HttpSession originalSession,
boolean deferredWrite,
boolean stickySession) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
long |
getCreationTime() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
javax.servlet.http.HttpSession |
getOriginalSession() |
String |
getOriginalSessionId() |
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSessionContext |
getSessionContext()
Deprecated.
|
Object |
getValue(String name) |
String[] |
getValueNames() |
void |
invalidate() |
boolean |
isNew() |
boolean |
isStickySession() |
boolean |
isValid() |
void |
putValue(String name,
Object value) |
void |
removeAttribute(String name) |
void |
removeValue(String name) |
boolean |
sessionChanged() |
void |
setAttribute(String name,
Object value) |
void |
setClusterWideNew(boolean clusterWideNew) |
void |
setMaxInactiveInterval(int maxInactiveSeconds) |
void |
updateReloadFlag() |
public javax.servlet.http.HttpSession getOriginalSession()
public String getOriginalSessionId()
public void setAttribute(String name, Object value)
setAttribute in interface javax.servlet.http.HttpSessionpublic Object getAttribute(String name)
getAttribute in interface javax.servlet.http.HttpSessionpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface javax.servlet.http.HttpSessionpublic String getId()
getId in interface javax.servlet.http.HttpSessionpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.http.HttpSession@Deprecated public javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext in interface javax.servlet.http.HttpSessionpublic Object getValue(String name)
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 name, Object value)
putValue in interface javax.servlet.http.HttpSessionpublic void removeAttribute(String name)
removeAttribute in interface javax.servlet.http.HttpSessionpublic void removeValue(String name)
removeValue in interface javax.servlet.http.HttpSessionpublic boolean sessionChanged()
true if deferredWrite is enabled and at least one entry in the local
cache is dirty; otherwise, falsepublic long getCreationTime()
getCreationTime in interface javax.servlet.http.HttpSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface javax.servlet.http.HttpSessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface javax.servlet.http.HttpSessionpublic void setMaxInactiveInterval(int maxInactiveSeconds)
setMaxInactiveInterval in interface javax.servlet.http.HttpSessionpublic boolean isValid()
public void setClusterWideNew(boolean clusterWideNew)
public boolean isStickySession()
public void updateReloadFlag()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.