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 Object
implements CookieSpec
Abstract cookie specification which can delegate the job of parsing,
validation or matching cookie attributes to a number of arbitrary
CookieAttributeHandlers.- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterAttribHandler(String name, CookieAttributeHandler handler) Deprecated.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.http.cookie.CookieSpec
formatCookies, getVersion, getVersionHeader, match, parse, validate
-
Constructor Details
-
AbstractCookieSpec
public AbstractCookieSpec()Default constructor
-
-
Method Details
-
registerAttribHandler
Deprecated.(4.4) useAbstractCookieSpec(java.util.HashMap)orAbstractCookieSpec(org.apache.http.cookie.CommonCookieAttributeHandler...)constructors instead.
-
AbstractCookieSpec(java.util.HashMap)orAbstractCookieSpec(org.apache.http.cookie.CommonCookieAttributeHandler...)constructors instead.