Interface ChunkHeaderProvider
-
- All Superinterfaces:
Resettable
- 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 ChunkHeaderProvider extends Resettable
A functional interface for defining a header of a chunk.The header usually depends on the chunk-data itself (hex-size), but is not required to. In RFC-7230, the chunk-header is specifically the
chunk-size, but this interface can give us greater flexibility.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]get(ByteBuffer chunk)-
Methods inherited from interface software.amazon.awssdk.http.auth.aws.internal.signer.chunkedencoding.Resettable
reset
-
-
-
-
Method Detail
-
get
byte[] get(ByteBuffer chunk)
-
-