public final class io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker implements io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandshaker
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker
super_class: java.lang.Object
{
public static final int MIN_WINDOW_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int MAX_WINDOW_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 15
static final java.lang.String PERMESSAGE_DEFLATE_EXTENSION;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "permessage-deflate"
static final java.lang.String CLIENT_MAX_WINDOW;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "client_max_window_bits"
static final java.lang.String SERVER_MAX_WINDOW;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "server_max_window_bits"
static final java.lang.String CLIENT_NO_CONTEXT;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "client_no_context_takeover"
static final java.lang.String SERVER_NO_CONTEXT;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "server_no_context_takeover"
private final int compressionLevel;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean allowServerWindowSize;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int preferredClientWindowSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean allowServerNoContext;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean preferredClientNoContext;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
bipush 6
invokestatic io.netty.handler.codec.compression.ZlibCodecFactory.isSupportingWindowSizeAndMemLevel:()Z
bipush 15
iconst_0
iconst_0
invokespecial io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker.<init>:(IZIZZ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/websocketx/extensions/compression/PerMessageDeflateServerExtensionHandshaker;
public void <init>(int, boolean, int, boolean, boolean);
descriptor: (IZIZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 3
bipush 15
if_icmpgt 2
iload 3
bipush 8
if_icmpge 5
2: StackMap locals: io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker int int int int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
3: new java.lang.StringBuilder
dup
ldc "preferredServerWindowSize: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " (expected: 8-15)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
iload 1
iflt 6
iload 1
bipush 9
if_icmple 9
6: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
7: new java.lang.StringBuilder
dup
ldc "compressionLevel: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
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;
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker.compressionLevel:I
10: aload 0
iload 2
putfield io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker.allowServerWindowSize:Z
11: aload 0
iload 3
putfield io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker.preferredClientWindowSize:I
12: aload 0
iload 4
putfield io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker.allowServerNoContext:Z
13: aload 0
iload 5
putfield io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker.preferredClientNoContext:Z
14: return
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 15 0 this Lio/netty/handler/codec/http/websocketx/extensions/compression/PerMessageDeflateServerExtensionHandshaker;
0 15 1 compressionLevel I
0 15 2 allowServerWindowSize Z
0 15 3 preferredClientWindowSize I
0 15 4 allowServerNoContext Z
0 15 5 preferredClientNoContext Z
MethodParameters:
Name Flags
compressionLevel
allowServerWindowSize
preferredClientWindowSize
allowServerNoContext
preferredClientNoContext
public io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtension handshakeExtension(io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionData);
descriptor: (Lio/netty/handler/codec/http/websocketx/extensions/WebSocketExtensionData;)Lio/netty/handler/codec/http/websocketx/extensions/WebSocketServerExtension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=2
start local 0 start local 1 0: ldc "permessage-deflate"
aload 1
invokevirtual io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionData.name:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
iconst_1
istore 2
start local 2 3: bipush 15
istore 3
start local 3 4: bipush 15
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: iconst_0
istore 6
start local 6 7: aload 1
invokevirtual io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionData.parameters:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
8: astore 7
start local 7 9: goto 32
10: StackMap locals: io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker io.netty.handler.codec.http.websocketx.extensions.WebSocketExtensionData int int int int int java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 8
start local 8 11: ldc "client_max_window_bits"
aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 14
12: aload 0
getfield io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker.preferredClientWindowSize:I
istore 3
13: goto 32
StackMap locals: java.util.Map$Entry
StackMap stack:
14: ldc "server_max_window_bits"
aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 22
15: aload 0
getfield io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker.allowServerWindowSize:Z
ifeq 20
16: aload 8
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
17: iload 4
bipush 15
if_icmpgt 18
iload 4
bipush 8
if_icmpge 32
18: StackMap locals:
StackMap stack:
iconst_0
istore 2
19: goto 32
20: StackMap locals:
StackMap stack:
iconst_0
istore 2
21: goto 32
StackMap locals:
StackMap stack:
22: ldc "client_no_context_takeover"
aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 25
23: aload 0
getfield io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker.preferredClientNoContext:Z
istore 6
24: goto 32
StackMap locals:
StackMap stack:
25: ldc "server_no_context_takeover"
aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 31
26: aload 0
getfield io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker.allowServerNoContext:Z
ifeq 29
27: iconst_1
istore 5
28: goto 32
29: StackMap locals:
StackMap stack:
iconst_0
istore 2
30: goto 32
31: StackMap locals:
StackMap stack:
iconst_0
istore 2
end local 8 32: StackMap locals:
StackMap stack:
iload 2
ifeq 33
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
33: StackMap locals:
StackMap stack:
iload 2
ifeq 37
34: new io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker$PermessageDeflateExtension
dup
aload 0
getfield io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker.compressionLevel:I
iload 5
35: iload 4
iload 6
iload 3
36: invokespecial io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker$PermessageDeflateExtension.<init>:(IZIZI)V
areturn
37: StackMap locals:
StackMap stack:
aconst_null
areturn
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 38 0 this Lio/netty/handler/codec/http/websocketx/extensions/compression/PerMessageDeflateServerExtensionHandshaker;
0 38 1 extensionData Lio/netty/handler/codec/http/websocketx/extensions/WebSocketExtensionData;
3 38 2 deflateEnabled Z
4 38 3 clientWindowSize I
5 38 4 serverWindowSize I
6 38 5 serverNoContext Z
7 38 6 clientNoContext Z
9 38 7 parametersIterator Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;>;
11 32 8 parameter Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
extensionData
}
SourceFile: "PerMessageDeflateServerExtensionHandshaker.java"
NestMembers:
io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker$PermessageDeflateExtension
InnerClasses:
private PermessageDeflateExtension = io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker$PermessageDeflateExtension of io.netty.handler.codec.http.websocketx.extensions.compression.PerMessageDeflateServerExtensionHandshaker
public abstract Entry = java.util.Map$Entry of java.util.Map