Package ru.aristar.jnuget.common

Examples of ru.aristar.jnuget.common.ProxyOptions


    /**
     * Конструктор по умолчанию
     */
    public NugetClient() {
        final ProxyOptions proxyOptions = PackageSourceFactory.getInstance().getOptions().getProxyOptions();
        ClientConfig config = createClientConfig(proxyOptions);
        client = ApacheHttpClient4.create(config);
        client.setFollowRedirects(Boolean.TRUE);
        client.addFilter(new GZIPContentEncodingFilter());
        webResource = client.resource(DEFAULT_REMOTE_STORAGE_URL);
View Full Code Here

TOP

Related Classes of ru.aristar.jnuget.common.ProxyOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.