public class io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder extends io.netty.handler.codec.http2.DecoratingHttp2ConnectionEncoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder
super_class: io.netty.handler.codec.http2.DecoratingHttp2ConnectionEncoder
{
public static final int DEFAULT_COMPRESSION_LEVEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
public static final int DEFAULT_WINDOW_BITS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 15
public static final int DEFAULT_MEM_LEVEL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private final int compressionLevel;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int windowBits;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int memLevel;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.http2.Http2Connection$PropertyKey propertyKey;
descriptor: Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.netty.handler.codec.http2.Http2ConnectionEncoder);
descriptor: (Lio/netty/handler/codec/http2/Http2ConnectionEncoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
bipush 6
bipush 15
bipush 8
invokespecial io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.<init>:(Lio/netty/handler/codec/http2/Http2ConnectionEncoder;III)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;
0 2 1 delegate Lio/netty/handler/codec/http2/Http2ConnectionEncoder;
MethodParameters:
Name Flags
delegate
public void <init>(io.netty.handler.codec.http2.Http2ConnectionEncoder, int, int, int);
descriptor: (Lio/netty/handler/codec/http2/Http2ConnectionEncoder;III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokespecial io.netty.handler.codec.http2.DecoratingHttp2ConnectionEncoder.<init>:(Lio/netty/handler/codec/http2/Http2ConnectionEncoder;)V
1: iload 2
iflt 2
iload 2
bipush 9
if_icmple 3
2: StackMap locals: io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder io.netty.handler.codec.http2.Http2ConnectionEncoder int int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "compressionLevel: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " (expected: 0-9)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
iload 3
bipush 9
if_icmplt 4
iload 3
bipush 15
if_icmple 5
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "windowBits: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " (expected: 9-15)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
iload 4
iconst_1
if_icmplt 6
iload 4
bipush 9
if_icmple 7
6: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "memLevel: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " (expected: 1-9)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.compressionLevel:I
8: aload 0
iload 3
putfield io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.windowBits:I
9: aload 0
iload 4
putfield io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.memLevel:I
10: aload 0
aload 0
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.connection:()Lio/netty/handler/codec/http2/Http2Connection;
invokeinterface io.netty.handler.codec.http2.Http2Connection.newKey:()Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;
putfield io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.propertyKey:Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;
11: aload 0
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.connection:()Lio/netty/handler/codec/http2/Http2Connection;
new io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder$1
dup
aload 0
invokespecial io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder$1.<init>:(Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;)V
invokeinterface io.netty.handler.codec.http2.Http2Connection.addListener:(Lio/netty/handler/codec/http2/Http2Connection$Listener;)V
12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;
0 13 1 delegate Lio/netty/handler/codec/http2/Http2ConnectionEncoder;
0 13 2 compressionLevel I
0 13 3 windowBits I
0 13 4 memLevel I
MethodParameters:
Name Flags
delegate
compressionLevel
windowBits
memLevel
public io.netty.channel.ChannelFuture writeData(io.netty.channel.ChannelHandlerContext, int, io.netty.buffer.ByteBuf, int, boolean, io.netty.channel.ChannelPromise);
descriptor: (Lio/netty/channel/ChannelHandlerContext;ILio/netty/buffer/ByteBuf;IZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=16, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.connection:()Lio/netty/handler/codec/http2/Http2Connection;
iload 2
invokeinterface io.netty.handler.codec.http2.Http2Connection.stream:(I)Lio/netty/handler/codec/http2/Http2Stream;
astore 7
start local 7 1: aload 7
ifnonnull 2
aconst_null
goto 3
StackMap locals: io.netty.handler.codec.http2.Http2Stream
StackMap stack:
2: aload 7
aload 0
getfield io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.propertyKey:Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;
invokeinterface io.netty.handler.codec.http2.Http2Stream.getProperty:(Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;)Ljava/lang/Object;
checkcast io.netty.channel.embedded.EmbeddedChannel
StackMap locals:
StackMap stack: io.netty.channel.embedded.EmbeddedChannel
3: astore 8
start local 8 4: aload 8
ifnonnull 6
5: aload 0
aload 1
iload 2
aload 3
iload 4
iload 5
aload 6
invokespecial io.netty.handler.codec.http2.DecoratingHttp2ConnectionEncoder.writeData:(Lio/netty/channel/ChannelHandlerContext;ILio/netty/buffer/ByteBuf;IZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
areturn
6: StackMap locals: io.netty.channel.embedded.EmbeddedChannel
StackMap stack:
aload 8
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual io.netty.channel.embedded.EmbeddedChannel.writeOutbound:([Ljava/lang/Object;)Z
pop
7: aload 8
invokestatic io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.nextReadableBuf:(Lio/netty/channel/embedded/EmbeddedChannel;)Lio/netty/buffer/ByteBuf;
astore 9
start local 9 8: aload 9
ifnonnull 25
9: iload 5
ifeq 20
10: aload 8
invokevirtual io.netty.channel.embedded.EmbeddedChannel.finish:()Z
ifeq 12
11: aload 8
invokestatic io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.nextReadableBuf:(Lio/netty/channel/embedded/EmbeddedChannel;)Lio/netty/buffer/ByteBuf;
astore 9
12: StackMap locals: io.netty.buffer.ByteBuf
StackMap stack:
aload 0
aload 1
iload 2
aload 9
ifnonnull 13
getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
goto 14
StackMap locals: io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder io.netty.channel.ChannelHandlerContext int io.netty.buffer.ByteBuf int int io.netty.channel.ChannelPromise io.netty.handler.codec.http2.Http2Stream io.netty.channel.embedded.EmbeddedChannel io.netty.buffer.ByteBuf
StackMap stack: io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder io.netty.channel.ChannelHandlerContext int
13: aload 9
StackMap locals: io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder io.netty.channel.ChannelHandlerContext int io.netty.buffer.ByteBuf int int io.netty.channel.ChannelPromise io.netty.handler.codec.http2.Http2Stream io.netty.channel.embedded.EmbeddedChannel io.netty.buffer.ByteBuf
StackMap stack: io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder io.netty.channel.ChannelHandlerContext int io.netty.buffer.ByteBuf
14: iload 4
15: iconst_1
aload 6
16: invokespecial io.netty.handler.codec.http2.DecoratingHttp2ConnectionEncoder.writeData:(Lio/netty/channel/ChannelHandlerContext;ILio/netty/buffer/ByteBuf;IZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
astore 15
17: iload 5
ifeq 19
18: aload 0
aload 7
aload 8
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.cleanup:(Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/channel/embedded/EmbeddedChannel;)V
19: StackMap locals: io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder io.netty.channel.ChannelHandlerContext int io.netty.buffer.ByteBuf int int io.netty.channel.ChannelPromise io.netty.handler.codec.http2.Http2Stream io.netty.channel.embedded.EmbeddedChannel io.netty.buffer.ByteBuf top top top top top io.netty.channel.ChannelFuture
StackMap stack:
aload 15
areturn
20: StackMap locals: io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder io.netty.channel.ChannelHandlerContext int io.netty.buffer.ByteBuf int int io.netty.channel.ChannelPromise io.netty.handler.codec.http2.Http2Stream io.netty.channel.embedded.EmbeddedChannel io.netty.buffer.ByteBuf
StackMap stack:
aload 6
invokeinterface io.netty.channel.ChannelPromise.setSuccess:()Lio/netty/channel/ChannelPromise;
pop
21: aload 6
astore 15
22: iload 5
ifeq 24
23: aload 0
aload 7
aload 8
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.cleanup:(Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/channel/embedded/EmbeddedChannel;)V
24: StackMap locals: io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder io.netty.channel.ChannelHandlerContext int io.netty.buffer.ByteBuf int int io.netty.channel.ChannelPromise io.netty.handler.codec.http2.Http2Stream io.netty.channel.embedded.EmbeddedChannel io.netty.buffer.ByteBuf top top top top top io.netty.channel.ChannelFuture
StackMap stack:
aload 15
areturn
25: StackMap locals: io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder io.netty.channel.ChannelHandlerContext int io.netty.buffer.ByteBuf int int io.netty.channel.ChannelPromise io.netty.handler.codec.http2.Http2Stream io.netty.channel.embedded.EmbeddedChannel io.netty.buffer.ByteBuf
StackMap stack:
new io.netty.util.concurrent.PromiseCombiner
dup
invokespecial io.netty.util.concurrent.PromiseCombiner.<init>:()V
astore 10
start local 10 26: StackMap locals: io.netty.util.concurrent.PromiseCombiner
StackMap stack:
aload 8
invokestatic io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.nextReadableBuf:(Lio/netty/channel/embedded/EmbeddedChannel;)Lio/netty/buffer/ByteBuf;
astore 11
start local 11 27: aload 11
ifnonnull 28
iload 5
ifeq 28
iconst_1
goto 29
StackMap locals: io.netty.buffer.ByteBuf
StackMap stack:
28: iconst_0
StackMap locals:
StackMap stack: int
29: istore 12
start local 12 30: iload 12
ifeq 35
aload 8
invokevirtual io.netty.channel.embedded.EmbeddedChannel.finish:()Z
ifeq 35
31: aload 8
invokestatic io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.nextReadableBuf:(Lio/netty/channel/embedded/EmbeddedChannel;)Lio/netty/buffer/ByteBuf;
astore 11
32: aload 11
ifnonnull 33
iconst_1
goto 34
StackMap locals: int
StackMap stack:
33: iconst_0
StackMap locals:
StackMap stack: int
34: istore 12
35: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.newPromise:()Lio/netty/channel/ChannelPromise;
astore 13
start local 13 36: aload 10
aload 13
invokevirtual io.netty.util.concurrent.PromiseCombiner.add:(Lio/netty/util/concurrent/Promise;)V
37: aload 0
aload 1
iload 2
aload 9
iload 4
iload 12
aload 13
invokespecial io.netty.handler.codec.http2.DecoratingHttp2ConnectionEncoder.writeData:(Lio/netty/channel/ChannelHandlerContext;ILio/netty/buffer/ByteBuf;IZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
pop
38: aload 11
ifnonnull 40
39: goto 43
40: StackMap locals: io.netty.channel.ChannelPromise
StackMap stack:
iconst_0
istore 4
41: aload 11
astore 9
end local 13 end local 12 end local 11 42: goto 26
43: StackMap locals:
StackMap stack:
aload 10
aload 6
invokevirtual io.netty.util.concurrent.PromiseCombiner.finish:(Lio/netty/util/concurrent/Promise;)V
end local 10 end local 9 44: goto 53
StackMap locals: io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder io.netty.channel.ChannelHandlerContext int io.netty.buffer.ByteBuf int int io.netty.channel.ChannelPromise io.netty.handler.codec.http2.Http2Stream io.netty.channel.embedded.EmbeddedChannel
StackMap stack: java.lang.Throwable
45: astore 9
start local 9 46: aload 6
aload 9
invokeinterface io.netty.channel.ChannelPromise.tryFailure:(Ljava/lang/Throwable;)Z
pop
end local 9 47: iload 5
ifeq 55
48: aload 0
aload 7
aload 8
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.cleanup:(Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/channel/embedded/EmbeddedChannel;)V
goto 55
49: StackMap locals:
StackMap stack: java.lang.Throwable
astore 14
50: iload 5
ifeq 52
51: aload 0
aload 7
aload 8
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.cleanup:(Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/channel/embedded/EmbeddedChannel;)V
52: StackMap locals: io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder io.netty.channel.ChannelHandlerContext int io.netty.buffer.ByteBuf int int io.netty.channel.ChannelPromise io.netty.handler.codec.http2.Http2Stream io.netty.channel.embedded.EmbeddedChannel top top top top top java.lang.Throwable
StackMap stack:
aload 14
athrow
53: StackMap locals: io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder io.netty.channel.ChannelHandlerContext int io.netty.buffer.ByteBuf int int io.netty.channel.ChannelPromise io.netty.handler.codec.http2.Http2Stream io.netty.channel.embedded.EmbeddedChannel
StackMap stack:
iload 5
ifeq 55
54: aload 0
aload 7
aload 8
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.cleanup:(Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/channel/embedded/EmbeddedChannel;)V
55: StackMap locals:
StackMap stack:
aload 6
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 56 0 this Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;
0 56 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 56 2 streamId I
0 56 3 data Lio/netty/buffer/ByteBuf;
0 56 4 padding I
0 56 5 endOfStream Z
0 56 6 promise Lio/netty/channel/ChannelPromise;
1 56 7 stream Lio/netty/handler/codec/http2/Http2Stream;
4 56 8 channel Lio/netty/channel/embedded/EmbeddedChannel;
8 44 9 buf Lio/netty/buffer/ByteBuf;
26 44 10 combiner Lio/netty/util/concurrent/PromiseCombiner;
27 42 11 nextBuf Lio/netty/buffer/ByteBuf;
30 42 12 compressedEndOfStream Z
36 42 13 bufPromise Lio/netty/channel/ChannelPromise;
46 47 9 cause Ljava/lang/Throwable;
Exception table:
from to target type
6 17 45 Class java.lang.Throwable
20 22 45 Class java.lang.Throwable
25 44 45 Class java.lang.Throwable
6 17 49 any
20 22 49 any
25 47 49 any
MethodParameters:
Name Flags
ctx final
streamId final
data
padding
endOfStream final
promise
public io.netty.channel.ChannelFuture writeHeaders(io.netty.channel.ChannelHandlerContext, int, io.netty.handler.codec.http2.Http2Headers, int, boolean, io.netty.channel.ChannelPromise);
descriptor: (Lio/netty/channel/ChannelHandlerContext;ILio/netty/handler/codec/http2/Http2Headers;IZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 3
iload 5
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.newCompressor:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Headers;Z)Lio/netty/channel/embedded/EmbeddedChannel;
astore 7
start local 7 1: aload 0
aload 1
iload 2
aload 3
iload 4
iload 5
aload 6
invokespecial io.netty.handler.codec.http2.DecoratingHttp2ConnectionEncoder.writeHeaders:(Lio/netty/channel/ChannelHandlerContext;ILio/netty/handler/codec/http2/Http2Headers;IZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
astore 8
start local 8 2: aload 0
aload 7
iload 2
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.bindCompressorToStream:(Lio/netty/channel/embedded/EmbeddedChannel;I)V
3: aload 8
4: areturn
end local 8 end local 7 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
start local 7 6: aload 6
aload 7
invokeinterface io.netty.channel.ChannelPromise.tryFailure:(Ljava/lang/Throwable;)Z
pop
end local 7 7: aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;
0 8 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 8 2 streamId I
0 8 3 headers Lio/netty/handler/codec/http2/Http2Headers;
0 8 4 padding I
0 8 5 endStream Z
0 8 6 promise Lio/netty/channel/ChannelPromise;
1 5 7 compressor Lio/netty/channel/embedded/EmbeddedChannel;
2 5 8 future Lio/netty/channel/ChannelFuture;
6 7 7 e Ljava/lang/Throwable;
Exception table:
from to target type
0 4 5 Class java.lang.Throwable
MethodParameters:
Name Flags
ctx
streamId
headers
padding
endStream
promise
public io.netty.channel.ChannelFuture writeHeaders(io.netty.channel.ChannelHandlerContext, int, io.netty.handler.codec.http2.Http2Headers, int, short, boolean, int, boolean, io.netty.channel.ChannelPromise);
descriptor: (Lio/netty/channel/ChannelHandlerContext;ILio/netty/handler/codec/http2/Http2Headers;ISZIZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=12, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 0
aload 1
aload 3
iload 8
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.newCompressor:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Headers;Z)Lio/netty/channel/embedded/EmbeddedChannel;
astore 10
start local 10 1: aload 0
aload 1
iload 2
aload 3
iload 4
iload 5
iload 6
2: iload 7
iload 8
aload 9
3: invokespecial io.netty.handler.codec.http2.DecoratingHttp2ConnectionEncoder.writeHeaders:(Lio/netty/channel/ChannelHandlerContext;ILio/netty/handler/codec/http2/Http2Headers;ISZIZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
astore 11
start local 11 4: aload 0
aload 10
iload 2
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.bindCompressorToStream:(Lio/netty/channel/embedded/EmbeddedChannel;I)V
5: aload 11
6: areturn
end local 11 end local 10 7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 10
start local 10 8: aload 9
aload 10
invokeinterface io.netty.channel.ChannelPromise.tryFailure:(Ljava/lang/Throwable;)Z
pop
end local 10 9: aload 9
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;
0 10 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 10 2 streamId I
0 10 3 headers Lio/netty/handler/codec/http2/Http2Headers;
0 10 4 streamDependency I
0 10 5 weight S
0 10 6 exclusive Z
0 10 7 padding I
0 10 8 endOfStream Z
0 10 9 promise Lio/netty/channel/ChannelPromise;
1 7 10 compressor Lio/netty/channel/embedded/EmbeddedChannel;
4 7 11 future Lio/netty/channel/ChannelFuture;
8 9 10 e Ljava/lang/Throwable;
Exception table:
from to target type
0 6 7 Class java.lang.Throwable
MethodParameters:
Name Flags
ctx final
streamId final
headers final
streamDependency final
weight final
exclusive final
padding final
endOfStream final
promise final
protected io.netty.channel.embedded.EmbeddedChannel newContentCompressor(io.netty.channel.ChannelHandlerContext, java.lang.CharSequence);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/CharSequence;)Lio/netty/channel/embedded/EmbeddedChannel;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic io.netty.handler.codec.http.HttpHeaderValues.GZIP:Lio/netty/util/AsciiString;
aload 2
invokevirtual io.netty.util.AsciiString.contentEqualsIgnoreCase:(Ljava/lang/CharSequence;)Z
ifne 1
getstatic io.netty.handler.codec.http.HttpHeaderValues.X_GZIP:Lio/netty/util/AsciiString;
aload 2
invokevirtual io.netty.util.AsciiString.contentEqualsIgnoreCase:(Ljava/lang/CharSequence;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
getstatic io.netty.handler.codec.compression.ZlibWrapper.GZIP:Lio/netty/handler/codec/compression/ZlibWrapper;
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.newCompressionChannel:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/compression/ZlibWrapper;)Lio/netty/channel/embedded/EmbeddedChannel;
areturn
2: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.http.HttpHeaderValues.DEFLATE:Lio/netty/util/AsciiString;
aload 2
invokevirtual io.netty.util.AsciiString.contentEqualsIgnoreCase:(Ljava/lang/CharSequence;)Z
ifne 3
getstatic io.netty.handler.codec.http.HttpHeaderValues.X_DEFLATE:Lio/netty/util/AsciiString;
aload 2
invokevirtual io.netty.util.AsciiString.contentEqualsIgnoreCase:(Ljava/lang/CharSequence;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
getstatic io.netty.handler.codec.compression.ZlibWrapper.ZLIB:Lio/netty/handler/codec/compression/ZlibWrapper;
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.newCompressionChannel:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/compression/ZlibWrapper;)Lio/netty/channel/embedded/EmbeddedChannel;
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;
0 5 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 5 2 contentEncoding Ljava/lang/CharSequence;
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
ctx
contentEncoding
protected java.lang.CharSequence getTargetContentEncoding(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;
0 1 1 contentEncoding Ljava/lang/CharSequence;
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
contentEncoding
private io.netty.channel.embedded.EmbeddedChannel newCompressionChannel(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.compression.ZlibWrapper);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/compression/ZlibWrapper;)Lio/netty/channel/embedded/EmbeddedChannel;
flags: (0x0002) ACC_PRIVATE
Code:
stack=12, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.netty.channel.embedded.EmbeddedChannel
dup
aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.channel:()Lio/netty/channel/Channel;
invokeinterface io.netty.channel.Channel.id:()Lio/netty/channel/ChannelId;
aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.channel:()Lio/netty/channel/Channel;
invokeinterface io.netty.channel.Channel.metadata:()Lio/netty/channel/ChannelMetadata;
invokevirtual io.netty.channel.ChannelMetadata.hasDisconnect:()Z
1: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.channel:()Lio/netty/channel/Channel;
invokeinterface io.netty.channel.Channel.config:()Lio/netty/channel/ChannelConfig;
iconst_1
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
aload 2
aload 0
getfield io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.compressionLevel:I
aload 0
getfield io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.windowBits:I
2: aload 0
getfield io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.memLevel:I
3: invokestatic io.netty.handler.codec.compression.ZlibCodecFactory.newZlibEncoder:(Lio/netty/handler/codec/compression/ZlibWrapper;III)Lio/netty/handler/codec/compression/ZlibEncoder;
4: aastore
invokespecial io.netty.channel.embedded.EmbeddedChannel.<init>:(Lio/netty/channel/ChannelId;ZLio/netty/channel/ChannelConfig;[Lio/netty/channel/ChannelHandler;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;
0 5 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 5 2 wrapper Lio/netty/handler/codec/compression/ZlibWrapper;
MethodParameters:
Name Flags
ctx final
wrapper
private io.netty.channel.embedded.EmbeddedChannel newCompressor(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.http2.Http2Headers, boolean);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2Headers;Z)Lio/netty/channel/embedded/EmbeddedChannel;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 2
getstatic io.netty.handler.codec.http.HttpHeaderNames.CONTENT_ENCODING:Lio/netty/util/AsciiString;
invokeinterface io.netty.handler.codec.http2.Http2Headers.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.CharSequence
astore 4
start local 4 3: aload 4
ifnonnull 5
4: getstatic io.netty.handler.codec.http.HttpHeaderValues.IDENTITY:Lio/netty/util/AsciiString;
astore 4
5: StackMap locals: java.lang.CharSequence
StackMap stack:
aload 0
aload 1
aload 4
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.newContentCompressor:(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/CharSequence;)Lio/netty/channel/embedded/EmbeddedChannel;
astore 5
start local 5 6: aload 5
ifnull 13
7: aload 0
aload 4
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.getTargetContentEncoding:(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
astore 6
start local 6 8: getstatic io.netty.handler.codec.http.HttpHeaderValues.IDENTITY:Lio/netty/util/AsciiString;
aload 6
invokevirtual io.netty.util.AsciiString.contentEqualsIgnoreCase:(Ljava/lang/CharSequence;)Z
ifeq 11
9: aload 2
getstatic io.netty.handler.codec.http.HttpHeaderNames.CONTENT_ENCODING:Lio/netty/util/AsciiString;
invokeinterface io.netty.handler.codec.http2.Http2Headers.remove:(Ljava/lang/Object;)Z
pop
10: goto 12
11: StackMap locals: io.netty.channel.embedded.EmbeddedChannel java.lang.CharSequence
StackMap stack:
aload 2
getstatic io.netty.handler.codec.http.HttpHeaderNames.CONTENT_ENCODING:Lio/netty/util/AsciiString;
aload 6
invokeinterface io.netty.handler.codec.http2.Http2Headers.set:(Ljava/lang/Object;Ljava/lang/Object;)Lio/netty/handler/codec/Headers;
pop
12: StackMap locals:
StackMap stack:
aload 2
getstatic io.netty.handler.codec.http.HttpHeaderNames.CONTENT_LENGTH:Lio/netty/util/AsciiString;
invokeinterface io.netty.handler.codec.http2.Http2Headers.remove:(Ljava/lang/Object;)Z
pop
end local 6 13: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;
0 14 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 14 2 headers Lio/netty/handler/codec/http2/Http2Headers;
0 14 3 endOfStream Z
3 14 4 encoding Ljava/lang/CharSequence;
6 14 5 compressor Lio/netty/channel/embedded/EmbeddedChannel;
8 13 6 targetContentEncoding Ljava/lang/CharSequence;
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
ctx
headers
endOfStream
private void bindCompressorToStream(io.netty.channel.embedded.EmbeddedChannel, int);
descriptor: (Lio/netty/channel/embedded/EmbeddedChannel;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 4
1: aload 0
invokevirtual io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.connection:()Lio/netty/handler/codec/http2/Http2Connection;
iload 2
invokeinterface io.netty.handler.codec.http2.Http2Connection.stream:(I)Lio/netty/handler/codec/http2/Http2Stream;
astore 3
start local 3 2: aload 3
ifnull 4
3: aload 3
aload 0
getfield io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.propertyKey:Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;
aload 1
invokeinterface io.netty.handler.codec.http2.Http2Stream.setProperty:(Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;
0 5 1 compressor Lio/netty/channel/embedded/EmbeddedChannel;
0 5 2 streamId I
2 4 3 stream Lio/netty/handler/codec/http2/Http2Stream;
MethodParameters:
Name Flags
compressor
streamId
void cleanup(io.netty.handler.codec.http2.Http2Stream, io.netty.channel.embedded.EmbeddedChannel);
descriptor: (Lio/netty/handler/codec/http2/Http2Stream;Lio/netty/channel/embedded/EmbeddedChannel;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual io.netty.channel.embedded.EmbeddedChannel.finish:()Z
ifeq 6
1: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.netty.channel.embedded.EmbeddedChannel.readOutbound:()Ljava/lang/Object;
checkcast io.netty.buffer.ByteBuf
astore 3
start local 3 2: aload 3
ifnonnull 4
3: goto 6
4: StackMap locals: io.netty.buffer.ByteBuf
StackMap stack:
aload 3
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
end local 3 5: goto 1
6: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder.propertyKey:Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;
invokeinterface io.netty.handler.codec.http2.Http2Stream.removeProperty:(Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;)Ljava/lang/Object;
pop
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder;
0 8 1 stream Lio/netty/handler/codec/http2/Http2Stream;
0 8 2 compressor Lio/netty/channel/embedded/EmbeddedChannel;
2 5 3 buf Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
stream
compressor
private static io.netty.buffer.ByteBuf nextReadableBuf(io.netty.channel.embedded.EmbeddedChannel);
descriptor: (Lio/netty/channel/embedded/EmbeddedChannel;)Lio/netty/buffer/ByteBuf;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.channel.embedded.EmbeddedChannel.readOutbound:()Ljava/lang/Object;
checkcast io.netty.buffer.ByteBuf
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: io.netty.buffer.ByteBuf
StackMap stack:
aload 1
invokevirtual io.netty.buffer.ByteBuf.isReadable:()Z
ifne 6
4: aload 1
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
5: goto 0
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 compressor Lio/netty/channel/embedded/EmbeddedChannel;
1 7 1 buf Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
compressor
}
SourceFile: "CompressorHttp2ConnectionEncoder.java"
NestMembers:
io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder$1
InnerClasses:
io.netty.handler.codec.http2.CompressorHttp2ConnectionEncoder$1
public abstract Listener = io.netty.handler.codec.http2.Http2Connection$Listener of io.netty.handler.codec.http2.Http2Connection
public abstract PropertyKey = io.netty.handler.codec.http2.Http2Connection$PropertyKey of io.netty.handler.codec.http2.Http2Connection