Class Http2ServerDemux
java.lang.Object
org.apache.pekko.stream.stage.GraphStageWithMaterializedValue<org.apache.pekko.stream.BidiShape<Http2SubStream,FrameEvent,FrameEvent,Http2SubStream>,ServerTerminator>
org.apache.pekko.http.impl.engine.http2.Http2Demux
org.apache.pekko.http.impl.engine.http2.Http2ServerDemux
- All Implemented Interfaces:
org.apache.pekko.stream.Graph<org.apache.pekko.stream.BidiShape<Http2SubStream,
FrameEvent, FrameEvent, Http2SubStream>, ServerTerminator>
INTERNAL API
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.http.impl.engine.http2.Http2Demux
Http2Demux.CompletionTimeout$
Nested classes/interfaces inherited from interface org.apache.pekko.stream.Graph
org.apache.pekko.stream.Graph.GraphMapMatVal<S extends org.apache.pekko.stream.Shape,
M extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionHttp2ServerDemux
(Http2ServerSettings http2Settings, scala.collection.immutable.Seq<FrameEvent.Setting> initialRemoteSettings, boolean upgraded) -
Method Summary
Modifier and TypeMethodDescriptionscala.concurrent.duration.FiniteDuration
scala.Option<HttpEntity.ChunkStreamPart>
Methods inherited from class org.apache.pekko.http.impl.engine.http2.Http2Demux
createLogicAndMaterializedValue, frameIn, frameOut, shape, substreamIn, substreamOut
Methods inherited from class org.apache.pekko.stream.stage.GraphStageWithMaterializedValue
addAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, initialAttributes, named, traversalBuilder, withAttributes
-
Constructor Details
-
Http2ServerDemux
public Http2ServerDemux(Http2ServerSettings http2Settings, scala.collection.immutable.Seq<FrameEvent.Setting> initialRemoteSettings, boolean upgraded)
-
-
Method Details
-
completionTimeout
public scala.concurrent.duration.FiniteDuration completionTimeout()- Specified by:
completionTimeout
in classHttp2Demux
-
wrapTrailingHeaders
public scala.Option<HttpEntity.ChunkStreamPart> wrapTrailingHeaders(FrameEvent.ParsedHeadersFrame headers) - Specified by:
wrapTrailingHeaders
in classHttp2Demux
-