public class Timeout extends Object
| Constructor and Description |
|---|
Timeout(HttpClient httpClient,
String path,
com.google.gson.JsonElement json) |
| Modifier and Type | Method and Description |
|---|---|
Timeout |
disable() |
Timeout |
enable() |
long |
getTimeout() |
boolean |
isEnabled() |
Timeout |
setTimeout(long timeout) |
public Timeout(HttpClient httpClient, String path, com.google.gson.JsonElement json)
public boolean isEnabled()
public long getTimeout()
public Timeout enable() throws IOException
IOExceptionpublic Timeout disable() throws IOException
IOExceptionpublic Timeout setTimeout(long timeout) throws IOException
IOExceptionCopyright © 2016. All rights reserved.