org.apache.http.impl.cookie
Class CookieSpecBaseHC4
java.lang.Object
org.apache.http.impl.cookie.AbstractCookieSpecHC4
org.apache.http.impl.cookie.CookieSpecBaseHC4
- All Implemented Interfaces:
- org.apache.http.cookie.CookieSpec
- Direct Known Subclasses:
- BrowserCompatSpecHC4, IgnoreSpec, NetscapeDraftSpecHC4, RFC2109SpecHC4
@NotThreadSafe
public abstract class CookieSpecBaseHC4
- extends AbstractCookieSpecHC4
Cookie management functions shared by all specification.
- Since:
- 4.0
|
Method Summary |
protected static java.lang.String |
getDefaultDomain(org.apache.http.cookie.CookieOrigin origin)
|
protected static java.lang.String |
getDefaultPath(org.apache.http.cookie.CookieOrigin origin)
|
boolean |
match(org.apache.http.cookie.Cookie cookie,
org.apache.http.cookie.CookieOrigin origin)
|
protected java.util.List<org.apache.http.cookie.Cookie> |
parse(org.apache.http.HeaderElement[] elems,
org.apache.http.cookie.CookieOrigin origin)
|
void |
validate(org.apache.http.cookie.Cookie cookie,
org.apache.http.cookie.CookieOrigin origin)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.http.cookie.CookieSpec |
formatCookies, getVersion, getVersionHeader, parse |
CookieSpecBaseHC4
public CookieSpecBaseHC4()
getDefaultPath
protected static java.lang.String getDefaultPath(org.apache.http.cookie.CookieOrigin origin)
getDefaultDomain
protected static java.lang.String getDefaultDomain(org.apache.http.cookie.CookieOrigin origin)
parse
protected java.util.List<org.apache.http.cookie.Cookie> parse(org.apache.http.HeaderElement[] elems,
org.apache.http.cookie.CookieOrigin origin)
throws org.apache.http.cookie.MalformedCookieException
- Throws:
org.apache.http.cookie.MalformedCookieException
validate
public void validate(org.apache.http.cookie.Cookie cookie,
org.apache.http.cookie.CookieOrigin origin)
throws org.apache.http.cookie.MalformedCookieException
- Throws:
org.apache.http.cookie.MalformedCookieException
match
public boolean match(org.apache.http.cookie.Cookie cookie,
org.apache.http.cookie.CookieOrigin origin)