JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.s3.internal

Class RestUtils



  • public class RestUtils
    extends Object 
    Utilities useful for REST/HTTP S3Service implementations.
    • Constructor Detail

      • RestUtils

        public RestUtils()
    • Method Detail

      • makeS3CanonicalString

        public static <T> String makeS3CanonicalString(String method,
         String resource,
         SignableRequest<T> request,
         String expires)
        Calculate the canonical string for a REST/HTTP request to S3 by only including query parameters that are mentioned in SIGNED_PARAMETERS.
        See Also:
        RestUtils#makeS3CanonicalString(String, String, Request, String, boolean)
      • makeS3CanonicalString

        public static <T> String makeS3CanonicalString(String method,
         String resource,
         SignableRequest<T> request,
         String expires,
         Collection<String> additionalQueryParamsToSign)
        Calculate the canonical string for a REST/HTTP request to S3.
        Parameters:
        method - The HTTP verb.
        resource - The HTTP-encoded resource path.
        request - The request to be canonicalized.
        expires - When expires is non-null, it will be used instead of the Date header.
        additionalQueryParamsToSign - A collection of user-specified query parameters that should be included in the canonical request, in addition to those default parameters that are always signed.
        Returns:
        The canonical string representation for the given S3 request.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /