public class Http2FrameParsing extends akka.stream.impl.io.ByteStringParser<FrameEvent>
Modifier and Type | Class and Description |
---|---|
class |
Http2FrameParsing.Step |
akka.stream.impl.io.ByteStringParser.ByteReader, akka.stream.impl.io.ByteStringParser.FinishedParser$, akka.stream.impl.io.ByteStringParser.ParseResult<T>, akka.stream.impl.io.ByteStringParser.ParseResult$, akka.stream.impl.io.ByteStringParser.ParseStep<T>, akka.stream.impl.io.ByteStringParser.ParsingException, akka.stream.impl.io.ByteStringParser.ParsingLogic
Constructor and Description |
---|
Http2FrameParsing(boolean shouldReadPreface,
akka.event.LoggingAdapter log) |
Modifier and Type | Method and 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) |
akka$stream$impl$io$ByteStringParser$$bytesIn, akka$stream$impl$io$ByteStringParser$$objOut, CompactionThreshold, initialAttributes, NeedMoreData, shape
addAttributes, async, async, async, createLogicAndMaterializedValue, named, traversalBuilder, withAttributes
public Http2FrameParsing(boolean shouldReadPreface, akka.event.LoggingAdapter log)
public static scala.collection.immutable.Seq<FrameEvent.Setting> readSettings(akka.stream.impl.io.ByteStringParser.ByteReader payload, akka.event.LoggingAdapter log)
public static FrameEvent parseFrame(Http2Protocol.FrameType tpe, ByteFlag flags, int streamId, akka.stream.impl.io.ByteStringParser.ByteReader payload, akka.event.LoggingAdapter log)
public akka.stream.stage.GraphStageLogic createLogic(akka.stream.Attributes inheritedAttributes)
createLogic
in class akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,FrameEvent>>