Deprecated
Use io. instead.
Cookie implementation.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| private boolean | |
| private Set | |
| private Set | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | comment()
Implements io.
Deprecated
Returns the comment of this Cookie.
|
| public String | commentUrl()
Implements io.
Deprecated
Returns the comment URL of this Cookie.
|
| public String | |
| public String | |
| public String | |
| public long | |
| public String | |
| public String | |
| public Set | |
| public String | |
| public int | |
| public boolean | isDiscard()
Implements io.
Deprecated
Checks to see if this Cookie is to be discarded by the browser
at the end of the current session.
|
| public Set | ports()
Implements io.
Deprecated
Returns the ports that this Cookie can be accessed on.
|
| public void | setComment(String
The comment to use comment)Implements io.
Deprecated
Sets the comment of this Cookie.
|
| public void | setCommentUrl(String
The comment URL to use commentUrl)Implements io.
Deprecated
Sets the comment URL of this Cookie.
|
| public void | setDiscard(boolean
True if the discard)Cookie is to be discardedImplements io.
Deprecated
Sets the discard flag of this Cookie.
|
| public void | setPorts(int...
The ports that this ports)Cookie can be accessed onImplements io.
Deprecated
Sets the ports that this Cookie can be accessed on.
|
| public void | |
| public void | setVersion(int
The new version to use version)Implements io.
Deprecated
Sets the version of this Cookie.
|
| public int | version()
Implements io.
Deprecated
Returns the version of this Cookie.
|
| comment | back to summary |
|---|---|
| private String comment | |
| commentUrl | back to summary |
|---|---|
| private String commentUrl | |
| discard | back to summary |
|---|---|
| private boolean discard | |
| ports | back to summary |
|---|---|
| private Set<Integer> ports | |
| unmodifiablePorts | back to summary |
|---|---|
| private Set<Integer> unmodifiablePorts | |
| version | back to summary |
|---|---|
| private int version | |
| DefaultCookie | back to summary |
|---|---|
| public DefaultCookie(String name, String value) Creates a new cookie with the specified name and value. | |
| comment | back to summary |
|---|---|
| public String comment() Implements io. Doc from io. Deprecated
Returns the comment of this | |
| commentUrl | back to summary |
|---|---|
| public String commentUrl() Implements io. Doc from io. Deprecated
Returns the comment URL of this | |
| getComment | back to summary |
|---|---|
| public String getComment() Implements io. Deprecated
| |
| getCommentUrl | back to summary |
|---|---|
| public String getCommentUrl() Implements io. Deprecated
| |
| getDomain | back to summary |
|---|---|
| public String getDomain() Implements io. Deprecated
| |
| getMaxAge | back to summary |
|---|---|
| public long getMaxAge() Implements io. Deprecated
| |
| getName | back to summary |
|---|---|
| public String getName() Implements io. Deprecated
| |
| getPath | back to summary |
|---|---|
| public String getPath() Implements io. Deprecated
| |
| getPorts | back to summary |
|---|---|
| public Set Implements io. Deprecated
| |
| getValue | back to summary |
|---|---|
| public String getValue() Implements io. Deprecated
| |
| getVersion | back to summary |
|---|---|
| public int getVersion() Implements io. Deprecated
| |
| isDiscard | back to summary |
|---|---|
| public boolean isDiscard() Implements io. Doc from io. Deprecated
Checks to see if this
| |
| ports | back to summary |
|---|---|
| public Set Implements io. Doc from io. Deprecated
Returns the ports that this | |
| setComment | back to summary |
|---|---|
| public void setComment(String comment) Implements io. Doc from io. Deprecated
Sets the comment of this
| |
| setCommentUrl | back to summary |
|---|---|
| public void setCommentUrl(String commentUrl) Implements io. Doc from io. Deprecated
Sets the comment URL of this
| |
| setDiscard | back to summary |
|---|---|
| public void setDiscard(boolean discard) Implements io. Doc from io. Deprecated
Sets the discard flag of this
| |
| setPorts | back to summary |
|---|---|
| public void setPorts(int... ports) Implements io. Doc from io. Deprecated
Sets the ports that this
| |
| setPorts | back to summary |
|---|---|
| public void setPorts(Iterable<Integer> ports) Implements io. Doc from io. Deprecated
Sets the ports that this | |
| setVersion | back to summary |
|---|---|
| public void setVersion(int version) Implements io. Doc from io. Deprecated
Sets the version of this
| |
| version | back to summary |
|---|---|
| public int version() Implements io. Doc from io. Deprecated
Returns the version of this
| |