|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.meterware.httpunit.cookies.CookieProperties
Controls behavior for cookies.
Constructor Summary | |
CookieProperties()
|
Method Summary | |
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,
java.lang.String attribute,
java.lang.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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CookieProperties()
Method Detail |
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)
public static void reportCookieRejected(int reason, java.lang.String attribute, java.lang.String source)
|
Copyright © 2000-2008 Russell Gold. See license agreement for rights granted. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |