public interface WebSession extends AttributeHolder, Describable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Returns a unique string identifier used to identify the session.
|
void |
invalidate()
Invalidates this session then unbinds any objects bound to it.
|
boolean |
isNew()
Returns true if the client does not yet know about the session or if the client chooses not
to join the session.
|
getAttribute, getAttributeNames, setAttribute
describeTo
java.lang.String getId()
WebResponse.encodeURL(String).
boolean isNew()
void invalidate()
java.lang.IllegalStateException
- if the session is already invalidated.