Class Http2$
java.lang.Object
org.apache.pekko.http.impl.engine.http2.Http2$
- All Implemented Interfaces:
org.apache.pekko.actor.ExtensionId<Http2Ext>,org.apache.pekko.actor.ExtensionIdProvider
public class Http2$
extends Object
implements org.apache.pekko.actor.ExtensionId<Http2Ext>, org.apache.pekko.actor.ExtensionIdProvider
INTERNAL API
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(org.apache.pekko.actor.ActorSystem system) apply(org.apache.pekko.actor.ClassicActorSystemProvider system) createExtension(org.apache.pekko.actor.ExtendedActorSystem system) get(org.apache.pekko.actor.ActorSystem system) get(org.apache.pekko.actor.ClassicActorSystemProvider system) org.apache.pekko.actor.ExtensionId<? extends org.apache.pekko.actor.Extension>lookup()org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, scala.concurrent.Future<ServerTerminator>> priorKnowledge(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) streamId()Opentelemetry Java Instrumentation relies on this attribute key so avoid changing it.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.actor.ExtensionId
equals, hashCode
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Http2$
public Http2$()
-
-
Method Details
-
streamId
Opentelemetry Java Instrumentation relies on this attribute key so avoid changing it. The agent uses it to recognise a request that was replayed through the HTTP/2 stack after an h2c upgrade. See https://github.com/apache/pekko-http/issues/1241
- Returns:
- (undocumented)
-
get
- Specified by:
getin interfaceorg.apache.pekko.actor.ExtensionId<Http2Ext>
-
get
- Specified by:
getin interfaceorg.apache.pekko.actor.ExtensionId<Http2Ext>
-
apply
- Specified by:
applyin interfaceorg.apache.pekko.actor.ExtensionId<Http2Ext>
-
apply
- Specified by:
applyin interfaceorg.apache.pekko.actor.ExtensionId<Http2Ext>
-
lookup
public org.apache.pekko.actor.ExtensionId<? extends org.apache.pekko.actor.Extension> lookup()- Specified by:
lookupin interfaceorg.apache.pekko.actor.ExtensionIdProvider
-
createExtension
- Specified by:
createExtensionin interfaceorg.apache.pekko.actor.ExtensionId<Http2Ext>
-
priorKnowledge
public org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, priorKnowledgescala.concurrent.Future<ServerTerminator>> (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)
-