| Modifier and Type | Field and Description |
|---|---|
| private final Cookie | |
| private boolean | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final int | compareTo(final Object
the object to be compared. other)Overrides default io. Compares this object with the specified object for order. |
| public final boolean | equals(final Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public String | |
| public Date | |
| public Integer | |
| public String | |
| public String | |
| public String | |
| public String | |
| public int | |
| public final int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public Cookie | |
| public Cookie | |
| public Cookie | |
| public Cookie | |
| public Cookie | |
| public Cookie | |
| public Cookie | |
| public Cookie | setSameSite(final boolean sameSite)
Overrides default io.
|
| public Cookie | setSameSiteMode(final String mode)
Overrides default io.
|
| public Cookie | |
| public Cookie | |
| public Cookie | |
| public final String |
| cookie | back to summary |
|---|---|
| private final Cookie cookie | |
| sameSite | back to summary |
|---|---|
| private boolean sameSite | |
| sameSiteMode | back to summary |
|---|---|
| private String sameSiteMode | |
| ServletCookieAdaptor | back to summary |
|---|---|
| public ServletCookieAdaptor(final Cookie cookie) | |
| compareTo | back to summary |
|---|---|
| public final int compareTo(final Object other) Overrides default io. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| equals | back to summary |
|---|---|
| public final boolean equals(final Object other) 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. | |
| getComment | back to summary |
|---|---|
| public String getComment() Implements io.
| |
| getDomain | back to summary |
|---|---|
| public String getDomain() Implements io.
| |
| getExpires | back to summary |
|---|---|
| public Date getExpires() Implements io.
| |
| getMaxAge | back to summary |
|---|---|
| public Integer getMaxAge() Implements io.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements io.
| |
| getPath | back to summary |
|---|---|
| public String getPath() Implements io.
| |
| getSameSiteMode | back to summary |
|---|---|
| public String getSameSiteMode() Overrides default io.
| |
| getValue | back to summary |
|---|---|
| public String getValue() Implements io.
| |
| getVersion | back to summary |
|---|---|
| public int getVersion() Implements io.
| |
| hashCode | back to summary |
|---|---|
| public final 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
| |
| isDiscard | back to summary |
|---|---|
| public boolean isDiscard() Implements io.
| |
| isHttpOnly | back to summary |
|---|---|
| public boolean isHttpOnly() Implements io.
| |
| isSameSite | back to summary |
|---|---|
| public boolean isSameSite() Overrides default io.
| |
| isSecure | back to summary |
|---|---|
| public boolean isSecure() Implements io.
| |
| setComment | back to summary |
|---|---|
| public Cookie setComment(final String comment) Implements io.
| |
| setDiscard | back to summary |
|---|---|
| public Cookie setDiscard(final boolean discard) Implements io.
| |
| setDomain | back to summary |
|---|---|
| public Cookie setDomain(final String domain) Implements io.
| |
| setExpires | back to summary |
|---|---|
| public Cookie setExpires(final Date expires) Implements io.
| |
| setHttpOnly | back to summary |
|---|---|
| public Cookie setHttpOnly(final boolean httpOnly) Implements io.
| |
| setMaxAge | back to summary |
|---|---|
| public Cookie setMaxAge(final Integer maxAge) Implements io.
| |
| setPath | back to summary |
|---|---|
| public Cookie setPath(final String path) Implements io.
| |
| setSameSite | back to summary |
|---|---|
| public Cookie setSameSite(final boolean sameSite) Overrides default io.
| |
| setSameSiteMode | back to summary |
|---|---|
| public Cookie setSameSiteMode(final String mode) Overrides default io.
| |
| setSecure | back to summary |
|---|---|
| public Cookie setSecure(final boolean secure) Implements io.
| |
| setValue | back to summary |
|---|---|
| public Cookie setValue(final String value) Implements io.
| |
| setVersion | back to summary |
|---|---|
| public Cookie setVersion(final int version) Implements io.
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |