public class org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection extends org.eclipse.jetty.io.AbstractConnection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection
super_class: org.eclipse.jetty.io.AbstractConnection
{
private final org.eclipse.jetty.server.Connector _connector;
descriptor: Lorg/eclipse/jetty/server/Connector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String _next;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.ByteBuffer _buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
final org.eclipse.jetty.server.ProxyConnectionFactory this$0;
descriptor: Lorg/eclipse/jetty/server/ProxyConnectionFactory;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(org.eclipse.jetty.server.ProxyConnectionFactory, org.eclipse.jetty.io.EndPoint, org.eclipse.jetty.server.Connector, java.lang.String);
descriptor: (Lorg/eclipse/jetty/server/ProxyConnectionFactory;Lorg/eclipse/jetty/io/EndPoint;Lorg/eclipse/jetty/server/Connector;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.this$0:Lorg/eclipse/jetty/server/ProxyConnectionFactory;
1: aload 0
aload 2
aload 3
invokeinterface org.eclipse.jetty.server.Connector.getExecutor:()Ljava/util/concurrent/Executor;
invokespecial org.eclipse.jetty.io.AbstractConnection.<init>:(Lorg/eclipse/jetty/io/EndPoint;Ljava/util/concurrent/Executor;)V
2: aload 0
bipush 16
invokestatic org.eclipse.jetty.util.BufferUtil.allocate:(I)Ljava/nio/ByteBuffer;
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection._buffer:Ljava/nio/ByteBuffer;
3: aload 0
aload 3
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection._connector:Lorg/eclipse/jetty/server/Connector;
4: aload 0
aload 4
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection._next:Ljava/lang/String;
5: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyProtocolV1orV2Connection;
0 6 2 endp Lorg/eclipse/jetty/io/EndPoint;
0 6 3 connector Lorg/eclipse/jetty/server/Connector;
0 6 4 next Ljava/lang/String;
MethodParameters:
Name Flags
this$0 final
endp
connector
next
public void onOpen();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.io.AbstractConnection.onOpen:()V
1: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.fillInterested:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyProtocolV1orV2Connection;
public void onFillable();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: goto 8
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection._buffer:Ljava/nio/ByteBuffer;
invokeinterface org.eclipse.jetty.io.EndPoint.fill:(Ljava/nio/ByteBuffer;)I
istore 1
start local 1 2: iload 1
ifge 5
3: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
invokeinterface org.eclipse.jetty.io.EndPoint.shutdownOutput:()V
4: return
5: StackMap locals: int
StackMap stack:
iload 1
ifne 8
6: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.fillInterested:()V
7: return
end local 1 8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection._buffer:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.space:(Ljava/nio/ByteBuffer;)I
ifgt 1
9: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection._buffer:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.get:(I)B
lookupswitch { // 2
13: 13
80: 10
default: 16
}
10: StackMap locals:
StackMap stack:
new org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1Connection
dup
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection._connector:Lorg/eclipse/jetty/server/Connector;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection._next:Ljava/lang/String;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection._buffer:Ljava/nio/ByteBuffer;
invokespecial org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1Connection.<init>:(Lorg/eclipse/jetty/io/EndPoint;Lorg/eclipse/jetty/server/Connector;Ljava/lang/String;Ljava/nio/ByteBuffer;)V
astore 1
start local 1 11: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 1
invokeinterface org.eclipse.jetty.io.EndPoint.upgrade:(Lorg/eclipse/jetty/io/Connection;)V
12: return
end local 1 13: StackMap locals:
StackMap stack:
new org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection
dup
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.this$0:Lorg/eclipse/jetty/server/ProxyConnectionFactory;
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection._connector:Lorg/eclipse/jetty/server/Connector;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection._next:Ljava/lang/String;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection._buffer:Ljava/nio/ByteBuffer;
invokespecial org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.<init>:(Lorg/eclipse/jetty/server/ProxyConnectionFactory;Lorg/eclipse/jetty/io/EndPoint;Lorg/eclipse/jetty/server/Connector;Ljava/lang/String;Ljava/nio/ByteBuffer;)V
astore 1
start local 1 14: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 1
invokeinterface org.eclipse.jetty.io.EndPoint.upgrade:(Lorg/eclipse/jetty/io/Connection;)V
15: return
end local 1 16: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Not PROXY protocol for {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
17: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.close:()V
18: goto 22
19: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 20: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
new java.lang.StringBuilder
dup
ldc "PROXY error for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
21: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection.close:()V
end local 1 22: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyProtocolV1orV2Connection;
2 8 1 fill I
11 13 1 v1 Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyProtocolV1Connection;
14 16 1 v2 Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyProtocolV2Connection;
20 22 1 x Ljava/lang/Throwable;
Exception table:
from to target type
0 4 19 Class java.lang.Throwable
5 7 19 Class java.lang.Throwable
8 12 19 Class java.lang.Throwable
13 15 19 Class java.lang.Throwable
16 18 19 Class java.lang.Throwable
}
SourceFile: "ProxyConnectionFactory.java"
NestHost: org.eclipse.jetty.server.ProxyConnectionFactory
InnerClasses:
public ProxyProtocolV1Connection = org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1Connection of org.eclipse.jetty.server.ProxyConnectionFactory
public ProxyProtocolV1orV2Connection = org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV1orV2Connection of org.eclipse.jetty.server.ProxyConnectionFactory
public ProxyProtocolV2Connection = org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection of org.eclipse.jetty.server.ProxyConnectionFactory