public interface RouteConcatenation
Modifier and Type | Interface and Description |
---|---|
static class |
RouteConcatenation.RouteWithConcatenation |
Modifier and Type | Method and Description |
---|---|
RouteConcatenation.RouteWithConcatenation |
_enhanceRouteWithConcatenation(scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> route) |
scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> |
concat(scala.collection.immutable.Seq<scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>>> routes)
Tries the supplied routes in sequence, returning the result of the first route that doesn't reject the request.
|
RouteConcatenation.RouteWithConcatenation _enhanceRouteWithConcatenation(scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> route)
route
- (undocumented)scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> concat(scala.collection.immutable.Seq<scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>>> routes)
routes
- subroutes to concatenate