public class Cookie extends Object
| Constructor and Description |
|---|
Cookie(String name,
String value,
String domain,
String path,
Date expiry,
boolean isSecure) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Two cookies are equal if the name and value match
|
String |
getDomain() |
Date |
getExpiry() |
String |
getName() |
String |
getPath() |
String |
getValue() |
int |
hashCode() |
boolean |
isSecure() |
String |
toString() |
public Cookie(String name, String value, String domain, String path, Date expiry, boolean isSecure)
name - the name of the cookie. May not be null or an empty stringvalue - the cookie value. May not be nulldomain - the domain the cookie is visible topath - the path the cookie is visible to. If left blank or set to null, will be set to "/"expiry - the cookie's expiration date. May be nullpublic String getName()
public String getValue()
public String getDomain()
public String getPath()
public Date getExpiry()
public boolean isSecure()
public boolean equals(Object o)
Copyright © 2017 Axway Software. All rights reserved.