public class NewCookie extends Cookie
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_AGE |
DEFAULT_VERSION| Constructor and Description |
|---|
NewCookie(Cookie cookie) |
NewCookie(Cookie cookie,
String comment,
int maxAge,
boolean secure) |
NewCookie(Cookie cookie,
String comment,
int maxAge,
Date expiry,
boolean secure,
boolean httpOnly) |
NewCookie(String name,
String value) |
NewCookie(String name,
String value,
String path,
String domain,
int version,
String comment,
int maxAge,
boolean secure) |
NewCookie(String name,
String value,
String path,
String domain,
int version,
String comment,
int maxAge,
Date expiry,
boolean secure,
boolean httpOnly) |
NewCookie(String name,
String value,
String path,
String domain,
String comment,
int maxAge,
boolean secure) |
NewCookie(String name,
String value,
String path,
String domain,
String comment,
int maxAge,
boolean secure,
boolean httpOnly) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getComment() |
Date |
getExpiry() |
int |
getMaxAge() |
int |
hashCode() |
boolean |
isHttpOnly() |
boolean |
isSecure() |
Cookie |
toCookie() |
String |
toString() |
static NewCookie |
valueOf(String value) |
public static final int DEFAULT_MAX_AGE
public NewCookie(String name, String value, String path, String domain, String comment, int maxAge, boolean secure)
public NewCookie(String name, String value, String path, String domain, String comment, int maxAge, boolean secure, boolean httpOnly)
public NewCookie(String name, String value, String path, String domain, int version, String comment, int maxAge, boolean secure)
public NewCookie(String name, String value, String path, String domain, int version, String comment, int maxAge, Date expiry, boolean secure, boolean httpOnly)
public NewCookie(Cookie cookie)
Copyright © 2018 The Apache Software Foundation. All rights reserved.