Class ByteArrayBodyHandler
- java.lang.Object
-
- io.fabric8.kubernetes.client.http.ByteArrayBodyHandler
-
- All Implemented Interfaces:
AsyncBody.Consumer<List<ByteBuffer>>
public class ByteArrayBodyHandler extends Object implements AsyncBody.Consumer<List<ByteBuffer>>
-
-
Constructor Summary
Constructors Constructor Description ByteArrayBodyHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consume(List<ByteBuffer> value, AsyncBody asyncBody)
CompletableFuture<byte[]>
getResult()
protected void
onResponse(HttpResponse<AsyncBody> response)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.client.http.AsyncBody.Consumer
unwrap
-
-
-
-
Method Detail
-
consume
public void consume(List<ByteBuffer> value, AsyncBody asyncBody) throws Exception
- Specified by:
consume
in interfaceAsyncBody.Consumer<List<ByteBuffer>>
- Throws:
Exception
-
onResponse
protected void onResponse(HttpResponse<AsyncBody> response)
-
getResult
public CompletableFuture<byte[]> getResult()
-
-