public interface ClientSession
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthUsername()
Gets the authenticated user name (if any) that is currently assigned
to the session.
|
int |
getClientSessionID()
Gets the VHI client session ID.
|
java.lang.Object |
getClientStateObject(java.lang.String name)
Gets the object bound to the specified name in this client
session, or null if no object is bound to the name.
|
boolean |
isClientStateObject(java.lang.String name)
Tests for the presence of a client state object bound to the specified
name.
|
void |
setClientStateObject(java.lang.String name,
java.lang.Object object)
Binds an object to this client session, using the name specified.
|
int getClientSessionID()
java.lang.String getAuthUsername()
boolean isClientStateObject(java.lang.String name)
name
- the name of the objectjava.lang.Object getClientStateObject(java.lang.String name)
name
- the name of the objectvoid setClientStateObject(java.lang.String name, java.lang.Object object)
name
- the name to which to bind the objectobject
- the object to bind