Class RouteAdapter$
- java.lang.Object
-
- akka.http.javadsl.server.directives.RouteAdapter$
-
public class RouteAdapter$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static RouteAdapter$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description RouteAdapter$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteAdapter
apply(scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> delegate)
Route
asJava(scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> delegate)
Java DSL: Adapt an existing ScalaDSL Route as an Java DSL Route
-
-
-
Field Detail
-
MODULE$
public static final RouteAdapter$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public RouteAdapter apply(scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> delegate)
-
asJava
public Route asJava(scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> delegate)
Java DSL: Adapt an existing ScalaDSL Route as an Java DSL Route
-
-