akka.http.scaladsl.server.directives
"Unwraps" a Future[T]
and runs the inner route when the future has failed
with the future's failure exception as an extraction of type Throwable
.
"Unwraps" a Future[T]
and runs the inner route when the future has failed
with the future's failure exception as an extraction of type Throwable
.
If the future succeeds the request is completed using the values marshaller
(This directive therefore requires a marshaller for the futures type to be
implicitly available.)
"Unwraps" a Future[T]
and runs the inner route after future
completion with the future's value as an extraction of type Try[T]
.
"Unwraps" a Future[T]
and runs the inner route after future
completion with the future's value as an extraction of type Try[T]
.
"Unwraps" a Future[T]
and runs the inner route after future
completion with the future's value as an extraction of type T
if
the supplied CircuitBreaker
is closed.
"Unwraps" a Future[T]
and runs the inner route after future
completion with the future's value as an extraction of type T
if
the supplied CircuitBreaker
is closed.
If the supplied CircuitBreaker is open the request is rejected with a CircuitBreakerOpenRejection.
"Unwraps" a Future[T]
and runs the inner route after future
completion with the future's value as an extraction of type T
.
"Unwraps" a Future[T]
and runs the inner route after future
completion with the future's value as an extraction of type T
.
If the future fails its failure Throwable is bubbled up to the nearest
ExceptionHandler.
If type T
is already a Tuple it is directly expanded into the respective
number of extractions.