io.netty.handler.codec.http.websocketx.extensions.compression.DeflateEncoder.class Maven / Gradle / Ivy
???? 2 ? Lio/netty/handler/codec/http/websocketx/extensions/compression/DeflateEncoder Kio/netty/handler/codec/http/websocketx/extensions/WebSocketExtensionEncoder DeflateEncoder.java compressionLevel I
windowSize noContext Z encoder +Lio/netty/channel/embedded/EmbeddedChannel; (IIZ)V ()V
this NLio/netty/handler/codec/http/websocketx/extensions/compression/DeflateEncoder; rsv :(Lio/netty/handler/codec/http/websocketx/WebSocketFrame;)I removeFrameTail :(Lio/netty/handler/codec/http/websocketx/WebSocketFrame;)Z encode r(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/websocketx/WebSocketFrame;Ljava/util/List;)V java/lang/Exception " )io/netty/channel/embedded/EmbeddedChannel $ io/netty/channel/ChannelHandler & .io/netty/handler/codec/compression/ZlibWrapper ( NONE 0Lio/netty/handler/codec/compression/ZlibWrapper; * + ) , 3io/netty/handler/codec/compression/ZlibCodecFactory . newZlibEncoder e(Lio/netty/handler/codec/compression/ZlibWrapper;III)Lio/netty/handler/codec/compression/ZlibEncoder; 0 1
/ 2 %([Lio/netty/channel/ChannelHandler;)V
4
% 5 java/lang/Object 7 5io/netty/handler/codec/http/websocketx/WebSocketFrame 9 content ()Lio/netty/buffer/ByteBuf; ; <
: = io/netty/buffer/ByteBuf ? retain A <
@ B
writeOutbound ([Ljava/lang/Object;)Z D E
% F &io/netty/channel/ChannelHandlerContext H alloc $()Lio/netty/buffer/ByteBufAllocator; J K I L io/netty/buffer/ByteBufAllocator N compositeBuffer $()Lio/netty/buffer/CompositeByteBuf; P Q O R io/netty/buffer/CompositeByteBuf T readOutbound ()Ljava/lang/Object; V W
% X
isReadable ()Z Z [
@ \ release ^ [
@ _ addComponent >(ZLio/netty/buffer/ByteBuf;)Lio/netty/buffer/CompositeByteBuf; a b
U c
numComponents ()I e f
U g
U _ %io/netty/handler/codec/CodecException j cannot read compressed buffer l (Ljava/lang/String;)V
n
k o isFinalFragment q [
: r cleanup t
u
w
readableBytes y f
U z Vio/netty/handler/codec/http/websocketx/extensions/compression/PerMessageDeflateDecoder |
FRAME_TAIL [B ~ } ? slice (II)Lio/netty/buffer/ByteBuf; ? ?
U ? 9io/netty/handler/codec/http/websocketx/TextWebSocketFrame ?
? (ZILio/netty/buffer/ByteBuf;)V
?
? ? ;io/netty/handler/codec/http/websocketx/BinaryWebSocketFrame ?
? ? Aio/netty/handler/codec/http/websocketx/ContinuationWebSocketFrame ?
? ? java/lang/StringBuilder ?
? unexpected frame type: ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? getClass ()Ljava/lang/Class; ? ?
8 ? java/lang/Class ? getName ()Ljava/lang/String; ? ?
? ? toString ? ?
? ? java/util/List ? add (Ljava/lang/Object;)Z ? ? ? ? partCompressedContent Lio/netty/buffer/ByteBuf;
realLength compressedContent outMsg 7Lio/netty/handler/codec/http/websocketx/WebSocketFrame; ctx (Lio/netty/channel/ChannelHandlerContext; msg out $Ljava/util/List; Ljava/util/List; fullCompressedContent "Lio/netty/buffer/CompositeByteBuf; handlerRemoved +(Lio/netty/channel/ChannelHandlerContext;)V ? ?
? finish ? [
% ? buf M(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V
? Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
Exceptions Signature ?(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/websocketx/WebSocketFrame;Ljava/util/List;)V
SourceFile
? l *? *? *? *? ? ? *
? 4 5 6 7 8 ? ?
Q*? #? %*? %Y? 'Y? -*? *? ? 3S? 6? #*? #? 8Y,? >? CS? GW+? M ? S :*? #? Y? @:? ? ? ]? ? `W???? dW???? h? ? iW? kYm? p?,? s? *? ? *? v*,? x? ? {? ??d6? ?:? :,? ?? ? ?Y,? s*,? ?? ?:? `,? ?? ? ?Y,? s*,? ?? ?:? B,? ?? ? ?Y,? s*,? ?? ?:? $? kY? ?Y? ??? ?,? ?? ?? ?? ?? p?-? ? W? ? ?
X " ? ? ?
? ? ? ? ? ? ? ? ? # ? ? Q Q ? ? Q ? ? Q ? ? L ? ? ? ? ? ? G
? ? ? Q ? ? ? ~ I J ) N ? P L R X S ] T ` V h W n X q Z z [ } \ ? ] ? ^ ? a ? b ? f ? g ? h ? i ? j ? n ? o ? p ? q r s&