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 Detail

      • handler

        akka.japi.function.Function<HttpRequest,​java.util.concurrent.CompletionStage<HttpResponse>> handler​(akka.actor.ClassicActorSystemProvider system)