public class org.eclipse.jetty.server.ProxyConnectionFactory extends org.eclipse.jetty.server.DetectorConnectionFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.ProxyConnectionFactory
super_class: org.eclipse.jetty.server.DetectorConnectionFactory
{
public static final java.lang.String TLS_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "TLS_VERSION"
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/server/ProxyConnectionFactory;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial org.eclipse.jetty.server.ProxyConnectionFactory.<init>:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_2
anewarray org.eclipse.jetty.server.ConnectionFactory$Detecting
dup
iconst_0
new org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory
dup
aload 1
invokespecial org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory.<init>:(Ljava/lang/String;)V
aastore
dup
iconst_1
new org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV2ConnectionFactory
dup
aload 1
invokespecial org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV2ConnectionFactory.<init>:(Ljava/lang/String;)V
aastore
invokespecial org.eclipse.jetty.server.DetectorConnectionFactory.<init>:([Lorg/eclipse/jetty/server/ConnectionFactory$Detecting;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory;
0 2 1 nextProtocol Ljava/lang/String;
MethodParameters:
Name Flags
nextProtocol
private static org.eclipse.jetty.server.ConnectionFactory findNextConnectionFactory(java.lang.String, org.eclipse.jetty.server.Connector, java.lang.String, org.eclipse.jetty.io.EndPoint);
descriptor: (Ljava/lang/String;Lorg/eclipse/jetty/server/Connector;Ljava/lang/String;Lorg/eclipse/jetty/io/EndPoint;)Lorg/eclipse/jetty/server/ConnectionFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
1: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "finding connection factory following {} for protocol {}"
aload 2
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
astore 4
start local 4 4: aload 0
ifnonnull 6
5: aload 1
aload 2
invokestatic org.eclipse.jetty.server.AbstractConnectionFactory.findNextProtocol:(Lorg/eclipse/jetty/server/Connector;Ljava/lang/String;)Ljava/lang/String;
astore 4
6: StackMap locals: java.lang.String
StackMap stack:
aload 4
ifnonnull 8
7: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Cannot find protocol following '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' in connector's protocol list "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokeinterface org.eclipse.jetty.server.Connector.getProtocols:()Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 1
aload 4
invokeinterface org.eclipse.jetty.server.Connector.getConnectionFactory:(Ljava/lang/String;)Lorg/eclipse/jetty/server/ConnectionFactory;
astore 5
start local 5 9: aload 5
ifnonnull 11
10: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Cannot find protocol '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' in connector's protocol list "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokeinterface org.eclipse.jetty.server.Connector.getProtocols:()Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: org.eclipse.jetty.server.ConnectionFactory
StackMap stack:
getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 13
12: getstatic org.eclipse.jetty.server.ProxyConnectionFactory.LOG:Lorg/slf4j/Logger;
ldc "found next connection factory {} for protocol {}"
aload 5
aload 0
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
aload 5
areturn
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 14 0 nextProtocol Ljava/lang/String;
0 14 1 connector Lorg/eclipse/jetty/server/Connector;
0 14 2 currentProtocol Ljava/lang/String;
0 14 3 endp Lorg/eclipse/jetty/io/EndPoint;
4 14 4 nextProtocolToFind Ljava/lang/String;
9 14 5 connectionFactory Lorg/eclipse/jetty/server/ConnectionFactory;
MethodParameters:
Name Flags
nextProtocol
connector
currentProtocol
endp
public int ();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyV2ConnectionFactory;
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory.getBean:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV2ConnectionFactory
astore 1
start local 1 1: aload 1
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV2ConnectionFactory.getMaxProxyHeader:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory;
1 2 1 v2 Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyV2ConnectionFactory;
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyV2ConnectionFactory;
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory.getBean:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV2ConnectionFactory
astore 2
start local 2 1: aload 2
iload 1
invokevirtual org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV2ConnectionFactory.setMaxProxyHeader:(I)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/ProxyConnectionFactory;
0 3 1 maxProxyHeader I
1 3 2 v2 Lorg/eclipse/jetty/server/ProxyConnectionFactory$ProxyV2ConnectionFactory;
MethodParameters:
Name Flags
maxProxyHeader
}
SourceFile: "ProxyConnectionFactory.java"
NestMembers:
org.eclipse.jetty.server.ProxyConnectionFactory$ProxyEndPoint org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory$ProxyProtocolV1Connection org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV2ConnectionFactory org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV2ConnectionFactory$Family org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV2ConnectionFactory$ProxyProtocolV2Connection org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV2ConnectionFactory$Transport
InnerClasses:
public abstract Detecting = org.eclipse.jetty.server.ConnectionFactory$Detecting of org.eclipse.jetty.server.ConnectionFactory
public ProxyEndPoint = org.eclipse.jetty.server.ProxyConnectionFactory$ProxyEndPoint of org.eclipse.jetty.server.ProxyConnectionFactory
private ProxyV1ConnectionFactory = org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV1ConnectionFactory of org.eclipse.jetty.server.ProxyConnectionFactory
private ProxyV2ConnectionFactory = org.eclipse.jetty.server.ProxyConnectionFactory$ProxyV2ConnectionFactory of org.eclipse.jetty.server.ProxyConnectionFactory