Interface ChunkExtensionProvider

All Superinterfaces:
Resettable
All Known Implementing Classes:
SigV4aChunkExtensionProvider, SigV4ChunkExtensionProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ChunkExtensionProvider extends Resettable
A functional interface for defining an extension of a chunk, where the extension is a key-value pair.

An extension usually depends on the chunk-data itself (checksum, signature, etc.), but is not required to. Per RFC-7230 The chunk-extension is defined as:

     chunk-ext      = *( ";" chunk-ext-name [ "=" chunk-ext-val ] )
     chunk-ext-name = token
     chunk-ext-val  = token / quoted-string
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Pair<byte[],byte[]>
    get(ByteBuffer chunk)
     

    Methods inherited from interface software.amazon.awssdk.http.auth.aws.internal.signer.chunkedencoding.Resettable

    reset