Calls the inner route with a tuple of extracted values of type L
.
Calls the inner route with a tuple of extracted values of type L
.
tapply
is short for "tuple-apply". Usually, you will use the regular apply
method instead,
which is added by an implicit conversion (see Directive.addDirectiveApply
).
Joins two directives into one which extracts the concatenation of its base directive extractions.
Joins two directives into one which extracts the concatenation of its base directive extractions. NOTE: Extraction joining is an O(N) operation with N being the number of extractions on the right-side.
Converts this directive into one which, instead of a tuple of type L
, creates an
instance of type A
(which is usually a case class).
Creates a new directive that is able to recover from rejections that were produced by this
Directive
**before the inner route was applied**.
Variant of recover
that only recovers from rejections handled by the given PartialFunction.
If the given scala.PartialFunction is defined for the input, maps this directive with the given function, which can produce either a tuple or any other value.
If the given scala.PartialFunction is defined for the input, maps this directive with the given function, which can produce either a tuple or any other value. If it is not defined however, the returned directive will reject with the given rejections.
Creates a new directive of the same type, which passes if the given predicate matches the current extractions or rejects with the given rejections.
Flatmaps this directive using the given function.
Maps over this directive using the given function, which can produce either a tuple or any other value (which will then we wrapped into a scala.Tuple1).
Creates a new akka.http.scaladsl.server.Directive0, which passes if the given predicate matches the current extractions or rejects with the given rejections.
Joins two directives into one which runs the second directive if the first one rejects.
(directive: (⇒ Route) ⇒ Route).andThen(g)
(directive: (In) ⇒ Route).andThen(g)
(directive: (⇒ Route) ⇒ Route).toString()
(directive: (In) ⇒ Route).toString()
(directive: SingleValueTransformers[T]).underlying
(directive: Directive0Support).underlying
A directive that provides a tuple of values of type
L
to create an inner route.