|
|||||||||
| Home >> All >> org >> mortbay >> j2ee >> [ session overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mortbay.j2ee.session
Interface State

- All Known Implementing Classes:
- LocalState, ReplicatedState, StateInterceptor
- public interface State
Implemented by objects wishing to be used to store the state from an HttpSession.
- Version:
- 1.0
| Method Summary | |
int |
getActualMaxInactiveInterval()
|
java.lang.Object |
getAttribute(java.lang.String name)
|
java.util.Enumeration |
getAttributeNameEnumeration()
|
java.lang.String[] |
getAttributeNameStringArray()
|
java.util.Map |
getAttributes()
|
long |
getCreationTime()
|
java.lang.String |
getId()
|
long |
getLastAccessedTime()
|
int |
getMaxInactiveInterval()
|
boolean |
isValid()
|
java.lang.Object |
removeAttribute(java.lang.String name,
boolean returnValue)
|
java.lang.Object |
setAttribute(java.lang.String name,
java.lang.Object value,
boolean returnValue)
|
void |
setAttributes(java.util.Map attributes)
|
void |
setLastAccessedTime(long time)
|
void |
setMaxInactiveInterval(int interval)
|
| Method Detail |
getId
public java.lang.String getId() throws java.rmi.RemoteException
getActualMaxInactiveInterval
public int getActualMaxInactiveInterval()
throws java.rmi.RemoteException
getCreationTime
public long getCreationTime()
throws java.rmi.RemoteException
getAttributes
public java.util.Map getAttributes() throws java.rmi.RemoteException
setAttributes
public void setAttributes(java.util.Map attributes) throws java.rmi.RemoteException
getLastAccessedTime
public long getLastAccessedTime()
throws java.rmi.RemoteException
setLastAccessedTime
public void setLastAccessedTime(long time)
throws java.rmi.RemoteException
getMaxInactiveInterval
public int getMaxInactiveInterval()
throws java.rmi.RemoteException
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)
throws java.rmi.RemoteException
getAttribute
public java.lang.Object getAttribute(java.lang.String name) throws java.rmi.RemoteException
setAttribute
public java.lang.Object setAttribute(java.lang.String name, java.lang.Object value, boolean returnValue) throws java.rmi.RemoteException
removeAttribute
public java.lang.Object removeAttribute(java.lang.String name, boolean returnValue) throws java.rmi.RemoteException
getAttributeNameEnumeration
public java.util.Enumeration getAttributeNameEnumeration() throws java.rmi.RemoteException
getAttributeNameStringArray
public java.lang.String[] getAttributeNameStringArray() throws java.rmi.RemoteException
isValid
public boolean isValid()
throws java.rmi.RemoteException
|
|||||||||
| Home >> All >> org >> mortbay >> j2ee >> [ session overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC