public class io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec extends io.netty.handler.codec.MessageToMessageCodec<io.netty.handler.codec.http2.Http2StreamFrame, io.netty.handler.codec.http.HttpObject>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec
super_class: io.netty.handler.codec.MessageToMessageCodec
{
private final boolean isServer;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean validateHeaders;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.netty.handler.codec.http.HttpScheme scheme;
descriptor: Lio/netty/handler/codec/http/HttpScheme;
flags: (0x0002) ACC_PRIVATE
public void <init>(boolean, boolean);
descriptor: (ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial io.netty.handler.codec.MessageToMessageCodec.<init>:()V
1: aload 0
iload 1
putfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.isServer:Z
2: aload 0
iload 2
putfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.validateHeaders:Z
3: aload 0
getstatic io.netty.handler.codec.http.HttpScheme.HTTP:Lio/netty/handler/codec/http/HttpScheme;
putfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.scheme:Lio/netty/handler/codec/http/HttpScheme;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodec;
0 5 1 isServer Z
0 5 2 validateHeaders Z
MethodParameters:
Name Flags
isServer final
validateHeaders final
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_1
invokespecial io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.<init>:(ZZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodec;
0 2 1 isServer Z
MethodParameters:
Name Flags
isServer final
public boolean acceptInboundMessage(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof io.netty.handler.codec.http2.Http2HeadersFrame
ifne 1
aload 1
instanceof io.netty.handler.codec.http2.Http2DataFrame
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodec;
0 2 1 msg Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
msg
protected void decode(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.http2.Http2StreamFrame, java.util.List<java.lang.Object>);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2StreamFrame;Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
instanceof io.netty.handler.codec.http2.Http2HeadersFrame
ifeq 28
1: aload 2
checkcast io.netty.handler.codec.http2.Http2HeadersFrame
astore 4
start local 4 2: aload 4
invokeinterface io.netty.handler.codec.http2.Http2HeadersFrame.headers:()Lio/netty/handler/codec/http2/Http2Headers;
astore 5
start local 5 3: aload 4
invokeinterface io.netty.handler.codec.http2.Http2HeadersFrame.stream:()Lio/netty/handler/codec/http2/Http2FrameStream;
astore 6
start local 6 4: aload 6
ifnonnull 5
iconst_0
goto 6
StackMap locals: io.netty.handler.codec.http2.Http2HeadersFrame io.netty.handler.codec.http2.Http2Headers io.netty.handler.codec.http2.Http2FrameStream
StackMap stack:
5: aload 6
invokeinterface io.netty.handler.codec.http2.Http2FrameStream.id:()I
StackMap locals:
StackMap stack: int
6: istore 7
start local 7 7: aload 5
invokeinterface io.netty.handler.codec.http2.Http2Headers.status:()Ljava/lang/CharSequence;
astore 8
start local 8 8: aload 8
ifnull 12
getstatic io.netty.handler.codec.http.HttpResponseStatus.CONTINUE:Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.codeAsText:()Lio/netty/util/AsciiString;
aload 8
invokevirtual io.netty.util.AsciiString.contentEquals:(Ljava/lang/CharSequence;)Z
ifeq 12
9: aload 0
iload 7
aload 5
aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
invokevirtual io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.newFullMessage:(ILio/netty/handler/codec/http2/Http2Headers;Lio/netty/buffer/ByteBufAllocator;)Lio/netty/handler/codec/http/FullHttpMessage;
astore 9
start local 9 10: aload 3
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: return
end local 9 12: StackMap locals: int java.lang.CharSequence
StackMap stack:
aload 4
invokeinterface io.netty.handler.codec.http2.Http2HeadersFrame.isEndStream:()Z
ifeq 23
13: aload 5
invokeinterface io.netty.handler.codec.http2.Http2Headers.method:()Ljava/lang/CharSequence;
ifnonnull 20
aload 8
ifnonnull 20
14: new io.netty.handler.codec.http.DefaultLastHttpContent
dup
getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
aload 0
getfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.validateHeaders:Z
invokespecial io.netty.handler.codec.http.DefaultLastHttpContent.<init>:(Lio/netty/buffer/ByteBuf;Z)V
astore 9
start local 9 15: iload 7
aload 5
aload 9
invokeinterface io.netty.handler.codec.http.LastHttpContent.trailingHeaders:()Lio/netty/handler/codec/http/HttpHeaders;
16: getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_1:Lio/netty/handler/codec/http/HttpVersion;
iconst_1
iconst_1
17: invokestatic io.netty.handler.codec.http2.HttpConversionUtil.addHttp2ToHttpHeaders:(ILio/netty/handler/codec/http2/Http2Headers;Lio/netty/handler/codec/http/HttpHeaders;Lio/netty/handler/codec/http/HttpVersion;ZZ)V
18: aload 3
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 19: goto 34
20: StackMap locals:
StackMap stack:
aload 0
iload 7
aload 5
aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
invokevirtual io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.newFullMessage:(ILio/netty/handler/codec/http2/Http2Headers;Lio/netty/buffer/ByteBufAllocator;)Lio/netty/handler/codec/http/FullHttpMessage;
astore 9
start local 9 21: aload 3
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 22: goto 34
23: StackMap locals:
StackMap stack:
aload 0
iload 7
aload 5
invokevirtual io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.newMessage:(ILio/netty/handler/codec/http2/Http2Headers;)Lio/netty/handler/codec/http/HttpMessage;
astore 9
start local 9 24: aload 9
invokestatic io.netty.handler.codec.http.HttpUtil.isContentLengthSet:(Lio/netty/handler/codec/http/HttpMessage;)Z
ifne 26
25: aload 9
invokeinterface io.netty.handler.codec.http.HttpMessage.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.TRANSFER_ENCODING:Lio/netty/util/AsciiString;
getstatic io.netty.handler.codec.http.HttpHeaderValues.CHUNKED: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
26: StackMap locals: io.netty.handler.codec.http.HttpMessage
StackMap stack:
aload 3
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 27: goto 34
StackMap locals: io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec io.netty.channel.ChannelHandlerContext io.netty.handler.codec.http2.Http2StreamFrame java.util.List
StackMap stack:
28: aload 2
instanceof io.netty.handler.codec.http2.Http2DataFrame
ifeq 34
29: aload 2
checkcast io.netty.handler.codec.http2.Http2DataFrame
astore 4
start local 4 30: aload 4
invokeinterface io.netty.handler.codec.http2.Http2DataFrame.isEndStream:()Z
ifeq 33
31: aload 3
new io.netty.handler.codec.http.DefaultLastHttpContent
dup
aload 4
invokeinterface io.netty.handler.codec.http2.Http2DataFrame.content:()Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.retain:()Lio/netty/buffer/ByteBuf;
aload 0
getfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.validateHeaders:Z
invokespecial io.netty.handler.codec.http.DefaultLastHttpContent.<init>:(Lio/netty/buffer/ByteBuf;Z)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
32: goto 34
33: StackMap locals: io.netty.handler.codec.http2.Http2DataFrame
StackMap stack:
aload 3
new io.netty.handler.codec.http.DefaultHttpContent
dup
aload 4
invokeinterface io.netty.handler.codec.http2.Http2DataFrame.content:()Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.retain:()Lio/netty/buffer/ByteBuf;
invokespecial io.netty.handler.codec.http.DefaultHttpContent.<init>:(Lio/netty/buffer/ByteBuf;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 34: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lio/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodec;
0 35 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 35 2 frame Lio/netty/handler/codec/http2/Http2StreamFrame;
0 35 3 out Ljava/util/List<Ljava/lang/Object;>;
2 27 4 headersFrame Lio/netty/handler/codec/http2/Http2HeadersFrame;
3 27 5 headers Lio/netty/handler/codec/http2/Http2Headers;
4 27 6 stream Lio/netty/handler/codec/http2/Http2FrameStream;
7 27 7 id I
8 27 8 status Ljava/lang/CharSequence;
10 12 9 fullMsg Lio/netty/handler/codec/http/FullHttpMessage;
15 19 9 last Lio/netty/handler/codec/http/LastHttpContent;
21 22 9 full Lio/netty/handler/codec/http/FullHttpMessage;
24 27 9 req Lio/netty/handler/codec/http/HttpMessage;
30 34 4 dataFrame Lio/netty/handler/codec/http2/Http2DataFrame;
Exceptions:
throws java.lang.Exception
Signature: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2StreamFrame;Ljava/util/List<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
ctx
frame
out
private void encodeLastContent(io.netty.handler.codec.http.LastHttpContent, java.util.List<java.lang.Object>);
descriptor: (Lio/netty/handler/codec/http/LastHttpContent;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof io.netty.handler.codec.http.FullHttpMessage
ifne 1
aload 1
invokeinterface io.netty.handler.codec.http.LastHttpContent.trailingHeaders:()Lio/netty/handler/codec/http/HttpHeaders;
invokevirtual io.netty.handler.codec.http.HttpHeaders.isEmpty:()Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 3
start local 3 3: aload 1
invokeinterface io.netty.handler.codec.http.LastHttpContent.content:()Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.isReadable:()Z
ifne 4
iload 3
ifeq 5
4: StackMap locals: int
StackMap stack:
aload 2
new io.netty.handler.codec.http2.DefaultHttp2DataFrame
dup
aload 1
invokeinterface io.netty.handler.codec.http.LastHttpContent.content:()Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.retain:()Lio/netty/buffer/ByteBuf;
aload 1
invokeinterface io.netty.handler.codec.http.LastHttpContent.trailingHeaders:()Lio/netty/handler/codec/http/HttpHeaders;
invokevirtual io.netty.handler.codec.http.HttpHeaders.isEmpty:()Z
invokespecial io.netty.handler.codec.http2.DefaultHttp2DataFrame.<init>:(Lio/netty/buffer/ByteBuf;Z)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.netty.handler.codec.http.LastHttpContent.trailingHeaders:()Lio/netty/handler/codec/http/HttpHeaders;
invokevirtual io.netty.handler.codec.http.HttpHeaders.isEmpty:()Z
ifne 8
6: aload 1
invokeinterface io.netty.handler.codec.http.LastHttpContent.trailingHeaders:()Lio/netty/handler/codec/http/HttpHeaders;
aload 0
getfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.validateHeaders:Z
invokestatic io.netty.handler.codec.http2.HttpConversionUtil.toHttp2Headers:(Lio/netty/handler/codec/http/HttpHeaders;Z)Lio/netty/handler/codec/http2/Http2Headers;
astore 4
start local 4 7: aload 2
new io.netty.handler.codec.http2.DefaultHttp2HeadersFrame
dup
aload 4
iconst_1
invokespecial io.netty.handler.codec.http2.DefaultHttp2HeadersFrame.<init>:(Lio/netty/handler/codec/http2/Http2Headers;Z)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodec;
0 9 1 last Lio/netty/handler/codec/http/LastHttpContent;
0 9 2 out Ljava/util/List<Ljava/lang/Object;>;
3 9 3 needFiller Z
7 8 4 headers Lio/netty/handler/codec/http2/Http2Headers;
Signature: (Lio/netty/handler/codec/http/LastHttpContent;Ljava/util/List<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
last
out
protected void encode(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=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
instanceof io.netty.handler.codec.http.HttpResponse
ifeq 10
1: aload 2
checkcast io.netty.handler.codec.http.HttpResponse
astore 4
start local 4 2: aload 4
invokeinterface io.netty.handler.codec.http.HttpResponse.status:()Lio/netty/handler/codec/http/HttpResponseStatus;
getstatic io.netty.handler.codec.http.HttpResponseStatus.CONTINUE:Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.equals:(Ljava/lang/Object;)Z
ifeq 10
3: aload 4
instanceof io.netty.handler.codec.http.FullHttpResponse
ifeq 7
4: aload 0
aload 4
invokevirtual io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.toHttp2Headers:(Lio/netty/handler/codec/http/HttpMessage;)Lio/netty/handler/codec/http2/Http2Headers;
astore 5
start local 5 5: aload 3
new io.netty.handler.codec.http2.DefaultHttp2HeadersFrame
dup
aload 5
iconst_0
invokespecial io.netty.handler.codec.http2.DefaultHttp2HeadersFrame.<init>:(Lio/netty/handler/codec/http2/Http2Headers;Z)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: return
end local 5 7: StackMap locals: io.netty.handler.codec.http.HttpResponse
StackMap stack:
new io.netty.handler.codec.EncoderException
dup
8: new java.lang.StringBuilder
dup
getstatic io.netty.handler.codec.http.HttpResponseStatus.CONTINUE:Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " must be a FullHttpResponse"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial io.netty.handler.codec.EncoderException.<init>:(Ljava/lang/String;)V
athrow
end local 4 10: StackMap locals:
StackMap stack:
aload 2
instanceof io.netty.handler.codec.http.HttpMessage
ifeq 19
11: aload 0
aload 2
checkcast io.netty.handler.codec.http.HttpMessage
invokevirtual io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.toHttp2Headers:(Lio/netty/handler/codec/http/HttpMessage;)Lio/netty/handler/codec/http2/Http2Headers;
astore 4
start local 4 12: iconst_0
istore 5
start local 5 13: aload 2
instanceof io.netty.handler.codec.http.FullHttpMessage
ifeq 18
14: aload 2
checkcast io.netty.handler.codec.http.FullHttpMessage
astore 6
start local 6 15: aload 6
invokeinterface io.netty.handler.codec.http.FullHttpMessage.content:()Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.isReadable:()Z
ifne 16
aload 6
invokeinterface io.netty.handler.codec.http.FullHttpMessage.trailingHeaders:()Lio/netty/handler/codec/http/HttpHeaders;
invokevirtual io.netty.handler.codec.http.HttpHeaders.isEmpty:()Z
ifeq 16
iconst_1
goto 17
StackMap locals: io.netty.handler.codec.http2.Http2Headers int io.netty.handler.codec.http.FullHttpMessage
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: istore 5
end local 6 18: StackMap locals:
StackMap stack:
aload 3
new io.netty.handler.codec.http2.DefaultHttp2HeadersFrame
dup
aload 4
iload 5
invokespecial io.netty.handler.codec.http2.DefaultHttp2HeadersFrame.<init>:(Lio/netty/handler/codec/http2/Http2Headers;Z)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 4 19: StackMap locals:
StackMap stack:
aload 2
instanceof io.netty.handler.codec.http.LastHttpContent
ifeq 23
20: aload 2
checkcast io.netty.handler.codec.http.LastHttpContent
astore 4
start local 4 21: aload 0
aload 4
aload 3
invokevirtual io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.encodeLastContent:(Lio/netty/handler/codec/http/LastHttpContent;Ljava/util/List;)V
end local 4 22: goto 26
StackMap locals:
StackMap stack:
23: aload 2
instanceof io.netty.handler.codec.http.HttpContent
ifeq 26
24: aload 2
checkcast io.netty.handler.codec.http.HttpContent
astore 4
start local 4 25: aload 3
new io.netty.handler.codec.http2.DefaultHttp2DataFrame
dup
aload 4
invokeinterface io.netty.handler.codec.http.HttpContent.content:()Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.retain:()Lio/netty/buffer/ByteBuf;
iconst_0
invokespecial io.netty.handler.codec.http2.DefaultHttp2DataFrame.<init>:(Lio/netty/buffer/ByteBuf;Z)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 26: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lio/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodec;
0 27 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 27 2 obj Lio/netty/handler/codec/http/HttpObject;
0 27 3 out Ljava/util/List<Ljava/lang/Object;>;
2 10 4 res Lio/netty/handler/codec/http/HttpResponse;
5 7 5 headers Lio/netty/handler/codec/http2/Http2Headers;
12 19 4 headers Lio/netty/handler/codec/http2/Http2Headers;
13 19 5 noMoreFrames Z
15 18 6 full Lio/netty/handler/codec/http/FullHttpMessage;
21 22 4 last Lio/netty/handler/codec/http/LastHttpContent;
25 26 4 cont Lio/netty/handler/codec/http/HttpContent;
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
obj
out
private io.netty.handler.codec.http2.Http2Headers toHttp2Headers(io.netty.handler.codec.http.HttpMessage);
descriptor: (Lio/netty/handler/codec/http/HttpMessage;)Lio/netty/handler/codec/http2/Http2Headers;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof io.netty.handler.codec.http.HttpRequest
ifeq 5
1: aload 1
invokeinterface io.netty.handler.codec.http.HttpMessage.headers:()Lio/netty/handler/codec/http/HttpHeaders;
2: getstatic io.netty.handler.codec.http2.HttpConversionUtil$ExtensionHeaderNames.SCHEME:Lio/netty/handler/codec/http2/HttpConversionUtil$ExtensionHeaderNames;
invokevirtual io.netty.handler.codec.http2.HttpConversionUtil$ExtensionHeaderNames.text:()Lio/netty/util/AsciiString;
3: aload 0
getfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.scheme:Lio/netty/handler/codec/http/HttpScheme;
invokevirtual io.netty.handler.codec.http.HttpScheme.name:()Lio/netty/util/AsciiString;
4: invokevirtual io.netty.handler.codec.http.HttpHeaders.set:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
5: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.validateHeaders:Z
invokestatic io.netty.handler.codec.http2.HttpConversionUtil.toHttp2Headers:(Lio/netty/handler/codec/http/HttpMessage;Z)Lio/netty/handler/codec/http2/Http2Headers;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodec;
0 6 1 msg Lio/netty/handler/codec/http/HttpMessage;
MethodParameters:
Name Flags
msg final
private io.netty.handler.codec.http.HttpMessage newMessage(int, io.netty.handler.codec.http2.Http2Headers);
descriptor: (ILio/netty/handler/codec/http2/Http2Headers;)Lio/netty/handler/codec/http/HttpMessage;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.isServer:Z
ifeq 2
1: iload 1
aload 2
aload 0
getfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.validateHeaders:Z
invokestatic io.netty.handler.codec.http2.HttpConversionUtil.toHttpRequest:(ILio/netty/handler/codec/http2/Http2Headers;Z)Lio/netty/handler/codec/http/HttpRequest;
goto 3
2: StackMap locals:
StackMap stack:
iload 1
aload 2
aload 0
getfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.validateHeaders:Z
invokestatic io.netty.handler.codec.http2.HttpConversionUtil.toHttpResponse:(ILio/netty/handler/codec/http2/Http2Headers;Z)Lio/netty/handler/codec/http/HttpResponse;
3: StackMap locals:
StackMap stack: io.netty.handler.codec.http.HttpMessage
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodec;
0 4 1 id I
0 4 2 headers Lio/netty/handler/codec/http2/Http2Headers;
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
id final
headers final
private io.netty.handler.codec.http.FullHttpMessage newFullMessage(int, io.netty.handler.codec.http2.Http2Headers, io.netty.buffer.ByteBufAllocator);
descriptor: (ILio/netty/handler/codec/http2/Http2Headers;Lio/netty/buffer/ByteBufAllocator;)Lio/netty/handler/codec/http/FullHttpMessage;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.isServer:Z
ifeq 2
1: iload 1
aload 2
aload 3
aload 0
getfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.validateHeaders:Z
invokestatic io.netty.handler.codec.http2.HttpConversionUtil.toFullHttpRequest:(ILio/netty/handler/codec/http2/Http2Headers;Lio/netty/buffer/ByteBufAllocator;Z)Lio/netty/handler/codec/http/FullHttpRequest;
goto 3
2: StackMap locals:
StackMap stack:
iload 1
aload 2
aload 3
aload 0
getfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.validateHeaders:Z
invokestatic io.netty.handler.codec.http2.HttpConversionUtil.toFullHttpResponse:(ILio/netty/handler/codec/http2/Http2Headers;Lio/netty/buffer/ByteBufAllocator;Z)Lio/netty/handler/codec/http/FullHttpResponse;
3: StackMap locals:
StackMap stack: io.netty.handler.codec.http.FullHttpMessage
areturn
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/http2/Http2StreamFrameToHttpObjectCodec;
0 4 1 id I
0 4 2 headers Lio/netty/handler/codec/http2/Http2Headers;
0 4 3 alloc Lio/netty/buffer/ByteBufAllocator;
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
id final
headers final
alloc final
public void handlerAdded(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial io.netty.handler.codec.MessageToMessageCodec.handlerAdded:(Lio/netty/channel/ChannelHandlerContext;)V
1: aload 0
aload 0
aload 1
invokevirtual io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.isSsl:(Lio/netty/channel/ChannelHandlerContext;)Z
ifeq 2
getstatic io.netty.handler.codec.http.HttpScheme.HTTPS:Lio/netty/handler/codec/http/HttpScheme;
goto 3
StackMap locals:
StackMap stack: io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec
2: getstatic io.netty.handler.codec.http.HttpScheme.HTTP:Lio/netty/handler/codec/http/HttpScheme;
StackMap locals: io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec io.netty.channel.ChannelHandlerContext
StackMap stack: io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec io.netty.handler.codec.http.HttpScheme
3: putfield io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.scheme:Lio/netty/handler/codec/http/HttpScheme;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodec;
0 5 1 ctx Lio/netty/channel/ChannelHandlerContext;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx final
protected boolean isSsl(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.channel:()Lio/netty/channel/Channel;
astore 2
start local 2 1: aload 2
instanceof io.netty.handler.codec.http2.Http2StreamChannel
ifeq 2
aload 2
invokeinterface io.netty.channel.Channel.parent:()Lio/netty/channel/Channel;
goto 3
StackMap locals: io.netty.channel.Channel
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: io.netty.channel.Channel
3: astore 3
start local 3 4: aload 3
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
ldc Lio/netty/handler/ssl/SslHandler;
invokeinterface io.netty.channel.ChannelPipeline.get:(Ljava/lang/Class;)Lio/netty/channel/ChannelHandler;
ifnull 5
iconst_1
ireturn
StackMap locals: io.netty.channel.Channel
StackMap stack:
5: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/handler/codec/http2/Http2StreamFrameToHttpObjectCodec;
0 6 1 ctx Lio/netty/channel/ChannelHandlerContext;
1 6 2 ch Lio/netty/channel/Channel;
4 6 3 connChannel Lio/netty/channel/Channel;
MethodParameters:
Name Flags
ctx final
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.http2.Http2StreamFrame
aload 3
invokevirtual io.netty.handler.codec.http2.Http2StreamFrameToHttpObjectCodec.decode:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http2/Http2StreamFrame;Ljava/util/List;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
protected void encode(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.http2.Http2StreamFrameToHttpObjectCodec.encode:(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
}
Signature: Lio/netty/handler/codec/MessageToMessageCodec<Lio/netty/handler/codec/http2/Http2StreamFrame;Lio/netty/handler/codec/http/HttpObject;>;
SourceFile: "Http2StreamFrameToHttpObjectCodec.java"
InnerClasses:
public abstract Sharable = io.netty.channel.ChannelHandler$Sharable of io.netty.channel.ChannelHandler
public final ExtensionHeaderNames = io.netty.handler.codec.http2.HttpConversionUtil$ExtensionHeaderNames of io.netty.handler.codec.http2.HttpConversionUtil
RuntimeVisibleAnnotations:
io.netty.channel.ChannelHandler$Sharable()