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, wait
empty, fromByteBuffer, fromBytes, fromFile, fromFile, fromString, fromString
public long contentLength()
contentLength
in interface AsyncRequestBody
public void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> s)
subscribe
in interface org.reactivestreams.Publisher<ByteBuffer>
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.