|
EAF 7.6 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lutris.http.SerializableCookie
public class SerializableCookie
This class is a substitute for Cookies, but it is serializable. It is used to pass cookies back and forth when using RMI. Rather than pasing or returning a Cookie, which would cause a marshalling error, the Cookies are turned into SerializabeCookies, passed through RMI, then turned back into Cookies at the other end.
There is no reason why Cookies could not be serializable. Sun may well fix this oversight in version 2 of Java, in which case this class will no longer be necissary to use RMI with the MultiServer.
Cookie
,
com.lutris.servlet.connectionMethod.RMIConnectionMethodImpl
,
com.lutris.servlet.rmi.http.RMIHttpServletRequestImpl
,
com.lutris.servlet.rmi.http.RMIHttpServletResponseImpl
,
Serialized FormConstructor Summary | |
---|---|
SerializableCookie(javax.servlet.http.Cookie cookie)
Constructor. |
Method Summary | |
---|---|
javax.servlet.http.Cookie |
getCookie()
Recreate the cookie that was passed into the constructor. |
java.lang.String |
toString()
Returns a multi-line description of the data stored about the cookie. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SerializableCookie(javax.servlet.http.Cookie cookie)
cookie
- The cookie to make a copy of.Method Detail |
---|
public javax.servlet.http.Cookie getCookie()
public java.lang.String toString()
toString
in class java.lang.Object
|
EAF 7.6 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |