Class LogWatchCallback
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.internal.LogWatchCallback
-
- All Implemented Interfaces:
LogWatch,Closeable,AutoCloseable,okhttp3.Callback
public class LogWatchCallback extends Object implements LogWatch, okhttp3.Callback, AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description LogWatchCallback(Config config, OutputStream out)LogWatchCallback(OutputStream out)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the Watch.InputStreamgetOutput()voidonFailure(okhttp3.Call call, IOException ioe)voidonResponse(okhttp3.Call call, okhttp3.Response response)voidwaitUntilReady()
-
-
-
Constructor Detail
-
LogWatchCallback
@Deprecated public LogWatchCallback(OutputStream out)
Deprecated.
-
LogWatchCallback
public LogWatchCallback(Config config, OutputStream out)
-
-
Method Detail
-
close
public void close()
Description copied from interface:LogWatchClose the Watch.
-
waitUntilReady
public void waitUntilReady()
-
getOutput
public InputStream getOutput()
-
onFailure
public void onFailure(okhttp3.Call call, IOException ioe)- Specified by:
onFailurein interfaceokhttp3.Callback
-
onResponse
public void onResponse(okhttp3.Call call, okhttp3.Response response) throws IOException- Specified by:
onResponsein interfaceokhttp3.Callback- Throws:
IOException
-
-