public class ProxyConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProxyConfiguration.Type |
Modifier and Type | Method and Description |
---|---|
String |
getPassword() |
InetSocketAddress |
getProxyAddress() |
ProxyConfiguration.Type |
getType() |
String |
getUsername() |
static ProxyConfiguration |
proxyConfiguration() |
static ProxyConfiguration |
proxyConfiguration(ProxyConfiguration.Type type,
InetSocketAddress address) |
static ProxyConfiguration |
proxyConfiguration(ProxyConfiguration.Type type,
InetSocketAddress address,
String username,
String password) |
static ProxyConfiguration |
proxyConfiguration(ProxyConfiguration.Type type,
String address) |
static ProxyConfiguration |
proxyConfiguration(ProxyConfiguration.Type type,
String address,
String username,
String password) |
public static ProxyConfiguration proxyConfiguration()
public static ProxyConfiguration proxyConfiguration(ProxyConfiguration.Type type, String address)
public static ProxyConfiguration proxyConfiguration(ProxyConfiguration.Type type, InetSocketAddress address)
public static ProxyConfiguration proxyConfiguration(ProxyConfiguration.Type type, String address, String username, String password)
public static ProxyConfiguration proxyConfiguration(ProxyConfiguration.Type type, InetSocketAddress address, String username, String password)
public ProxyConfiguration.Type getType()
public InetSocketAddress getProxyAddress()
public String getUsername()
public String getPassword()
Copyright © 2020. All rights reserved.