FileDocCategorySizeDatePackage
RFC2965SpecFactory.javaAPI DocAndroid 1.5 API2199Wed May 06 22:41:10 BST 2009org.apache.http.impl.cookie

RFC2965SpecFactory

public class RFC2965SpecFactory extends Object implements CookieSpecFactory
author
Oleg Kalnichevski
since
4.0

Fields Summary
Constructors Summary
Methods Summary
public org.apache.http.cookie.CookieSpecnewInstance(org.apache.http.params.HttpParams params)

        if (params != null) {
            return new RFC2965Spec(
                    (String []) params.getParameter(CookieSpecPNames.DATE_PATTERNS), 
                    params.getBooleanParameter(CookieSpecPNames.SINGLE_COOKIE_HEADER, false));
        } else {
            return new RFC2965Spec();
        }