Class SpringAiRetryProperties

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

@ConfigurationProperties("spring.ai.retry") public class SpringAiRetryProperties extends Object
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)