Class Http2FrameParsing
java.lang.Object
org.apache.pekko.stream.stage.GraphStageWithMaterializedValue<S,org.apache.pekko.NotUsed>
org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,T>>
org.apache.pekko.stream.impl.io.ByteStringParser<FrameEvent>
org.apache.pekko.http.impl.engine.http2.framing.Http2FrameParsing
- All Implemented Interfaces:
org.apache.pekko.stream.Graph<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,
FrameEvent>, org.apache.pekko.NotUsed>
INTERNAL API
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.pekko.stream.impl.io.ByteStringParser
org.apache.pekko.stream.impl.io.ByteStringParser.ByteReader, org.apache.pekko.stream.impl.io.ByteStringParser.FinishedParser$, org.apache.pekko.stream.impl.io.ByteStringParser.ParseResult<T extends Object>, org.apache.pekko.stream.impl.io.ByteStringParser.ParseResult$, org.apache.pekko.stream.impl.io.ByteStringParser.ParseStep<T extends Object>, org.apache.pekko.stream.impl.io.ByteStringParser.ParsingException, org.apache.pekko.stream.impl.io.ByteStringParser.ParsingLogic
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
ConstructorsConstructorDescriptionHttp2FrameParsing
(boolean shouldReadPreface, org.apache.pekko.event.LoggingAdapter log) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.stream.stage.GraphStageLogic
createLogic
(org.apache.pekko.stream.Attributes inheritedAttributes) static FrameEvent
parseFrame
(Http2Protocol.FrameType tpe, ByteFlag flags, int streamId, org.apache.pekko.stream.impl.io.ByteStringParser.ByteReader payload, org.apache.pekko.event.LoggingAdapter log) static scala.collection.immutable.Seq<FrameEvent.Setting>
readSettings
(org.apache.pekko.stream.impl.io.ByteStringParser.ByteReader payload, org.apache.pekko.event.LoggingAdapter log) Methods inherited from class org.apache.pekko.stream.impl.io.ByteStringParser
CompactionThreshold, initialAttributes, NeedMoreData, org$apache$pekko$stream$impl$io$ByteStringParser$$bytesIn, org$apache$pekko$stream$impl$io$ByteStringParser$$objOut, shape
Methods inherited from class org.apache.pekko.stream.stage.GraphStage
createLogicAndMaterializedValue
Methods inherited from class org.apache.pekko.stream.stage.GraphStageWithMaterializedValue
addAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, named, traversalBuilder, withAttributes
-
Constructor Details
-
Http2FrameParsing
public Http2FrameParsing(boolean shouldReadPreface, org.apache.pekko.event.LoggingAdapter log)
-
-
Method Details
-
readSettings
public static scala.collection.immutable.Seq<FrameEvent.Setting> readSettings(org.apache.pekko.stream.impl.io.ByteStringParser.ByteReader payload, org.apache.pekko.event.LoggingAdapter log) -
parseFrame
public static FrameEvent parseFrame(Http2Protocol.FrameType tpe, ByteFlag flags, int streamId, org.apache.pekko.stream.impl.io.ByteStringParser.ByteReader payload, org.apache.pekko.event.LoggingAdapter log) -
createLogic
public org.apache.pekko.stream.stage.GraphStageLogic createLogic(org.apache.pekko.stream.Attributes inheritedAttributes) - Specified by:
createLogic
in classorg.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,
FrameEvent>>
-