public class CompleteMultipartUploadRetryablePredicate extends SdkPredicate<AmazonS3Exception>
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
Constructor and Description |
---|
CompleteMultipartUploadRetryablePredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
test(AmazonS3Exception exception)
Evaluates this predicate on the given argument
|
public CompleteMultipartUploadRetryablePredicate()
public boolean test(AmazonS3Exception exception)
SdkPredicate
test
in class SdkPredicate<AmazonS3Exception>
exception
- The input argumentCopyright © 2024. All rights reserved.