public abstract class LowerPriorityRouteResultImplicits
extends java.lang.Object
| Constructor and Description |
|---|
LowerPriorityRouteResultImplicits() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.pekko.stream.scaladsl.Flow<HttpRequest,HttpResponse,org.apache.pekko.NotUsed> |
routeToFlowViaMaterializer(scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> route,
org.apache.pekko.stream.Materializer materializer)
Deprecated.
make an ActorSystem available implicitly instead. Since Akka HTTP 10.2.0.
|
public org.apache.pekko.stream.scaladsl.Flow<HttpRequest,HttpResponse,org.apache.pekko.NotUsed> routeToFlowViaMaterializer(scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> route, org.apache.pekko.stream.Materializer materializer)
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.
route - (undocumented)materializer - (undocumented)