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