Package org.mockserver.proxy
Class ProxyConfiguration
- java.lang.Object
-
- org.mockserver.proxy.ProxyConfiguration
-
public class ProxyConfiguration extends Object
- Author:
- jamesdbloom
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProxyConfiguration.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPassword()
InetSocketAddress
getProxyAddress()
ProxyConfiguration.Type
getType()
String
getUsername()
static ProxyConfiguration
proxyConfiguration()
static ProxyConfiguration
proxyConfiguration(ProxyConfiguration.Type type, String address)
static ProxyConfiguration
proxyConfiguration(ProxyConfiguration.Type type, String address, String username, String password)
static ProxyConfiguration
proxyConfiguration(ProxyConfiguration.Type type, InetSocketAddress address)
static ProxyConfiguration
proxyConfiguration(ProxyConfiguration.Type type, InetSocketAddress address, String username, String password)
-
-
-
Method Detail
-
proxyConfiguration
public static ProxyConfiguration proxyConfiguration()
-
proxyConfiguration
public static ProxyConfiguration proxyConfiguration(ProxyConfiguration.Type type, String address)
-
proxyConfiguration
public static ProxyConfiguration proxyConfiguration(ProxyConfiguration.Type type, InetSocketAddress address)
-
proxyConfiguration
public static ProxyConfiguration proxyConfiguration(ProxyConfiguration.Type type, String address, String username, String password)
-
proxyConfiguration
public static ProxyConfiguration proxyConfiguration(ProxyConfiguration.Type type, InetSocketAddress address, String username, String password)
-
getType
public ProxyConfiguration.Type getType()
-
getProxyAddress
public InetSocketAddress getProxyAddress()
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
-