final class io.netty.handler.codec.http.HttpClientCodec$Decoder extends io.netty.handler.codec.http.HttpResponseDecoder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http.HttpClientCodec$Decoder
super_class: io.netty.handler.codec.http.HttpResponseDecoder
{
final io.netty.handler.codec.http.HttpClientCodec this$0;
descriptor: Lio/netty/handler/codec/http/HttpClientCodec;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(io.netty.handler.codec.http.HttpClientCodec, int, int, int, boolean);
descriptor: (Lio/netty/handler/codec/http/HttpClientCodec;IIIZ)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=6
start local 0 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
putfield io.netty.handler.codec.http.HttpClientCodec$Decoder.this$0:Lio/netty/handler/codec/http/HttpClientCodec;
1: aload 0
iload 2
iload 3
iload 4
iload 5
invokespecial io.netty.handler.codec.http.HttpResponseDecoder.<init>:(IIIZ)V
2: return
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http/HttpClientCodec$Decoder;
0 3 2 maxInitialLineLength I
0 3 3 maxHeaderSize I
0 3 4 maxChunkSize I
0 3 5 validateHeaders Z
MethodParameters:
Name Flags
this$0 final
maxInitialLineLength
maxHeaderSize
maxChunkSize
validateHeaders
void <init>(io.netty.handler.codec.http.HttpClientCodec, int, int, int, boolean, int);
descriptor: (Lio/netty/handler/codec/http/HttpClientCodec;IIIZI)V
flags: (0x0000)
Code:
stack=6, locals=7, args_size=7
start local 0 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
putfield io.netty.handler.codec.http.HttpClientCodec$Decoder.this$0:Lio/netty/handler/codec/http/HttpClientCodec;
1: aload 0
iload 2
iload 3
iload 4
iload 5
iload 6
invokespecial io.netty.handler.codec.http.HttpResponseDecoder.<init>:(IIIZI)V
2: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http/HttpClientCodec$Decoder;
0 3 2 maxInitialLineLength I
0 3 3 maxHeaderSize I
0 3 4 maxChunkSize I
0 3 5 validateHeaders Z
0 3 6 initialBufferSize I
MethodParameters:
Name Flags
this$0 final
maxInitialLineLength
maxHeaderSize
maxChunkSize
validateHeaders
initialBufferSize
protected void decode(io.netty.channel.ChannelHandlerContext, io.netty.buffer.ByteBuf, java.util.List<java.lang.Object>);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.netty.handler.codec.http.HttpClientCodec$Decoder.this$0:Lio/netty/handler/codec/http/HttpClientCodec;
getfield io.netty.handler.codec.http.HttpClientCodec.done:Z
ifeq 6
1: aload 0
invokevirtual io.netty.handler.codec.http.HttpClientCodec$Decoder.actualReadableBytes:()I
istore 4
start local 4 2: iload 4
ifne 4
3: return
4: StackMap locals: int
StackMap stack:
aload 3
aload 2
iload 4
invokevirtual io.netty.buffer.ByteBuf.readBytes:(I)Lio/netty/buffer/ByteBuf;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 5: goto 15
6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.List.size:()I
istore 4
start local 4 7: aload 0
aload 1
aload 2
aload 3
invokespecial io.netty.handler.codec.http.HttpResponseDecoder.decode:(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
8: aload 0
getfield io.netty.handler.codec.http.HttpClientCodec$Decoder.this$0:Lio/netty/handler/codec/http/HttpClientCodec;
getfield io.netty.handler.codec.http.HttpClientCodec.failOnMissingResponse:Z
ifeq 15
9: aload 3
invokeinterface java.util.List.size:()I
istore 5
start local 5 10: iload 4
istore 6
start local 6 11: goto 14
12: StackMap locals: int int int
StackMap stack:
aload 0
aload 3
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual io.netty.handler.codec.http.HttpClientCodec$Decoder.decrement:(Ljava/lang/Object;)V
13: iinc 6 1
StackMap locals:
StackMap stack:
14: iload 6
iload 5
if_icmplt 12
end local 6 end local 5 end local 4 15: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/netty/handler/codec/http/HttpClientCodec$Decoder;
0 16 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 16 2 buffer Lio/netty/buffer/ByteBuf;
0 16 3 out Ljava/util/List<Ljava/lang/Object;>;
2 5 4 readable I
7 15 4 oldSize I
10 15 5 size I
11 15 6 i I
Exceptions:
throws java.lang.Exception
Signature: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
ctx
buffer
out
private void decrement(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
instanceof io.netty.handler.codec.http.LastHttpContent
ifeq 4
3: aload 0
getfield io.netty.handler.codec.http.HttpClientCodec$Decoder.this$0:Lio/netty/handler/codec/http/HttpClientCodec;
getfield io.netty.handler.codec.http.HttpClientCodec.requestResponseCounter:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
pop2
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http/HttpClientCodec$Decoder;
0 5 1 msg Ljava/lang/Object;
MethodParameters:
Name Flags
msg
protected boolean isContentAlwaysEmpty(io.netty.handler.codec.http.HttpMessage);
descriptor: (Lio/netty/handler/codec/http/HttpMessage;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
checkcast io.netty.handler.codec.http.HttpResponse
invokeinterface io.netty.handler.codec.http.HttpResponse.status:()Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.code:()I
istore 2
start local 2 1: iload 2
bipush 100
if_icmpeq 2
iload 2
bipush 101
if_icmpne 3
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
invokespecial io.netty.handler.codec.http.HttpResponseDecoder.isContentAlwaysEmpty:(Lio/netty/handler/codec/http/HttpMessage;)Z
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.HttpClientCodec$Decoder.this$0:Lio/netty/handler/codec/http/HttpClientCodec;
getfield io.netty.handler.codec.http.HttpClientCodec.queue:Ljava/util/Queue;
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast io.netty.handler.codec.http.HttpMethod
astore 3
start local 3 4: aload 3
invokevirtual io.netty.handler.codec.http.HttpMethod.name:()Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 5: iload 4
lookupswitch { // 2
67: 8
72: 6
default: 14
}
6: StackMap locals: io.netty.handler.codec.http.HttpMethod int
StackMap stack:
getstatic io.netty.handler.codec.http.HttpMethod.HEAD:Lio/netty/handler/codec/http/HttpMethod;
aload 3
invokevirtual io.netty.handler.codec.http.HttpMethod.equals:(Ljava/lang/Object;)Z
ifeq 14
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iload 2
sipush 200
if_icmpne 14
9: getstatic io.netty.handler.codec.http.HttpMethod.CONNECT:Lio/netty/handler/codec/http/HttpMethod;
aload 3
invokevirtual io.netty.handler.codec.http.HttpMethod.equals:(Ljava/lang/Object;)Z
ifeq 14
10: aload 0
getfield io.netty.handler.codec.http.HttpClientCodec$Decoder.this$0:Lio/netty/handler/codec/http/HttpClientCodec;
getfield io.netty.handler.codec.http.HttpClientCodec.parseHttpAfterConnectRequest:Z
ifne 13
11: aload 0
getfield io.netty.handler.codec.http.HttpClientCodec$Decoder.this$0:Lio/netty/handler/codec/http/HttpClientCodec;
iconst_1
putfield io.netty.handler.codec.http.HttpClientCodec.done:Z
12: aload 0
getfield io.netty.handler.codec.http.HttpClientCodec$Decoder.this$0:Lio/netty/handler/codec/http/HttpClientCodec;
getfield io.netty.handler.codec.http.HttpClientCodec.queue:Ljava/util/Queue;
invokeinterface java.util.Queue.clear:()V
13: StackMap locals:
StackMap stack:
iconst_1
ireturn
14: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial io.netty.handler.codec.http.HttpResponseDecoder.isContentAlwaysEmpty:(Lio/netty/handler/codec/http/HttpMessage;)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/netty/handler/codec/http/HttpClientCodec$Decoder;
0 15 1 msg Lio/netty/handler/codec/http/HttpMessage;
1 15 2 statusCode I
4 15 3 method Lio/netty/handler/codec/http/HttpMethod;
5 15 4 firstChar C
MethodParameters:
Name Flags
msg
public void channelInactive(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial io.netty.handler.codec.http.HttpResponseDecoder.channelInactive:(Lio/netty/channel/ChannelHandlerContext;)V
1: aload 0
getfield io.netty.handler.codec.http.HttpClientCodec$Decoder.this$0:Lio/netty/handler/codec/http/HttpClientCodec;
getfield io.netty.handler.codec.http.HttpClientCodec.failOnMissingResponse:Z
ifeq 9
2: aload 0
getfield io.netty.handler.codec.http.HttpClientCodec$Decoder.this$0:Lio/netty/handler/codec/http/HttpClientCodec;
getfield io.netty.handler.codec.http.HttpClientCodec.requestResponseCounter:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 2
start local 2 3: lload 2
lconst_0
lcmp
ifle 9
4: aload 1
new io.netty.handler.codec.PrematureChannelClosureException
dup
5: new java.lang.StringBuilder
dup
ldc "channel gone inactive with "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
6: ldc " missing response(s)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial io.netty.handler.codec.PrematureChannelClosureException.<init>:(Ljava/lang/String;)V
8: invokeinterface io.netty.channel.ChannelHandlerContext.fireExceptionCaught:(Ljava/lang/Throwable;)Lio/netty/channel/ChannelHandlerContext;
pop
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/netty/handler/codec/http/HttpClientCodec$Decoder;
0 10 1 ctx Lio/netty/channel/ChannelHandlerContext;
3 9 2 missingResponses J
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
}
SourceFile: "HttpClientCodec.java"
NestHost: io.netty.handler.codec.http.HttpClientCodec
InnerClasses:
private final Decoder = io.netty.handler.codec.http.HttpClientCodec$Decoder of io.netty.handler.codec.http.HttpClientCodec