public interface ClientCookie extends Cookie
Cookie
interface with
additional client specific functionality such ability to retrieve
original cookie attributes exactly as they were specified by the
origin server. This is important for generating the Cookie
header because some cookie specifications require that the
Cookie
header should include certain attributes only if
they were specified in the Set-Cookie
header.
Please do not use attributes marked as @Obsolete. They have been rendered obsolete by RFC 6265.
Modifier and Type | Field and Description |
---|---|
static String |
COMMENT_ATTR |
static String |
COMMENTURL_ATTR |
static String |
DISCARD_ATTR |
static String |
DOMAIN_ATTR |
static String |
EXPIRES_ATTR |
static String |
MAX_AGE_ATTR |
static String |
PATH_ATTR |
static String |
PORT_ATTR |
static String |
SECURE_ATTR |
static String |
VERSION_ATTR |
Modifier and Type | Method and Description |
---|---|
boolean |
containsAttribute(String name) |
String |
getAttribute(String name) |
getComment, getCommentURL, getDomain, getExpiryDate, getName, getPath, getPorts, getValue, getVersion, isExpired, isPersistent, isSecure
@Obsolete static final String VERSION_ATTR
static final String PATH_ATTR
static final String DOMAIN_ATTR
static final String MAX_AGE_ATTR
static final String SECURE_ATTR
@Obsolete static final String COMMENT_ATTR
static final String EXPIRES_ATTR
@Obsolete static final String PORT_ATTR
@Obsolete static final String COMMENTURL_ATTR
@Obsolete static final String DISCARD_ATTR
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.