io.netty.handler.codec.http.HttpContentCompressor.class Maven / Gradle / Ivy
???? 2 ? 1io/netty/handler/codec/http/HttpContentCompressor .io/netty/handler/codec/http/HttpContentEncoder HttpContentCompressor.java 3io/netty/handler/codec/http/HttpContentCompressor$1 5io/netty/handler/codec/http/HttpContentEncoder$Result Result compressionLevel I
windowBits memLevel ctx (Lio/netty/channel/ChannelHandlerContext; ()V (I)V
this 3Lio/netty/handler/codec/http/HttpContentCompressor; (III)V
"java/lang/IllegalArgumentException java/lang/StringBuilder
compressionLevel: " append -(Ljava/lang/String;)Ljava/lang/StringBuilder; $ %
& (I)Ljava/lang/StringBuilder; $ (
) (expected: 0-9) + toString ()Ljava/lang/String; - .
/ (Ljava/lang/String;)V 1
2 windowBits: 4 (expected: 9-15) 6
memLevel: 8 (expected: 1-9) : <
> @ handlerAdded +(Lio/netty/channel/ChannelHandlerContext;)V java/lang/Exception D F beginEncode u(Lio/netty/handler/codec/http/HttpResponse;Ljava/lang/String;)Lio/netty/handler/codec/http/HttpContentEncoder$Result; (io/netty/handler/codec/http/HttpResponse J headers +()Lio/netty/handler/codec/http/HttpHeaders; L M K N +io/netty/handler/codec/http/HttpHeaderNames P CONTENT_ENCODING Lio/netty/util/AsciiString; R S Q T 'io/netty/handler/codec/http/HttpHeaders V get ,(Ljava/lang/CharSequence;)Ljava/lang/String; X Y
W Z java/lang/String \ determineWrapper D(Ljava/lang/String;)Lio/netty/handler/codec/compression/ZlibWrapper; ^ _
` .io/netty/handler/codec/compression/ZlibWrapper b 9$SwitchMap$io$netty$handler$codec$compression$ZlibWrapper [I d e f ordinal ()I h i
c j gzip l deflate n java/lang/Error p
q )io/netty/channel/embedded/EmbeddedChannel s &io/netty/channel/ChannelHandlerContext u channel ()Lio/netty/channel/Channel; w x v y io/netty/channel/Channel { id ()Lio/netty/channel/ChannelId; } ~ | metadata $()Lio/netty/channel/ChannelMetadata; ? ? | ? io/netty/channel/ChannelMetadata ?
hasDisconnect ()Z ? ?
? ? config "()Lio/netty/channel/ChannelConfig; ? ? | ? io/netty/channel/ChannelHandler ? 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 ?
t ? @(Ljava/lang/String;Lio/netty/channel/embedded/EmbeddedChannel;)V ?
? targetContentEncoding Ljava/lang/String; *Lio/netty/handler/codec/http/HttpResponse; acceptEncoding contentEncoding wrapper 0Lio/netty/handler/codec/compression/ZlibWrapper; java/lang/NumberFormatException ??? , ? split '(Ljava/lang/String;)[Ljava/lang/String; ? ?
] ? [Ljava/lang/String; ? indexOf (I)I ? ?
] ? substring (I)Ljava/lang/String; ? ?
] ? java/lang/Float ?
parseFloat (Ljava/lang/String;)F ? ?
? ? * ? contains (Ljava/lang/CharSequence;)Z ? ?
] ? GZIP ? ? c ? ZLIB ? ? c ? e !Ljava/lang/NumberFormatException; q F equalsPos encoding starQ gzipQ deflateQ Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses !
? 5 *? ? ? ?
* + ? B
*? ? ?
?
7 8 ? ?*? ? ? #? Y? Y? !#? '? *,? '? 0? 3? ? ? #? Y? Y? !5? '? *7? '? 0? 3?? ? #? Y? Y? !9? '? *;? '? 0? 3?*? =*? ?*? A? ? * ? ? ?
? ? . M N O . S : T Z W e X ? [ ? \ ? ] ? ^ ? ?
B C ? > *+? G? ? ?
b c ? E H I ? y ?+? O ? U? [N-? ?*,? a:? ?? g? k.? ( !m:? o:? ? qY? r?? Y? tY*? G? z ? ? *? G? z ? ? ? ?*? G? z ? ? ? ?Y*? =*? ?*? A? ?S? ?? ?? ? R H ? ? O ? ? ? ? L ? ? ? ?
? ? ? ? ? ? Z V ? ? ? B g
h k n o p ! t D v H w K y O z R | Z h ? ? ? ? ? ? ]?
c"? ] ? E ^ _ ? ??E?F?8+?? ?:?66? u2:8 =? ?6
?
`? ?? ?8 ? :8 ?? E? 0m? %?? F? o? ?? 8????%??
?? %?? ? Ű? Ȱ$?? %??? ? Ű??? ? Ȱ? : H K ? ? \ M ? ? + b ? ? 4 Y ?
( e ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? r ? ? ?
? ( ? + ? 4 ? : ? H ? K ? M ? P ? Z ? ` ? q ? w ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B ? ] ? ? 0 ] ? ] ?? ?
? ?
© 2015 - 2025 Weber Informatics LLC | Privacy Policy