public class CookieProperties extends Object
Constructor and Description |
---|
CookieProperties() |
Modifier and Type | Method and Description |
---|---|
static void |
addCookieListener(CookieListener listener)
Adds a listener for cookie events.
|
static boolean |
isDomainMatchingStrict()
Returns true (the default) if cookies should be rejected if they specify a domain which is not a suffix
of the host domain or does not contain all of the dots in that host domain name
(see RFC2965).
|
static boolean |
isPathMatchingStrict()
Returns true (the default) if cookies should be rejected if they specify a path which is not a prefix
of the request path (see RFC2965).
|
static void |
reportCookieRejected(int reason,
String attribute,
String source) |
static void |
reset() |
static void |
setDomainMatchingStrict(boolean domainMatchingStrict)
Specifies whether strict domain name matching must be followed.
|
static void |
setPathMatchingStrict(boolean pathMatchingStrict)
Specifies whether strict path name matching must be followed.
|
public static void reset()
public static boolean isDomainMatchingStrict()
public static void setDomainMatchingStrict(boolean domainMatchingStrict)
public static boolean isPathMatchingStrict()
public static void setPathMatchingStrict(boolean pathMatchingStrict)
public static void addCookieListener(CookieListener listener)
Copyright © 2012. All Rights Reserved.