public class io.netty.handler.codec.http.HttpClientUpgradeHandler extends io.netty.handler.codec.http.HttpObjectAggregator implements io.netty.channel.ChannelOutboundHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.http.HttpClientUpgradeHandler
super_class: io.netty.handler.codec.http.HttpObjectAggregator
{
private final io.netty.handler.codec.http.HttpClientUpgradeHandler$SourceCodec sourceCodec;
descriptor: Lio/netty/handler/codec/http/HttpClientUpgradeHandler$SourceCodec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeCodec upgradeCodec;
descriptor: Lio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeCodec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean upgradeRequested;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/netty/handler/codec/http/HttpClientUpgradeHandler;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic io.netty.handler.codec.http.HttpClientUpgradeHandler.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.netty.handler.codec.http.HttpClientUpgradeHandler$SourceCodec, io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeCodec, int);
descriptor: (Lio/netty/handler/codec/http/HttpClientUpgradeHandler$SourceCodec;Lio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeCodec;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
invokespecial io.netty.handler.codec.http.HttpObjectAggregator.<init>:(I)V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "sourceCodec"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.handler.codec.http.HttpClientUpgradeHandler io.netty.handler.codec.http.HttpClientUpgradeHandler$SourceCodec io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeCodec int
StackMap stack:
aload 2
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "upgradeCodec"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.http.HttpClientUpgradeHandler.sourceCodec:Lio/netty/handler/codec/http/HttpClientUpgradeHandler$SourceCodec;
6: aload 0
aload 2
putfield io.netty.handler.codec.http.HttpClientUpgradeHandler.upgradeCodec:Lio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeCodec;
7: return
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/http/HttpClientUpgradeHandler;
0 8 1 sourceCodec Lio/netty/handler/codec/http/HttpClientUpgradeHandler$SourceCodec;
0 8 2 upgradeCodec Lio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeCodec;
0 8 3 maxContentLength I
MethodParameters:
Name Flags
sourceCodec
upgradeCodec
maxContentLength
public void bind(io.netty.channel.ChannelHandlerContext, java.net.SocketAddress, io.netty.channel.ChannelPromise);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
invokeinterface io.netty.channel.ChannelHandlerContext.bind:(Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
pop
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/HttpClientUpgradeHandler;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 2 2 localAddress Ljava/net/SocketAddress;
0 2 3 promise Lio/netty/channel/ChannelPromise;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
localAddress
promise
public void connect(io.netty.channel.ChannelHandlerContext, java.net.SocketAddress, java.net.SocketAddress, io.netty.channel.ChannelPromise);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 2
aload 3
aload 4
invokeinterface io.netty.channel.ChannelHandlerContext.connect:(Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
pop
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/HttpClientUpgradeHandler;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 2 2 remoteAddress Ljava/net/SocketAddress;
0 2 3 localAddress Ljava/net/SocketAddress;
0 2 4 promise Lio/netty/channel/ChannelPromise;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
remoteAddress
localAddress
promise
public void disconnect(io.netty.channel.ChannelHandlerContext, io.netty.channel.ChannelPromise);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokeinterface io.netty.channel.ChannelHandlerContext.disconnect:(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/HttpClientUpgradeHandler;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 2 2 promise Lio/netty/channel/ChannelPromise;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
promise
public void close(io.netty.channel.ChannelHandlerContext, io.netty.channel.ChannelPromise);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokeinterface io.netty.channel.ChannelHandlerContext.close:(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/HttpClientUpgradeHandler;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 2 2 promise Lio/netty/channel/ChannelPromise;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
promise
public void deregister(io.netty.channel.ChannelHandlerContext, io.netty.channel.ChannelPromise);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokeinterface io.netty.channel.ChannelHandlerContext.deregister:(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/HttpClientUpgradeHandler;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 2 2 promise Lio/netty/channel/ChannelPromise;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
promise
public void read(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.read:()Lio/netty/channel/ChannelHandlerContext;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/HttpClientUpgradeHandler;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
public void write(io.netty.channel.ChannelHandlerContext, java.lang.Object, io.netty.channel.ChannelPromise);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
instanceof io.netty.handler.codec.http.HttpRequest
ifne 3
1: aload 1
aload 2
aload 3
invokeinterface io.netty.channel.ChannelHandlerContext.write:(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
pop
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.HttpClientUpgradeHandler.upgradeRequested:Z
ifeq 8
4: aload 3
new java.lang.IllegalStateException
dup
5: ldc "Attempting to write HTTP request with upgrade in progress"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
6: invokeinterface io.netty.channel.ChannelPromise.setFailure:(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise;
pop
7: return
8: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.netty.handler.codec.http.HttpClientUpgradeHandler.upgradeRequested:Z
9: aload 0
aload 1
aload 2
checkcast io.netty.handler.codec.http.HttpRequest
invokevirtual io.netty.handler.codec.http.HttpClientUpgradeHandler.setUpgradeRequestHeaders:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpRequest;)V
10: aload 1
aload 2
aload 3
invokeinterface io.netty.channel.ChannelHandlerContext.write:(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
pop
11: aload 1
getstatic io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeEvent.UPGRADE_ISSUED:Lio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeEvent;
invokeinterface io.netty.channel.ChannelHandlerContext.fireUserEventTriggered:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
12: return
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/http/HttpClientUpgradeHandler;
0 13 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 13 2 msg Ljava/lang/Object;
0 13 3 promise Lio/netty/channel/ChannelPromise;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
msg
promise
public void flush(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.flush:()Lio/netty/channel/ChannelHandlerContext;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/HttpClientUpgradeHandler;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
protected void decode(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.http.HttpObject, java.util.List<java.lang.Object>);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpObject;Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 0
getfield io.netty.handler.codec.http.HttpClientUpgradeHandler.upgradeRequested:Z
ifne 3
2: new java.lang.IllegalStateException
dup
ldc "Read HTTP response without requesting protocol switch"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.handler.codec.http.FullHttpResponse
StackMap stack:
aload 2
instanceof io.netty.handler.codec.http.HttpResponse
ifeq 10
4: aload 2
checkcast io.netty.handler.codec.http.HttpResponse
astore 5
start local 5 5: getstatic io.netty.handler.codec.http.HttpResponseStatus.SWITCHING_PROTOCOLS:Lio/netty/handler/codec/http/HttpResponseStatus;
aload 5
invokeinterface io.netty.handler.codec.http.HttpResponse.status:()Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.equals:(Ljava/lang/Object;)Z
ifne 10
6: aload 1
getstatic io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeEvent.UPGRADE_REJECTED:Lio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeEvent;
invokeinterface io.netty.channel.ChannelHandlerContext.fireUserEventTriggered:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
7: aload 1
invokestatic io.netty.handler.codec.http.HttpClientUpgradeHandler.removeThisHandler:(Lio/netty/channel/ChannelHandlerContext;)V
8: aload 1
aload 2
invokeinterface io.netty.channel.ChannelHandlerContext.fireChannelRead:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
9: return
end local 5 10: StackMap locals:
StackMap stack:
aload 2
instanceof io.netty.handler.codec.http.FullHttpResponse
ifeq 15
11: aload 2
checkcast io.netty.handler.codec.http.FullHttpResponse
astore 4
12: aload 4
invokeinterface io.netty.handler.codec.http.FullHttpResponse.retain:()Lio/netty/handler/codec/http/FullHttpResponse;
pop
13: aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: goto 20
15: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokespecial io.netty.handler.codec.http.HttpObjectAggregator.decode:(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V
16: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 18
17: return
18: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.http.HttpClientUpgradeHandler.$assertionsDisabled:Z
ifne 19
aload 3
invokeinterface java.util.List.size:()I
iconst_1
if_icmpeq 19
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
19: StackMap locals:
StackMap stack:
aload 3
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast io.netty.handler.codec.http.FullHttpResponse
astore 4
20: StackMap locals:
StackMap stack:
aload 4
invokeinterface io.netty.handler.codec.http.FullHttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.UPGRADE:Lio/netty/util/AsciiString;
invokevirtual io.netty.handler.codec.http.HttpHeaders.get:(Ljava/lang/CharSequence;)Ljava/lang/String;
astore 5
start local 5 21: aload 5
ifnull 25
aload 0
getfield io.netty.handler.codec.http.HttpClientUpgradeHandler.upgradeCodec:Lio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeCodec;
invokeinterface io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeCodec.protocol:()Ljava/lang/CharSequence;
aload 5
invokestatic io.netty.util.AsciiString.contentEqualsIgnoreCase:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
ifne 25
22: new java.lang.IllegalStateException
dup
23: new java.lang.StringBuilder
dup
ldc "Switching Protocols response with unexpected UPGRADE protocol: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
24: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals: java.lang.CharSequence
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.HttpClientUpgradeHandler.sourceCodec:Lio/netty/handler/codec/http/HttpClientUpgradeHandler$SourceCodec;
aload 1
invokeinterface io.netty.handler.codec.http.HttpClientUpgradeHandler$SourceCodec.prepareUpgradeFrom:(Lio/netty/channel/ChannelHandlerContext;)V
26: aload 0
getfield io.netty.handler.codec.http.HttpClientUpgradeHandler.upgradeCodec:Lio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeCodec;
aload 1
aload 4
invokeinterface io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeCodec.upgradeTo:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpResponse;)V
27: aload 1
getstatic io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeEvent.UPGRADE_SUCCESSFUL:Lio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeEvent;
invokeinterface io.netty.channel.ChannelHandlerContext.fireUserEventTriggered:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
28: aload 0
getfield io.netty.handler.codec.http.HttpClientUpgradeHandler.sourceCodec:Lio/netty/handler/codec/http/HttpClientUpgradeHandler$SourceCodec;
aload 1
invokeinterface io.netty.handler.codec.http.HttpClientUpgradeHandler$SourceCodec.upgradeFrom:(Lio/netty/channel/ChannelHandlerContext;)V
29: aload 4
invokeinterface io.netty.handler.codec.http.FullHttpResponse.release:()Z
pop
30: aload 3
invokeinterface java.util.List.clear:()V
31: aload 1
invokestatic io.netty.handler.codec.http.HttpClientUpgradeHandler.removeThisHandler:(Lio/netty/channel/ChannelHandlerContext;)V
end local 5 32: goto 37
StackMap locals: io.netty.handler.codec.http.HttpClientUpgradeHandler io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http.HttpObject java.util.List io.netty.handler.codec.http.FullHttpResponse
StackMap stack: java.lang.Throwable
33: astore 5
start local 5 34: aload 4
invokestatic io.netty.util.ReferenceCountUtil.release:(Ljava/lang/Object;)Z
pop
35: aload 1
aload 5
invokeinterface io.netty.channel.ChannelHandlerContext.fireExceptionCaught:(Ljava/lang/Throwable;)Lio/netty/channel/ChannelHandlerContext;
pop
36: aload 1
invokestatic io.netty.handler.codec.http.HttpClientUpgradeHandler.removeThisHandler:(Lio/netty/channel/ChannelHandlerContext;)V
end local 5 37: StackMap locals:
StackMap stack:
return
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/HttpClientUpgradeHandler;
0 38 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 38 2 msg Lio/netty/handler/codec/http/HttpObject;
0 38 3 out Ljava/util/List<Ljava/lang/Object;>;
1 38 4 response Lio/netty/handler/codec/http/FullHttpResponse;
5 10 5 rep Lio/netty/handler/codec/http/HttpResponse;
21 32 5 upgradeHeader Ljava/lang/CharSequence;
34 37 5 t Ljava/lang/Throwable;
Exception table:
from to target type
1 9 33 Class java.lang.Throwable
10 17 33 Class java.lang.Throwable
18 32 33 Class java.lang.Throwable
Exceptions:
throws java.lang.Exception
Signature: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpObject;Ljava/util/List<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
ctx
msg
out
private static void removeThisHandler(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
aload 0
invokeinterface io.netty.channel.ChannelHandlerContext.name:()Ljava/lang/String;
invokeinterface io.netty.channel.ChannelPipeline.remove:(Ljava/lang/String;)Lio/netty/channel/ChannelHandler;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ctx Lio/netty/channel/ChannelHandlerContext;
MethodParameters:
Name Flags
ctx
private void setUpgradeRequestHeaders(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.http.HttpRequest);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpRequest;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.UPGRADE:Lio/netty/util/AsciiString;
aload 0
getfield io.netty.handler.codec.http.HttpClientUpgradeHandler.upgradeCodec:Lio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeCodec;
invokeinterface io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeCodec.protocol:()Ljava/lang/CharSequence;
invokevirtual io.netty.handler.codec.http.HttpHeaders.set:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
1: new java.util.LinkedHashSet
dup
iconst_2
invokespecial java.util.LinkedHashSet.<init>:(I)V
astore 3
start local 3 2: aload 3
aload 0
getfield io.netty.handler.codec.http.HttpClientUpgradeHandler.upgradeCodec:Lio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeCodec;
aload 1
aload 2
invokeinterface io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeCodec.setUpgradeHeaders:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpRequest;)Ljava/util/Collection;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
3: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 4: aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: io.netty.handler.codec.http.HttpClientUpgradeHandler io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http.HttpRequest java.util.Set java.lang.StringBuilder top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.CharSequence
astore 5
start local 5 6: aload 4
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
pop
7: aload 4
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: aload 4
getstatic io.netty.handler.codec.http.HttpHeaderValues.UPGRADE:Lio/netty/util/AsciiString;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
pop
10: aload 2
invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.CONNECTION:Lio/netty/util/AsciiString;
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.netty.handler.codec.http.HttpHeaders.add:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/netty/handler/codec/http/HttpClientUpgradeHandler;
0 12 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 12 2 request Lio/netty/handler/codec/http/HttpRequest;
2 12 3 connectionParts Ljava/util/Set<Ljava/lang/CharSequence;>;
4 12 4 builder Ljava/lang/StringBuilder;
6 8 5 part Ljava/lang/CharSequence;
MethodParameters:
Name Flags
ctx
request
protected void decode(io.netty.channel.ChannelHandlerContext, java.lang.Object, java.util.List);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
checkcast io.netty.handler.codec.http.HttpObject
aload 3
invokevirtual io.netty.handler.codec.http.HttpClientUpgradeHandler.decode:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpObject;Ljava/util/List;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
SourceFile: "HttpClientUpgradeHandler.java"
NestMembers:
io.netty.handler.codec.http.HttpClientUpgradeHandler$SourceCodec io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeCodec io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeEvent
InnerClasses:
public abstract SourceCodec = io.netty.handler.codec.http.HttpClientUpgradeHandler$SourceCodec of io.netty.handler.codec.http.HttpClientUpgradeHandler
public abstract UpgradeCodec = io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeCodec of io.netty.handler.codec.http.HttpClientUpgradeHandler
public final UpgradeEvent = io.netty.handler.codec.http.HttpClientUpgradeHandler$UpgradeEvent of io.netty.handler.codec.http.HttpClientUpgradeHandler