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

BestMatchSpecFactory

public class BestMatchSpecFactory 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 BestMatchSpec(
                    (String []) params.getParameter(CookieSpecPNames.DATE_PATTERNS), 
                    params.getBooleanParameter(CookieSpecPNames.SINGLE_COOKIE_HEADER, false));
        } else {
            return new BestMatchSpec();
        }