Class Http2FrameParsing
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,akka.NotUsed>
-
- akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,T>>
-
- akka.stream.impl.io.ByteStringParser<FrameEvent>
-
- akka.http.impl.engine.http2.framing.Http2FrameParsing
-
- All Implemented Interfaces:
akka.stream.Graph<akka.stream.FlowShape<akka.util.ByteString,FrameEvent>,akka.NotUsed>
public class Http2FrameParsing extends akka.stream.impl.io.ByteStringParser<FrameEvent>
INTERNAL API
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Http2FrameParsing.Step
-
Nested classes/interfaces inherited from class akka.stream.impl.io.ByteStringParser
akka.stream.impl.io.ByteStringParser.ByteReader, akka.stream.impl.io.ByteStringParser.FinishedParser$, akka.stream.impl.io.ByteStringParser.ParseResult<T extends java.lang.Object>, akka.stream.impl.io.ByteStringParser.ParseResult$, akka.stream.impl.io.ByteStringParser.ParseStep<T extends java.lang.Object>, akka.stream.impl.io.ByteStringParser.ParsingException, akka.stream.impl.io.ByteStringParser.ParsingLogic
-
-
Constructor Summary
Constructors Constructor Description Http2FrameParsing(boolean shouldReadPreface, akka.event.LoggingAdapter log)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description akka.stream.stage.GraphStageLogic
createLogic(akka.stream.Attributes inheritedAttributes)
static FrameEvent
parseFrame(Http2Protocol.FrameType tpe, ByteFlag flags, int streamId, akka.stream.impl.io.ByteStringParser.ByteReader payload, akka.event.LoggingAdapter log)
static scala.collection.immutable.Seq<FrameEvent.Setting>
readSettings(akka.stream.impl.io.ByteStringParser.ByteReader payload, akka.event.LoggingAdapter log)
-
Methods inherited from class akka.stream.impl.io.ByteStringParser
akka$stream$impl$io$ByteStringParser$$bytesIn, akka$stream$impl$io$ByteStringParser$$objOut, CompactionThreshold, initialAttributes, NeedMoreData, shape
-
-
-
-
Method Detail
-
readSettings
public static scala.collection.immutable.Seq<FrameEvent.Setting> readSettings(akka.stream.impl.io.ByteStringParser.ByteReader payload, akka.event.LoggingAdapter log)
-
parseFrame
public static FrameEvent parseFrame(Http2Protocol.FrameType tpe, ByteFlag flags, int streamId, akka.stream.impl.io.ByteStringParser.ByteReader payload, akka.event.LoggingAdapter log)
-
createLogic
public akka.stream.stage.GraphStageLogic createLogic(akka.stream.Attributes inheritedAttributes)
- Specified by:
createLogic
in classakka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,FrameEvent>>
-
-