Package de.uplanet.lucy.server.connector
Class Cookie
java.lang.Object
javax.servlet.http.Cookie
de.uplanet.lucy.server.connector.Cookie
- All Implemented Interfaces:
de.uplanet.net.http.ICookie,Serializable,Cloneable
public final class Cookie
extends javax.servlet.http.Cookie
implements de.uplanet.net.http.ICookie
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSecure()Deprecated.voidsetSameSite(String p_strSameSite) voidsetVersion(int p_iVersion) Methods inherited from class javax.servlet.http.Cookie
clone, getComment, getDomain, getMaxAge, getName, getPath, getSecure, getValue, getVersion, isHttpOnly, setComment, setDomain, setHttpOnly, setMaxAge, setPath, setSecure, setValueMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.uplanet.net.http.ICookie
getComment, getDomain, getMaxAge, getName, getPath, getValue, getVersion, isHttpOnly, setComment, setDomain, setHttpOnly, setMaxAge, setPath, setSecure, setValue
-
Constructor Details
-
Cookie
Create a cookie with the given name and value.- Parameters:
p_strName- The name.p_strValue- The value.- Throws:
IllegalArgumentException- If the cookie name or value is invalid.
-
-
Method Details
-
setVersion
public void setVersion(int p_iVersion) - Specified by:
setVersionin interfacede.uplanet.net.http.ICookie- Overrides:
setVersionin classjavax.servlet.http.Cookie
-
isSecure
Deprecated.UseCookie.getSecure()instead.- Specified by:
isSecurein interfacede.uplanet.net.http.ICookie
-
getSameSite
- Specified by:
getSameSitein interfacede.uplanet.net.http.ICookie
-
setSameSite
- Specified by:
setSameSitein interfacede.uplanet.net.http.ICookie
-
Cookie.getSecure()instead.