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 void
close()
Close the Watch.InputStream
getOutput()
void
onFailure(okhttp3.Call call, IOException ioe)
void
onResponse(okhttp3.Call call, okhttp3.Response response)
void
waitUntilReady()
-
-
-
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:LogWatch
Close the Watch.
-
waitUntilReady
public void waitUntilReady()
-
getOutput
public InputStream getOutput()
-
onFailure
public void onFailure(okhttp3.Call call, IOException ioe)
- Specified by:
onFailure
in interfaceokhttp3.Callback
-
onResponse
public void onResponse(okhttp3.Call call, okhttp3.Response response) throws IOException
- Specified by:
onResponse
in interfaceokhttp3.Callback
- Throws:
IOException
-
-