@NotThreadSafe public class BestMatchSpecHC4 extends java.lang.Object implements org.apache.http.cookie.CookieSpec
| Constructor and Description |
|---|
BestMatchSpecHC4() |
BestMatchSpecHC4(java.lang.String[] datepatterns,
boolean oneHeader) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.apache.http.Header> |
formatCookies(java.util.List<org.apache.http.cookie.Cookie> cookies) |
int |
getVersion() |
org.apache.http.Header |
getVersionHeader() |
boolean |
match(org.apache.http.cookie.Cookie cookie,
org.apache.http.cookie.CookieOrigin origin) |
java.util.List<org.apache.http.cookie.Cookie> |
parse(org.apache.http.Header header,
org.apache.http.cookie.CookieOrigin origin) |
java.lang.String |
toString() |
void |
validate(org.apache.http.cookie.Cookie cookie,
org.apache.http.cookie.CookieOrigin origin) |
public BestMatchSpecHC4(java.lang.String[] datepatterns,
boolean oneHeader)
public BestMatchSpecHC4()
public java.util.List<org.apache.http.cookie.Cookie> parse(org.apache.http.Header header,
org.apache.http.cookie.CookieOrigin origin)
throws org.apache.http.cookie.MalformedCookieException
parse in interface org.apache.http.cookie.CookieSpecorg.apache.http.cookie.MalformedCookieExceptionpublic void validate(org.apache.http.cookie.Cookie cookie,
org.apache.http.cookie.CookieOrigin origin)
throws org.apache.http.cookie.MalformedCookieException
validate in interface org.apache.http.cookie.CookieSpecorg.apache.http.cookie.MalformedCookieExceptionpublic boolean match(org.apache.http.cookie.Cookie cookie,
org.apache.http.cookie.CookieOrigin origin)
match in interface org.apache.http.cookie.CookieSpecpublic java.util.List<org.apache.http.Header> formatCookies(java.util.List<org.apache.http.cookie.Cookie> cookies)
formatCookies in interface org.apache.http.cookie.CookieSpecpublic int getVersion()
getVersion in interface org.apache.http.cookie.CookieSpecpublic org.apache.http.Header getVersionHeader()
getVersionHeader in interface org.apache.http.cookie.CookieSpecpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1999-2015 The Apache Software Foundation. All rights reserved.