Package akka.http.impl.engine.http2
Class Http2Ext
java.lang.Object
akka.http.impl.engine.http2.Http2Ext
- All Implemented Interfaces:
akka.actor.Extension
INTERNAL API
Internal entry points for Http/2 server
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionscala.concurrent.Future<Http.ServerBinding>
bindAndHandleAsync
(scala.Function1<HttpRequest, scala.concurrent.Future<HttpResponse>> handler, String interface_, int port, ConnectionContext connectionContext, ServerSettings settings, akka.event.LoggingAdapter log, akka.stream.Materializer fm) 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
(String host, int port, HttpsConnectionContext connectionContext, ClientConnectionSettings clientConnectionSettings, akka.event.LoggingAdapter log) akka.stream.scaladsl.Flow<HttpRequest,
HttpResponse, scala.concurrent.Future<Http.OutgoingConnection>> outgoingConnectionPriorKnowledge
(String host, int port, ClientConnectionSettings clientConnectionSettings, akka.event.LoggingAdapter log) akka.actor.ActorSystem
system()
-
Constructor Details
-
Http2Ext
public Http2Ext(akka.actor.ActorSystem system)
-
-
Method Details
-
ConnectionUpgradeHeader
-
UpgradeHeader
-
bindAndHandleAsync
public scala.concurrent.Future<Http.ServerBinding> bindAndHandleAsync(scala.Function1<HttpRequest, scala.concurrent.Future<HttpResponse>> handler, String interface_, int port, ConnectionContext connectionContext, ServerSettings settings, akka.event.LoggingAdapter log, akka.stream.Materializer fm) -
http
-
httpsWithAlpn
public akka.stream.scaladsl.Flow<akka.util.ByteString,akka.util.ByteString, httpsWithAlpnscala.concurrent.Future<ServerTerminator>> (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) -
outgoingConnection
public akka.stream.scaladsl.Flow<HttpRequest,HttpResponse, outgoingConnectionscala.concurrent.Future<Http.OutgoingConnection>> (String host, int port, HttpsConnectionContext connectionContext, ClientConnectionSettings clientConnectionSettings, akka.event.LoggingAdapter log) -
outgoingConnectionPriorKnowledge
public akka.stream.scaladsl.Flow<HttpRequest,HttpResponse, outgoingConnectionPriorKnowledgescala.concurrent.Future<Http.OutgoingConnection>> (String host, int port, ClientConnectionSettings clientConnectionSettings, akka.event.LoggingAdapter log) -
system
public akka.actor.ActorSystem system() -
telemetry
-