public class StandardRoute$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static StandardRoute$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
StandardRoute$() |
Modifier and Type | Method and Description |
---|---|
StandardRoute |
apply(scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> route) |
<L> Directive<L> |
toDirective(StandardRoute route,
Tuple<L> evidence$2)
Converts the StandardRoute into a directive that never passes the request to its inner route
(and always returns its underlying route).
|
public static final StandardRoute$ MODULE$
public StandardRoute apply(scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> route)
public <L> Directive<L> toDirective(StandardRoute route, Tuple<L> evidence$2)
route
- (undocumented)evidence$2
- (undocumented)