public interface HandlerProvider
The main use case for this class is to enable passing a Route to ServerBuilder.bind().
Modifier and Type | Method and Description |
---|---|
org.apache.pekko.japi.function.Function<HttpRequest,java.util.concurrent.CompletionStage<HttpResponse>> |
handler(org.apache.pekko.actor.ClassicActorSystemProvider system) |
org.apache.pekko.japi.function.Function<HttpRequest,java.util.concurrent.CompletionStage<HttpResponse>> handler(org.apache.pekko.actor.ClassicActorSystemProvider system)