Interface JsonContentTypeResolver

  • All Known Implementing Classes:
    DefaultJsonContentTypeResolver

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

      • 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.