Package org.apache.http.impl.cookie
Class AbstractCookieSpec
- java.lang.Object
-
- org.apache.http.impl.cookie.AbstractCookieSpec
-
- All Implemented Interfaces:
CookieSpec
- Direct Known Subclasses:
CookieSpecBase
@Contract(threading=SAFE) public abstract class AbstractCookieSpec extends java.lang.Object implements CookieSpec
Abstract cookie specification which can delegate the job of parsing, validation or matching cookie attributes to a number of arbitraryCookieAttributeHandler
s.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description AbstractCookieSpec()
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
registerAttribHandler(java.lang.String name, CookieAttributeHandler handler)
Deprecated.(4.4) useAbstractCookieSpec(java.util.HashMap)
orAbstractCookieSpec(org.apache.http.cookie.CommonCookieAttributeHandler...)
constructors instead.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.http.cookie.CookieSpec
formatCookies, getVersion, getVersionHeader, match, parse, validate
-
-
-
-
Method Detail
-
registerAttribHandler
@Deprecated public void registerAttribHandler(java.lang.String name, CookieAttributeHandler handler)
Deprecated.(4.4) useAbstractCookieSpec(java.util.HashMap)
orAbstractCookieSpec(org.apache.http.cookie.CommonCookieAttributeHandler...)
constructors instead.
-
-