@Immutable public class BestMatchSpecFactory extends Object implements CookieSpecFactory, CookieSpecProvider
CookieSpecProvider implementation that creates and initializes
BestMatchSpec instances.| Constructor and Description |
|---|
BestMatchSpecFactory() |
BestMatchSpecFactory(String[] datepatterns,
boolean oneHeader) |
| Modifier and Type | Method and Description |
|---|---|
CookieSpec |
create(HttpContext context)
Creates an instance of
CookieSpec. |
CookieSpec |
newInstance(HttpParams params)
Creates an instance of
CookieSpec using given HTTP parameters. |
public BestMatchSpecFactory(String[] datepatterns, boolean oneHeader)
public BestMatchSpecFactory()
public CookieSpec newInstance(HttpParams params)
CookieSpecFactoryCookieSpec using given HTTP parameters.newInstance in interface CookieSpecFactoryparams - HTTP parameters.public CookieSpec create(HttpContext context)
CookieSpecProviderCookieSpec.create in interface CookieSpecProviderCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.