Skip to content

Commit 2e6b306

Browse files
author
Krish
committed
deprecate isErrorRetryable
1 parent 70c68e1 commit 2e6b306

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/software/amazon/awssdk/crt/http/HttpClientConnection.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ private static void onConnectionAcquired(CompletableFuture<HttpClientConnection>
159159
* @return true if the error that generated the exception makes sense for a retry, and
160160
* false otherwise.
161161
*/
162+
@Deprecated // use CRT.awsGetErrorType() instead
162163
public static boolean isErrorRetryable(HttpException exception) {
163164
// why take an exception rather than an error code directly?
164165
// to give us breathing room for changing our mind later about how we convey

0 commit comments

Comments
 (0)