Interface JsonContentTypeResolver

All Known Implementing Classes:
DefaultJsonContentTypeResolver

@SdkProtectedApi public interface JsonContentTypeResolver
Interface to compute the content type to send in requests for JSON based protocols.
  • Method Details

    • resolveContentType

      String resolveContentType(AwsJsonProtocolMetadata protocolMetadata)
      Computes content type to send in requests.
      Parameters:
      protocolMetadata - Metadata about the protocol.
      Returns:
      Correct content type to send in request based on metadata about the client.