final case class RetryConfig(retriesRequestTimeout: Int, retriesTooManyRequests: Int, retriesClientError: Int, retriesInternalServerError: Int, retriesBadGateway: Int, retriesServiceUnavailable: Int, retriesServerError: Int, retriesException: Int, initialBackoff: FiniteDuration, strictifyResponseTimeout: FiniteDuration) extends Product with Serializable
Retry configuration of HTTP clients.
- retriesRequestTimeout
Number of retries for HTTP 408
- retriesTooManyRequests
Number of retries for HTTP 429 (usually in combination with retry-after header)
- retriesClientError
Number of retries for all other 4xx codes
- retriesInternalServerError
Number of retries for HTTP 500
- retriesBadGateway
Number of retries for HTTP 502
- retriesServiceUnavailable
Number of retries for HTTP 503
- retriesServerError
Number of retries for all other 5xx codes
- retriesException
Number of retries for exceptions in the underlying akka-http client
- initialBackoff
Time to wait until the first retry. Is multiplied with 2(# of retry). Example: 10ms * 20 => 10ms 10ms * 21 => 20ms 10ms * 22 => 40ms 10ms * 23 => 80ms 10ms * 24 => 160ms
- strictifyResponseTimeout
Time to wait for streaming data to complete
- Alphabetic
- By Inheritance
- RetryConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RetryConfig(retriesRequestTimeout: Int, retriesTooManyRequests: Int, retriesClientError: Int, retriesInternalServerError: Int, retriesBadGateway: Int, retriesServiceUnavailable: Int, retriesServerError: Int, retriesException: Int, initialBackoff: FiniteDuration, strictifyResponseTimeout: FiniteDuration)
- retriesRequestTimeout
Number of retries for HTTP 408
- retriesTooManyRequests
Number of retries for HTTP 429 (usually in combination with retry-after header)
- retriesClientError
Number of retries for all other 4xx codes
- retriesInternalServerError
Number of retries for HTTP 500
- retriesBadGateway
Number of retries for HTTP 502
- retriesServiceUnavailable
Number of retries for HTTP 503
- retriesServerError
Number of retries for all other 5xx codes
- retriesException
Number of retries for exceptions in the underlying akka-http client
- initialBackoff
Time to wait until the first retry. Is multiplied with 2(# of retry). Example: 10ms * 20 => 10ms 10ms * 21 => 20ms 10ms * 22 => 40ms 10ms * 23 => 80ms 10ms * 24 => 160ms
- strictifyResponseTimeout
Time to wait for streaming data to complete
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val initialBackoff: FiniteDuration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val retriesBadGateway: Int
- val retriesClientError: Int
- val retriesException: Int
- val retriesInternalServerError: Int
- val retriesRequestTimeout: Int
- val retriesServerError: Int
- val retriesServiceUnavailable: Int
- val retriesTooManyRequests: Int
- val strictifyResponseTimeout: FiniteDuration
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.