Package akka.http.scaladsl.server
Class StandardRoute$
java.lang.Object
akka.http.scaladsl.server.StandardRoute$
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StandardRoute$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(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 Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
StandardRoute$
public StandardRoute$()
-
-
Method Details
-
apply
public StandardRoute apply(scala.Function1<RequestContext, scala.concurrent.Future<RouteResult>> route) -
toDirective
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)
-