public class PluginProxyUtil
extends java.lang.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 and Description |
---|
PluginProxyUtil() |
Modifier and Type | Method and Description |
---|---|
static org.apache.http.HttpHost |
detectProxy(java.net.URL sampleURL)
Returns the Proxy Host information using settings from the java plugin.
|
public static org.apache.http.HttpHost detectProxy(java.net.URL sampleURL) throws ProxyDetectionException
sampleURL
- the url target for which proxy host information is
requiredProxyDetectionException
- if detection failed