Interface ChunkedEncodedPayload
- All Known Implementing Classes:
AsyncChunkEncodedPayload,SyncChunkEncodedPayload
Abstraction interface to simplify payload signing in
AwsChunkedV4PayloadSigner by allowing us to have a uniform
interface for signing both sync and async payloads. See the signCommon method in AwsChunkedV4PayloadSigner.-
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtension(ChunkExtensionProvider chunkExtensionProvider) voidaddTrailer(TrailerProvider trailerProvider) voidchecksumPayload(SdkChecksum checksum) Update the payload so that its data is fed to the given checksum.default voiddecodedContentLength(long contentLength) Set the decoded content length of the payload.trailers()
-
Method Details
-
addTrailer
-
trailers
List<TrailerProvider> trailers() -
addExtension
-
checksumPayload
Update the payload so that its data is fed to the given checksum. -
decodedContentLength
default void decodedContentLength(long contentLength) Set the decoded content length of the payload.
-