org.eclipse.actf.util.httpproxy
Class HTTPProxyFactory
java.lang.Object
org.eclipse.actf.util.httpproxy.HTTPProxyFactory
public class HTTPProxyFactory
- extends Object
Factory class for IHTTPProxy
- See Also:
IHTTPProxy
,
ProxyConfig
,
ExternalProxyConfig
HTTPProxyFactory
public HTTPProxyFactory()
newProxy
public static IHTTPProxy newProxy(ProxyConfig config,
ExternalProxyConfig externalProxyConfig)
- Returns a new instance of IHTTPProxy.
- Parameters:
config
- Configuration for the instanceexternalProxyConfig
- Configuration of an external Proxy that used by this instance.
- Returns:
- instance of HTTPProxy, or null if configurations are invalid