org.apache.http.impl.cookie
Class IgnoreSpecFactory

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

Deprecated. (4.4) Use IgnoreSpecProvider.

@Contract(threading=IMMUTABLE)
@Deprecated
public class IgnoreSpecFactory
extends Object
implements CookieSpecFactory, CookieSpecProvider

CookieSpecProvider implementation that ignores all cookies.

Since:
4.1

Constructor Summary
IgnoreSpecFactory()
          Deprecated.  
 
Method Summary
 CookieSpec create(HttpContext context)
          Deprecated. Creates an instance of CookieSpec.
 CookieSpec newInstance(HttpParams params)
          Deprecated. 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

IgnoreSpecFactory

public IgnoreSpecFactory()
Deprecated. 
Method Detail

newInstance

public CookieSpec newInstance(HttpParams params)
Deprecated. 
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.

create

public CookieSpec create(HttpContext context)
Deprecated. 
Description copied from interface: CookieSpecProvider
Creates an instance of CookieSpec.

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


Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.