public class Proxy extends Object
| Constructor and Description |
|---|
Proxy(HttpClient httpClient,
String path,
com.google.gson.JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
void |
disable() |
Toxics |
downstream() |
void |
enable() |
String |
getListen() |
String |
getName() |
String |
getUpstream() |
boolean |
isEnabled() |
void |
setListen(String listen) |
void |
setUpstream(String upstream) |
Toxics |
upstream() |
public Proxy(HttpClient httpClient, String path, com.google.gson.JsonObject json)
public String getName()
public String getListen()
public String getUpstream()
public boolean isEnabled()
public Toxics upstream()
public Toxics downstream()
public void setListen(String listen) throws IOException
IOExceptionpublic void setUpstream(String upstream) throws IOException
IOExceptionpublic void enable()
throws IOException
IOExceptionpublic void disable()
throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionCopyright © 2016. All rights reserved.