com.groupbyinc.flux.common.netty.handler.codec.spdy.SpdyFrameDecoder.class Maven / Gradle / Ivy
???? 25 Dcom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyFrameDecoder java/lang/Object SpdyFrameDecoder.java Fcom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyFrameDecoder$1 Jcom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyFrameDecoder$State State spdyVersion I maxChunkSize delegate NLcom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyFrameDecoderDelegate; state LLcom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyFrameDecoder$State; flags B length streamId numSettings ?(Lcom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyVersion;Lcom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyFrameDecoderDelegate;)V ?(Lcom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyVersion;Lcom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyFrameDecoderDelegate;I)V
this FLcom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyFrameDecoder; ALcom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyVersion; ()V
java/lang/NullPointerException " (Ljava/lang/String;)V %
# & ?com/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyVersion ( Lcom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyFrameDecoderDelegate * "java/lang/IllegalArgumentException - java/lang/StringBuilder /
0 )maxChunkSize must be a positive integer: 2 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 4 5
0 6 (I)Ljava/lang/StringBuilder; 4 8
0 9 toString ()Ljava/lang/String; ; <
0 =
. &
getVersion ()I @ A
) B D F
H READ_COMMON_HEADER J K M decode 4(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)V =$SwitchMap$io$netty$handler$codec$spdy$SpdyFrameDecoder$State [I Q R S ordinal U A
V /com/groupbyinc/flux/common/netty/buffer/ByteBuf X
readableBytes Z A
Y [ readerIndex ] A
Y ^ skipBytes 4(I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; ` a
Y b getByte (I)B d e
Y f Acom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyCodecUtil h getUnsignedShort 5(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)I j k
i l n getUnsignedInt p k
i q s getUnsignedMedium u k
i v x FRAME_ERROR z { Invalid SPDY Version } readFrameError % + ? isValidFrameHeader (IIBI)Z ? ?
? Invalid Frame Error ? getNextState P(II)Lcom/groupbyinc/flux/common/netty/handler/codec/spdy/SpdyFrameDecoder$State; ? ?
? hasFlag (BB)Z ? ?
? 0com/groupbyinc/flux/common/netty/buffer/Unpooled ? buffer ? a
? ?
readDataFrame 6(IZLcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)V ? ? + ? java/lang/Math ? min (II)I ? ?
? ? alloc <()Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator; ? ?
Y ? 8com/groupbyinc/flux/common/netty/buffer/ByteBufAllocator ? ? ?
writeBytes e(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; ? ?
Y ? Invalid SYN_STREAM Frame ? READ_HEADER_BLOCK ? ? readSynStreamFrame (IIBZZ)V ? ? + ? Invalid SYN_REPLY Frame ? readSynReplyFrame (IZ)V ? ? + ? getSignedInt ? k
i ? Invalid RST_STREAM Frame ? readRstStreamFrame (II)V ? ? + ? ? Invalid SETTINGS Frame ? READ_SETTING ? ? readSettingsFrame (Z)V ? ? + ? readSettingsEnd ? + ? readSetting (IIZZ)V ? ? + ?
readPingFrame (I)V ? ? + ? readGoAwayFrame ? ? + ? Invalid HEADERS Frame ? readHeadersFrame ? ? + ? Invalid WINDOW_UPDATE Frame ? readWindowUpdateFrame ? ? + ? readHeaderBlockEnd ? + ?
isReadable ()Z ? ?
Y ? readHeaderBlock ? P + ? java/lang/Error ? Shouldn't reach here. ?
? & version type frameOffset flagsOffset lengthOffset control Z last
dataLength data 1Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; offset associatedToStreamId priority unidirectional
statusCode clear
settingsFlags id value persistValue persisted pingId lastGoodStreamId deltaWindowSize compressedBytes headerBlock numBytes flag READ_DATA_FRAME READ_SYN_STREAM_FRAME READ_SYN_REPLY_FRAME READ_RST_STREAM_FRAME READ_SETTINGS_FRAME READ_PING_FRAME ! READ_GOAWAY_FRAME# $ READ_HEADERS_FRAME&