|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.httpclient.cookie.CookieSpecBase
com.microsoft.tfs.core.httpclient.cookie.RFC2109Spec
com.microsoft.tfs.core.httpclient.cookie.CompatibilityCookieSpec
public class CompatibilityCookieSpec
Cookie spec class that aims for maximum compatibility with web practices, if not necessarily standards.
Field Summary |
---|
Fields inherited from class com.microsoft.tfs.core.httpclient.cookie.RFC2109Spec |
---|
SET_COOKIE_KEY |
Fields inherited from class com.microsoft.tfs.core.httpclient.cookie.CookieSpecBase |
---|
LOG |
Fields inherited from interface com.microsoft.tfs.core.httpclient.cookie.CookieSpec |
---|
PATH_DELIM, PATH_DELIM_CHAR |
Constructor Summary | |
---|---|
CompatibilityCookieSpec()
|
Method Summary | |
---|---|
boolean |
domainMatch(java.lang.String host,
java.lang.String domain)
Performs domain-match as implemented by browsers. |
Methods inherited from class com.microsoft.tfs.core.httpclient.cookie.RFC2109Spec |
---|
formatCookie, formatCookies, parseAttribute, validate |
Methods inherited from class com.microsoft.tfs.core.httpclient.cookie.CookieSpecBase |
---|
formatCookieHeader, formatCookieHeader, getValidDateFormats, match, match, parse, parse, parse, parse, pathMatch, setValidDateFormats |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompatibilityCookieSpec()
Method Detail |
---|
public boolean domainMatch(java.lang.String host, java.lang.String domain)
domainMatch
in interface CookieSpec
domainMatch
in class RFC2109Spec
host
- The target host.domain
- The cookie domain attribute.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |