electric.session
Interface ISession
- All Known Implementing Classes:
- HTTPSession
- public interface ISession
ISession.
- Author:
- webMethods
expired
public boolean expired()
invalidate
public void invalidate()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
isNew
public boolean isNew()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
getCreationTime
public long getCreationTime()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
getLastAccessedTime
public long getLastAccessedTime()
accessed
public void accessed()
getId
public java.lang.String getId()
setTimeout
public void setTimeout(int interval)
- Set the maximum number of seconds that I can remain inactive before being invalidated.
- Parameters:
interval
- The time interval in seconds.
getTimeout
public int getTimeout()
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
throws java.lang.IllegalStateException
- Parameters:
name
-
- Throws:
java.lang.IllegalStateException
getAttributeNames
public java.util.Enumeration getAttributeNames()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
throws java.lang.IllegalStateException
- Parameters:
name
- value
-
- Throws:
java.lang.IllegalStateException
removeAttribute
public void removeAttribute(java.lang.String name)
throws java.lang.IllegalStateException
- Parameters:
name
-
- Throws:
java.lang.IllegalStateException
getValue
public java.lang.Object getValue(java.lang.String name)
throws java.lang.IllegalStateException
- Parameters:
name
-
- Throws:
java.lang.IllegalStateException
copyright© 2001-2004 by webMethods All Rights Reserved.