Class ChecksumCalculatingAsyncRequestBody
java.lang.Object
software.amazon.awssdk.core.internal.async.ChecksumCalculatingAsyncRequestBody
- All Implemented Interfaces:
org.reactivestreams.Publisher<ByteBuffer>
,AsyncRequestBody
,SdkPublisher<ByteBuffer>
Wrapper class to wrap an AsyncRequestBody.
This will read the data in chunk format and append Checksum as trailer at the end.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
void
subscribe
(org.reactivestreams.Subscriber<? super ByteBuffer> s) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.core.async.AsyncRequestBody
split, split
Methods inherited from interface software.amazon.awssdk.core.async.SdkPublisher
addTrailingData, buffer, doAfterOnCancel, doAfterOnComplete, doAfterOnError, filter, filter, flatMapIterable, limit, map, subscribe
-
Method Details
-
builder
- Returns:
- Builder instance to construct a
FileAsyncRequestBody
.
-
contentLength
- Specified by:
contentLength
in interfaceAsyncRequestBody
- Returns:
- The content length of the data being produced.
-
contentType
- Specified by:
contentType
in interfaceAsyncRequestBody
- Returns:
- The content type of the data being produced.
-
subscribe
- Specified by:
subscribe
in interfaceorg.reactivestreams.Publisher<ByteBuffer>
-