Class AWSKinesisVideoV4Signer

  • All Implemented Interfaces:
    com.amazonaws.auth.EndpointPrefixAwareSigner, com.amazonaws.auth.Presigner, com.amazonaws.auth.RegionAwareSigner, com.amazonaws.auth.RegionFromEndpointResolverAwareSigner, com.amazonaws.auth.ServiceAwareSigner, com.amazonaws.auth.Signer, KinesisVideoSigner

    public class AWSKinesisVideoV4Signer
    extends KinesisVideoAWS4Signer
    This is an extended class of KinesisVideoAWS4Signer which decides whether to send a content header based on whether the payload is of streaming type or not Different class is created so as to not break the existing PutStream and GetStream clients using the KinesisVideoAWS4Signer. This will be used by GetMedia client now and should also be used for PutMedia client when migration happens from PutStream to PutMedia. At the end when put/get Stream is no longer used KinesisVideoAWS4Signer will/should not be used by the clients.
    • Field Summary

      • Fields inherited from class com.amazonaws.auth.AWS4Signer

        doubleUrlEncode, log, overriddenDate, regionName, serviceName
      • Fields inherited from class com.amazonaws.auth.AbstractAWSSigner

        EMPTY_STRING_SHA256_HEX
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean shouldAddContentUnsignedPayloadInHeader​(String httpMethodName)  
      • Methods inherited from class com.amazonaws.auth.AWS4Signer

        addHostHeader, addSessionCredentials, calculateContentHashPresign, computeSignature, createCanonicalRequest, createStringToSign, getCanonicalizedHeaderString, getOverriddenDate, getRegionName, getServiceName, getSignedHeadersString, newSigningKey, presignRequest, processRequestPayload, setEndpointPrefix, setOverrideDate, setRegionFromEndpointResolver, setRegionName, setServiceName, shouldExcludeHeaderFromSigning, sign
      • Methods inherited from class com.amazonaws.auth.AbstractAWSSigner

        getBinaryRequestPayload, getBinaryRequestPayloadStream, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getCanonicalizedResourcePath, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encode, signWithMac