io.netty.handler.codec.spdy.SpdyHeaderBlockRawDecoder.class Maven / Gradle / Ivy
???? 2 ? 5io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoder 2io/netty/handler/codec/spdy/SpdyHeaderBlockDecoder SpdyHeaderBlockRawDecoder.java 7io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoder$1 ;io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoder$State State LENGTH_FIELD_SIZE I
maxHeaderSize state =Lio/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoder$State;
cumulation Lio/netty/buffer/ByteBuf;
headerSize
numHeaders length name Ljava/lang/String; -(Lio/netty/handler/codec/spdy/SpdyVersion;I)V ()V
java/lang/NullPointerException spdyVersion (Ljava/lang/String;)V !
" 'io/netty/handler/codec/spdy/SpdyVersion $ & READ_NUM_HEADERS ( ) + this 7Lio/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoder; )Lio/netty/handler/codec/spdy/SpdyVersion; readLengthField (Lio/netty/buffer/ByteBuf;)I io/netty/buffer/ByteBuf 2 readerIndex ()I 4 5
3 6 )io/netty/handler/codec/spdy/SpdyCodecUtil 8 getSignedInt (Lio/netty/buffer/ByteBuf;I)I : ;
9 < skipBytes (I)Lio/netty/buffer/ByteBuf; > ?
3 @ buffer decode l(Lio/netty/buffer/ByteBufAllocator;Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/spdy/SpdyHeadersFrame;)V java/lang/Exception E headerBlock G frame I K decodeHeaderBlock J(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/spdy/SpdyHeadersFrame;)V M N
O
isReadable ()Z Q R
3 S
readableBytes U 5
3 V io/netty/buffer/ByteBufAllocator X B ? Y Z
writeBytes 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; \ ]
3 ^ discardReadBytes ()Lio/netty/buffer/ByteBuf; ` a
3 b
releaseBuffer d
e alloc "Lio/netty/buffer/ByteBufAllocator; .Lio/netty/handler/codec/spdy/SpdyHeadersFrame; "java/lang/IllegalArgumentException j F$SwitchMap$io$netty$handler$codec$spdy$SpdyHeaderBlockRawDecoder$State [I l m n ordinal p 5
q 0 1
s u ERROR w x ,io/netty/handler/codec/spdy/SpdyHeadersFrame z
setInvalid 0()Lio/netty/handler/codec/spdy/SpdyHeadersFrame; | } { ~ END_HEADER_BLOCK ? ? READ_NAME_LENGTH ? ? ? ? SKIP_NAME ? ? setTruncated ? } { ? READ_NAME ? ? readBytes ([B)Lio/netty/buffer/ByteBuf; ? ?
3 ? java/lang/String ? UTF-8 ? ([BLjava/lang/String;)V ?
? ? ? headers +()Lio/netty/handler/codec/spdy/SpdyHeaders; ? ? { ? 'io/netty/handler/codec/spdy/SpdyHeaders ? contains (Ljava/lang/Object;)Z ? ? ? ? [B ? READ_VALUE_LENGTH ? ? java/lang/Math ? min (II)I ? ?
? ? isTruncated ? R { ? ? add F(Ljava/lang/Object;Ljava/lang/Object;)Lio/netty/handler/codec/Headers; ? ? ? ?
SKIP_VALUE ? ?
READ_VALUE ? ? ([BIILjava/lang/String;)V ?
? ? java/lang/Error ? Shouldn't reach here. ?
? " nameBytes
skipLength e $Ljava/lang/IllegalArgumentException; value
valueBytes index offset endHeaderBlock 1(Lio/netty/handler/codec/spdy/SpdyHeadersFrame;)V end release ? R
3 ?
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses ! ?
? ? *? +?
? Y ? #?*? '*? *? ,? ? - . / ? 2 3 4 6 7 8 ? ? %
0 1 ? M **? 7? =<*? AW? ? B ? ; <