Class CircuitBreakerOpenRejection

java.lang.Object
akka.http.scaladsl.server.CircuitBreakerOpenRejection
All Implemented Interfaces:
CircuitBreakerOpenRejection, Rejection, Rejection, Serializable, scala.Equals, scala.Product

public final class CircuitBreakerOpenRejection extends Object implements CircuitBreakerOpenRejection, Rejection, scala.Product, Serializable
Rejection created by the onCompleteWithBreaker directive. Signals that the request was rejected because the supplied circuit breaker is open and requests are failing fast.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    CircuitBreakerOpenRejection(akka.pattern.CircuitBreakerOpenException cause)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1)
     
    akka.pattern.CircuitBreakerOpenException
     
    static String
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • CircuitBreakerOpenRejection

      public CircuitBreakerOpenRejection(akka.pattern.CircuitBreakerOpenException cause)
  • Method Details

    • apply

      public abstract static R apply(T1 v1)
    • toString

      public static String toString()
    • cause

      public akka.pattern.CircuitBreakerOpenException cause()
      Specified by:
      cause in interface CircuitBreakerOpenRejection