![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.handler.codec.compression.JdkZlibEncoder.class Maven / Gradle / Ivy
The newest version!
???? 2z
e ?
e ?
e ? ? ?
e ?
f ? ?
? e ? e ? ? ?
? ?
?
? ?
?
? ? i
? ? ? ?
? ? e ? ?
? e ?
e ? ?
?
? ? ?
e ? ? ? ? ? ?
' ? ? ? e ? ? ?
+ ? e ?
b ?
b ?
b ?
b ?
b ?
b ?
b ?
b ? ? ? e ?
b ?
?
?
e ?
?
b ?
b
b???t?j
g
? ?
H
L
?
?
b
?
e
b
!
b"
#$
e%
e&'() InnerClasses wrapper 0Lio/netty/handler/codec/compression/ZlibWrapper; deflater Ljava/util/zip/Deflater; finished Z ctx (Lio/netty/channel/ChannelHandlerContext; crc Ljava/util/zip/CRC32;
gzipHeader [B writeHeader ()V Code LineNumberTable LocalVariableTable this 3Lio/netty/handler/codec/compression/JdkZlibEncoder; (I)V compressionLevel I 3(Lio/netty/handler/codec/compression/ZlibWrapper;)V 4(Lio/netty/handler/codec/compression/ZlibWrapper;I)V
StackMapTable'* ([B)V
dictionary (I[B)V t close "()Lio/netty/channel/ChannelFuture; C(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; p !Lio/netty/channel/ChannelPromise; promise executor (Lio/netty/util/concurrent/EventExecutor;+, *()Lio/netty/channel/ChannelHandlerContext; isClosed ()Z encode ](Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V offset inAry uncompressed Lio/netty/buffer/ByteBuf; out len
Exceptions- allocateBuffer ](Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Z)Lio/netty/buffer/ByteBuf; msg preferDirect sizeEstimate L(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V f Lio/netty/channel/ChannelFuture;. finishEncode k(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; crcValue uncBytes footer$ deflate (Lio/netty/buffer/ByteBuf;)V writerIndex numBytes RuntimeInvisibleAnnotations 1Lio/netty/util/internal/SuppressJava6Requirement; reason #Usage guarded by java version check deflateJdk6 handlerAdded +(Lio/netty/channel/ChannelHandlerContext;)V V(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/buffer/ByteBuf;)V V(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Z)Lio/netty/buffer/ByteBuf;
access$000 ](Lio/netty/handler/codec/compression/JdkZlibEncoder;)Lio/netty/channel/ChannelHandlerContext; x0
access$100 ?(Lio/netty/handler/codec/compression/JdkZlibEncoder;Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; x1 x2
SourceFile JdkZlibEncoder.java ? ? o ? v }*/ j v ? v w java/util/zip/CRC32 q r u n "java/lang/IllegalArgumentException java/lang/StringBuilder compressionLevel: 0102 (expected: 0-9)34 v5 java/lang/NullPointerException6 j wrapper '07 !' is not allowed for compression. i j java/util/zip/Deflater v8 k l v ?9 ?+:; ? ? ?<,= ? 3io/netty/handler/codec/compression/JdkZlibEncoder$1 v>?@ o p java/lang/IllegalStateException not added to a pipeline m nABCDE ?FGHDIDJKLMN j s tAMOPQP ? ?R ?S ? ?DTKUVWXYZD[\]^K 3io/netty/handler/codec/compression/JdkZlibEncoder$2 v_.`ab ? 3io/netty/handler/codec/compression/JdkZlibEncoder$3cdefghi;^jk w m ?lmnopDqKr wstuvD ? ?wD ?x ?K ?y io/netty/buffer/ByteBuf ? ? ? ? 1io/netty/handler/codec/compression/JdkZlibEncoder .io/netty/handler/codec/compression/ZlibEncoder 3io/netty/handler/codec/compression/JdkZlibEncoder$4 .io/netty/handler/codec/compression/ZlibWrapper &io/netty/channel/ChannelHandlerContext &io/netty/util/concurrent/EventExecutor java/lang/Exception io/netty/channel/ChannelFuture ZLIB append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V ZLIB_OR_NONE -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (IZ)V
setDictionary
newPromise #()Lio/netty/channel/ChannelPromise; *()Lio/netty/util/concurrent/EventExecutor; inEventLoop x(Lio/netty/handler/codec/compression/JdkZlibEncoder;Lio/netty/channel/ChannelPromise;Lio/netty/channel/ChannelPromise;)V execute (Ljava/lang/Runnable;)V
writeBytes 4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
readableBytes ()I hasArray array ()[B arrayOffset readerIndex skipBytes (I)Lio/netty/buffer/ByteBuf; readBytes ([B)Lio/netty/buffer/ByteBuf; GZIP update ([BII)V setInput
needsInput
isWritable ensureWritable java/lang/Math ceil (D)D 9$SwitchMap$io$netty$handler$codec$compression$ZlibWrapper [I ordinal alloc $()Lio/netty/buffer/ByteBufAllocator; io/netty/buffer/ByteBufAllocator
heapBuffer (Lio/netty/handler/codec/compression/JdkZlibEncoder;Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V addListener R(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture; isDone java/util/concurrent/TimeUnit SECONDS Ljava/util/concurrent/TimeUnit; schedule `(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/ScheduledFuture; io/netty/channel/ChannelPromise
setSuccess ()Lio/netty/buffer/ByteBuf; finish write 4(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture; getValue ()J
getTotalIn writeByte end
writeAndFlush U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; (io/netty/util/internal/PlatformDependent javaVersion
writableBytes ([BIII)I ([BII)I ! e f i j k l B m n B o p q r s t u n v w x 5 *? ? y
8 9 z { | v } x A *? ? ? y
G H z { | ~ v ? x @ *+? ? y
Q R z { | i j v ? x G ?*? *? Y? ? *?
? ? #? Y? Y?
? ? ? ? ? ?+?
? Y? ?+? ? %? Y? Y?
? ? ? ? ? ? ?*+? *? Y+? ? ? ? ? ? y 2 _ - / ` a > d B e L g S h u m z n ? o z ? { | ? i j ? ~ ? D ? ? ?
(? ? ? ? { {? ? ? ? { { v ? x @ *+? ? y
| } z { | ? t v ? x ? h*? *? Y? ? *?
? ? #? Y? Y?
? ? ? ? ? ?,?
? Y ? ?*? ? *? Y? !? *? ,? "? y . ? - / ? ? > ? B ? L ? S ? _ ? g ? z h { | h ~ h ? t ? ? ? ?
? ? x 8 **? ? # ? $? y ? z { | ? ? x ? 8*? M,? % N-? & ?
*,+? ?,? # :-? 'Y*+? (? ) ? y ? ? ? ? ? $ ? 5 ? z 4 $ ? ? 8 { | 8 ? ? 3 o p , ? ? ? ? ? ? o ? x c *? *L+?
? +Y,? -?+? y ? ? ? ? z { | o p ? ? ? ? ? x / *? .? y ? z { | ? ? x ? ?*? .?
-,? /W?,? 06? ?,? 1? ,? 2:,? 3,? 4`6,? 5W? ?:,? 6W6*?
? *?
*? ? 7? -? 8? 9W*? ? 7? *? ? :*? ? ;*-? <*? ? =? ? -? >???--? ?? @W??ޱ y j ? ?
? ? ? ? ? ! ? ' ? 2 ? <