public class Timeout extends Toxic
| Constructor and Description |
|---|
Timeout(HttpClient httpClient,
String path,
com.google.gson.JsonObject json) |
Timeout(HttpClient httpClient,
String toxicListPath,
String name,
ToxicDirection stream,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.gson.JsonObject |
getAttributes() |
long |
getTimeout() |
protected ToxicType |
getType() |
protected void |
setAttributes(com.google.gson.JsonObject attributes) |
Timeout |
setTimeout(long timeout) |
createToxic, getName, getStream, getToxicity, postAttribute, remove, setToxicitypublic Timeout(HttpClient httpClient, String toxicListPath, String name, ToxicDirection stream, long timeout) throws IOException
IOExceptionpublic Timeout(HttpClient httpClient, String path, com.google.gson.JsonObject json)
protected void setAttributes(com.google.gson.JsonObject attributes)
setAttributes in class Toxicprotected com.google.gson.JsonObject getAttributes()
getAttributes in class Toxicpublic long getTimeout()
public Timeout setTimeout(long timeout) throws IOException
IOExceptionCopyright © 2018. All rights reserved.