Lines 10-15
Link Here
|
10 |
*******************************************************************************/ |
10 |
*******************************************************************************/ |
11 |
package org.eclipse.core.net.proxy; |
11 |
package org.eclipse.core.net.proxy; |
12 |
|
12 |
|
|
|
13 |
import java.net.URI; |
14 |
|
13 |
import org.eclipse.core.runtime.CoreException; |
15 |
import org.eclipse.core.runtime.CoreException; |
14 |
|
16 |
|
15 |
/** |
17 |
/** |
Lines 105-111
Link Here
|
105 |
* @return the list of know proxy types and their settings |
107 |
* @return the list of know proxy types and their settings |
106 |
*/ |
108 |
*/ |
107 |
IProxyData[] getProxyData(); |
109 |
IProxyData[] getProxyData(); |
108 |
|
110 |
|
|
|
111 |
/** |
112 |
* Returns all the applicable proxy data to access the specified URI. |
113 |
* |
114 |
* @param uri |
115 |
* the URI for which proxies are returned |
116 |
* @return list of all applicable proxy data, if no proxy is applicable then |
117 |
* an empty array is returned |
118 |
* |
119 |
* @since 1.2 |
120 |
*/ |
121 |
IProxyData[] select(URI uri); |
122 |
|
109 |
/** |
123 |
/** |
110 |
* Returns the list of known proxy types and their settings for the |
124 |
* Returns the list of known proxy types and their settings for the |
111 |
* given host. If proxies are disabled |
125 |
* given host. If proxies are disabled |
Lines 117-122
Link Here
|
117 |
* Clients that wish to make a connection and need to determine whether to |
131 |
* Clients that wish to make a connection and need to determine whether to |
118 |
* use a proxy should use this method. |
132 |
* use a proxy should use this method. |
119 |
* </p> |
133 |
* </p> |
|
|
134 |
* @deprecated This method is deprecated because of its ambiguity. See |
135 |
* {@link #select(URI)} insted. |
120 |
* |
136 |
* |
121 |
* @param host the host for which a connection is desired |
137 |
* @param host the host for which a connection is desired |
122 |
* @return the list of known proxy types and their settings for the |
138 |
* @return the list of known proxy types and their settings for the |
Lines 159-164
Link Here
|
159 |
* Clients that wish to make a connection and need to determine whether to |
175 |
* Clients that wish to make a connection and need to determine whether to |
160 |
* use a proxy should use this method. |
176 |
* use a proxy should use this method. |
161 |
* </p> |
177 |
* </p> |
|
|
178 |
* @deprecated This method is deprecated because of its ambiguity. See |
179 |
* {@link #select(URI)} insted. |
162 |
* |
180 |
* |
163 |
* @param host |
181 |
* @param host |
164 |
* the host for which a connection is desired |
182 |
* the host for which a connection is desired |