public class LogWatchCallback extends Object implements LogWatch, okhttp3.Callback, AutoCloseable
| Constructor and Description |
|---|
LogWatchCallback(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the Watch.
|
InputStream |
getOutput() |
void |
onFailure(okhttp3.Call call,
IOException ioe) |
void |
onResponse(okhttp3.Call call,
okhttp3.Response response) |
void |
waitUntilReady() |
public LogWatchCallback(OutputStream out)
public void close()
LogWatchpublic void waitUntilReady()
public InputStream getOutput()
public void onFailure(okhttp3.Call call,
IOException ioe)
onFailure in interface okhttp3.Callbackpublic void onResponse(okhttp3.Call call,
okhttp3.Response response)
throws IOException
onResponse in interface okhttp3.CallbackIOExceptionCopyright © 2015–2016 Red Hat. All rights reserved.