1 11 package org.eclipse.core.net.proxy; 12 13 import org.eclipse.core.runtime.CoreException; 14 15 23 public interface IProxyService { 24 25 33 void setProxiesEnabled(boolean enabled); 34 35 40 boolean isProxiesEnabled(); 41 42 48 IProxyData[] getProxyData(); 49 50 60 IProxyData[] getProxyDataForHost(String host); 61 62 73 IProxyData getProxyData(String type); 74 75 88 IProxyData getProxyDataForHost(String host, String type); 89 90 98 void setProxyData(IProxyData[] proxies) throws CoreException; 99 100 110 String [] getNonProxiedHosts(); 111 112 117 void setNonProxiedHosts(String [] hosts) throws CoreException; 118 119 125 void addProxyChangeListener(IProxyChangeListener listener); 126 127 132 void removeProxyChangeListener(IProxyChangeListener listener); 133 134 } 135 | Popular Tags |