class io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker$1 implements io.netty.channel.ChannelFutureListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker$1
super_class: java.lang.Object
{
final io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker this$0;
descriptor: Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final io.netty.channel.ChannelPromise val$promise;
descriptor: Lio/netty/channel/ChannelPromise;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker, io.netty.channel.ChannelPromise);
descriptor: (Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;Lio/netty/channel/ChannelPromise;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker$1.this$0:Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
aload 0
aload 2
putfield io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker$1.val$promise:Lio/netty/channel/ChannelPromise;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker$1;
MethodParameters:
Name Flags
this$0 final
val$promise final
public void operationComplete(io.netty.channel.ChannelFuture);
descriptor: (Lio/netty/channel/ChannelFuture;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.channel.ChannelFuture.isSuccess:()Z
ifeq 11
1: aload 1
invokeinterface io.netty.channel.ChannelFuture.channel:()Lio/netty/channel/Channel;
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 2
start local 2 2: aload 2
ldc Lio/netty/handler/codec/http/HttpRequestEncoder;
invokeinterface io.netty.channel.ChannelPipeline.context:(Ljava/lang/Class;)Lio/netty/channel/ChannelHandlerContext;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: aload 2
ldc Lio/netty/handler/codec/http/HttpClientCodec;
invokeinterface io.netty.channel.ChannelPipeline.context:(Ljava/lang/Class;)Lio/netty/channel/ChannelHandlerContext;
astore 3
5: StackMap locals: io.netty.channel.ChannelPipeline io.netty.channel.ChannelHandlerContext
StackMap stack:
aload 3
ifnonnull 8
6: aload 0
getfield io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker$1.val$promise:Lio/netty/channel/ChannelPromise;
new java.lang.IllegalStateException
dup
ldc "ChannelPipeline does not contain a HttpRequestEncoder or HttpClientCodec"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
invokeinterface io.netty.channel.ChannelPromise.setFailure:(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise;
pop
7: return
8: StackMap locals:
StackMap stack:
aload 2
aload 3
invokeinterface io.netty.channel.ChannelHandlerContext.name:()Ljava/lang/String;
ldc "ws-encoder"
aload 0
getfield io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker$1.this$0:Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
invokevirtual io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker.newWebSocketEncoder:()Lio/netty/handler/codec/http/websocketx/WebSocketFrameEncoder;
invokeinterface io.netty.channel.ChannelPipeline.addAfter:(Ljava/lang/String;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
9: aload 0
getfield io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker$1.val$promise:Lio/netty/channel/ChannelPromise;
invokeinterface io.netty.channel.ChannelPromise.setSuccess:()Lio/netty/channel/ChannelPromise;
pop
end local 3 end local 2 10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker$1.val$promise:Lio/netty/channel/ChannelPromise;
aload 1
invokeinterface io.netty.channel.ChannelFuture.cause:()Ljava/lang/Throwable;
invokeinterface io.netty.channel.ChannelPromise.setFailure:(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise;
pop
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker$1;
0 13 1 future Lio/netty/channel/ChannelFuture;
2 10 2 p Lio/netty/channel/ChannelPipeline;
3 10 3 ctx Lio/netty/channel/ChannelHandlerContext;
MethodParameters:
Name Flags
future
public void operationComplete(io.netty.util.concurrent.Future);
descriptor: (Lio/netty/util/concurrent/Future;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.netty.channel.ChannelFuture
invokevirtual io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker$1.operationComplete:(Lio/netty/channel/ChannelFuture;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
SourceFile: "WebSocketClientHandshaker.java"
EnclosingMethod: io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker.handshake:(Lio/netty/channel/Channel;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
NestHost: io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker
InnerClasses:
io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker$1