Package com.salesforce.ide.core.internal.preferences.proxy

Examples of com.salesforce.ide.core.internal.preferences.proxy.IProxy


            logger.warn("Unable to set proxy settings - could not get Connection from joinpoint");
            return;
        }

        // current proxy settings
        IProxy proxy = preferenceManager.getProxyManager().getProxy();

        // connection to-be inspect/adjusted

        // evaluate server root for exclusion
        String endpoint = connection.getServerName();
        if (Utils.isEmpty(endpoint)) {
            endpoint = connection.getForceProject().getEndpointServer();
        }

        if (proxy.isProxiesEnabled() && !proxy.isServerExcluded(endpoint)) {
            // update w/ last proxy settings
            updateConnectionProxy(connection, proxy);
        } else {
            // proxy is disabled, clear jvm-wide settings
            connection.getConnectorConfig().setProxy(Proxy.NO_PROXY);
View Full Code Here

TOP

Related Classes of com.salesforce.ide.core.internal.preferences.proxy.IProxy

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.