Example usage for org.apache.http.impl.cookie RFC2965SpecFactory RFC2965SpecFactory

List of usage examples for org.apache.http.impl.cookie RFC2965SpecFactory RFC2965SpecFactory

Introduction

In this page you can find the example usage for org.apache.http.impl.cookie RFC2965SpecFactory RFC2965SpecFactory.

Prototype

public RFC2965SpecFactory() 

Source Link

Usage

From source file:org.vietspider.net.client.impl.AnonymousHttpClient.java

@Override
protected CookieSpecRegistry createCookieSpecRegistry() {
    CookieSpecRegistry registry = new CookieSpecRegistry();
    registry.register(CookiePolicy.BEST_MATCH, new BestMatchSpecFactory());
    registry.register(CookiePolicy.BROWSER_COMPATIBILITY, new BrowserCompatSpecFactory());
    registry.register(CookiePolicy.NETSCAPE, new NetscapeDraftSpecFactory());
    registry.register(CookiePolicy.RFC_2109, new RFC2109SpecFactory());
    registry.register(CookiePolicy.RFC_2965, new RFC2965SpecFactory());
    return registry;
}

From source file:org.apache.http.impl.client.AbstractHttpClient.java

protected CookieSpecRegistry createCookieSpecRegistry() {
    final CookieSpecRegistry registry = new CookieSpecRegistry();
    registry.register(CookiePolicy.BEST_MATCH, new BestMatchSpecFactory());
    registry.register(CookiePolicy.BROWSER_COMPATIBILITY, new BrowserCompatSpecFactory());
    registry.register(CookiePolicy.NETSCAPE, new NetscapeDraftSpecFactory());
    registry.register(CookiePolicy.RFC_2109, new RFC2109SpecFactory());
    registry.register(CookiePolicy.RFC_2965, new RFC2965SpecFactory());
    registry.register(CookiePolicy.IGNORE_COOKIES, new IgnoreSpecFactory());
    return registry;
}

From source file:org.apache.http.impl.client.AbstractStatisticsGatheringHttpClient.java

protected CookieSpecRegistry createCookieSpecRegistry() {
    CookieSpecRegistry registry = new CookieSpecRegistry();
    registry.register(CookiePolicy.BEST_MATCH, new BestMatchSpecFactory());
    registry.register(CookiePolicy.BROWSER_COMPATIBILITY, new BrowserCompatSpecFactory());
    registry.register(CookiePolicy.NETSCAPE, new NetscapeDraftSpecFactory());
    registry.register(CookiePolicy.RFC_2109, new RFC2109SpecFactory());
    registry.register(CookiePolicy.RFC_2965, new RFC2965SpecFactory());
    registry.register(CookiePolicy.IGNORE_COOKIES, new IgnoreSpecFactory());
    return registry;
}