JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

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 CompleteMultipartUploadRetryablePredicate



  • public class CompleteMultipartUploadRetryablePredicate
    extends SdkPredicate<AmazonS3Exception>
    Complete Multipart Upload API returns a 2xx success response with an Error xml in the body. Some of these errors can be retried as per the API documentation http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadComplete.html This predicate analyzes the exception and returns true if the exception can be retried.

    A sample success response with Error response Xml in body:

    HTTP/1.1 200 OK x-amz-id-2: Uuag1LuByRx9e6j5Onimru9pO4ZVKnJ2Qz7/C1NPcfTWAtRPfTaOFg== x-amz-request-id: 656c76696e6727732072657175657374 Date: Mon, 1 Nov 2010 20:34:56 GMT Connection: close Server: AmazonS3 InternalError We encountered an internal error. Please try again. 656c76696e6727732072657175657374 Uuag1LuByRx9e6j5Onimru9pO4ZVKnJ2Qz7/C1NPcfTWAtRPfTaOFg==

    • Constructor Detail

      • CompleteMultipartUploadRetryablePredicate

        public CompleteMultipartUploadRetryablePredicate()
    • Method Detail

      • test

        public boolean test(AmazonS3Exception exception)
        Description copied from class: SdkPredicate
        Evaluates this predicate on the given argument
        Specified by:
        test in class SdkPredicate<AmazonS3Exception>
        Parameters:
        exception - The input argument
        Returns:
        true if the input argument matches the predicate, otherwise false
Skip navigation links

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