com.hazelcast.web
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.HttpSession
public Object getAttribute(String name)
getAttribute
in interface javax.servlet.http.HttpSession
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface javax.servlet.http.HttpSession
public String getId()
getId
in interface javax.servlet.http.HttpSession
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.http.HttpSession
@Deprecated public javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext
in interface javax.servlet.http.HttpSession
public Object getValue(String name)
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 name, Object value)
putValue
in interface javax.servlet.http.HttpSession
public void removeAttribute(String name)
removeAttribute
in interface javax.servlet.http.HttpSession
public void removeValue(String name)
removeValue
in interface javax.servlet.http.HttpSession
public boolean sessionChanged()
true
if deferredWrite
is enabled and at least one entry in the local
cache is dirty; otherwise, false
public long getCreationTime()
getCreationTime
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 void setMaxInactiveInterval(int maxInactiveSeconds)
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
public boolean isValid()
public void setClusterWideNew(boolean clusterWideNew)
public boolean isStickySession()
public void updateReloadFlag()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.