| Package | Description |
|---|---|
| software.amazon.awssdk.core.checksums | |
| software.amazon.awssdk.core.interceptor | |
| software.amazon.awssdk.core.internal.util |
| Modifier and Type | Method and Description |
|---|---|
ChecksumSpecs |
ChecksumSpecs.Builder.build() |
| Modifier and Type | Field and Description |
|---|---|
static ExecutionAttribute<ChecksumSpecs> |
SdkExecutionAttribute.RESOLVED_CHECKSUM_SPECS
The checksum algorithm is resolved based on the Request member.
|
| Modifier and Type | Method and Description |
|---|---|
static ChecksumSpecs |
HttpChecksumResolver.getResolvedChecksumSpecs(ExecutionAttributes executionAttributes) |
| Modifier and Type | Method and Description |
|---|---|
static Optional<ChecksumSpecs> |
HttpChecksumUtils.checksumSpecWithRequestAlgorithm(ExecutionAttributes executionAttributes) |
| Modifier and Type | Method and Description |
|---|---|
static software.amazon.awssdk.utils.Pair<Algorithm,String> |
HttpChecksumUtils.getAlgorithmChecksumValuePair(software.amazon.awssdk.http.SdkHttpResponse sdkHttpResponse,
ChecksumSpecs resolvedChecksumSpecs)
Loops through the Supported list of checksum for the operation, and gets the Header value for the checksum header.
|
static boolean |
HttpChecksumUtils.isHttpChecksumPresent(software.amazon.awssdk.http.SdkHttpRequest sdkHttpRequest,
ChecksumSpecs checksumSpec)
Checks if the request header is already updated with Calculated checksum.
|
static boolean |
HttpChecksumUtils.isHttpChecksumValidationEnabled(ChecksumSpecs resolvedChecksumSpecs) |
static boolean |
HttpChecksumUtils.isStreamingUnsignedPayload(software.amazon.awssdk.http.SdkHttpRequest sdkHttpRequest,
ExecutionAttributes executionAttributes,
ChecksumSpecs headerChecksumSpecs,
boolean isContentStreaming)
The header based Checksum is computed only if following criteria is met
- Flexible checksum is not already computed.
|
static boolean |
HttpChecksumUtils.isTrailerBasedChecksumForClientType(ExecutionAttributes executionAttributes,
software.amazon.awssdk.http.SdkHttpRequest httpRequest,
ClientType clientType,
ChecksumSpecs checksumSpecs,
boolean hasRequestBody,
boolean isContentSteaming) |
static boolean |
HttpChecksumUtils.isTrailerBasedFlexibleChecksumComputed(software.amazon.awssdk.http.SdkHttpRequest sdkHttpRequest,
ExecutionAttributes executionAttributes,
ChecksumSpecs checksumSpecs,
boolean hasRequestBody,
boolean isContentStreaming)
The trailer based Checksum is computed only if following criteria is met
- Flexible checksum is not already computed.
|
Copyright © 2022. All rights reserved.