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 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)
-
-