|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
waggle.core.id.XSessionID
public final class XSessionID
Unique Session IDs.
The 'unique' session ID is a random ID that we assign to each HTTP Session.
Note that this is NOT the HTTP Session's JSESSIONID value.
We need to do this because it appears as though the JSESSIONID value assigned by the container can change many times over the lifetime of an HTTP Session's lifetime.
Constructor Summary | |
---|---|
XSessionID() Default constructor for SOAP use only! |
Method Summary | |
---|---|
int |
compareTo(XSessionID that) |
boolean |
equals(Object obj) |
String |
getStringValue() Extra getter for SOAP use only! |
int |
hashCode() |
void |
setStringValue(String stringValue) Extra setter for SOAP use only! |
String |
toLogableString() Return a logable version of the Session ID. |
static String |
toLogableString(String sessionID) Return a logable version of a Session ID. |
String |
toString() |
static XSessionID |
valueOf(String sessionID) Create a Session ID from a String. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XSessionID()
Method Detail |
---|
public static XSessionID valueOf(String sessionID)
sessionID
- The String Session ID.public String toLogableString()
public static String toLogableString(String sessionID)
sessionID
- The Session ID.public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public int compareTo(XSessionID that)
compareTo
in interface Comparable<XSessionID>
public String getStringValue()
public void setStringValue(String stringValue)
stringValue
- the new string value
|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |