public final class FileAsyncRequestBody extends Object implements AsyncRequestBody
AsyncRequestBody that reads data from a file.| Modifier and Type | Class and Description |
|---|---|
static interface |
FileAsyncRequestBody.Builder
A builder for
FileAsyncRequestBody. |
| Modifier and Type | Method and Description |
|---|---|
static FileAsyncRequestBody.Builder |
builder() |
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>public static FileAsyncRequestBody.Builder builder()
FileAsyncRequestBody.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.