org.apache.http.impl.cookie
Class BestMatchSpecFactory

java.lang.Object
  extended by org.apache.http.impl.cookie.BestMatchSpecFactory
All Implemented Interfaces:
CookieSpecFactory

@Immutable
public class BestMatchSpecFactory
extends Object
implements CookieSpecFactory

CookieSpecFactory implementation that creates and initializes BestMatchSpec instances.

The following parameters can be used to customize the behavior of this class:

Since:
4.0

Constructor Summary
BestMatchSpecFactory()
           
 
Method Summary
 CookieSpec newInstance(HttpParams params)
          Creates an instance of CookieSpec using given HTTP parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BestMatchSpecFactory

public BestMatchSpecFactory()
Method Detail

newInstance

public CookieSpec newInstance(HttpParams params)
Description copied from interface: CookieSpecFactory
Creates an instance of CookieSpec using given HTTP parameters.

Specified by:
newInstance in interface CookieSpecFactory
Parameters:
params - HTTP parameters.
Returns:
cookie spec.


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.