| Modifier and Type | Field and Description |
|---|---|
| private ExtendedTime | |
| private String | |
| private final long | |
| private boolean | |
| private final boolean | |
| private static final Pattern | |
| private long | |
| private static final PlatformLogger | |
| private final String | |
| private String | |
| private final boolean | |
| private final boolean | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | |
| pack-priv static boolean | |
| private static boolean | |
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| pack-priv ExtendedTime | |
| pack-priv String | |
| pack-priv long | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv long | |
| pack-priv String | |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv boolean | |
| public int | |
| private static int | |
| private static boolean | |
| pack-priv static Cookie | parse(String setCookieString, ExtendedTime currentTime)
Parses a |
| private static String | |
| private static long | |
| private static long | |
| private static String | |
| pack-priv static boolean | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public String |
| creationTime | back to summary |
|---|---|
| private ExtendedTime creationTime | |
| domain | back to summary |
|---|---|
| private String domain | |
| expiryTime | back to summary |
|---|---|
| private final long expiryTime | |
| hostOnly | back to summary |
|---|---|
| private boolean hostOnly | |
| httpOnly | back to summary |
|---|---|
| private final boolean httpOnly | |
| IP_ADDRESS_PATTERN | back to summary |
|---|---|
| private static final Pattern IP_ADDRESS_PATTERN | |
| lastAccessTime | back to summary |
|---|---|
| private long lastAccessTime | |
| logger | back to summary |
|---|---|
| private static final PlatformLogger logger | |
| name | back to summary |
|---|---|
| private final String name | |
| path | back to summary |
|---|---|
| private String path | |
| persistent | back to summary |
|---|---|
| private final boolean persistent | |
| secureOnly | back to summary |
|---|---|
| private final boolean secureOnly | |
| value | back to summary |
|---|---|
| private final String value | |
| Cookie | back to summary |
|---|---|
| private Cookie(String name, String value, long expiryTime, String domain, String path, ExtendedTime creationTime, long lastAccessTime, boolean persistent, boolean hostOnly, boolean secureOnly, boolean httpOnly) Creates a new | |
| defaultPath | back to summary |
|---|---|
| pack-priv static String defaultPath(URI uri) Computes the default path for a given URI. | |
| domainMatches | back to summary |
|---|---|
| pack-priv static boolean domainMatches(String domain, String cookieDomain) Determines if a domain matches another domain. | |
| equal | back to summary |
|---|---|
| private static boolean equal(Object obj1, Object obj2) Determines, in null-safe manner, if two objects are equal. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getCreationTime | back to summary |
|---|---|
| pack-priv ExtendedTime getCreationTime() Returns the creation time of this cookie. | |
| getDomain | back to summary |
|---|---|
| pack-priv String getDomain() Returns the domain of this cookie. | |
| getExpiryTime | back to summary |
|---|---|
| pack-priv long getExpiryTime() Returns the expiry time of this cookie. | |
| getHostOnly | back to summary |
|---|---|
| pack-priv boolean getHostOnly() Returns the host-only property of this cookie. | |
| getHttpOnly | back to summary |
|---|---|
| pack-priv boolean getHttpOnly() Returns the http-only property of this cookie. | |
| getLastAccessTime | back to summary |
|---|---|
| pack-priv long getLastAccessTime() Returns the last access time of this cookie. | |
| getName | back to summary |
|---|---|
| pack-priv String getName() Returns the name of this cookie. | |
| getPath | back to summary |
|---|---|
| pack-priv String getPath() Returns the path of this cookie. | |
| getPersistent | back to summary |
|---|---|
| pack-priv boolean getPersistent() Returns the persistent property of this cookie. | |
| getSecureOnly | back to summary |
|---|---|
| pack-priv boolean getSecureOnly() Returns the secure-only property of this cookie. | |
| getValue | back to summary |
|---|---|
| pack-priv String getValue() Returns the value of this cookie. | |
| hasExpired | back to summary |
|---|---|
| pack-priv boolean hasExpired() Determines if this cookie has expired. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hashCode | back to summary |
|---|---|
| private static int hashCode(Object obj) Computes the hash code of an object in null safe-manner. | |
| isIpAddress | back to summary |
|---|---|
| private static boolean isIpAddress(String hostname) Determines if a hostname is an IP address. | |
| parse | back to summary |
|---|---|
| pack-priv static Cookie parse(String setCookieString, ExtendedTime currentTime) Parses a | |
| parseDomain | back to summary |
|---|---|
| private static String parseDomain(String attributeValue) throws ParseException Parses the value of the | |
| parseExpires | back to summary |
|---|---|
| private static long parseExpires(String attributeValue) throws ParseException Parses the value of the | |
| parseMaxAge | back to summary |
|---|---|
| private static long parseMaxAge(String attributeValue, long currentTime) throws ParseException Parses the value of the | |
| parsePath | back to summary |
|---|---|
| private static String parsePath(String attributeValue) Parses the value of the | |
| pathMatches | back to summary |
|---|---|
| pack-priv static boolean pathMatches(String path, String cookiePath) Determines if a path matches another path. | |
| setCreationTime | back to summary |
|---|---|
| pack-priv void setCreationTime(ExtendedTime creationTime) Sets the creation time of this cookie. | |
| setDomain | back to summary |
|---|---|
| pack-priv void setDomain(String domain) Sets the domain of this cookie. | |
| setHostOnly | back to summary |
|---|---|
| pack-priv void setHostOnly(boolean hostOnly) Sets the host-only property of this cookie. | |
| setLastAccessTime | back to summary |
|---|---|
| pack-priv void setLastAccessTime(long lastAccessTime) Sets the last access time of this cookie. | |
| setPath | back to summary |
|---|---|
| pack-priv void setPath(String path) Sets the path of this cookie. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |