1 11 package org.eclipse.core.net.proxy; 12 13 21 public interface IProxyData { 22 23 27 public static final String HTTP_PROXY_TYPE = "HTTP"; 29 33 public static final String HTTPS_PROXY_TYPE = "HTTPS"; 35 39 public static final String SOCKS_PROXY_TYPE = "SOCKS"; 41 49 String getType(); 50 51 56 String getHost(); 57 58 68 void setHost(String host); 69 70 75 int getPort(); 76 77 88 void setPort(int port); 89 90 97 String getUserId(); 98 99 110 void setUserid(String userid); 111 112 119 String getPassword(); 120 121 132 void setPassword(String password); 133 134 141 boolean isRequiresAuthentication(); 142 143 150 void disable(); 151 152 } 153 | Popular Tags |