Class SpringAiRetryProperties

java.lang.Object
org.springframework.ai.autoconfigure.retry.SpringAiRetryProperties

@ConfigurationProperties("spring.ai.retry") public class SpringAiRetryProperties extends Object
Properties for AI Retry.
Author:
Christian Tzolov
  • Field Details

  • Constructor Details

    • SpringAiRetryProperties

      public SpringAiRetryProperties()
  • Method Details

    • getMaxAttempts

      public int getMaxAttempts()
    • setMaxAttempts

      public void setMaxAttempts(int maxAttempts)
    • getBackoff

      public SpringAiRetryProperties.Backoff getBackoff()
    • getExcludeOnHttpCodes

      public List<Integer> getExcludeOnHttpCodes()
    • setExcludeOnHttpCodes

      public void setExcludeOnHttpCodes(List<Integer> onHttpCodes)
    • isOnClientErrors

      public boolean isOnClientErrors()
    • setOnClientErrors

      public void setOnClientErrors(boolean onClientErrors)
    • getOnHttpCodes

      public List<Integer> getOnHttpCodes()
    • setOnHttpCodes

      public void setOnHttpCodes(List<Integer> onHttpCodes)