Class HttpExecuteResponse
java.lang.Object
software.amazon.awssdk.http.HttpExecuteResponse
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpExecuteResponse.Builder
builder()
Get theAbortableInputStream
associated with this response.
-
Method Details
-
httpResponse
- Returns:
- The HTTP response.
-
responseBody
Get theAbortableInputStream
associated with this response.Always close the "responseBody" input stream to release the underlying HTTP connection. Even for error responses, the SDK creates an input stream for reading error data. It is essential to close the input stream in the "responseBody" attribute for both success and error cases.
- Returns:
- An
Optional
containing theAbortableInputStream
if available.
-
builder
-