Interface ChunkedEncodedPayload
-
- All Known Implementing Classes:
AsyncChunkEncodedPayload,SyncChunkEncodedPayload
@SdkInternalApi public interface ChunkedEncodedPayload
Abstraction interface to simplify payload signing inAwsChunkedV4PayloadSignerby allowing us to have a uniform interface for signing both sync and async payloads. See thesignCommonmethod inAwsChunkedV4PayloadSigner.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaddExtension(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.List<TrailerProvider>trailers()
-
-
-
Method Detail
-
addTrailer
void addTrailer(TrailerProvider trailerProvider)
-
trailers
List<TrailerProvider> trailers()
-
addExtension
void addExtension(ChunkExtensionProvider chunkExtensionProvider)
-
checksumPayload
void checksumPayload(SdkChecksum checksum)
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.
-
-