| 构造器和说明 |
|---|
Cookie(String domain,
String path,
String name,
String value,
long expiry,
boolean secure,
boolean hostOnly) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
domain() |
boolean |
equals(Object o) |
boolean |
expired(long now)
If cookie is expired
|
long |
expiry() |
String |
getDomain()
已过时。
use
domain() |
long |
getExpiry()
已过时。
use
expiry() |
String |
getPath()
已过时。
use
path() |
int |
hashCode() |
boolean |
hostOnly() |
boolean |
isHostOnly()
已过时。
use
hostOnly() |
boolean |
isSecure()
已过时。
use
secure() |
String |
path() |
boolean |
secure() |
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValue, getKey, getValue, setValuepublic boolean expired(long now)
@Deprecated public String getDomain()
domain()@Deprecated public boolean isSecure()
secure()@Deprecated public long getExpiry()
expiry()@Deprecated public String getPath()
path()@Deprecated public boolean isHostOnly()
hostOnly()public String domain()
public boolean secure()
public long expiry()
public String path()
public boolean hostOnly()
public boolean equals(Object o)
public int hashCode()
Copyright © 2019. All rights reserved.