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 Details

    • AbstractCookieSpec

      public AbstractCookieSpec()
      Default constructor
  • Method Details

    • registerAttribHandler

      @Deprecated public void registerAttribHandler(String name, CookieAttributeHandler handler)
      Deprecated.
      (4.4) use AbstractCookieSpec(java.util.HashMap) or AbstractCookieSpec(org.apache.http.cookie.CommonCookieAttributeHandler...) constructors instead.