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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisSecure()Deprecated.voidsetSameSite(String p_strSameSite) voidsetVersion(int p_iVersion) Methods inherited from class javax.servlet.http.Cookieclone, getComment, getDomain, getMaxAge, getName, getPath, getSecure, getValue, getVersion, isHttpOnly, setComment, setDomain, setHttpOnly, setMaxAge, setPath, setSecure, setValueMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.uplanet.net.http.ICookiegetComment, getDomain, getMaxAge, getName, getPath, getValue, getVersion, isHttpOnly, setComment, setDomain, setHttpOnly, setMaxAge, setPath, setSecure, setValue
- 
Constructor Details- 
CookieCreate 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- 
setVersionpublic void setVersion(int p_iVersion) - Specified by:
- setVersionin interface- de.uplanet.net.http.ICookie
- Overrides:
- setVersionin class- javax.servlet.http.Cookie
 
- 
isSecureDeprecated.UseCookie.getSecure()instead.- Specified by:
- isSecurein interface- de.uplanet.net.http.ICookie
 
- 
getSameSite- Specified by:
- getSameSitein interface- de.uplanet.net.http.ICookie
 
- 
setSameSite- Specified by:
- setSameSitein interface- de.uplanet.net.http.ICookie
 
 
- 
Cookie.getSecure()instead.