public class Http2Shadow
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Http2Shadow.Http2SupportNotPresentException |
static class |
Http2Shadow.Http2SupportNotPresentException$ |
Constructor and Description |
---|
Http2Shadow() |
Modifier and Type | Method and Description |
---|---|
static scala.concurrent.Future<Http.ServerBinding> |
bindAndHandleAsync(scala.Function1<HttpRequest,scala.concurrent.Future<HttpResponse>> handler,
java.lang.String interface_,
int port,
ConnectionContext httpsContext,
ServerSettings settings,
int parallelism,
akka.event.LoggingAdapter log,
akka.stream.Materializer fm) |
public static scala.concurrent.Future<Http.ServerBinding> bindAndHandleAsync(scala.Function1<HttpRequest,scala.concurrent.Future<HttpResponse>> handler, java.lang.String interface_, int port, ConnectionContext httpsContext, ServerSettings settings, int parallelism, akka.event.LoggingAdapter log, akka.stream.Materializer fm)
httpsContext
- is required to be an HTTPS context, however we validate this internally,
and throw in runtime if it's not. We do this since we support the existing Http() API.handler
- (undocumented)interface_
- (undocumented)port
- (undocumented)settings
- (undocumented)parallelism
- (undocumented)log
- (undocumented)fm
- (undocumented)