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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSecure()Deprecated.voidsetSameSite(String p_strSameSite) voidsetVersion(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, setValueMethods inherited from class java.lang.Object
getClass, 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
Deprecated.- Specified by:
setVersionin interfacede.uplanet.net.http.ICookie- Overrides:
setVersionin classjakarta.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.