classes.io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.class Maven / Gradle / Ivy
The newest version!
???? 2l ? ?
?
P ? ? ?
? ?
?
? ?
?
? ? ? ? ? ? ? ?
? ? ? ?
? ? ? ? ? ? ? ?
P ? ?
?
?
? ? ?
? ? ? ? ? ?
% ? ? ?
% ?
% ? ? ? ?
?
P ?
?
P ? ? ?
? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ?
?
?
L ?
L InnerClasses DEFAULT_COMPRESSION_LEVEL I
ConstantValue DEFAULT_WINDOW_BITS DEFAULT_MEM_LEVEL compressionLevel
windowBits memLevel propertyKey PropertyKey :Lio/netty/handler/codec/http2/Http2Connection$PropertyKey; 8(Lio/netty/handler/codec/http2/Http2ConnectionEncoder;)V Code LineNumberTable LocalVariableTable this ?Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder; delegate 5Lio/netty/handler/codec/http2/Http2ConnectionEncoder; ;(Lio/netty/handler/codec/http2/Http2ConnectionEncoder;III)V
StackMapTable ? writeData ?(Lio/netty/channel/ChannelHandlerContext;ILio/netty/buffer/ByteBuf;IZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; nextBuf Lio/netty/buffer/ByteBuf; compressedEndOfStream Z
bufPromise !Lio/netty/channel/ChannelPromise; buf combiner *Lio/netty/util/concurrent/PromiseCombiner; cause Ljava/lang/Throwable; ctx (Lio/netty/channel/ChannelHandlerContext; streamId data padding endOfStream promise stream *Lio/netty/handler/codec/http2/Http2Stream; channel +Lio/netty/channel/embedded/EmbeddedChannel; ? ? ? writeHeaders ?(Lio/netty/channel/ChannelHandlerContext;ILio/netty/handler/codec/http2/Http2Headers;IZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
compressor future Lio/netty/channel/ChannelFuture; e headers +Lio/netty/handler/codec/http2/Http2Headers; endStream ?(Lio/netty/channel/ChannelHandlerContext;ILio/netty/handler/codec/http2/Http2Headers;ISZIZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; streamDependency weight S exclusive newContentCompressor m(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/CharSequence;)Lio/netty/channel/embedded/EmbeddedChannel; contentEncoding Ljava/lang/CharSequence;
Exceptions getTargetContentEncoding 2(Ljava/lang/CharSequence;)Ljava/lang/CharSequence; newCompressionChannel ?(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/compression/ZlibWrapper;)Lio/netty/channel/embedded/EmbeddedChannel; wrapper 0Lio/netty/handler/codec/compression/ZlibWrapper;
newCompressor ?(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Headers;Z)Lio/netty/channel/embedded/EmbeddedChannel; targetContentEncoding encoding bindCompressorToStream /(Lio/netty/channel/embedded/EmbeddedChannel;I)V cleanup X(Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/channel/embedded/EmbeddedChannel;)V nextReadableBuf F(Lio/netty/channel/embedded/EmbeddedChannel;)Lio/netty/buffer/ByteBuf;
access$000 {(Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;)Lio/netty/handler/codec/http2/Http2Connection$PropertyKey; x0
SourceFile %CompressorHttp2ConnectionEncoder.java ] ` =io/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder a j a b "java/lang/IllegalArgumentException java/lang/StringBuilder a compressionLevel: (expected: 0-9) ! a" windowBits: (expected: 9-15)
memLevel: (expected: 1-9) Z S [ S \ S#$%&' ?io/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder$1 a(), ?-./ )io/netty/channel/embedded/EmbeddedChannel n o java/lang/Object01 ? ?2345 q ? ?67 (io/netty/util/concurrent/PromiseCombiner89 a:;7<=2= java/lang/Throwable>? ? ? ? ? ? ? ? ?@ABCDEFBGA ? ? ?HBIBJ ? ?KLMNOPQR3ST io/netty/channel/ChannelHandlerUVW aXYZB[\] java/lang/CharSequence^B ? ? ? ?_`abcBdefg io/netty/buffer/ByteBufh3i/j3 =io/netty/handler/codec/http2/DecoratingHttp2ConnectionEncoder 8io/netty/handler/codec/http2/Http2Connection$PropertyKey 3io/netty/handler/codec/http2/Http2ConnectionEncoder (io/netty/handler/codec/http2/Http2Stream &io/netty/channel/ChannelHandlerContext io/netty/channel/ChannelPromise io/netty/channel/ChannelFuture +io/netty/handler/codec/http2/Http2Exception ()V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V
connection 0()Lio/netty/handler/codec/http2/Http2Connection; ,io/netty/handler/codec/http2/Http2Connection newKey <()Lio/netty/handler/codec/http2/Http2Connection$PropertyKey; B(Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;)V addListenerk Listener :(Lio/netty/handler/codec/http2/Http2Connection$Listener;)V -(I)Lio/netty/handler/codec/http2/Http2Stream; getProperty N(Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;)Ljava/lang/Object;
writeOutbound ([Ljava/lang/Object;)Z finish ()Z io/netty/buffer/Unpooled EMPTY_BUFFER
setSuccess #()Lio/netty/channel/ChannelPromise; executor *()Lio/netty/util/concurrent/EventExecutor; +(Lio/netty/util/concurrent/EventExecutor;)V
newPromise add %(Lio/netty/util/concurrent/Promise;)V
tryFailure (Ljava/lang/Throwable;)Z ,io/netty/handler/codec/http/HttpHeaderValues GZIP Lio/netty/util/AsciiString; io/netty/util/AsciiString contentEqualsIgnoreCase (Ljava/lang/CharSequence;)Z X_GZIP .io/netty/handler/codec/compression/ZlibWrapper DEFLATE X_DEFLATE ZLIB ()Lio/netty/channel/Channel; io/netty/channel/Channel id ()Lio/netty/channel/ChannelId; metadata $()Lio/netty/channel/ChannelMetadata; io/netty/channel/ChannelMetadata
hasDisconnect config "()Lio/netty/channel/ChannelConfig; 3io/netty/handler/codec/compression/ZlibCodecFactory newZlibEncoder e(Lio/netty/handler/codec/compression/ZlibWrapper;III)Lio/netty/handler/codec/compression/ZlibEncoder; b(Lio/netty/channel/ChannelId;ZLio/netty/channel/ChannelConfig;[Lio/netty/channel/ChannelHandler;)V +io/netty/handler/codec/http/HttpHeaderNames CONTENT_ENCODING )io/netty/handler/codec/http2/Http2Headers get &(Ljava/lang/Object;)Ljava/lang/Object; IDENTITY remove (Ljava/lang/Object;)Z set F(Ljava/lang/Object;Ljava/lang/Object;)Lio/netty/handler/codec/Headers; CONTENT_LENGTH setProperty `(Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;Ljava/lang/Object;)Ljava/lang/Object; readOutbound ()Ljava/lang/Object; release removeProperty
isReadable 5io/netty/handler/codec/http2/Http2Connection$Listener ! P R S T U V S T W X S T Y Z S [ S \ S ] `
a b c D *+? ? d
5 6 e f g h i a j c W ?*+? ? ? #? Y? Y? ? ?
? ? ?
? ? ? #? Y? Y? ? ?
? ? ?
??
? $? Y? Y? ? ?
? ? ?
?*? *? *? **? ? ? *? ? Y*? ? ? d 6
: ; <