public class DistributableSession extends Object implements CatalinaSession
| Constructor and Description |
|---|
DistributableSession(CatalinaManager manager,
org.wildfly.clustering.web.session.Session<LocalSessionContext> session,
String internalId,
org.wildfly.clustering.ee.Batch batch,
Runnable invalidateAction,
Runnable closeTask) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSessionListener(org.apache.catalina.SessionListener listener) |
void |
endAccess() |
void |
expire() |
String |
getAuthType() |
long |
getCreationTime() |
String |
getId() |
String |
getIdInternal() |
long |
getLastAccessedTime() |
org.apache.catalina.Manager |
getManager() |
int |
getMaxInactiveInterval() |
Object |
getNote(String name) |
Iterator<String> |
getNoteNames() |
Principal |
getPrincipal() |
javax.servlet.http.HttpSession |
getSession() |
boolean |
isAttributeDistributable(String name,
Object value) |
boolean |
isValid() |
void |
removeNote(String name) |
void |
removeSessionListener(org.apache.catalina.SessionListener listener) |
void |
setAuthType(String authType) |
void |
setMaxInactiveInterval(int interval) |
void |
setNote(String name,
Object value) |
void |
setPrincipal(Principal principal) |
void |
tellChangedSessionId(String newId,
String oldId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccess, getCreationTimeInternal, getInfo, getLastAccessedTimeInternal, getThisAccessedTime, getThisAccessedTimeInternal, recycle, setCreationTime, setId, setId, setManager, setNew, setValidpublic DistributableSession(CatalinaManager manager, org.wildfly.clustering.web.session.Session<LocalSessionContext> session, String internalId, org.wildfly.clustering.ee.Batch batch, Runnable invalidateAction, Runnable closeTask)
public String getAuthType()
getAuthType in interface org.apache.catalina.Sessionpublic void setAuthType(String authType)
setAuthType in interface org.apache.catalina.Sessionpublic long getCreationTime()
getCreationTime in interface org.apache.catalina.Sessionpublic String getId()
getId in interface org.apache.catalina.Sessionpublic String getIdInternal()
getIdInternal in interface org.apache.catalina.Sessionpublic long getLastAccessedTime()
getLastAccessedTime in interface org.apache.catalina.Sessionpublic org.apache.catalina.Manager getManager()
getManager in interface org.apache.catalina.Sessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface org.apache.catalina.Sessionpublic void setMaxInactiveInterval(int interval)
setMaxInactiveInterval in interface org.apache.catalina.Sessionpublic Principal getPrincipal()
getPrincipal in interface org.apache.catalina.Sessionpublic void setPrincipal(Principal principal)
setPrincipal in interface org.apache.catalina.Sessionpublic javax.servlet.http.HttpSession getSession()
getSession in interface org.apache.catalina.Sessionpublic boolean isValid()
isValid in interface org.apache.catalina.Sessionpublic void addSessionListener(org.apache.catalina.SessionListener listener)
addSessionListener in interface org.apache.catalina.Sessionpublic void endAccess()
endAccess in interface org.apache.catalina.Sessionpublic void expire()
expire in interface org.apache.catalina.Sessionpublic Object getNote(String name)
getNote in interface org.apache.catalina.Sessionpublic Iterator<String> getNoteNames()
getNoteNames in interface org.apache.catalina.Sessionpublic void removeNote(String name)
removeNote in interface org.apache.catalina.Sessionpublic void removeSessionListener(org.apache.catalina.SessionListener listener)
removeSessionListener in interface org.apache.catalina.Sessionpublic void setNote(String name, Object value)
setNote in interface org.apache.catalina.Sessionpublic void tellChangedSessionId(String newId, String oldId)
tellChangedSessionId in interface CatalinaSessionCopyright © 2017 JBoss by Red Hat. All rights reserved.