All Packages Class Hierarchy This Package Previous Next Index
Class sun.security.ssl.SessionId
java.lang.Object
|
+----sun.security.ssl.SessionId
- public final class SessionId
- extends Object
Encapsulates an SSL session ID. SSL Session IDs are not reused by
servers during the lifetime of any sessions it created. Sessions may
be used by many connections, either concurrently (for example, two
connections to a web server at the same time) or sequentially (over as
long a time period as is allowed by a given server).
-
equals(Object)
- Returns true if the parameter is the same session ID
-
hashCode()
- Returns a value which is the same for session IDs which are equal
-
toString()
- Returns the ID as a string
toString
public String toString()
- Returns the ID as a string
- Overrides:
- toString in class Object
hashCode
public int hashCode()
- Returns a value which is the same for session IDs which are equal
- Overrides:
- hashCode in class Object
equals
public boolean equals(Object obj)
- Returns true if the parameter is the same session ID
- Overrides:
- equals in class Object
All Packages Class Hierarchy This Package Previous Next Index