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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isSecure()
Deprecated.void
setSameSite
(String p_strSameSite) void
setVersion
(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, setValue
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
setVersion
in interfacede.uplanet.net.http.ICookie
- Overrides:
setVersion
in classjavax.servlet.http.Cookie
-
isSecure
Deprecated.UseCookie.getSecure()
instead.- Specified by:
isSecure
in interfacede.uplanet.net.http.ICookie
-
getSameSite
- Specified by:
getSameSite
in interfacede.uplanet.net.http.ICookie
-
setSameSite
- Specified by:
setSameSite
in interfacede.uplanet.net.http.ICookie
-
Cookie.getSecure()
instead.