Package akka.http.scaladsl.server
Class StandardRoute$
- java.lang.Object
-
- akka.http.scaladsl.server.StandardRoute$
-
public class StandardRoute$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static StandardRoute$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description StandardRoute$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StandardRouteapply(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).
-
-
-
Field Detail
-
MODULE$
public static final StandardRoute$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public StandardRoute apply(scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> route)
-
toDirective
public <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).- Parameters:
route- (undocumented)evidence$2- (undocumented)- Returns:
- (undocumented)
-
-