public final class ByteArrayAsyncRequestBody extends Object implements AsyncRequestBody
AsyncRequestBody for providing data from memory. This is created using static
methods on AsyncRequestBody| Constructor and Description |
|---|
ByteArrayAsyncRequestBody(byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
void |
subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitempty, fromByteBuffer, fromBytes, fromFile, fromFile, fromString, fromStringpublic long contentLength()
contentLength in interface AsyncRequestBodypublic void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
subscribe in interface org.reactivestreams.Publisher<ByteBuffer>Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.