public class Cookie extends Object
Constructor and Description |
---|
Cookie(String name,
String value,
String rawValue,
String domain,
String path,
long expires,
int maxAge,
boolean secure,
boolean httpOnly) |
Modifier and Type | Method and Description |
---|---|
String |
getDomain() |
long |
getExpires() |
int |
getMaxAge() |
String |
getName() |
String |
getPath() |
String |
getRawValue() |
String |
getValue() |
boolean |
isHttpOnly() |
boolean |
isSecure() |
static Cookie |
newValidCookie(String name,
String value,
String domain,
String rawValue,
String path,
long expires,
int maxAge,
boolean secure,
boolean httpOnly) |
String |
toString() |
public static Cookie newValidCookie(String name, String value, String domain, String rawValue, String path, long expires, int maxAge, boolean secure, boolean httpOnly)
public String getDomain()
public String getName()
public String getValue()
public String getRawValue()
public String getPath()
public long getExpires()
public int getMaxAge()
public boolean isSecure()
public boolean isHttpOnly()
Copyright © 2014. All Rights Reserved.