Package software.amazon.awssdk.crt.s3
Class S3FinishedResponseContext
- java.lang.Object
-
- software.amazon.awssdk.crt.s3.S3FinishedResponseContext
-
public class S3FinishedResponseContext extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetCause()Cause of the error, such as a Java exception from a callback.ChecksumAlgorithmgetChecksumAlgorithm()intgetErrorCode()HttpHeader[]getErrorHeaders()In the case of a failed HTTP response, get the headers of the response.byte[]getErrorPayload()intgetResponseStatus()booleanisChecksumValidated()
-
-
-
Method Detail
-
getErrorCode
public int getErrorCode()
-
getResponseStatus
public int getResponseStatus()
-
getErrorPayload
public byte[] getErrorPayload()
-
getChecksumAlgorithm
public ChecksumAlgorithm getChecksumAlgorithm()
-
isChecksumValidated
public boolean isChecksumValidated()
-
getCause
public Throwable getCause()
Cause of the error, such as a Java exception from a callback. May be NULL if there was no exception in a callback.- Returns:
- throwable
-
getErrorHeaders
public HttpHeader[] getErrorHeaders()
In the case of a failed HTTP response, get the headers of the response. May be NULL.- Returns:
- array of headers
-
-