class org.springframework.http.client.Netty4ClientHttpResponse extends org.springframework.http.client.AbstractClientHttpResponse
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.http.client.Netty4ClientHttpResponse
super_class: org.springframework.http.client.AbstractClientHttpResponse
{
private final io.netty.channel.ChannelHandlerContext context;
descriptor: Lio/netty/channel/ChannelHandlerContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.http.FullHttpResponse nettyResponse;
descriptor: Lio/netty/handler/codec/http/FullHttpResponse;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.buffer.ByteBufInputStream body;
descriptor: Lio/netty/buffer/ByteBufInputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile org.springframework.http.HttpHeaders ;
descriptor: Lorg/springframework/http/HttpHeaders;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.http.FullHttpResponse);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpResponse;)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
invokespecial org.springframework.http.client.AbstractClientHttpResponse.<init>:()V
1: aload 1
ldc "ChannelHandlerContext must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 2
ldc "FullHttpResponse must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 0
aload 1
putfield org.springframework.http.client.Netty4ClientHttpResponse.context:Lio/netty/channel/ChannelHandlerContext;
4: aload 0
aload 2
putfield org.springframework.http.client.Netty4ClientHttpResponse.nettyResponse:Lio/netty/handler/codec/http/FullHttpResponse;
5: aload 0
new io.netty.buffer.ByteBufInputStream
dup
aload 0
getfield org.springframework.http.client.Netty4ClientHttpResponse.nettyResponse:Lio/netty/handler/codec/http/FullHttpResponse;
invokeinterface io.netty.handler.codec.http.FullHttpResponse.content:()Lio/netty/buffer/ByteBuf;
invokespecial io.netty.buffer.ByteBufInputStream.<init>:(Lio/netty/buffer/ByteBuf;)V
putfield org.springframework.http.client.Netty4ClientHttpResponse.body:Lio/netty/buffer/ByteBufInputStream;
6: aload 0
getfield org.springframework.http.client.Netty4ClientHttpResponse.nettyResponse:Lio/netty/handler/codec/http/FullHttpResponse;
invokeinterface io.netty.handler.codec.http.FullHttpResponse.retain:()Lio/netty/handler/codec/http/FullHttpResponse;
pop
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/http/client/Netty4ClientHttpResponse;
0 8 1 context Lio/netty/channel/ChannelHandlerContext;
0 8 2 nettyResponse Lio/netty/handler/codec/http/FullHttpResponse;
MethodParameters:
Name Flags
context
nettyResponse
public int getRawStatusCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.Netty4ClientHttpResponse.nettyResponse:Lio/netty/handler/codec/http/FullHttpResponse;
invokeinterface io.netty.handler.codec.http.FullHttpResponse.getStatus:()Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.code:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/Netty4ClientHttpResponse;
Exceptions:
throws java.io.IOException
public java.lang.String getStatusText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.Netty4ClientHttpResponse.nettyResponse:Lio/netty/handler/codec/http/FullHttpResponse;
invokeinterface io.netty.handler.codec.http.FullHttpResponse.getStatus:()Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.reasonPhrase:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/Netty4ClientHttpResponse;
Exceptions:
throws java.io.IOException
public org.springframework.http.HttpHeaders ();
descriptor: ()Lorg/springframework/http/HttpHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.Netty4ClientHttpResponse.headers:Lorg/springframework/http/HttpHeaders;
astore 1
start local 1 1: aload 1
ifnonnull 8
2: new org.springframework.http.HttpHeaders
dup
invokespecial org.springframework.http.HttpHeaders.<init>:()V
astore 1
3: aload 0
getfield org.springframework.http.client.Netty4ClientHttpResponse.nettyResponse:Lio/netty/handler/codec/http/FullHttpResponse;
invokeinterface io.netty.handler.codec.http.FullHttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
invokevirtual io.netty.handler.codec.http.HttpHeaders.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.springframework.http.client.Netty4ClientHttpResponse org.springframework.http.HttpHeaders top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 5: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.springframework.http.HttpHeaders.add:(Ljava/lang/String;Ljava/lang/String;)V
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 0
aload 1
putfield org.springframework.http.client.Netty4ClientHttpResponse.headers:Lorg/springframework/http/HttpHeaders;
8: StackMap locals: org.springframework.http.client.Netty4ClientHttpResponse org.springframework.http.HttpHeaders
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/http/client/Netty4ClientHttpResponse;
1 9 1 headers Lorg/springframework/http/HttpHeaders;
5 6 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
public java.io.InputStream getBody();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.Netty4ClientHttpResponse.body:Lio/netty/buffer/ByteBufInputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/Netty4ClientHttpResponse;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.Netty4ClientHttpResponse.nettyResponse:Lio/netty/handler/codec/http/FullHttpResponse;
invokeinterface io.netty.handler.codec.http.FullHttpResponse.release:()Z
pop
1: aload 0
getfield org.springframework.http.client.Netty4ClientHttpResponse.context:Lio/netty/channel/ChannelHandlerContext;
invokeinterface io.netty.channel.ChannelHandlerContext.close:()Lio/netty/channel/ChannelFuture;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/Netty4ClientHttpResponse;
}
SourceFile: "Netty4ClientHttpResponse.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeVisibleAnnotations:
java.lang.Deprecated()