class org.springframework.http.client.Netty4ClientHttpRequestFactory$1 extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.http.client.Netty4ClientHttpRequestFactory$1
super_class: io.netty.channel.ChannelInitializer
{
final org.springframework.http.client.Netty4ClientHttpRequestFactory this$0;
descriptor: Lorg/springframework/http/client/Netty4ClientHttpRequestFactory;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final boolean val$isSecure;
descriptor: Z
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.net.URI val$uri;
descriptor: Ljava/net/URI;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.springframework.http.client.Netty4ClientHttpRequestFactory, boolean, java.net.URI);
descriptor: (Lorg/springframework/http/client/Netty4ClientHttpRequestFactory;ZLjava/net/URI;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.springframework.http.client.Netty4ClientHttpRequestFactory$1.this$0:Lorg/springframework/http/client/Netty4ClientHttpRequestFactory;
aload 0
iload 2
putfield org.springframework.http.client.Netty4ClientHttpRequestFactory$1.val$isSecure:Z
aload 0
aload 3
putfield org.springframework.http.client.Netty4ClientHttpRequestFactory$1.val$uri:Ljava/net/URI;
aload 0
invokespecial io.netty.channel.ChannelInitializer.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/Netty4ClientHttpRequestFactory$1;
MethodParameters:
Name Flags
this$0 final
val$isSecure final
val$uri final
protected void initChannel(io.netty.channel.socket.SocketChannel);
descriptor: (Lio/netty/channel/socket/SocketChannel;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory$1.this$0:Lorg/springframework/http/client/Netty4ClientHttpRequestFactory;
aload 1
invokeinterface io.netty.channel.socket.SocketChannel.config:()Lio/netty/channel/socket/SocketChannelConfig;
invokevirtual org.springframework.http.client.Netty4ClientHttpRequestFactory.configureChannel:(Lio/netty/channel/socket/SocketChannelConfig;)V
1: aload 1
invokeinterface io.netty.channel.socket.SocketChannel.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 2
start local 2 2: aload 0
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory$1.val$isSecure:Z
ifeq 5
3: aload 0
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory$1.this$0:Lorg/springframework/http/client/Netty4ClientHttpRequestFactory;
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory.sslContext:Lio/netty/handler/ssl/SslContext;
ldc "sslContext should not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
4: aload 2
iconst_1
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
aload 0
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory$1.this$0:Lorg/springframework/http/client/Netty4ClientHttpRequestFactory;
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory.sslContext:Lio/netty/handler/ssl/SslContext;
aload 1
invokeinterface io.netty.channel.socket.SocketChannel.alloc:()Lio/netty/buffer/ByteBufAllocator;
aload 0
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory$1.val$uri:Ljava/net/URI;
invokevirtual java.net.URI.getHost:()Ljava/lang/String;
aload 0
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory$1.val$uri:Ljava/net/URI;
invokevirtual java.net.URI.getPort:()I
invokevirtual io.netty.handler.ssl.SslContext.newHandler:(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;I)Lio/netty/handler/ssl/SslHandler;
aastore
invokeinterface io.netty.channel.ChannelPipeline.addLast:([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
5: StackMap locals: io.netty.channel.ChannelPipeline
StackMap stack:
aload 2
iconst_1
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
new io.netty.handler.codec.http.HttpClientCodec
dup
invokespecial io.netty.handler.codec.http.HttpClientCodec.<init>:()V
aastore
invokeinterface io.netty.channel.ChannelPipeline.addLast:([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
6: aload 2
iconst_1
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
new io.netty.handler.codec.http.HttpObjectAggregator
dup
aload 0
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory$1.this$0:Lorg/springframework/http/client/Netty4ClientHttpRequestFactory;
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory.maxResponseSize:I
invokespecial io.netty.handler.codec.http.HttpObjectAggregator.<init>:(I)V
aastore
invokeinterface io.netty.channel.ChannelPipeline.addLast:([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
7: aload 0
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory$1.this$0:Lorg/springframework/http/client/Netty4ClientHttpRequestFactory;
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory.readTimeout:I
ifle 11
8: aload 2
iconst_1
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
new io.netty.handler.timeout.ReadTimeoutHandler
dup
aload 0
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory$1.this$0:Lorg/springframework/http/client/Netty4ClientHttpRequestFactory;
getfield org.springframework.http.client.Netty4ClientHttpRequestFactory.readTimeout:I
i2l
9: getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokespecial io.netty.handler.timeout.ReadTimeoutHandler.<init>:(JLjava/util/concurrent/TimeUnit;)V
aastore
10: invokeinterface io.netty.channel.ChannelPipeline.addLast:([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/http/client/Netty4ClientHttpRequestFactory$1;
0 12 1 channel Lio/netty/channel/socket/SocketChannel;
2 12 2 pipeline Lio/netty/channel/ChannelPipeline;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
channel
protected void initChannel(io.netty.channel.Channel);
descriptor: (Lio/netty/channel/Channel;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.netty.channel.socket.SocketChannel
invokevirtual org.springframework.http.client.Netty4ClientHttpRequestFactory$1.initChannel:(Lio/netty/channel/socket/SocketChannel;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Lio/netty/channel/ChannelInitializer<Lio/netty/channel/socket/SocketChannel;>;
SourceFile: "Netty4ClientHttpRequestFactory.java"
EnclosingMethod: org.springframework.http.client.Netty4ClientHttpRequestFactory.buildBootstrap:(Ljava/net/URI;Z)Lio/netty/bootstrap/Bootstrap;
NestHost: org.springframework.http.client.Netty4ClientHttpRequestFactory
InnerClasses:
org.springframework.http.client.Netty4ClientHttpRequestFactory$1