org.apache.http.impl.cookie
Class BestMatchSpecFactoryHC4

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

@Immutable
public class BestMatchSpecFactoryHC4
extends java.lang.Object
implements org.apache.http.cookie.CookieSpecFactory, CookieSpecProvider

CookieSpecProvider implementation that creates and initializes BestMatchSpec instances.

Since:
4.0

Constructor Summary
BestMatchSpecFactoryHC4()
           
BestMatchSpecFactoryHC4(java.lang.String[] datepatterns, boolean oneHeader)
           
 
Method Summary
 org.apache.http.cookie.CookieSpec create(org.apache.http.protocol.HttpContext context)
          Creates an instance of CookieSpec.
 org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BestMatchSpecFactoryHC4

public BestMatchSpecFactoryHC4(java.lang.String[] datepatterns,
                               boolean oneHeader)

BestMatchSpecFactoryHC4

public BestMatchSpecFactoryHC4()
Method Detail

newInstance

public org.apache.http.cookie.CookieSpec newInstance(org.apache.http.params.HttpParams params)
Specified by:
newInstance in interface org.apache.http.cookie.CookieSpecFactory

create

public org.apache.http.cookie.CookieSpec create(org.apache.http.protocol.HttpContext context)
Description copied from interface: CookieSpecProvider
Creates an instance of CookieSpec.

Specified by:
create in interface CookieSpecProvider
Returns:
auth scheme.