Package akka.http.javadsl
Interface HandlerProvider
-
- All Known Subinterfaces:
Route
- All Known Implementing Classes:
RouteAdapter
public interface HandlerProvider
A HandlerProvider can provide an asynchronous request handler given an ClassicActorSystemProvider.The main use case for this class is to enable passing a Route to ServerBuilder.bind().
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description akka.japi.function.Function<HttpRequest,java.util.concurrent.CompletionStage<HttpResponse>>
handler(akka.actor.ClassicActorSystemProvider system)
-
-
-
Method Detail
-
handler
akka.japi.function.Function<HttpRequest,java.util.concurrent.CompletionStage<HttpResponse>> handler(akka.actor.ClassicActorSystemProvider system)
-
-