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()
Returns the receiver's session ID.
|
int |
hashCode() |
void |
setSessionId(SessionId sessionId)
Sets the receiver's session ID to the given one.
|
String |
toString() |
getAppId, getClientId, getLocale, getVersionId, setAppId, setClientId, setLocale, setVersionIdpublic void setSessionId(SessionId sessionId)
sessionId - The session ID, which may be null.public SessionId getSessionId()
public String toString()
toString in class StatelessClientContextpublic int hashCode()
hashCode in class StatelessClientContextpublic boolean equals(Object other)
equals in class StatelessClientContextCopyright © 2015. All Rights Reserved.