package org.chenyang.http.cookie.params;

import org.chenyang.http.params.HttpAbstractParamBean;
import org.chenyang.http.params.HttpParams;
import java.util.Collection;

/** @deprecated */
@Deprecated
public class CookieSpecParamBean extends HttpAbstractParamBean {
   public CookieSpecParamBean(HttpParams params) {
      super(params);
   }

   public void setDatePatterns(Collection<String> patterns) {
      this.params.setParameter("http.protocol.cookie-datepatterns", patterns);
   }

   public void setSingleHeader(boolean singleHeader) {
      this.params.setBooleanParameter("http.protocol.single-cookie-header", singleHeader);
   }
}
