public class org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection 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$ProxyProtocolV2Connection
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 final boolean _local;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.server.ProxyConnectionFactory$Family _family;
descriptor: Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.jetty.server.ProxyConnectionFactory$Transport _transport;
descriptor: Lorg/eclipse/jetty/server/ProxyConnectionFactory$Transport;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int _length;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer _buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.eclipse.jetty.server.ProxyConnectionFactory this$0;
descriptor: Lorg/eclipse/jetty/server/ProxyConnectionFactory;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$eclipse$jetty$server$ProxyConnectionFactory$Family;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
protected void <init>(org.eclipse.jetty.server.ProxyConnectionFactory, org.eclipse.jetty.io.EndPoint, org.eclipse.jetty.server.Connector, java.lang.String, java.nio.ByteBuffer);
descriptor: (Lorg/eclipse/jetty/server/ProxyConnectionFactory;Lorg/eclipse/jetty/io/EndPoint;Lorg/eclipse/jetty/server/Connector;Ljava/lang/String;Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=10, args_size=6
start local 0 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.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
aload 3
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._connector:Lorg/eclipse/jetty/server/Connector;
3: aload 0
aload 4
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._next:Ljava/lang/String;
4: aload 5
invokevirtual java.nio.ByteBuffer.remaining:()I
bipush 16
if_icmpeq 6
5: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
6: StackMap locals: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection org.eclipse.jetty.server.ProxyConnectionFactory org.eclipse.jetty.io.EndPoint org.eclipse.jetty.server.Connector java.lang.String java.nio.ByteBuffer
StackMap stack:
getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 8
7: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "PROXYv2 header {} for {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
invokestatic org.eclipse.jetty.util.BufferUtil.toHexSummary:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
aastore
dup
iconst_1
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.server.ProxyConnectionFactory.MAGIC:[B
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 13
StackMap locals: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection org.eclipse.jetty.server.ProxyConnectionFactory org.eclipse.jetty.io.EndPoint org.eclipse.jetty.server.Connector java.lang.String java.nio.ByteBuffer top int int byte[]
StackMap stack:
9: aload 9
iload 7
baload
istore 6
start local 6 10: aload 5
invokevirtual java.nio.ByteBuffer.get:()B
iload 6
if_icmpeq 12
11: new java.io.IOException
dup
ldc "Bad PROXY protocol v2 signature"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 6 12: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
iload 8
if_icmplt 9
14: sipush 255
aload 5
invokevirtual java.nio.ByteBuffer.get:()B
iand
istore 6
start local 6 15: iload 6
sipush 240
iand
bipush 32
if_icmpeq 17
16: new java.io.IOException
dup
ldc "Bad PROXY protocol v2 version"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection org.eclipse.jetty.server.ProxyConnectionFactory org.eclipse.jetty.io.EndPoint org.eclipse.jetty.server.Connector java.lang.String java.nio.ByteBuffer int
StackMap stack:
aload 0
iload 6
bipush 15
iand
ifne 18
iconst_1
goto 19
StackMap locals:
StackMap stack: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection
18: iconst_0
StackMap locals: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection org.eclipse.jetty.server.ProxyConnectionFactory org.eclipse.jetty.io.EndPoint org.eclipse.jetty.server.Connector java.lang.String java.nio.ByteBuffer int
StackMap stack: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection int
19: putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._local:Z
20: sipush 255
aload 5
invokevirtual java.nio.ByteBuffer.get:()B
iand
istore 7
start local 7 21: iload 7
iconst_4
ishr
tableswitch { // 0 - 3
0: 22
1: 24
2: 26
3: 28
default: 30
}
22: StackMap locals: int
StackMap stack:
aload 0
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Family.UNSPEC:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._family:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
23: goto 31
24: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Family.INET:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._family:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
25: goto 31
26: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Family.INET6:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._family:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
27: goto 31
28: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Family.UNIX:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._family:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
29: goto 31
30: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Bad PROXY protocol v2 family"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals:
StackMap stack:
bipush 15
iload 7
iand
tableswitch { // 0 - 2
0: 32
1: 34
2: 36
default: 38
}
32: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Transport.UNSPEC:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Transport;
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._transport:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Transport;
33: goto 39
34: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Transport.STREAM:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Transport;
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._transport:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Transport;
35: goto 39
36: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Transport.DGRAM:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Transport;
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._transport:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Transport;
37: goto 39
38: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Bad PROXY protocol v2 family"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
39: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual java.nio.ByteBuffer.getChar:()C
putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._length:I
40: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._local:Z
ifne 42
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._family:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Family.UNSPEC:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
if_acmpeq 41
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._family:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Family.UNIX:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
if_acmpeq 41
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._transport:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Transport;
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Transport.STREAM:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Transport;
if_acmpeq 42
41: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Unsupported PROXY protocol v2 mode 0x%x,0x%x"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
42: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._length:I
aload 1
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory.getMaxProxyHeader:()I
if_icmple 44
43: new java.io.IOException
dup
ldc "Unsupported PROXY protocol v2 mode 0x%x,0x%x,0x%x"
iconst_3
anewarray java.lang.Object
dup
iconst_0
iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._length:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
44: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._length:I
ifle 45
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._length:I
invokestatic org.eclipse.jetty.util.BufferUtil.allocate:(I)Ljava/nio/ByteBuffer;
goto 46
StackMap locals:
StackMap stack: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection
45: getstatic org.eclipse.jetty.util.BufferUtil.EMPTY_BUFFER:Ljava/nio/ByteBuffer;
StackMap locals: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection org.eclipse.jetty.server.ProxyConnectionFactory org.eclipse.jetty.io.EndPoint org.eclipse.jetty.server.Connector java.lang.String java.nio.ByteBuffer int int
StackMap stack: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection java.nio.ByteBuffer
46: putfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
47: return
end local 7 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 48 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyProtocolV2Connection;
0 48 2 endp Lorg/eclipse/jetty/io/EndPoint;
0 48 3 connector Lorg/eclipse/jetty/server/Connector;
0 48 4 next Ljava/lang/String;
0 48 5 buffer Ljava/nio/ByteBuffer;
10 12 6 magic B
15 48 6 versionAndCommand I
21 48 7 transportAndFamily I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
this$0 final
endp
connector
next
buffer
public void onOpen();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.io.AbstractConnection.onOpen:()V
1: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._length:I
if_icmpne 3
2: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.next:()V
goto 4
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.fillInterested:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyProtocolV2Connection;
public void onFillable();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: goto 8
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._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$ProxyProtocolV2Connection.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$ProxyProtocolV2Connection.fillInterested:()V
7: return
end local 1 8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._length:I
if_icmplt 1
9: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.next:()V
10: goto 14
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 12: 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$ProxyProtocolV2Connection.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
13: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.close:()V
end local 1 14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyProtocolV2Connection;
2 8 1 fill I
12 14 1 x Ljava/lang/Throwable;
Exception table:
from to target type
0 4 11 Class java.lang.Throwable
5 7 11 Class java.lang.Throwable
8 10 11 Class java.lang.Throwable
private void next();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=19, args_size=1
start local 0 0: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "PROXYv2 next {} from {} for {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._next:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
invokestatic org.eclipse.jetty.util.BufferUtil.toHexSummary:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
aastore
dup
iconst_2
aload 0
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._connector:Lorg/eclipse/jetty/server/Connector;
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._next:Ljava/lang/String;
invokeinterface org.eclipse.jetty.server.Connector.getConnectionFactory:(Ljava/lang/String;)Lorg/eclipse/jetty/server/ConnectionFactory;
astore 1
start local 1 3: aload 1
ifnonnull 7
4: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Next protocol '{}' for {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._next:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
5: aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.close:()V
6: return
7: StackMap locals: org.eclipse.jetty.server.ConnectionFactory
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
astore 2
start local 2 8: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._local:Z
ifne 61
9: invokestatic org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.$SWITCH_TABLE$org$eclipse$jetty$server$ProxyConnectionFactory$Family:()[I
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._family:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$Family.ordinal:()I
iaload
tableswitch { // 2 - 3
2: 10
3: 18
default: 26
}
10: StackMap locals: org.eclipse.jetty.io.EndPoint
StackMap stack:
iconst_4
newarray 8
astore 7
start local 7 11: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
aload 7
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
12: aload 7
invokestatic java.net.Inet4Address.getByAddress:([B)Ljava/net/InetAddress;
astore 3
start local 3 13: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
aload 7
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
14: aload 7
invokestatic java.net.Inet4Address.getByAddress:([B)Ljava/net/InetAddress;
astore 4
start local 4 15: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.getChar:()C
istore 5
start local 5 16: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.getChar:()C
istore 6
start local 6 17: goto 27
end local 7 end local 6 end local 5 end local 4 end local 3 18: StackMap locals:
StackMap stack:
bipush 16
newarray 8
astore 7
start local 7 19: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
aload 7
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
20: aload 7
invokestatic java.net.Inet6Address.getByAddress:([B)Ljava/net/InetAddress;
astore 3
start local 3 21: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
aload 7
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
22: aload 7
invokestatic java.net.Inet6Address.getByAddress:([B)Ljava/net/InetAddress;
astore 4
start local 4 23: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.getChar:()C
istore 5
start local 5 24: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.getChar:()C
istore 6
start local 6 25: goto 27
end local 7 end local 6 end local 5 end local 4 end local 3 26: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
start local 3 start local 4 start local 5 start local 6 27: StackMap locals: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection org.eclipse.jetty.server.ConnectionFactory org.eclipse.jetty.io.EndPoint java.net.InetAddress java.net.InetAddress int int
StackMap stack:
new java.net.InetSocketAddress
dup
aload 3
iload 5
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
astore 7
start local 7 28: new java.net.InetSocketAddress
dup
aload 4
iload 6
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
astore 8
start local 8 29: new org.eclipse.jetty.server.ProxyConnectionFactory$ProxyEndPoint
dup
aload 2
aload 7
aload 8
invokespecial org.eclipse.jetty.server.ProxyConnectionFactory$ProxyEndPoint.<init>:(Lorg/eclipse/jetty/io/EndPoint;Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;)V
astore 9
start local 9 30: aload 9
astore 2
31: goto 55
32: StackMap locals: java.net.InetSocketAddress java.net.InetSocketAddress org.eclipse.jetty.server.ProxyConnectionFactory$ProxyEndPoint
StackMap stack:
sipush 255
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
iand
istore 10
start local 10 33: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.getShort:()S
istore 11
start local 11 34: iload 11
newarray 8
astore 12
start local 12 35: aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
aload 12
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
36: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 38
37: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "T=%x L=%d V=%s for %s"
iconst_4
anewarray java.lang.Object
dup
iconst_0
iload 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 11
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 12
invokestatic org.eclipse.jetty.util.TypeUtil.toHexString:([B)Ljava/lang/String;
aastore
dup
iconst_3
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
38: StackMap locals: int int byte[]
StackMap stack:
iload 10
lookupswitch { // 6
1: 55
2: 55
3: 55
4: 55
32: 39
48: 55
default: 55
}
39: StackMap locals:
StackMap stack:
aload 12
iconst_0
baload
sipush 255
iand
istore 13
start local 13 40: iload 13
tableswitch { // 1 - 4
1: 41
2: 54
3: 54
4: 54
default: 54
}
41: StackMap locals: int
StackMap stack:
iconst_5
istore 14
start local 14 42: goto 52
43: StackMap locals: int
StackMap stack:
aload 12
iload 14
iinc 14 1
baload
sipush 255
iand
istore 15
start local 15 44: aload 12
iload 14
iinc 14 1
baload
sipush 255
iand
sipush 256
imul
aload 12
iload 14
iinc 14 1
baload
sipush 255
iand
iadd
istore 16
start local 16 45: iload 16
newarray 8
astore 17
start local 17 46: aload 12
iload 14
aload 17
iconst_0
iload 16
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
47: iload 14
iload 16
iadd
istore 14
48: iload 15
tableswitch { // 33 - 37
33: 49
34: 52
35: 52
36: 52
37: 52
default: 52
}
49: StackMap locals: int int byte[]
StackMap stack:
new java.lang.String
dup
aload 17
getstatic java.nio.charset.StandardCharsets.US_ASCII:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
astore 18
start local 18 50: aload 9
ldc "TLS_VERSION"
aload 18
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyEndPoint.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
51: goto 52
end local 18 end local 17 end local 16 end local 15 52: StackMap locals:
StackMap stack:
iload 14
iload 11
if_icmplt 43
53: goto 55
end local 14 54: StackMap locals:
StackMap stack:
goto 55
end local 13 end local 12 end local 11 end local 10 55: StackMap locals: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection org.eclipse.jetty.server.ConnectionFactory org.eclipse.jetty.io.EndPoint java.net.InetAddress java.net.InetAddress int int java.net.InetSocketAddress java.net.InetSocketAddress org.eclipse.jetty.server.ProxyConnectionFactory$ProxyEndPoint
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 32
56: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 61
57: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "{} {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.getEndPoint:()Lorg/eclipse/jetty/io/EndPoint;
aastore
dup
iconst_1
aload 9
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyEndPoint.toString:()Ljava/lang/String;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 58: goto 61
59: StackMap locals: org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection org.eclipse.jetty.server.ConnectionFactory org.eclipse.jetty.io.EndPoint
StackMap stack: java.lang.Exception
astore 3
start local 3 60: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 3
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/Throwable;)V
end local 3 61: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection._connector:Lorg/eclipse/jetty/server/Connector;
aload 2
invokeinterface org.eclipse.jetty.server.ConnectionFactory.newConnection:(Lorg/eclipse/jetty/server/Connector;Lorg/eclipse/jetty/io/EndPoint;)Lorg/eclipse/jetty/io/Connection;
astore 3
start local 3 62: aload 2
aload 3
invokeinterface org.eclipse.jetty.io.EndPoint.upgrade:(Lorg/eclipse/jetty/io/Connection;)V
63: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 64 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyProtocolV2Connection;
3 64 1 connectionFactory Lorg/eclipse/jetty/server/ConnectionFactory;
8 64 2 endPoint Lorg/eclipse/jetty/io/EndPoint;
13 18 3 src Ljava/net/InetAddress;
21 26 3 src Ljava/net/InetAddress;
27 58 3 src Ljava/net/InetAddress;
15 18 4 dst Ljava/net/InetAddress;
23 26 4 dst Ljava/net/InetAddress;
27 58 4 dst Ljava/net/InetAddress;
16 18 5 sp I
24 26 5 sp I
27 58 5 sp I
17 18 6 dp I
25 26 6 dp I
27 58 6 dp I
11 18 7 addr [B
19 26 7 addr [B
28 58 7 remote Ljava/net/InetSocketAddress;
29 58 8 local Ljava/net/InetSocketAddress;
30 58 9 proxyEndPoint Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyEndPoint;
33 55 10 type I
34 55 11 length I
35 55 12 value [B
40 55 13 client I
42 54 14 i I
44 52 15 subType I
45 52 16 subLength I
46 52 17 subValue [B
50 52 18 tlsVersion Ljava/lang/String;
60 61 3 e Ljava/lang/Exception;
62 64 3 newConnection Lorg/eclipse/jetty/io/Connection;
Exception table:
from to target type
9 58 59 Class java.lang.Exception
static int[] $SWITCH_TABLE$org$eclipse$jetty$server$ProxyConnectionFactory$Family();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.$SWITCH_TABLE$org$eclipse$jetty$server$ProxyConnectionFactory$Family:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jetty.server.ProxyConnectionFactory$Family.values:()[Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Family.INET:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$Family.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Family.INET6:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$Family.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Family.UNIX:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$Family.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.eclipse.jetty.server.ProxyConnectionFactory$Family.UNSPEC:Lorg/eclipse/jetty/server/ProxyConnectionFactory$Family;
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$Family.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection.$SWITCH_TABLE$org$eclipse$jetty$server$ProxyConnectionFactory$Family:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "ProxyConnectionFactory.java"
NestHost: org.eclipse.jetty.server.ProxyConnectionFactory
InnerClasses:
private final Family = org.eclipse.jetty.server.ProxyConnectionFactory$Family of org.eclipse.jetty.server.ProxyConnectionFactory
public ProxyEndPoint = org.eclipse.jetty.server.ProxyConnectionFactory$ProxyEndPoint of org.eclipse.jetty.server.ProxyConnectionFactory
public ProxyProtocolV2Connection = org.eclipse.jetty.server.ProxyConnectionFactory$ProxyProtocolV2Connection of org.eclipse.jetty.server.ProxyConnectionFactory
private final Transport = org.eclipse.jetty.server.ProxyConnectionFactory$Transport of org.eclipse.jetty.server.ProxyConnectionFactory