public static class GoogleGDataRequest.GoogleCookie extends Object
| Constructor and Description |
|---|
GoogleGDataRequest.GoogleCookie(URI uri,
String cookieHeader)
Constructs a new GoogleCookie instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Returns
true if the target object is a GoogleCookie that
has the same name as this cookie and that matches the same target
domain and path as this cookie. |
String |
getDomain() |
Date |
getExpires() |
String |
getName() |
String |
getPath() |
boolean |
hasExpired()
Returns
true if the cookie has expired. |
int |
hashCode() |
boolean |
matches(URI uri)
Returns
true if the cookie hasn't expired, the
URI domain matches, and the URI path starts with the
cookie path. |
String |
toString() |
public String getDomain()
public String getPath()
public String getName()
public Date getExpires()
public boolean hasExpired()
true if the cookie has expired.public boolean matches(URI uri)
true if the cookie hasn't expired, the
URI domain matches, and the URI path starts with the
cookie path.uri - URI to check againstpublic boolean equals(Object o)
true if the target object is a GoogleCookie that
has the same name as this cookie and that matches the same target
domain and path as this cookie. Cookie expiration and value
are not taken into account when considering equivalence.Copyright © 2012. All Rights Reserved.