Class FrameEvent.ParsedHeadersFrame

  • All Implemented Interfaces:
    FrameEvent, FrameEvent.StreamFrameEvent, java.io.Serializable, scala.Equals, scala.Product
    Enclosing interface:
    FrameEvent

    public static final class FrameEvent.ParsedHeadersFrame
    extends java.lang.Object
    implements FrameEvent.StreamFrameEvent, scala.Product, java.io.Serializable
    Convenience (logical) representation of a parsed HEADERS frame with zero, one or many CONTINUATIONS Frames into a single, decompressed object.

    param: headerParseErrorDetails Only used server side, passes header errors from decompression into error response logic

    See Also:
    Serialized Form
    • Constructor Detail

      • ParsedHeadersFrame

        public ParsedHeadersFrame​(int streamId,
                                  boolean endStream,
                                  scala.collection.immutable.Seq<scala.Tuple2<java.lang.String,​java.lang.Object>> keyValuePairs,
                                  scala.Option<FrameEvent.PriorityFrame> priorityInfo,
                                  scala.Option<ErrorInfo> headerParseErrorDetails)
    • Method Detail

      • endStream

        public boolean endStream()
      • keyValuePairs

        public scala.collection.immutable.Seq<scala.Tuple2<java.lang.String,​java.lang.Object>> keyValuePairs()
      • headerParseErrorDetails

        public scala.Option<ErrorInfo> headerParseErrorDetails()