Enum ChecksumValidation
- All Implemented Interfaces:
Serializable
,Comparable<ChecksumValidation>
Enum to indicate the checksum validation is performed on a Response that supports Http Checksum Validation.
The status of Checksum validation can be obtained by accessing
SdkExecutionAttribute.HTTP_RESPONSE_CHECKSUM_VALIDATION
on an execution context by using
ExecutionInterceptor.afterExecution(Context.AfterExecution, ExecutionAttributes)
.
Possible Checksum Validations
VALIDATED
FORCE_SKIP
CHECKSUM_ALGORITHM_NOT_FOUND
CHECKSUM_RESPONSE_NOT_FOUND
-
Enum Constant Summary
Enum ConstantDescriptionResponse has checksum mode enabled but Algorithm was not found in client.Response has checksum mode enabled but response header did not have checksum.Checksum validation was skipped since response has customization for specific checksum values.Checksum validation was performed on the response. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChecksumValidation
Returns the enum constant of this type with the specified name.static ChecksumValidation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VALIDATED
Checksum validation was performed on the response. -
FORCE_SKIP
Checksum validation was skipped since response has customization for specific checksum values. -
CHECKSUM_ALGORITHM_NOT_FOUND
Response has checksum mode enabled but Algorithm was not found in client. -
CHECKSUM_RESPONSE_NOT_FOUND
Response has checksum mode enabled but response header did not have checksum.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-