public class PluginProxyUtil extends Object
DISCLAIMER: HttpClient developers DO NOT actively support this component. The component is provided as a reference material, which may be inappropriate for use without additional customization.
Constructor | Description |
---|---|
PluginProxyUtil() |
Modifier and Type | Method | Description |
---|---|---|
static org.apache.commons.httpclient.ProxyHost |
detectProxy(URL sampleURL) |
Returns the Proxy Host information using settings from the java plugin.
|
public static org.apache.commons.httpclient.ProxyHost detectProxy(URL sampleURL) throws ProxyDetectionException
sampleURL
- the url target for which proxy host information is
requiredProxyDetectionException
- if detection failed