| Modifier and Type | Field and Description |
|---|---|
| public static final long | UNDEFINED_MAX_AGE
Constant for undefined MaxAge attribute value. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public boolean | Returns: True if thisCookie is HTTP-only or false if it isn'tChecks to see if this |
| public boolean | |
| public long | Returns: The maximum age of thisCookieReturns the maximum age of this |
| public String | |
| public String | |
| public void | |
| public void | setHttpOnly(boolean
True if the httpOnly)Cookie is HTTP only, otherwise false.Determines if this |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String | |
| public boolean |
| UNDEFINED_MAX_AGE | back to summary |
|---|---|
| public static final long UNDEFINED_MAX_AGE Constant for undefined MaxAge attribute value. | |
| domain | back to summary |
|---|---|
| public String domain() Returns the domain of this | |
| isHttpOnly | back to summary |
|---|---|
| public boolean isHttpOnly() Checks to see if this
| |
| isSecure | back to summary |
|---|---|
| public boolean isSecure() Checks to see if this
| |
| maxAge | back to summary |
|---|---|
| public long maxAge() Returns the maximum age of this
| |
| name | back to summary |
|---|---|
| public String name() Returns the name of this | |
| path | back to summary |
|---|---|
| public String path() Returns the path of this | |
| setDomain | back to summary |
|---|---|
| public void setDomain(String domain) Sets the domain of this
| |
| setHttpOnly | back to summary |
|---|---|
| public void setHttpOnly(boolean httpOnly) Determines if this
| |
| setMaxAge | back to summary |
|---|---|
| public void setMaxAge(long maxAge) Sets the maximum age of this
| |
| setPath | back to summary |
|---|---|
| public void setPath(String path) Sets the path of this | |
| setSecure | back to summary |
|---|---|
| public void setSecure(boolean secure) Sets the security getStatus of this
| |
| setValue | back to summary |
|---|---|
| public void setValue(String value) Sets the value of this
| |
| setWrap | back to summary |
|---|---|
| public void setWrap(boolean wrap) Sets true if the value of this
| |
| value | back to summary |
|---|---|
| public String value() Returns the value of this | |
| wrap | back to summary |
|---|---|
| public boolean wrap() Returns true if the raw value of this
| |