Package org.cef.network
Class CefCookie
- java.lang.Object
-
- org.cef.network.CefCookie
-
public final class CefCookie extends java.lang.ObjectCookie information.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.DatecreationThe cookie creation date.java.lang.StringdomainIf domain is empty a host cookie will be created instead of a domain cookie.java.util.DateexpiresbooleanhasExpiresThe cookie expiration date is only valid if |has_expires| is true.booleanhttponlyIf httponly is true the cookie will only be sent for HTTP requests.java.util.DatelastAccessThe cookie last access date.java.lang.StringnameThe cookie name.java.lang.StringpathIf path is non-empty only URLs at or below the path will get the cookie value.booleansecureIf secure is true the cookie will only be sent for HTTPS requests.java.lang.StringvalueThe cookie value.
-
Constructor Summary
Constructors Constructor Description CefCookie(java.lang.String name, java.lang.String value, java.lang.String domain, java.lang.String path, boolean secure, boolean httponly, java.util.Date creation, java.util.Date lastAccess, boolean hasExpires, java.util.Date expires)
-
-
-
Field Detail
-
name
public final java.lang.String name
The cookie name.
-
value
public final java.lang.String value
The cookie value.
-
domain
public final java.lang.String domain
If domain is empty a host cookie will be created instead of a domain cookie. Domain cookies are stored with a leading "." and are visible to sub-domains whereas host cookies are not.
-
path
public final java.lang.String path
If path is non-empty only URLs at or below the path will get the cookie value.
-
secure
public final boolean secure
If secure is true the cookie will only be sent for HTTPS requests.
-
httponly
public final boolean httponly
If httponly is true the cookie will only be sent for HTTP requests.
-
creation
public final java.util.Date creation
The cookie creation date. This is automatically populated by the system on cookie creation.
-
lastAccess
public final java.util.Date lastAccess
The cookie last access date. This is automatically populated by the system on access.
-
hasExpires
public final boolean hasExpires
The cookie expiration date is only valid if |has_expires| is true.
-
expires
public final java.util.Date expires
-
-