public class ByteArrayBodyHandler extends Object implements AsyncBody.Consumer<List<ByteBuffer>>
| Constructor and Description |
|---|
ByteArrayBodyHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(List<ByteBuffer> value,
AsyncBody asyncBody) |
CompletableFuture<byte[]> |
getResult() |
protected void |
onResponse(HttpResponse<AsyncBody> response) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitunwrappublic void consume(List<ByteBuffer> value, AsyncBody asyncBody) throws Exception
consume in interface AsyncBody.Consumer<List<ByteBuffer>>Exceptionprotected void onResponse(HttpResponse<AsyncBody> response)
public CompletableFuture<byte[]> getResult()
Copyright © 2015–2024 Red Hat. All rights reserved.