Class Http2Ext
java.lang.Object
org.apache.pekko.http.impl.engine.http2.Http2Ext
- All Implemented Interfaces:
- org.apache.pekko.actor.Extension
INTERNAL API
 
Internal entry points for Http/2 server
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionscala.concurrent.Future<Http.ServerBinding>bindAndHandleAsync(scala.Function1<HttpRequest, scala.concurrent.Future<HttpResponse>> handler, String interface_, int port, ConnectionContext connectionContext, ServerSettings settings, org.apache.pekko.event.LoggingAdapter log, org.apache.pekko.stream.Materializer fm) http()org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, scala.concurrent.Future<ServerTerminator>> httpsWithAlpn(HttpsConnectionContext httpsContext, org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http1, org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http2) org.apache.pekko.stream.scaladsl.Flow<HttpRequest,HttpResponse, scala.concurrent.Future<Http.OutgoingConnection>> outgoingConnection(String host, int port, HttpsConnectionContext connectionContext, ClientConnectionSettings clientConnectionSettings, org.apache.pekko.event.LoggingAdapter log) org.apache.pekko.stream.scaladsl.Flow<HttpRequest,HttpResponse, scala.concurrent.Future<Http.OutgoingConnection>> outgoingConnectionPriorKnowledge(String host, int port, ClientConnectionSettings clientConnectionSettings, org.apache.pekko.event.LoggingAdapter log) org.apache.pekko.actor.ActorSystemsystem()
- 
Constructor Details- 
Http2Extpublic Http2Ext(org.apache.pekko.actor.ActorSystem system) 
 
- 
- 
Method Details- 
ConnectionUpgradeHeader
- 
UpgradeHeader
- 
bindAndHandleAsyncpublic scala.concurrent.Future<Http.ServerBinding> bindAndHandleAsync(scala.Function1<HttpRequest, scala.concurrent.Future<HttpResponse>> handler, String interface_, int port, ConnectionContext connectionContext, ServerSettings settings, org.apache.pekko.event.LoggingAdapter log, org.apache.pekko.stream.Materializer fm) 
- 
http
- 
httpsWithAlpnpublic org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, httpsWithAlpnscala.concurrent.Future<ServerTerminator>> (HttpsConnectionContext httpsContext, org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http1, org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http2) 
- 
outgoingConnectionpublic org.apache.pekko.stream.scaladsl.Flow<HttpRequest,HttpResponse, outgoingConnectionscala.concurrent.Future<Http.OutgoingConnection>> (String host, int port, HttpsConnectionContext connectionContext, ClientConnectionSettings clientConnectionSettings, org.apache.pekko.event.LoggingAdapter log) 
- 
outgoingConnectionPriorKnowledgepublic org.apache.pekko.stream.scaladsl.Flow<HttpRequest,HttpResponse, outgoingConnectionPriorKnowledgescala.concurrent.Future<Http.OutgoingConnection>> (String host, int port, ClientConnectionSettings clientConnectionSettings, org.apache.pekko.event.LoggingAdapter log) 
- 
systempublic org.apache.pekko.actor.ActorSystem system()
- 
telemetry
 
-