Interface ChunkedEncodedPayload

All Known Implementing Classes:
AsyncChunkEncodedPayload, SyncChunkEncodedPayload

@SdkInternalApi public interface ChunkedEncodedPayload
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 Details

    • 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.