public class RouteAdapter$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static RouteAdapter$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
RouteAdapter$() |
Modifier and Type | Method and 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
|
public static final RouteAdapter$ MODULE$
public RouteAdapter apply(scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> delegate)
public Route asJava(scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>> delegate)