| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | access()
Implements org. Update the accessed time information for this session. |
| public void | addSessionListener(SessionListener
the SessionListener instance that should be notified
for session events listener)Implements org. Add a session event listener to this component. |
| public void | |
| public void | expire()
Implements org. Perform the internal processing required to invalidate this session, without triggering an exception if the session has already expired. |
| public String | |
| public long | |
| public long | |
| public String | |
| public String | |
| public long | |
| public long | |
| public long | |
| public long | |
| public Manager | |
| public int | |
| public Object | |
| public Iterator | |
| public Principal | |
| public HttpSession | |
| public long | |
| public long | |
| public boolean | isAttributeDistributable(String
The attribute name name, Object The attribute value value)Implements org. Does the session implementation support the distributing of the given attribute? |
| public boolean | |
| public void | recycle()
Implements org. Release all object references, and initialize instance variables, in preparation for reuse of this object. |
| public void | removeNote(String
Name of the note to be removed name)Implements org. Remove any object bound to the specified name in the internal notes for this session. |
| public void | removeSessionListener(SessionListener
remove the session listener, which will no longer be
notified listener)Implements org. Remove a session event listener from this component. |
| public void | setAuthType(String
The new cached authentication type authType)Implements org. Set the authentication type used to authenticate our cached Principal, if any. |
| public void | setCreationTime(long
The new creation time time)Implements org. Set the creation time for this session. |
| public void | setId(String
The new session identifier id)Implements org. Set the session identifier for this session and notifies any associated listeners that a new session has been created. |
| public void | setId(String
The new session identifier id, boolean Should any associated listeners be notified that a new
session has been created? notify)Implements org. Set the session identifier for this session and optionally notifies any associated listeners that a new session has been created. |
| public void | setManager(Manager
The new Manager manager)Implements org. Set the Manager within which this Session is valid. |
| public void | setMaxInactiveInterval(int
The new maximum interval interval)Implements org. Set the maximum time interval, in seconds, between client requests before the servlet container will invalidate the session. |
| public void | setNew(boolean
The new value for the isNew)isNew flagImplements org. Set the |
| public void | setNote(String
Name to which the object should be bound name, Object Object to be bound to the specified name value)Implements org. Bind an object to a specified name in the internal notes associated with this session, replacing any existing binding for this name. |
| public void | setPrincipal(Principal
The new Principal, or principal)null if noneImplements org. Set the authenticated Principal that is associated with this Session. |
| public void | setValid(boolean
The new value for the isValid)isValid flagImplements org. Set the |
| public void | tellChangedSessionId(String
new session ID newId, String old session ID oldId, boolean Should any associated sessionListeners be
notified that session ID has been changed? notifySessionListeners, boolean Should any associated ContainerListeners
be notified that session ID has been changed? notifyContainerListeners)Implements org. Inform the listeners about the change session ID. |
| sessionId | back to summary |
|---|---|
| private String sessionId | |
| DummyProxySession | back to summary |
|---|---|
| public DummyProxySession(String sessionId) | |
| access | back to summary |
|---|---|
| public void access() Implements org. Doc from org. Update the accessed time information for this session. This method should be called by the context when a request comes in for a particular session, even if the application does not reference it.
| |
| addSessionListener | back to summary |
|---|---|
| public void addSessionListener(SessionListener listener) Implements org. Doc from org. Add a session event listener to this component.
| |
| endAccess | back to summary |
|---|---|
| public void endAccess() Implements org. Doc from org. End access to the session.
| |
| expire | back to summary |
|---|---|
| public void expire() Implements org. Doc from org. Perform the internal processing required to invalidate this session, without triggering an exception if the session has already expired.
| |
| getAuthType | back to summary |
|---|---|
| public String getAuthType() Implements org.
| |
| getCreationTime | back to summary |
|---|---|
| public long getCreationTime() Implements org.
| |
| getCreationTimeInternal | back to summary |
|---|---|
| public long getCreationTimeInternal() Implements org.
| |
| getId | back to summary |
|---|---|
| public String getId() Implements org.
| |
| getIdInternal | back to summary |
|---|---|
| public String getIdInternal() Implements org.
| |
| getIdleTime | back to summary |
|---|---|
| public long getIdleTime() Implements org.
| |
| getIdleTimeInternal | back to summary |
|---|---|
| public long getIdleTimeInternal() Implements org.
| |
| getLastAccessedTime | back to summary |
|---|---|
| public long getLastAccessedTime() Implements org.
| |
| getLastAccessedTimeInternal | back to summary |
|---|---|
| public long getLastAccessedTimeInternal() Implements org.
| |
| getManager | back to summary |
|---|---|
| public Manager getManager() Implements org.
| |
| getMaxInactiveInterval | back to summary |
|---|---|
| public int getMaxInactiveInterval() Implements org.
| |
| getNote | back to summary |
|---|---|
| public Object getNote(String name) Implements org.
| |
| getNoteNames | back to summary |
|---|---|
| public Iterator Implements org.
| |
| getPrincipal | back to summary |
|---|---|
| public Principal getPrincipal() Implements org.
| |
| getSession | back to summary |
|---|---|
| public HttpSession getSession() Implements org.
| |
| getThisAccessedTime | back to summary |
|---|---|
| public long getThisAccessedTime() Implements org.
| |
| getThisAccessedTimeInternal | back to summary |
|---|---|
| public long getThisAccessedTimeInternal() Implements org.
| |
| isAttributeDistributable | back to summary |
|---|---|
| public boolean isAttributeDistributable(String name, Object value) Implements org. Doc from org. Does the session implementation support the distributing of the given
attribute? If the Manager is marked as distributable, then this method
must be used to check attributes before adding them to a session and
an
Note that the | |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements org.
| |
| recycle | back to summary |
|---|---|
| public void recycle() Implements org. Doc from org. Release all object references, and initialize instance variables, in preparation for reuse of this object.
| |
| removeNote | back to summary |
|---|---|
| public void removeNote(String name) Implements org. Doc from org. Remove any object bound to the specified name in the internal notes for this session. | |
| removeSessionListener | back to summary |
|---|---|
| public void removeSessionListener(SessionListener listener) Implements org. Doc from org. Remove a session event listener from this component.
| |
| setAuthType | back to summary |
|---|---|
| public void setAuthType(String authType) Implements org. Doc from org. Set the authentication type used to authenticate our cached Principal, if any. | |
| setCreationTime | back to summary |
|---|---|
| public void setCreationTime(long time) Implements org. Doc from org. Set the creation time for this session. This method is called by the Manager when an existing Session instance is reused.
| |
| setId | back to summary |
|---|---|
| public void setId(String id) Implements org. Doc from org. Set the session identifier for this session and notifies any associated listeners that a new session has been created. | |
| setId | back to summary |
|---|---|
| public void setId(String id, boolean notify) Implements org. Doc from org. Set the session identifier for this session and optionally notifies any associated listeners that a new session has been created. | |
| setManager | back to summary |
|---|---|
| public void setManager(Manager manager) Implements org. Doc from org. Set the Manager within which this Session is valid. | |
| setMaxInactiveInterval | back to summary |
|---|---|
| public void setMaxInactiveInterval(int interval) Implements org. Doc from org. Set the maximum time interval, in seconds, between client requests before the servlet container will invalidate the session. A negative time indicates that the session should never time out.
| |
| setNew | back to summary |
|---|---|
| public void setNew(boolean isNew) Implements org. Doc from org. Set the
| |
| setNote | back to summary |
|---|---|
| public void setNote(String name, Object value) Implements org. Doc from org. Bind an object to a specified name in the internal notes associated with this session, replacing any existing binding for this name. | |
| setPrincipal | back to summary |
|---|---|
| public void setPrincipal(Principal principal) Implements org. Doc from org. Set the authenticated Principal that is associated with this Session.
This provides an | |
| setValid | back to summary |
|---|---|
| public void setValid(boolean isValid) Implements org. Doc from org. Set the
| |
| tellChangedSessionId | back to summary |
|---|---|
| public void tellChangedSessionId(String newId, String oldId, boolean notifySessionListeners, boolean notifyContainerListeners) Implements org. Doc from org. Inform the listeners about the change session ID.
| |