Package de.uplanet.lucy.server.connector
Class Cookie
java.lang.Object
jakarta.servlet.http.Cookie
de.uplanet.lucy.server.connector.Cookie
- All Implemented Interfaces:
de.uplanet.net.http.ICookie
,Serializable
,Cloneable
public final class Cookie
extends jakarta.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) Deprecated.Methods inherited from class jakarta.servlet.http.Cookie
clone, equals, getAttribute, getAttributes, getComment, getDomain, getMaxAge, getName, getPath, getSecure, getValue, getVersion, hashCode, isHttpOnly, setAttribute, 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
Deprecated.- Specified by:
setVersion
in interfacede.uplanet.net.http.ICookie
- Overrides:
setVersion
in classjakarta.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.