public final class Http2Ext
extends java.lang.Object
implements akka.actor.Extension
Internal entry points for Http/2 server
Constructor and Description |
---|
Http2Ext(akka.actor.ActorSystem system) |
Modifier and Type | Method and Description |
---|---|
scala.concurrent.Future<Http.ServerBinding> |
bindAndHandleAsync(scala.Function1<HttpRequest,scala.concurrent.Future<HttpResponse>> handler,
java.lang.String interface_,
int port,
ConnectionContext connectionContext,
ServerSettings settings,
akka.event.LoggingAdapter log,
akka.stream.Materializer fm) |
Connection |
ConnectionUpgradeHeader() |
HttpExt |
http() |
akka.stream.scaladsl.Flow<akka.util.ByteString,akka.util.ByteString,scala.concurrent.Future<ServerTerminator>> |
httpsWithAlpn(HttpsConnectionContext httpsContext,
akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound,akka.stream.TLSProtocol.SslTlsOutbound,ServerTerminator> http1,
akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound,akka.stream.TLSProtocol.SslTlsOutbound,ServerTerminator> http2) |
akka.stream.scaladsl.Flow<HttpRequest,HttpResponse,scala.concurrent.Future<Http.OutgoingConnection>> |
outgoingConnection(java.lang.String host,
int port,
HttpsConnectionContext connectionContext,
ClientConnectionSettings clientConnectionSettings,
akka.event.LoggingAdapter log) |
akka.stream.scaladsl.Flow<HttpRequest,HttpResponse,scala.concurrent.Future<Http.OutgoingConnection>> |
outgoingConnectionPriorKnowledge(java.lang.String host,
int port,
ClientConnectionSettings clientConnectionSettings,
akka.event.LoggingAdapter log) |
akka.actor.ActorSystem |
system() |
TelemetrySpi |
telemetry() |
Upgrade |
UpgradeHeader() |
public Connection ConnectionUpgradeHeader()
public Upgrade UpgradeHeader()
public scala.concurrent.Future<Http.ServerBinding> bindAndHandleAsync(scala.Function1<HttpRequest,scala.concurrent.Future<HttpResponse>> handler, java.lang.String interface_, int port, ConnectionContext connectionContext, ServerSettings settings, akka.event.LoggingAdapter log, akka.stream.Materializer fm)
public HttpExt http()
public akka.stream.scaladsl.Flow<akka.util.ByteString,akka.util.ByteString,scala.concurrent.Future<ServerTerminator>> httpsWithAlpn(HttpsConnectionContext httpsContext, akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound,akka.stream.TLSProtocol.SslTlsOutbound,ServerTerminator> http1, akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound,akka.stream.TLSProtocol.SslTlsOutbound,ServerTerminator> http2)
public akka.stream.scaladsl.Flow<HttpRequest,HttpResponse,scala.concurrent.Future<Http.OutgoingConnection>> outgoingConnection(java.lang.String host, int port, HttpsConnectionContext connectionContext, ClientConnectionSettings clientConnectionSettings, akka.event.LoggingAdapter log)
public akka.stream.scaladsl.Flow<HttpRequest,HttpResponse,scala.concurrent.Future<Http.OutgoingConnection>> outgoingConnectionPriorKnowledge(java.lang.String host, int port, ClientConnectionSettings clientConnectionSettings, akka.event.LoggingAdapter log)
public akka.actor.ActorSystem system()
public TelemetrySpi telemetry()