Class 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
      • Nested classes/interfaces inherited from interface akka.stream.Graph

        akka.stream.Graph.GraphMapMatVal<S extends akka.stream.Shape,​M extends java.lang.Object>
    • 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
      • Methods inherited from class akka.stream.stage.GraphStage

        createLogicAndMaterializedValue
      • Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue

        addAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, named, traversalBuilder, withAttributes
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Http2FrameParsing

        public Http2FrameParsing​(boolean shouldReadPreface,
                                 akka.event.LoggingAdapter log)
    • 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 class akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,​FrameEvent>>