| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private boolean | |
| private String | |
| private Date | |
| private boolean | |
| private Integer | |
| private final String | |
| private String | |
| private boolean | |
| private String | |
| private boolean | |
| private String | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| 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 CookieImpl | |
| public CookieImpl | |
| public CookieImpl | |
| public CookieImpl | |
| public CookieImpl | |
| public CookieImpl | |
| public Cookie | setSameSite(final boolean sameSite)
Overrides default io.
|
| public Cookie | setSameSiteMode(final String mode)
Overrides default io.
|
| public CookieImpl | |
| public CookieImpl | |
| public CookieImpl | |
| public final String |
| comment | back to summary |
|---|---|
| private String comment | |
| discard | back to summary |
|---|---|
| private boolean discard | |
| domain | back to summary |
|---|---|
| private String domain | |
| expires | back to summary |
|---|---|
| private Date expires | |
| httpOnly | back to summary |
|---|---|
| private boolean httpOnly | |
| maxAge | back to summary |
|---|---|
| private Integer maxAge | |
| name | back to summary |
|---|---|
| private final String name | |
| path | back to summary |
|---|---|
| private String path | |
| sameSite | back to summary |
|---|---|
| private boolean sameSite | |
| sameSiteMode | back to summary |
|---|---|
| private String sameSiteMode | |
| secure | back to summary |
|---|---|
| private boolean secure | |
| value | back to summary |
|---|---|
| private String value | |
| version | back to summary |
|---|---|
| private int version | |
| CookieImpl | back to summary |
|---|---|
| public CookieImpl(final String name, final String value) | |
| CookieImpl | back to summary |
|---|---|
| public CookieImpl(final String name) | |
| 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 CookieImpl setDiscard(final boolean discard) Implements io. | |
| setDomain | back to summary |
|---|---|
| public CookieImpl setDomain(final String domain) Implements io. | |
| setExpires | back to summary |
|---|---|
| public CookieImpl setExpires(final Date expires) Implements io. | |
| setHttpOnly | back to summary |
|---|---|
| public CookieImpl setHttpOnly(final boolean httpOnly) Implements io. | |
| setMaxAge | back to summary |
|---|---|
| public CookieImpl setMaxAge(final Integer maxAge) Implements io. | |
| setPath | back to summary |
|---|---|
| public CookieImpl 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 CookieImpl setSecure(final boolean secure) Implements io. | |
| setValue | back to summary |
|---|---|
| public CookieImpl setValue(final String value) Implements io. | |
| setVersion | back to summary |
|---|---|
| public CookieImpl 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- | |