public class LogWatchCallback extends Object implements LogWatch, okhttp3.Callback, AutoCloseable
| Constructor and Description |
|---|
LogWatchCallback(Config config,
OutputStream out) |
LogWatchCallback(OutputStream out)
Deprecated.
|
| 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() |
@Deprecated public LogWatchCallback(OutputStream out)
public LogWatchCallback(Config config, 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–2022 Red Hat. All rights reserved.