public final class io.netty.handler.proxy.HttpProxyHandler extends io.netty.handler.proxy.ProxyHandler
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.proxy.HttpProxyHandler
super_class: io.netty.handler.proxy.ProxyHandler
{
private static final java.lang.String PROTOCOL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "http"
private static final java.lang.String AUTH_BASIC;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "basic"
private final io.netty.handler.codec.http.HttpClientCodec codec;
descriptor: Lio/netty/handler/codec/http/HttpClientCodec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String username;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String password;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.CharSequence authorization;
descriptor: Ljava/lang/CharSequence;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean ignoreDefaultPortsInConnectHostHeader;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.netty.handler.codec.http.HttpResponseStatus status;
descriptor: Lio/netty/handler/codec/http/HttpResponseStatus;
flags: (0x0002) ACC_PRIVATE
private io.netty.handler.codec.http.HttpHeaders headers;
descriptor: Lio/netty/handler/codec/http/HttpHeaders;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.net.SocketAddress);
descriptor: (Ljava/net/SocketAddress;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial io.netty.handler.proxy.HttpProxyHandler.<init>:(Ljava/net/SocketAddress;Lio/netty/handler/codec/http/HttpHeaders;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/proxy/HttpProxyHandler;
0 2 1 proxyAddress Ljava/net/SocketAddress;
MethodParameters:
Name Flags
proxyAddress
public void <init>(java.net.SocketAddress, io.netty.handler.codec.http.HttpHeaders);
descriptor: (Ljava/net/SocketAddress;Lio/netty/handler/codec/http/HttpHeaders;)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.proxy.HttpProxyHandler.<init>:(Ljava/net/SocketAddress;Lio/netty/handler/codec/http/HttpHeaders;Z)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/proxy/HttpProxyHandler;
0 2 1 proxyAddress Ljava/net/SocketAddress;
0 2 2 headers Lio/netty/handler/codec/http/HttpHeaders;
MethodParameters:
Name Flags
proxyAddress
headers
public void <init>(java.net.SocketAddress, io.netty.handler.codec.http.HttpHeaders, boolean);
descriptor: (Ljava/net/SocketAddress;Lio/netty/handler/codec/http/HttpHeaders;Z)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
aload 1
invokespecial io.netty.handler.proxy.ProxyHandler.<init>:(Ljava/net/SocketAddress;)V
1: aload 0
new io.netty.handler.codec.http.HttpClientCodec
dup
invokespecial io.netty.handler.codec.http.HttpClientCodec.<init>:()V
putfield io.netty.handler.proxy.HttpProxyHandler.codec:Lio/netty/handler/codec/http/HttpClientCodec;
2: aload 0
aconst_null
putfield io.netty.handler.proxy.HttpProxyHandler.username:Ljava/lang/String;
3: aload 0
aconst_null
putfield io.netty.handler.proxy.HttpProxyHandler.password:Ljava/lang/String;
4: aload 0
aconst_null
putfield io.netty.handler.proxy.HttpProxyHandler.authorization:Ljava/lang/CharSequence;
5: aload 0
aload 2
putfield io.netty.handler.proxy.HttpProxyHandler.headers:Lio/netty/handler/codec/http/HttpHeaders;
6: aload 0
iload 3
putfield io.netty.handler.proxy.HttpProxyHandler.ignoreDefaultPortsInConnectHostHeader:Z
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/handler/proxy/HttpProxyHandler;
0 8 1 proxyAddress Ljava/net/SocketAddress;
0 8 2 headers Lio/netty/handler/codec/http/HttpHeaders;
0 8 3 ignoreDefaultPortsInConnectHostHeader Z
MethodParameters:
Name Flags
proxyAddress
headers
ignoreDefaultPortsInConnectHostHeader
public void <init>(java.net.SocketAddress, java.lang.String, java.lang.String);
descriptor: (Ljava/net/SocketAddress;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
invokespecial io.netty.handler.proxy.HttpProxyHandler.<init>:(Ljava/net/SocketAddress;Ljava/lang/String;Ljava/lang/String;Lio/netty/handler/codec/http/HttpHeaders;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/proxy/HttpProxyHandler;
0 2 1 proxyAddress Ljava/net/SocketAddress;
0 2 2 username Ljava/lang/String;
0 2 3 password Ljava/lang/String;
MethodParameters:
Name Flags
proxyAddress
username
password
public void <init>(java.net.SocketAddress, java.lang.String, java.lang.String, io.netty.handler.codec.http.HttpHeaders);
descriptor: (Ljava/net/SocketAddress;Ljava/lang/String;Ljava/lang/String;Lio/netty/handler/codec/http/HttpHeaders;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
iconst_0
invokespecial io.netty.handler.proxy.HttpProxyHandler.<init>:(Ljava/net/SocketAddress;Ljava/lang/String;Ljava/lang/String;Lio/netty/handler/codec/http/HttpHeaders;Z)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/proxy/HttpProxyHandler;
0 2 1 proxyAddress Ljava/net/SocketAddress;
0 2 2 username Ljava/lang/String;
0 2 3 password Ljava/lang/String;
0 2 4 headers Lio/netty/handler/codec/http/HttpHeaders;
MethodParameters:
Name Flags
proxyAddress
username
password
headers
public void <init>(java.net.SocketAddress, java.lang.String, java.lang.String, io.netty.handler.codec.http.HttpHeaders, boolean);
descriptor: (Ljava/net/SocketAddress;Ljava/lang/String;Ljava/lang/String;Lio/netty/handler/codec/http/HttpHeaders;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
invokespecial io.netty.handler.proxy.ProxyHandler.<init>:(Ljava/net/SocketAddress;)V
1: aload 0
new io.netty.handler.codec.http.HttpClientCodec
dup
invokespecial io.netty.handler.codec.http.HttpClientCodec.<init>:()V
putfield io.netty.handler.proxy.HttpProxyHandler.codec:Lio/netty/handler/codec/http/HttpClientCodec;
2: aload 2
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "username"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: io.netty.handler.proxy.HttpProxyHandler java.net.SocketAddress java.lang.String java.lang.String io.netty.handler.codec.http.HttpHeaders int
StackMap stack:
aload 3
ifnonnull 6
5: new java.lang.NullPointerException
dup
ldc "password"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield io.netty.handler.proxy.HttpProxyHandler.username:Ljava/lang/String;
7: aload 0
aload 3
putfield io.netty.handler.proxy.HttpProxyHandler.password:Ljava/lang/String;
8: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
getstatic io.netty.util.CharsetUtil.UTF_8:Ljava/nio/charset/Charset;
invokestatic io.netty.buffer.Unpooled.copiedBuffer:(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Lio/netty/buffer/ByteBuf;
astore 6
start local 6 9: aload 6
iconst_0
invokestatic io.netty.handler.codec.base64.Base64.encode:(Lio/netty/buffer/ByteBuf;Z)Lio/netty/buffer/ByteBuf;
astore 7
start local 7 10: aload 0
new io.netty.util.AsciiString
dup
new java.lang.StringBuilder
dup
ldc "Basic "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
getstatic io.netty.util.CharsetUtil.US_ASCII:Ljava/nio/charset/Charset;
invokevirtual io.netty.buffer.ByteBuf.toString:(Ljava/nio/charset/Charset;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial io.netty.util.AsciiString.<init>:(Ljava/lang/CharSequence;)V
putfield io.netty.handler.proxy.HttpProxyHandler.authorization:Ljava/lang/CharSequence;
11: aload 6
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
12: aload 7
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
13: aload 0
aload 4
putfield io.netty.handler.proxy.HttpProxyHandler.headers:Lio/netty/handler/codec/http/HttpHeaders;
14: aload 0
iload 5
putfield io.netty.handler.proxy.HttpProxyHandler.ignoreDefaultPortsInConnectHostHeader:Z
15: return
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 16 0 this Lio/netty/handler/proxy/HttpProxyHandler;
0 16 1 proxyAddress Ljava/net/SocketAddress;
0 16 2 username Ljava/lang/String;
0 16 3 password Ljava/lang/String;
0 16 4 headers Lio/netty/handler/codec/http/HttpHeaders;
0 16 5 ignoreDefaultPortsInConnectHostHeader Z
9 16 6 authz Lio/netty/buffer/ByteBuf;
10 16 7 authzBase64 Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
proxyAddress
username
password
headers
ignoreDefaultPortsInConnectHostHeader
public java.lang.String protocol();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "http"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/proxy/HttpProxyHandler;
public java.lang.String authScheme();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.authorization:Ljava/lang/CharSequence;
ifnull 1
ldc "basic"
goto 2
StackMap locals:
StackMap stack:
1: ldc "none"
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/proxy/HttpProxyHandler;
public java.lang.String username();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.username:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/proxy/HttpProxyHandler;
public java.lang.String password();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.password:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/proxy/HttpProxyHandler;
protected void addCodec(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 2
start local 2 1: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.name:()Ljava/lang/String;
astore 3
start local 3 2: aload 2
aload 3
aconst_null
aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.codec:Lio/netty/handler/codec/http/HttpClientCodec;
invokeinterface io.netty.channel.ChannelPipeline.addBefore:(Ljava/lang/String;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
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/proxy/HttpProxyHandler;
0 4 1 ctx Lio/netty/channel/ChannelHandlerContext;
1 4 2 p Lio/netty/channel/ChannelPipeline;
2 4 3 name Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
protected void removeEncoder(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.codec:Lio/netty/handler/codec/http/HttpClientCodec;
invokevirtual io.netty.handler.codec.http.HttpClientCodec.removeOutboundHandler:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/proxy/HttpProxyHandler;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
protected void removeDecoder(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.codec:Lio/netty/handler/codec/http/HttpClientCodec;
invokevirtual io.netty.handler.codec.http.HttpClientCodec.removeInboundHandler:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/proxy/HttpProxyHandler;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
protected java.lang.Object newInitialMessage(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.handler.proxy.HttpProxyHandler.destinationAddress:()Ljava/net/SocketAddress;
checkcast java.net.InetSocketAddress
astore 2
start local 2 1: aload 2
invokestatic io.netty.handler.codec.http.HttpUtil.formatHostnameForHttp:(Ljava/net/InetSocketAddress;)Ljava/lang/String;
astore 3
start local 3 2: aload 2
invokevirtual java.net.InetSocketAddress.getPort:()I
istore 4
start local 4 3: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 4: aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.ignoreDefaultPortsInConnectHostHeader:Z
ifeq 6
iload 4
bipush 80
if_icmpeq 5
iload 4
sipush 443
if_icmpne 6
5: StackMap locals: io.netty.handler.proxy.HttpProxyHandler io.netty.channel.ChannelHandlerContext java.net.InetSocketAddress java.lang.String int java.lang.String
StackMap stack:
aload 3
goto 7
6: StackMap locals:
StackMap stack:
aload 5
7: StackMap locals:
StackMap stack: java.lang.String
astore 6
start local 6 8: new io.netty.handler.codec.http.DefaultFullHttpRequest
dup
9: getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_1:Lio/netty/handler/codec/http/HttpVersion;
getstatic io.netty.handler.codec.http.HttpMethod.CONNECT:Lio/netty/handler/codec/http/HttpMethod;
10: aload 5
11: getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
iconst_0
12: invokespecial io.netty.handler.codec.http.DefaultFullHttpRequest.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpMethod;Ljava/lang/String;Lio/netty/buffer/ByteBuf;Z)V
astore 7
start local 7 13: aload 7
invokeinterface io.netty.handler.codec.http.FullHttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.HOST:Lio/netty/util/AsciiString;
aload 6
invokevirtual io.netty.handler.codec.http.HttpHeaders.set:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
14: aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.authorization:Ljava/lang/CharSequence;
ifnull 16
15: aload 7
invokeinterface io.netty.handler.codec.http.FullHttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.PROXY_AUTHORIZATION:Lio/netty/util/AsciiString;
aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.authorization:Ljava/lang/CharSequence;
invokevirtual io.netty.handler.codec.http.HttpHeaders.set:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
16: StackMap locals: java.lang.String io.netty.handler.codec.http.FullHttpRequest
StackMap stack:
aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.headers:Lio/netty/handler/codec/http/HttpHeaders;
ifnull 18
17: aload 7
invokeinterface io.netty.handler.codec.http.FullHttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.headers:Lio/netty/handler/codec/http/HttpHeaders;
invokevirtual io.netty.handler.codec.http.HttpHeaders.add:(Lio/netty/handler/codec/http/HttpHeaders;)Lio/netty/handler/codec/http/HttpHeaders;
pop
18: StackMap locals:
StackMap stack:
aload 7
areturn
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 19 0 this Lio/netty/handler/proxy/HttpProxyHandler;
0 19 1 ctx Lio/netty/channel/ChannelHandlerContext;
1 19 2 raddr Ljava/net/InetSocketAddress;
2 19 3 hostString Ljava/lang/String;
3 19 4 port I
4 19 5 url Ljava/lang/String;
8 19 6 hostHeader Ljava/lang/String;
13 19 7 req Lio/netty/handler/codec/http/FullHttpRequest;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
protected boolean handleResponse(io.netty.channel.ChannelHandlerContext, java.lang.Object);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof io.netty.handler.codec.http.HttpResponse
ifeq 4
1: aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.status:Lio/netty/handler/codec/http/HttpResponseStatus;
ifnull 3
2: new io.netty.handler.proxy.ProxyConnectException
dup
aload 0
ldc "too many responses"
invokevirtual io.netty.handler.proxy.HttpProxyHandler.exceptionMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial io.netty.handler.proxy.ProxyConnectException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 2
checkcast io.netty.handler.codec.http.HttpResponse
invokeinterface io.netty.handler.codec.http.HttpResponse.status:()Lio/netty/handler/codec/http/HttpResponseStatus;
putfield io.netty.handler.proxy.HttpProxyHandler.status:Lio/netty/handler/codec/http/HttpResponseStatus;
4: StackMap locals:
StackMap stack:
aload 2
instanceof io.netty.handler.codec.http.LastHttpContent
istore 3
start local 3 5: iload 3
ifeq 10
6: aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.status:Lio/netty/handler/codec/http/HttpResponseStatus;
ifnonnull 8
7: new io.netty.handler.proxy.ProxyConnectException
dup
aload 0
ldc "missing response"
invokevirtual io.netty.handler.proxy.HttpProxyHandler.exceptionMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial io.netty.handler.proxy.ProxyConnectException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: int
StackMap stack:
aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.status:Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.code:()I
sipush 200
if_icmpeq 10
9: new io.netty.handler.proxy.ProxyConnectException
dup
aload 0
new java.lang.StringBuilder
dup
ldc "status: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.netty.handler.proxy.HttpProxyHandler.status:Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.netty.handler.proxy.HttpProxyHandler.exceptionMessage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial io.netty.handler.proxy.ProxyConnectException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/netty/handler/proxy/HttpProxyHandler;
0 11 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 11 2 response Ljava/lang/Object;
5 11 3 finished Z
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
response
}
SourceFile: "HttpProxyHandler.java"