Package akka.http.scaladsl.server
Class LowerPriorityRouteResultImplicits
- java.lang.Object
-
- akka.http.scaladsl.server.LowerPriorityRouteResultImplicits
-
- Direct Known Subclasses:
RouteResult$
public abstract class LowerPriorityRouteResultImplicits extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LowerPriorityRouteResultImplicits()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description akka.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.
-
-
-
Method Detail
-
routeToFlowViaMaterializer
public akka.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. Since 10.2.0.Turns aRouteinto a server flow.This implicit conversion is defined here because
Routeis an alias forRequestContext => Future[RouteResult], and the fact thatRouteResultis in that type means this implicit conversion come into scope whereever aRouteis given but aFlowis expected.- Parameters:
route- (undocumented)materializer- (undocumented)- Returns:
- (undocumented)
-
-