Package akka.http.scaladsl.server
Class CircuitBreakerOpenRejection
- java.lang.Object
-
- akka.http.scaladsl.server.CircuitBreakerOpenRejection
-
- All Implemented Interfaces:
CircuitBreakerOpenRejection
,Rejection
,Rejection
,java.io.Serializable
,scala.Equals
,scala.Product
public final class CircuitBreakerOpenRejection extends java.lang.Object implements CircuitBreakerOpenRejection, Rejection, scala.Product, java.io.Serializable
Rejection created by theonCompleteWithBreaker
directive. Signals that the request was rejected because the supplied circuit breaker is open and requests are failing fast.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CircuitBreakerOpenRejection(akka.pattern.CircuitBreakerOpenException cause)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static R
apply(T1 v1)
akka.pattern.CircuitBreakerOpenException
cause()
static java.lang.String
toString()
-
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1)
-
toString
public static java.lang.String toString()
-
cause
public akka.pattern.CircuitBreakerOpenException cause()
- Specified by:
cause
in interfaceCircuitBreakerOpenRejection
-
-