|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.iplanet.portalserver.session.SessionID
The SessionID class is used to indentify a Session
object. It contains a random String and the name of the session
server. The random String in the SessionID is unique on a given
session server.
Session| Constructor Summary | |
SessionID(javax.servlet.http.HttpServletRequest request)
Constructs a SessionID object based on a HttpServletRequest object. |
|
SessionID(java.lang.String sid)
Constructs a SessionID object based on a String. |
|
| Method Summary | |
boolean |
equals(java.lang.Object object)
Compares this SessionID to the specified object. |
java.lang.String |
getRandomString()
This method gets the random String in this object. |
java.lang.String |
getSessionDomain()
This method gets the domain where this session belongs to. |
java.lang.String |
getSessionServer()
This method gets the session server name in this object. |
java.lang.String |
getSessionServerPort()
This method gets the session server port in this object |
java.lang.String |
getSessionServerProtocol()
This method gets the session server protocol in this object |
int |
hashCode()
Returns a hash code for this object. |
java.lang.String |
toString()
This method returns the encrypted session string. |
| Methods inherited from class java.lang.Object |
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public SessionID(javax.servlet.http.HttpServletRequest request)
request - The HttpServletRequest object which contains the
encrypted session string.public SessionID(java.lang.String sid)
sid - The session ID String in an encrypted format.| Method Detail |
public java.lang.String getRandomString()
None. - public java.lang.String getSessionServerProtocol()
None. - public java.lang.String getSessionServerPort()
None. - public java.lang.String getSessionServer()
None. - public java.lang.String getSessionDomain()
None. - public java.lang.String toString()
None. - public boolean equals(java.lang.Object object)
anObject - - the object to compare this SessionID against.public int hashCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||