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.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
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
static final String COMMENT_ATTR
static final String EXPIRES_ATTR
static final String PORT_ATTR
static final String COMMENTURL_ATTR
static final String DISCARD_ATTR
Copyright © 1999–2013 The Apache Software Foundation. All rights reserved.