public final class io.netty.handler.codec.http.websocketx.WebSocketClientHandshakerFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http.websocketx.WebSocketClientHandshakerFactory
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshakerFactory;
public static io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker newHandshaker(java.net.URI, io.netty.handler.codec.http.websocketx.WebSocketVersion, java.lang.String, boolean, io.netty.handler.codec.http.HttpHeaders);
descriptor: (Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;)Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, 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
aload 2
iload 3
aload 4
ldc 65536
invokestatic io.netty.handler.codec.http.websocketx.WebSocketClientHandshakerFactory.newHandshaker:(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;I)Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 webSocketURL Ljava/net/URI;
0 1 1 version Lio/netty/handler/codec/http/websocketx/WebSocketVersion;
0 1 2 subprotocol Ljava/lang/String;
0 1 3 allowExtensions Z
0 1 4 customHeaders Lio/netty/handler/codec/http/HttpHeaders;
MethodParameters:
Name Flags
webSocketURL
version
subprotocol
allowExtensions
customHeaders
public static io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker newHandshaker(java.net.URI, io.netty.handler.codec.http.websocketx.WebSocketVersion, java.lang.String, boolean, io.netty.handler.codec.http.HttpHeaders, int);
descriptor: (Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;I)Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, 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
aload 1
aload 2
iload 3
aload 4
1: iload 5
iconst_1
iconst_0
2: invokestatic io.netty.handler.codec.http.websocketx.WebSocketClientHandshakerFactory.newHandshaker:(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;IZZ)Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
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 3 0 webSocketURL Ljava/net/URI;
0 3 1 version Lio/netty/handler/codec/http/websocketx/WebSocketVersion;
0 3 2 subprotocol Ljava/lang/String;
0 3 3 allowExtensions Z
0 3 4 customHeaders Lio/netty/handler/codec/http/HttpHeaders;
0 3 5 maxFramePayloadLength I
MethodParameters:
Name Flags
webSocketURL
version
subprotocol
allowExtensions
customHeaders
maxFramePayloadLength
public static io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker newHandshaker(java.net.URI, io.netty.handler.codec.http.websocketx.WebSocketVersion, java.lang.String, boolean, io.netty.handler.codec.http.HttpHeaders, int, boolean, boolean);
descriptor: (Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;IZZ)Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 1
getstatic io.netty.handler.codec.http.websocketx.WebSocketVersion.V13:Lio/netty/handler/codec/http/websocketx/WebSocketVersion;
if_acmpne 5
1: new io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker13
dup
2: aload 0
getstatic io.netty.handler.codec.http.websocketx.WebSocketVersion.V13:Lio/netty/handler/codec/http/websocketx/WebSocketVersion;
aload 2
iload 3
aload 4
3: iload 5
iload 6
iload 7
4: invokespecial io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker13.<init>:(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;IZZ)V
areturn
5: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.handler.codec.http.websocketx.WebSocketVersion.V08:Lio/netty/handler/codec/http/websocketx/WebSocketVersion;
if_acmpne 10
6: new io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker08
dup
7: aload 0
getstatic io.netty.handler.codec.http.websocketx.WebSocketVersion.V08:Lio/netty/handler/codec/http/websocketx/WebSocketVersion;
aload 2
iload 3
aload 4
8: iload 5
iload 6
iload 7
9: invokespecial io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker08.<init>:(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;IZZ)V
areturn
10: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.handler.codec.http.websocketx.WebSocketVersion.V07:Lio/netty/handler/codec/http/websocketx/WebSocketVersion;
if_acmpne 15
11: new io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker07
dup
12: aload 0
getstatic io.netty.handler.codec.http.websocketx.WebSocketVersion.V07:Lio/netty/handler/codec/http/websocketx/WebSocketVersion;
aload 2
iload 3
aload 4
13: iload 5
iload 6
iload 7
14: invokespecial io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker07.<init>:(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;IZZ)V
areturn
15: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.handler.codec.http.websocketx.WebSocketVersion.V00:Lio/netty/handler/codec/http/websocketx/WebSocketVersion;
if_acmpne 19
16: new io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker00
dup
17: aload 0
getstatic io.netty.handler.codec.http.websocketx.WebSocketVersion.V00:Lio/netty/handler/codec/http/websocketx/WebSocketVersion;
aload 2
aload 4
iload 5
18: invokespecial io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker00.<init>:(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;Lio/netty/handler/codec/http/HttpHeaders;I)V
areturn
19: StackMap locals:
StackMap stack:
new io.netty.handler.codec.http.websocketx.WebSocketHandshakeException
dup
new java.lang.StringBuilder
dup
ldc "Protocol version "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " not supported."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial io.netty.handler.codec.http.websocketx.WebSocketHandshakeException.<init>:(Ljava/lang/String;)V
athrow
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 20 0 webSocketURL Ljava/net/URI;
0 20 1 version Lio/netty/handler/codec/http/websocketx/WebSocketVersion;
0 20 2 subprotocol Ljava/lang/String;
0 20 3 allowExtensions Z
0 20 4 customHeaders Lio/netty/handler/codec/http/HttpHeaders;
0 20 5 maxFramePayloadLength I
0 20 6 performMasking Z
0 20 7 allowMaskMismatch Z
MethodParameters:
Name Flags
webSocketURL
version
subprotocol
allowExtensions
customHeaders
maxFramePayloadLength
performMasking
allowMaskMismatch
}
SourceFile: "WebSocketClientHandshakerFactory.java"