io.netty.handler.codec.spdy.SpdyHeaderBlockZlibDecoder.class Maven / Gradle / Ivy
???? 2 ? 6io/netty/handler/codec/spdy/SpdyHeaderBlockZlibDecoder 5io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoder SpdyHeaderBlockZlibDecoder.java DEFAULT_BUFFER_CAPACITY I INVALID_HEADER_BLOCK 3Lio/netty/handler/codec/spdy/SpdyProtocolException; decompressor Ljava/util/zip/Inflater; decompressed Lio/netty/buffer/ByteBuf; -(Lio/netty/handler/codec/spdy/SpdyVersion;I)V
java/util/zip/Inflater ()V
this 8Lio/netty/handler/codec/spdy/SpdyHeaderBlockZlibDecoder; spdyVersion )Lio/netty/handler/codec/spdy/SpdyVersion;
maxHeaderSize decode l(Lio/netty/buffer/ByteBufAllocator;Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/spdy/SpdyHeadersFrame;)V java/lang/Exception ! setInput (Lio/netty/buffer/ByteBuf;)I # $
%
decompress S(Lio/netty/buffer/ByteBufAllocator;Lio/netty/handler/codec/spdy/SpdyHeadersFrame;)I ' (
) getRemaining ()I + ,
-
/ io/netty/buffer/ByteBuf 1 skipBytes (I)Lio/netty/buffer/ByteBuf; 3 4
2 5 alloc "Lio/netty/buffer/ByteBufAllocator; headerBlock frame .Lio/netty/handler/codec/spdy/SpdyHeadersFrame; len numBytes
readableBytes > ,
2 ? hasArray ()Z A B
2 C array ()[B E F
2 G arrayOffset I ,
2 J readerIndex L ,
2 M ([BII)V # O
P getBytes (I[B)Lio/netty/buffer/ByteBuf; R S
2 T in [B
compressed "java/lang/IllegalArgumentException Y !java/util/zip/DataFormatException [ ensureBuffer %(Lio/netty/buffer/ByteBufAllocator;)V ] ^
_
a writerIndex c ,
2 d
writableBytes f ,
2 g inflate ([BII)I i j
k needsDictionary m B
n )io/netty/handler/codec/spdy/SpdyCodecUtil p SPDY_DICT r W q s
setDictionary ([B)V u v
w io/netty/buffer/ByteBufAllocator y ,io/netty/handler/codec/spdy/SpdyHeadersFrame { W c 4
2 ~ decodeHeaderBlock J(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/spdy/SpdyHeadersFrame;)V ? ?
? discardReadBytes ()Lio/netty/buffer/ByteBuf; ? ?
2 ? 1io/netty/handler/codec/spdy/SpdyProtocolException ? Received invalid header block ? *(Ljava/lang/String;Ljava/lang/Throwable;)V ?
? ? ignored $Ljava/lang/IllegalArgumentException; e #Ljava/util/zip/DataFormatException; out off
heapBuffer ? 4 z ? ensureWritable ? 4
2 ? endHeaderBlock 1(Lio/netty/handler/codec/spdy/SpdyHeadersFrame;)V ? ?
?
releaseBuffer ?
? end ?
?
? release ? B
2 ? Invalid Header Block ? (Ljava/lang/String;)V ?
? ?
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile 0 ?
? X *+? *? Y? ? ? ? ? % &