Search in sources :

Example 1 with RFC2109SpecFactory

use of org.apache.http.impl.cookie.RFC2109SpecFactory in project XobotOS by xamarin.

the class DefaultHttpClient method createCookieSpecRegistry.

@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;
}
Also used : NetscapeDraftSpecFactory(org.apache.http.impl.cookie.NetscapeDraftSpecFactory) BestMatchSpecFactory(org.apache.http.impl.cookie.BestMatchSpecFactory) BrowserCompatSpecFactory(org.apache.http.impl.cookie.BrowserCompatSpecFactory) RFC2965SpecFactory(org.apache.http.impl.cookie.RFC2965SpecFactory) CookieSpecRegistry(org.apache.http.cookie.CookieSpecRegistry) RFC2109SpecFactory(org.apache.http.impl.cookie.RFC2109SpecFactory)

Example 2 with RFC2109SpecFactory

use of org.apache.http.impl.cookie.RFC2109SpecFactory in project robovm by robovm.

the class DefaultHttpClient method createCookieSpecRegistry.

@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;
}
Also used : NetscapeDraftSpecFactory(org.apache.http.impl.cookie.NetscapeDraftSpecFactory) BestMatchSpecFactory(org.apache.http.impl.cookie.BestMatchSpecFactory) BrowserCompatSpecFactory(org.apache.http.impl.cookie.BrowserCompatSpecFactory) RFC2965SpecFactory(org.apache.http.impl.cookie.RFC2965SpecFactory) CookieSpecRegistry(org.apache.http.cookie.CookieSpecRegistry) RFC2109SpecFactory(org.apache.http.impl.cookie.RFC2109SpecFactory)

Example 3 with RFC2109SpecFactory

use of org.apache.http.impl.cookie.RFC2109SpecFactory in project platform_external_apache-http by android.

the class DefaultHttpClient method createCookieSpecRegistry.

@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;
}
Also used : NetscapeDraftSpecFactory(org.apache.http.impl.cookie.NetscapeDraftSpecFactory) BestMatchSpecFactory(org.apache.http.impl.cookie.BestMatchSpecFactory) BrowserCompatSpecFactory(org.apache.http.impl.cookie.BrowserCompatSpecFactory) RFC2965SpecFactory(org.apache.http.impl.cookie.RFC2965SpecFactory) CookieSpecRegistry(org.apache.http.cookie.CookieSpecRegistry) RFC2109SpecFactory(org.apache.http.impl.cookie.RFC2109SpecFactory)

Aggregations

CookieSpecRegistry (org.apache.http.cookie.CookieSpecRegistry)3 BestMatchSpecFactory (org.apache.http.impl.cookie.BestMatchSpecFactory)3 BrowserCompatSpecFactory (org.apache.http.impl.cookie.BrowserCompatSpecFactory)3 NetscapeDraftSpecFactory (org.apache.http.impl.cookie.NetscapeDraftSpecFactory)3 RFC2109SpecFactory (org.apache.http.impl.cookie.RFC2109SpecFactory)3 RFC2965SpecFactory (org.apache.http.impl.cookie.RFC2965SpecFactory)3