Class LowerPriorityRouteResultImplicits

  • Direct Known Subclasses:
    RouteResult$

    public abstract class LowerPriorityRouteResultImplicits
    extends java.lang.Object
    • Constructor Detail

      • LowerPriorityRouteResultImplicits

        public LowerPriorityRouteResultImplicits()
    • 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 a Route into a server flow.

        This implicit conversion is defined here because Route is an alias for RequestContext => Future[RouteResult], and the fact that RouteResult is in that type means this implicit conversion come into scope whereever a Route is given but a Flow is expected.

        Parameters:
        route - (undocumented)
        materializer - (undocumented)
        Returns:
        (undocumented)