public class ClientContext extends StatelessClientContext
Client.getContext() is the
preferred way for service clients to obtain a ready-to-use
context. It conveys key (but optional) information about the client
to the server.| Constructor and Description |
|---|
ClientContext() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
SessionId |
getSessionId()
Get the sessionId value.
|
String |
getUsername()
Get the username value.
|
int |
hashCode() |
void |
setSessionId(SessionId inSessionId)
Sets the sessionId value.
|
void |
setUsername(String inUsername)
Sets the username value.
|
String |
toString() |
getAppId, getClientId, getLocale, getVersionId, setAppId, setClientId, setLocale, setVersionIdpublic SessionId getSessionId()
SessionId valuepublic void setSessionId(SessionId inSessionId)
inSessionId - a SessionId valuepublic String getUsername()
String valuepublic void setUsername(String inUsername)
inUsername - a String valuepublic String toString()
toString in class StatelessClientContextpublic int hashCode()
hashCode in class StatelessClientContextpublic boolean equals(Object other)
equals in class StatelessClientContextCopyright © 2017. All Rights Reserved.