Class CrtUtils
java.lang.Object
software.amazon.awssdk.http.crt.internal.CrtUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCorresponds to CRT error: AWS_IO_SOCKET_TIMEOUTstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic voidreportMetrics(software.amazon.awssdk.crt.http.HttpStreamManager connManager, MetricCollector metricCollector, long acquireStartTime) static ThrowablewrapCrtException(Throwable throwable) static ThrowablewrapWithIoExceptionIfRetryable(software.amazon.awssdk.crt.http.HttpException httpException)
-
Field Details
-
CRT_TLS_NEGOTIATION_ERROR_CODE
public static final int CRT_TLS_NEGOTIATION_ERROR_CODE- See Also:
-
CRT_SOCKET_TIMEOUT
public static final int CRT_SOCKET_TIMEOUTCorresponds to CRT error: AWS_IO_SOCKET_TIMEOUT- See Also:
-
HEALTH_CHECK_FAILURE_ERROR_CODE
public static final int HEALTH_CHECK_FAILURE_ERROR_CODE- See Also:
-
-
Method Details
-
wrapWithIoExceptionIfRetryable
public static Throwable wrapWithIoExceptionIfRetryable(software.amazon.awssdk.crt.http.HttpException httpException) -
wrapCrtException
-
reportMetrics
public static void reportMetrics(software.amazon.awssdk.crt.http.HttpStreamManager connManager, MetricCollector metricCollector, long acquireStartTime)
-