public class ToxiproxyClient extends Object
| Constructor and Description |
|---|
ToxiproxyClient() |
ToxiproxyClient(String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
Proxy |
createProxy(String name,
String listen,
String upstream) |
List<Proxy> |
getProxies() |
Proxy |
getProxy(String name) |
void |
reset() |
public ToxiproxyClient()
public ToxiproxyClient(String host, int port)
public List<Proxy> getProxies() throws IOException
IOExceptionpublic Proxy createProxy(String name, String listen, String upstream) throws IOException
IOExceptionpublic Proxy getProxy(String name) throws IOException
IOExceptionpublic void reset()
throws IOException
IOExceptionCopyright © 2016. All rights reserved.