Class HttpChecksumTrait

java.lang.Object
software.amazon.awssdk.codegen.poet.client.traits.HttpChecksumTrait

public class HttpChecksumTrait extends Object
The logic for handling the Flexible "httpChecksum" trait within the code generator.
  • Method Details

    • create

      public static com.squareup.javapoet.CodeBlock create(OperationModel operationModel)
      Generate a ".putExecutionAttribute(...)" code-block for the provided operation model. This should be used within the context of initializing ClientExecutionParams. If HTTP checksums are not required by the operation, this will return an empty code-block.
    • hasRequestAlgorithmMember

      public static boolean hasRequestAlgorithmMember(IntermediateModel model)
    • hasResponseAlgorithms

      public static boolean hasResponseAlgorithms(IntermediateModel model)