Package akka.http.scaladsl.server
Class LowerPriorityRouteResultImplicits
java.lang.Object
akka.http.scaladsl.server.LowerPriorityRouteResultImplicits
- Direct Known Subclasses:
RouteResult$
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionakka.stream.scaladsl.Flow<HttpRequest,
HttpResponse, akka.NotUsed> routeToFlowViaMaterializer
(scala.Function1<RequestContext, scala.concurrent.Future<RouteResult>> route, akka.stream.Materializer materializer) Deprecated.make an ActorSystem available implicitly instead.
-
Constructor Details
-
LowerPriorityRouteResultImplicits
public LowerPriorityRouteResultImplicits()
-
-
Method Details
-
routeToFlowViaMaterializer
public akka.stream.scaladsl.Flow<HttpRequest,HttpResponse, routeToFlowViaMaterializerakka.NotUsed> (scala.Function1<RequestContext, scala.concurrent.Future<RouteResult>> route, akka.stream.Materializer materializer) Deprecated.make an ActorSystem available implicitly instead. Since 10.2.0.Turns aRoute
into a server flow.This implicit conversion is defined here because
Route
is an alias forRequestContext => Future[RouteResult]
, and the fact thatRouteResult
is in that type means this implicit conversion come into scope whereever aRoute
is given but aFlow
is expected.- Parameters:
route
- (undocumented)materializer
- (undocumented)- Returns:
- (undocumented)
-