class io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler extends io.netty.channel.ChannelInboundHandlerAdapter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler
super_class: io.netty.channel.ChannelInboundHandlerAdapter
{
private final io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker handshaker;
descriptor: Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker);
descriptor: (Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler this
start local 1 // io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker handshaker
0: .line 27
aload 0 /* this */
invokespecial io.netty.channel.ChannelInboundHandlerAdapter.<init>:()V
1: .line 28
aload 0 /* this */
aload 1 /* handshaker */
putfield io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler.handshaker:Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
2: .line 29
return
end local 1 // io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker handshaker
end local 0 // io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler;
0 3 1 handshaker Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
MethodParameters:
Name Flags
handshaker
public void channelActive(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 // io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler this
start local 1 // io.netty.channel.ChannelHandlerContext ctx
0: .line 33
aload 0 /* this */
aload 1 /* ctx */
invokespecial io.netty.channel.ChannelInboundHandlerAdapter.channelActive:(Lio/netty/channel/ChannelHandlerContext;)V
1: .line 34
aload 0 /* this */
getfield io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler.handshaker:Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
aload 1 /* ctx */
invokeinterface io.netty.channel.ChannelHandlerContext.channel:()Lio/netty/channel/Channel;
invokevirtual io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker.handshake:(Lio/netty/channel/Channel;)Lio/netty/channel/ChannelFuture;
new io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler$1
dup
aload 0 /* this */
aload 1 /* ctx */
invokespecial io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler$1.<init>:(Lio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler;Lio/netty/channel/ChannelHandlerContext;)V
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
2: .line 45
return
end local 1 // io.netty.channel.ChannelHandlerContext ctx
end local 0 // io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler;
0 3 1 ctx Lio/netty/channel/ChannelHandlerContext;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx final
public void channelRead(io.netty.channel.ChannelHandlerContext, java.lang.Object);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 // io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler this
start local 1 // io.netty.channel.ChannelHandlerContext ctx
start local 2 // java.lang.Object msg
0: .line 49
aload 2 /* msg */
instanceof io.netty.handler.codec.http.FullHttpResponse
ifne 3
1: .line 50
aload 1 /* ctx */
aload 2 /* msg */
invokeinterface io.netty.channel.ChannelHandlerContext.fireChannelRead:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
2: .line 51
return
3: .line 54
StackMap locals:
StackMap stack:
aload 2 /* msg */
checkcast io.netty.handler.codec.http.FullHttpResponse
astore 3 /* response */
start local 3 // io.netty.handler.codec.http.FullHttpResponse response
4: .line 56
aload 0 /* this */
getfield io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler.handshaker:Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
invokevirtual io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker.isHandshakeComplete:()Z
ifne 12
5: .line 57
aload 0 /* this */
getfield io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler.handshaker:Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;
aload 1 /* ctx */
invokeinterface io.netty.channel.ChannelHandlerContext.channel:()Lio/netty/channel/Channel;
aload 3 /* response */
invokevirtual io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker.finishHandshake:(Lio/netty/channel/Channel;Lio/netty/handler/codec/http/FullHttpResponse;)V
6: .line 58
aload 1 /* ctx */
7: .line 59
getstatic io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler$ClientHandshakeStateEvent.HANDSHAKE_COMPLETE:Lio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandler$ClientHandshakeStateEvent;
8: .line 58
invokeinterface io.netty.channel.ChannelHandlerContext.fireUserEventTriggered:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
9: .line 60
aload 1 /* ctx */
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
aload 0 /* this */
invokeinterface io.netty.channel.ChannelPipeline.remove:(Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
10: .line 65
aload 3 /* response */
invokeinterface io.netty.handler.codec.http.FullHttpResponse.release:()Z
pop
11: .line 61
return
12: .line 63
StackMap locals: io.netty.handler.codec.http.FullHttpResponse
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "WebSocketClientHandshaker should have been non finished yet"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
13: .line 64
StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
14: .line 65
aload 3 /* response */
invokeinterface io.netty.handler.codec.http.FullHttpResponse.release:()Z
pop
15: .line 66
aload 4
athrow
end local 3 // io.netty.handler.codec.http.FullHttpResponse response
end local 2 // java.lang.Object msg
end local 1 // io.netty.channel.ChannelHandlerContext ctx
end local 0 // io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler;
0 16 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 16 2 msg Ljava/lang/Object;
4 16 3 response Lio/netty/handler/codec/http/FullHttpResponse;
Exception table:
from to target type
4 10 13 any
12 13 13 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
msg
}
SourceFile: "WebSocketClientProtocolHandshakeHandler.java"
NestMembers:
io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler$1
InnerClasses:
public final ClientHandshakeStateEvent = io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler$ClientHandshakeStateEvent of io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler
io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler$1