|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientSession
Provides information about the currently connected client.
Method Summary | |
---|---|
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. |
Method Detail |
---|
int getClientSessionID()
java.lang.String getAuthUsername()
boolean isClientStateObject(java.lang.String name)
name
- the name of the object
java.lang.Object getClientStateObject(java.lang.String name)
name
- the name of the object
void setClientStateObject(java.lang.String name, java.lang.Object object)
name
- the name to which to bind the objectobject
- the object to bind
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |