Package org.springframework.ai.retry
Class RetryUtils
java.lang.Object
org.springframework.ai.retry.RetryUtils
RetryUtils is a utility class for configuring and handling retry operations. It
provides a default RetryTemplate and a default ResponseErrorHandler.
- Since:
- 0.8.1
- Author:
- Christian Tzolov
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.springframework.web.client.ResponseErrorHandler
static final org.springframework.retry.support.RetryTemplate
-
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT_RETRY_TEMPLATE
public static final org.springframework.retry.support.RetryTemplate DEFAULT_RETRY_TEMPLATE -
DEFAULT_RESPONSE_ERROR_HANDLER
public static final org.springframework.web.client.ResponseErrorHandler DEFAULT_RESPONSE_ERROR_HANDLER
-
-
Constructor Details
-
RetryUtils
public RetryUtils()
-