public class io.netty.handler.codec.http.HttpServerUpgradeHandler extends io.netty.handler.codec.http.HttpObjectAggregator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.http.HttpServerUpgradeHandler
super_class: io.netty.handler.codec.http.HttpObjectAggregator
{
private final io.netty.handler.codec.http.HttpServerUpgradeHandler$SourceCodec sourceCodec;
descriptor: Lio/netty/handler/codec/http/HttpServerUpgradeHandler$SourceCodec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodecFactory upgradeCodecFactory;
descriptor: Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodecFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean handlingUpgrade;
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/HttpServerUpgradeHandler;
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.HttpServerUpgradeHandler.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.netty.handler.codec.http.HttpServerUpgradeHandler$SourceCodec, io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodecFactory);
descriptor: (Lio/netty/handler/codec/http/HttpServerUpgradeHandler$SourceCodec;Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodecFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokespecial io.netty.handler.codec.http.HttpServerUpgradeHandler.<init>:(Lio/netty/handler/codec/http/HttpServerUpgradeHandler$SourceCodec;Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodecFactory;I)V
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/HttpServerUpgradeHandler;
0 2 1 sourceCodec Lio/netty/handler/codec/http/HttpServerUpgradeHandler$SourceCodec;
0 2 2 upgradeCodecFactory Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodecFactory;
MethodParameters:
Name Flags
sourceCodec
upgradeCodecFactory
public void <init>(io.netty.handler.codec.http.HttpServerUpgradeHandler$SourceCodec, io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodecFactory, int);
descriptor: (Lio/netty/handler/codec/http/HttpServerUpgradeHandler$SourceCodec;Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodecFactory;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 0
aload 1
ldc "sourceCodec"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.codec.http.HttpServerUpgradeHandler$SourceCodec
putfield io.netty.handler.codec.http.HttpServerUpgradeHandler.sourceCodec:Lio/netty/handler/codec/http/HttpServerUpgradeHandler$SourceCodec;
2: aload 0
aload 2
ldc "upgradeCodecFactory"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodecFactory
putfield io.netty.handler.codec.http.HttpServerUpgradeHandler.upgradeCodecFactory:Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodecFactory;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http/HttpServerUpgradeHandler;
0 4 1 sourceCodec Lio/netty/handler/codec/http/HttpServerUpgradeHandler$SourceCodec;
0 4 2 upgradeCodecFactory Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodecFactory;
0 4 3 maxContentLength I
MethodParameters:
Name Flags
sourceCodec
upgradeCodecFactory
maxContentLength
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=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
dup
getfield io.netty.handler.codec.http.HttpServerUpgradeHandler.handlingUpgrade:Z
aload 2
invokestatic io.netty.handler.codec.http.HttpServerUpgradeHandler.isUpgradeRequest:(Lio/netty/handler/codec/http/HttpObject;)Z
ior
putfield io.netty.handler.codec.http.HttpServerUpgradeHandler.handlingUpgrade:Z
1: aload 0
getfield io.netty.handler.codec.http.HttpServerUpgradeHandler.handlingUpgrade:Z
ifne 5
2: aload 2
invokestatic io.netty.util.ReferenceCountUtil.retain:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 3
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: return
5: StackMap locals:
StackMap stack:
aload 2
instanceof io.netty.handler.codec.http.FullHttpRequest
ifeq 10
6: aload 2
checkcast io.netty.handler.codec.http.FullHttpRequest
astore 4
start local 4 7: aload 2
invokestatic io.netty.util.ReferenceCountUtil.retain:(Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 3
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: goto 16
end local 4 10: 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
11: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 13
12: return
13: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.http.HttpServerUpgradeHandler.$assertionsDisabled:Z
ifne 14
aload 3
invokeinterface java.util.List.size:()I
iconst_1
if_icmpeq 14
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
14: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield io.netty.handler.codec.http.HttpServerUpgradeHandler.handlingUpgrade:Z
15: aload 3
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast io.netty.handler.codec.http.FullHttpRequest
astore 4
start local 4 16: StackMap locals: io.netty.handler.codec.http.FullHttpRequest
StackMap stack:
aload 0
aload 1
aload 4
invokevirtual io.netty.handler.codec.http.HttpServerUpgradeHandler.upgrade:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpRequest;)Z
ifeq 18
17: aload 3
invokeinterface java.util.List.clear:()V
18: 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 19 0 this Lio/netty/handler/codec/http/HttpServerUpgradeHandler;
0 19 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 19 2 msg Lio/netty/handler/codec/http/HttpObject;
0 19 3 out Ljava/util/List<Ljava/lang/Object;>;
7 10 4 fullRequest Lio/netty/handler/codec/http/FullHttpRequest;
16 19 4 fullRequest Lio/netty/handler/codec/http/FullHttpRequest;
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 boolean isUpgradeRequest(io.netty.handler.codec.http.HttpObject);
descriptor: (Lio/netty/handler/codec/http/HttpObject;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof io.netty.handler.codec.http.HttpRequest
ifeq 1
aload 0
checkcast io.netty.handler.codec.http.HttpRequest
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;
invokevirtual io.netty.handler.codec.http.HttpHeaders.get:(Ljava/lang/CharSequence;)Ljava/lang/String;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 msg Lio/netty/handler/codec/http/HttpObject;
MethodParameters:
Name Flags
msg
private boolean upgrade(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.http.FullHttpRequest);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpRequest;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface io.netty.handler.codec.http.FullHttpRequest.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;
invokestatic io.netty.handler.codec.http.HttpServerUpgradeHandler.splitHeader:(Ljava/lang/CharSequence;)Ljava/util/List;
astore 3
start local 3 1: aload 3
invokeinterface java.util.List.size:()I
istore 4
start local 4 2: aconst_null
astore 5
start local 5 3: aconst_null
astore 6
start local 6 4: iconst_0
istore 7
start local 7 5: goto 13
6: StackMap locals: io.netty.handler.codec.http.HttpServerUpgradeHandler io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http.FullHttpRequest java.util.List int io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodec java.lang.CharSequence int
StackMap stack:
aload 3
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.CharSequence
astore 8
start local 8 7: aload 0
getfield io.netty.handler.codec.http.HttpServerUpgradeHandler.upgradeCodecFactory:Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodecFactory;
aload 8
invokeinterface io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodecFactory.newUpgradeCodec:(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodec;
astore 9
start local 9 8: aload 9
ifnull 12
9: aload 8
astore 6
10: aload 9
astore 5
11: goto 14
end local 9 end local 8 12: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
iload 4
if_icmplt 6
end local 7 14: StackMap locals:
StackMap stack:
aload 5
ifnonnull 16
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
aload 2
invokeinterface io.netty.handler.codec.http.FullHttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.CONNECTION:Lio/netty/util/AsciiString;
invokevirtual io.netty.handler.codec.http.HttpHeaders.get:(Ljava/lang/CharSequence;)Ljava/lang/String;
astore 7
start local 7 17: aload 7
ifnonnull 19
18: iconst_0
ireturn
19: StackMap locals: java.lang.CharSequence
StackMap stack:
aload 5
invokeinterface io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodec.requiredUpgradeHeaders:()Ljava/util/Collection;
astore 8
start local 8 20: aload 7
invokestatic io.netty.handler.codec.http.HttpServerUpgradeHandler.splitHeader:(Ljava/lang/CharSequence;)Ljava/util/List;
astore 9
start local 9 21: aload 9
getstatic io.netty.handler.codec.http.HttpHeaderNames.UPGRADE:Lio/netty/util/AsciiString;
invokestatic io.netty.util.AsciiString.containsContentEqualsIgnoreCase:(Ljava/util/Collection;Ljava/lang/CharSequence;)Z
ifeq 23
22: aload 9
aload 8
invokestatic io.netty.util.AsciiString.containsAllContentEqualsIgnoreCase:(Ljava/util/Collection;Ljava/util/Collection;)Z
ifne 24
23: StackMap locals: java.util.Collection java.util.List
StackMap stack:
iconst_0
ireturn
24: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 11
goto 28
StackMap locals: io.netty.handler.codec.http.HttpServerUpgradeHandler io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http.FullHttpRequest java.util.List int io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodec java.lang.CharSequence java.lang.CharSequence java.util.Collection java.util.List top java.util.Iterator
StackMap stack:
25: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.CharSequence
astore 10
start local 10 26: aload 2
invokeinterface io.netty.handler.codec.http.FullHttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
aload 10
invokevirtual io.netty.handler.codec.http.HttpHeaders.contains:(Ljava/lang/CharSequence;)Z
ifne 28
27: iconst_0
ireturn
end local 10 28: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
29: aload 6
invokestatic io.netty.handler.codec.http.HttpServerUpgradeHandler.createUpgradeResponse:(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http/FullHttpResponse;
astore 10
start local 10 30: aload 5
aload 1
aload 2
aload 10
invokeinterface io.netty.handler.codec.http.FullHttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
invokeinterface io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodec.prepareUpgradeResponse:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpRequest;Lio/netty/handler/codec/http/HttpHeaders;)Z
ifne 32
31: iconst_0
ireturn
32: StackMap locals: io.netty.handler.codec.http.HttpServerUpgradeHandler io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http.FullHttpRequest java.util.List int io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodec java.lang.CharSequence java.lang.CharSequence java.util.Collection java.util.List io.netty.handler.codec.http.FullHttpResponse
StackMap stack:
new io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeEvent
dup
aload 6
aload 2
invokespecial io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeEvent.<init>:(Ljava/lang/CharSequence;Lio/netty/handler/codec/http/FullHttpRequest;)V
astore 11
start local 11 33: aload 1
aload 10
invokeinterface io.netty.channel.ChannelHandlerContext.writeAndFlush:(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
astore 12
start local 12 34: aload 0
getfield io.netty.handler.codec.http.HttpServerUpgradeHandler.sourceCodec:Lio/netty/handler/codec/http/HttpServerUpgradeHandler$SourceCodec;
aload 1
invokeinterface io.netty.handler.codec.http.HttpServerUpgradeHandler$SourceCodec.upgradeFrom:(Lio/netty/channel/ChannelHandlerContext;)V
35: aload 5
aload 1
aload 2
invokeinterface io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodec.upgradeTo:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpRequest;)V
36: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
aload 0
invokeinterface io.netty.channel.ChannelPipeline.remove:(Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
37: aload 1
aload 11
invokevirtual io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeEvent.retain:()Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeEvent;
invokeinterface io.netty.channel.ChannelHandlerContext.fireUserEventTriggered:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
38: aload 12
getstatic io.netty.channel.ChannelFutureListener.CLOSE_ON_FAILURE:Lio/netty/channel/ChannelFutureListener;
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
end local 12 39: goto 43
StackMap locals: io.netty.handler.codec.http.HttpServerUpgradeHandler io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http.FullHttpRequest java.util.List int io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodec java.lang.CharSequence java.lang.CharSequence java.util.Collection java.util.List io.netty.handler.codec.http.FullHttpResponse io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeEvent
StackMap stack: java.lang.Throwable
40: astore 13
41: aload 11
invokevirtual io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeEvent.release:()Z
pop
42: aload 13
athrow
43: StackMap locals:
StackMap stack:
aload 11
invokevirtual io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeEvent.release:()Z
pop
44: iconst_1
ireturn
end local 11 end local 10 end local 9 end local 8 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 45 0 this Lio/netty/handler/codec/http/HttpServerUpgradeHandler;
0 45 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 45 2 request Lio/netty/handler/codec/http/FullHttpRequest;
1 45 3 requestedProtocols Ljava/util/List<Ljava/lang/CharSequence;>;
2 45 4 numRequestedProtocols I
3 45 5 upgradeCodec Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodec;
4 45 6 upgradeProtocol Ljava/lang/CharSequence;
5 14 7 i I
7 12 8 p Ljava/lang/CharSequence;
8 12 9 c Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodec;
17 45 7 connectionHeader Ljava/lang/CharSequence;
20 45 8 requiredHeaders Ljava/util/Collection<Ljava/lang/CharSequence;>;
21 45 9 values Ljava/util/List<Ljava/lang/CharSequence;>;
26 28 10 requiredHeader Ljava/lang/CharSequence;
30 45 10 upgradeResponse Lio/netty/handler/codec/http/FullHttpResponse;
33 45 11 event Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeEvent;
34 39 12 writeComplete Lio/netty/channel/ChannelFuture;
Exception table:
from to target type
33 40 40 any
MethodParameters:
Name Flags
ctx final
request final
private static io.netty.handler.codec.http.FullHttpResponse createUpgradeResponse(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Lio/netty/handler/codec/http/FullHttpResponse;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: new io.netty.handler.codec.http.DefaultFullHttpResponse
dup
getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_1:Lio/netty/handler/codec/http/HttpVersion;
getstatic io.netty.handler.codec.http.HttpResponseStatus.SWITCHING_PROTOCOLS:Lio/netty/handler/codec/http/HttpResponseStatus;
1: getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
iconst_0
2: invokespecial io.netty.handler.codec.http.DefaultFullHttpResponse.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/buffer/ByteBuf;Z)V
astore 1
start local 1 3: aload 1
invokevirtual io.netty.handler.codec.http.DefaultFullHttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.CONNECTION:Lio/netty/util/AsciiString;
getstatic io.netty.handler.codec.http.HttpHeaderValues.UPGRADE:Lio/netty/util/AsciiString;
invokevirtual io.netty.handler.codec.http.HttpHeaders.add:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
4: aload 1
invokevirtual io.netty.handler.codec.http.DefaultFullHttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.UPGRADE:Lio/netty/util/AsciiString;
aload 0
invokevirtual io.netty.handler.codec.http.HttpHeaders.add:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 upgradeProtocol Ljava/lang/CharSequence;
3 6 1 res Lio/netty/handler/codec/http/DefaultFullHttpResponse;
MethodParameters:
Name Flags
upgradeProtocol
private static java.util.List<java.lang.CharSequence> splitHeader(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokeinterface java.lang.CharSequence.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: new java.util.ArrayList
dup
iconst_4
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 13
4: StackMap locals: java.lang.StringBuilder java.util.List int
StackMap stack:
aload 0
iload 3
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 4
start local 4 5: iload 4
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 7
6: goto 12
7: StackMap locals: int
StackMap stack:
iload 4
bipush 44
if_icmpne 11
8: aload 2
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 1
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 4 12: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
13: iload 3
aload 0
invokeinterface java.lang.CharSequence.length:()I
if_icmplt 4
end local 3 14: aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifle 16
15: aload 2
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 header Ljava/lang/CharSequence;
1 17 1 builder Ljava/lang/StringBuilder;
2 17 2 protocols Ljava/util/List<Ljava/lang/CharSequence;>;
3 14 3 i I
5 12 4 c C
Signature: (Ljava/lang/CharSequence;)Ljava/util/List<Ljava/lang/CharSequence;>;
MethodParameters:
Name Flags
header
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.HttpServerUpgradeHandler.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: "HttpServerUpgradeHandler.java"
NestMembers:
io.netty.handler.codec.http.HttpServerUpgradeHandler$SourceCodec io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodec io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodecFactory io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeEvent
InnerClasses:
public abstract SourceCodec = io.netty.handler.codec.http.HttpServerUpgradeHandler$SourceCodec of io.netty.handler.codec.http.HttpServerUpgradeHandler
public abstract UpgradeCodec = io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodec of io.netty.handler.codec.http.HttpServerUpgradeHandler
public abstract UpgradeCodecFactory = io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeCodecFactory of io.netty.handler.codec.http.HttpServerUpgradeHandler
public final UpgradeEvent = io.netty.handler.codec.http.HttpServerUpgradeHandler$UpgradeEvent of io.netty.handler.codec.http.HttpServerUpgradeHandler