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).


Method Index

 o equals(Object)
Returns true if the parameter is the same session ID
 o hashCode()
Returns a value which is the same for session IDs which are equal
 o toString()
Returns the ID as a string

Methods

 o toString
  public String toString()
Returns the ID as a string

Overrides:
toString in class Object
 o hashCode
  public int hashCode()
Returns a value which is the same for session IDs which are equal

Overrides:
hashCode in class Object
 o 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