class org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded extends org.eclipse.jetty.http.QuotedCSVParser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded
super_class: org.eclipse.jetty.http.QuotedCSVParser
{
org.eclipse.jetty.server.HttpConfiguration _config;
descriptor: Lorg/eclipse/jetty/server/HttpConfiguration;
flags: (0x0000)
org.eclipse.jetty.server.Request _request;
descriptor: Lorg/eclipse/jetty/server/Request;
flags: (0x0000)
boolean _protoRfc7239;
descriptor: Z
flags: (0x0000)
java.lang.String _proto;
descriptor: Ljava/lang/String;
flags: (0x0000)
org.eclipse.jetty.util.HostPort _for;
descriptor: Lorg/eclipse/jetty/util/HostPort;
flags: (0x0000)
org.eclipse.jetty.util.HostPort _host;
descriptor: Lorg/eclipse/jetty/util/HostPort;
flags: (0x0000)
final org.eclipse.jetty.server.ForwardedRequestCustomizer this$0;
descriptor: Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.eclipse.jetty.server.ForwardedRequestCustomizer, org.eclipse.jetty.server.Request, org.eclipse.jetty.server.HttpConfiguration);
descriptor: (Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;Lorg/eclipse/jetty/server/Request;Lorg/eclipse/jetty/server/HttpConfiguration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
1: aload 0
iconst_0
invokespecial org.eclipse.jetty.http.QuotedCSVParser.<init>:(Z)V
2: aload 0
aload 2
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._request:Lorg/eclipse/jetty/server/Request;
3: aload 0
aload 3
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._config:Lorg/eclipse/jetty/server/HttpConfiguration;
4: aload 1
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer._forcedHost:Lorg/eclipse/jetty/http/HostPortHttpField;
ifnull 6
5: aload 0
aload 1
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer._forcedHost:Lorg/eclipse/jetty/http/HostPortHttpField;
invokevirtual org.eclipse.jetty.http.HostPortHttpField.getHostPort:()Lorg/eclipse/jetty/util/HostPort;
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
6: StackMap locals: org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded org.eclipse.jetty.server.ForwardedRequestCustomizer org.eclipse.jetty.server.Request org.eclipse.jetty.server.HttpConfiguration
StackMap stack:
return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/server/ForwardedRequestCustomizer$Forwarded;
0 7 2 request Lorg/eclipse/jetty/server/Request;
0 7 3 config Lorg/eclipse/jetty/server/HttpConfiguration;
MethodParameters:
Name Flags
this$0 final
request
config
public void handleCipherSuite(org.eclipse.jetty.http.HttpField);
descriptor: (Lorg/eclipse/jetty/http/HttpField;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._request:Lorg/eclipse/jetty/server/Request;
ldc "javax.servlet.request.cipher_suite"
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getValue:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.Request.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
invokevirtual org.eclipse.jetty.server.ForwardedRequestCustomizer.isSslIsSecure:()Z
ifeq 4
2: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._request:Lorg/eclipse/jetty/server/Request;
iconst_1
invokevirtual org.eclipse.jetty.server.Request.setSecure:(Z)V
3: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._request:Lorg/eclipse/jetty/server/Request;
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._config:Lorg/eclipse/jetty/server/HttpConfiguration;
invokevirtual org.eclipse.jetty.server.HttpConfiguration.getSecureScheme:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.Request.setScheme:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/ForwardedRequestCustomizer$Forwarded;
0 5 1 field Lorg/eclipse/jetty/http/HttpField;
MethodParameters:
Name Flags
field
public void handleSslSessionId(org.eclipse.jetty.http.HttpField);
descriptor: (Lorg/eclipse/jetty/http/HttpField;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._request:Lorg/eclipse/jetty/server/Request;
ldc "javax.servlet.request.ssl_session_id"
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getValue:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.Request.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
invokevirtual org.eclipse.jetty.server.ForwardedRequestCustomizer.isSslIsSecure:()Z
ifeq 4
2: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._request:Lorg/eclipse/jetty/server/Request;
iconst_1
invokevirtual org.eclipse.jetty.server.Request.setSecure:(Z)V
3: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._request:Lorg/eclipse/jetty/server/Request;
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._config:Lorg/eclipse/jetty/server/HttpConfiguration;
invokevirtual org.eclipse.jetty.server.HttpConfiguration.getSecureScheme:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.Request.setScheme:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/ForwardedRequestCustomizer$Forwarded;
0 5 1 field Lorg/eclipse/jetty/http/HttpField;
MethodParameters:
Name Flags
field
public void handleHost(org.eclipse.jetty.http.HttpField);
descriptor: (Lorg/eclipse/jetty/http/HttpField;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer._forwardedPortAsAuthority:Z
ifeq 6
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer._forwardedPortHeader:Ljava/lang/String;
invokestatic org.eclipse.jetty.util.StringUtil.isEmpty:(Ljava/lang/String;)Z
ifne 6
1: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
ifnonnull 3
2: aload 0
new org.eclipse.jetty.server.ForwardedRequestCustomizer$PossiblyPartialHostPort
dup
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getValue:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.ForwardedRequestCustomizer.getLeftMost:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.eclipse.jetty.server.ForwardedRequestCustomizer$PossiblyPartialHostPort.<init>:(Ljava/lang/String;)V
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
goto 8
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
instanceof org.eclipse.jetty.server.ForwardedRequestCustomizer$PortSetHostPort
ifeq 8
4: aload 0
new org.eclipse.jetty.util.HostPort
dup
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getValue:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.ForwardedRequestCustomizer.getLeftMost:(Ljava/lang/String;)Ljava/lang/String;
invokestatic org.eclipse.jetty.util.HostPort.normalizeHost:(Ljava/lang/String;)Ljava/lang/String;
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
invokevirtual org.eclipse.jetty.util.HostPort.getPort:()I
invokespecial org.eclipse.jetty.util.HostPort.<init>:(Ljava/lang/String;I)V
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
5: goto 8
6: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
ifnonnull 8
7: aload 0
new org.eclipse.jetty.util.HostPort
dup
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getValue:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.ForwardedRequestCustomizer.getLeftMost:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.eclipse.jetty.util.HostPort.<init>:(Ljava/lang/String;)V
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/server/ForwardedRequestCustomizer$Forwarded;
0 9 1 field Lorg/eclipse/jetty/http/HttpField;
MethodParameters:
Name Flags
field
public void handleServer(org.eclipse.jetty.http.HttpField);
descriptor: (Lorg/eclipse/jetty/http/HttpField;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer._proxyAsAuthority:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.handleHost:(Lorg/eclipse/jetty/http/HttpField;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/server/ForwardedRequestCustomizer$Forwarded;
0 4 1 field Lorg/eclipse/jetty/http/HttpField;
MethodParameters:
Name Flags
field
public void handleProto(org.eclipse.jetty.http.HttpField);
descriptor: (Lorg/eclipse/jetty/http/HttpField;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._proto:Ljava/lang/String;
ifnonnull 2
1: aload 0
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getValue:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.ForwardedRequestCustomizer.getLeftMost:(Ljava/lang/String;)Ljava/lang/String;
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._proto:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/ForwardedRequestCustomizer$Forwarded;
0 3 1 field Lorg/eclipse/jetty/http/HttpField;
MethodParameters:
Name Flags
field
public void handleFor(org.eclipse.jetty.http.HttpField);
descriptor: (Lorg/eclipse/jetty/http/HttpField;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer._forwardedPortAsAuthority:Z
ifne 6
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer._forwardedPortHeader:Ljava/lang/String;
invokestatic org.eclipse.jetty.util.StringUtil.isEmpty:(Ljava/lang/String;)Z
ifne 6
1: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
ifnonnull 3
2: aload 0
new org.eclipse.jetty.server.ForwardedRequestCustomizer$PossiblyPartialHostPort
dup
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getValue:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.ForwardedRequestCustomizer.getLeftMost:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.eclipse.jetty.server.ForwardedRequestCustomizer$PossiblyPartialHostPort.<init>:(Ljava/lang/String;)V
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
goto 8
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
instanceof org.eclipse.jetty.server.ForwardedRequestCustomizer$PortSetHostPort
ifeq 8
4: aload 0
new org.eclipse.jetty.util.HostPort
dup
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getValue:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.ForwardedRequestCustomizer.getLeftMost:(Ljava/lang/String;)Ljava/lang/String;
invokestatic org.eclipse.jetty.util.HostPort.normalizeHost:(Ljava/lang/String;)Ljava/lang/String;
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
invokevirtual org.eclipse.jetty.util.HostPort.getPort:()I
invokespecial org.eclipse.jetty.util.HostPort.<init>:(Ljava/lang/String;I)V
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
5: goto 8
6: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
ifnonnull 8
7: aload 0
new org.eclipse.jetty.util.HostPort
dup
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getValue:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.ForwardedRequestCustomizer.getLeftMost:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.eclipse.jetty.util.HostPort.<init>:(Ljava/lang/String;)V
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/server/ForwardedRequestCustomizer$Forwarded;
0 9 1 field Lorg/eclipse/jetty/http/HttpField;
MethodParameters:
Name Flags
field
public void handlePort(org.eclipse.jetty.http.HttpField);
descriptor: (Lorg/eclipse/jetty/http/HttpField;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer._forwardedPortAsAuthority:Z
ifne 6
1: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
ifnonnull 3
2: aload 0
new org.eclipse.jetty.server.ForwardedRequestCustomizer$PortSetHostPort
dup
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._request:Lorg/eclipse/jetty/server/Request;
invokevirtual org.eclipse.jetty.server.Request.getRemoteHost:()Ljava/lang/String;
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getIntValue:()I
invokespecial org.eclipse.jetty.server.ForwardedRequestCustomizer$PortSetHostPort.<init>:(Ljava/lang/String;I)V
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
goto 10
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
instanceof org.eclipse.jetty.server.ForwardedRequestCustomizer$PossiblyPartialHostPort
ifeq 10
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
invokevirtual org.eclipse.jetty.util.HostPort.getPort:()I
ifgt 10
4: aload 0
new org.eclipse.jetty.util.HostPort
dup
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
invokevirtual org.eclipse.jetty.util.HostPort.getHost:()Ljava/lang/String;
invokestatic org.eclipse.jetty.util.HostPort.normalizeHost:(Ljava/lang/String;)Ljava/lang/String;
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getIntValue:()I
invokespecial org.eclipse.jetty.util.HostPort.<init>:(Ljava/lang/String;I)V
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
5: goto 10
6: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
ifnonnull 8
7: aload 0
new org.eclipse.jetty.server.ForwardedRequestCustomizer$PortSetHostPort
dup
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._request:Lorg/eclipse/jetty/server/Request;
invokevirtual org.eclipse.jetty.server.Request.getServerName:()Ljava/lang/String;
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getIntValue:()I
invokespecial org.eclipse.jetty.server.ForwardedRequestCustomizer$PortSetHostPort.<init>:(Ljava/lang/String;I)V
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
goto 10
8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
instanceof org.eclipse.jetty.server.ForwardedRequestCustomizer$PossiblyPartialHostPort
ifeq 10
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
invokevirtual org.eclipse.jetty.util.HostPort.getPort:()I
ifgt 10
9: aload 0
new org.eclipse.jetty.util.HostPort
dup
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
invokevirtual org.eclipse.jetty.util.HostPort.getHost:()Ljava/lang/String;
invokestatic org.eclipse.jetty.util.HostPort.normalizeHost:(Ljava/lang/String;)Ljava/lang/String;
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getIntValue:()I
invokespecial org.eclipse.jetty.util.HostPort.<init>:(Ljava/lang/String;I)V
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/server/ForwardedRequestCustomizer$Forwarded;
0 11 1 field Lorg/eclipse/jetty/http/HttpField;
MethodParameters:
Name Flags
field
public void handleHttps(org.eclipse.jetty.http.HttpField);
descriptor: (Lorg/eclipse/jetty/http/HttpField;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._proto:Ljava/lang/String;
ifnonnull 2
ldc "on"
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 1
ldc "true"
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jetty.http.HttpScheme.HTTPS:Lorg/eclipse/jetty/http/HttpScheme;
invokevirtual org.eclipse.jetty.http.HttpScheme.asString:()Ljava/lang/String;
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._proto:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/ForwardedRequestCustomizer$Forwarded;
0 3 1 field Lorg/eclipse/jetty/http/HttpField;
MethodParameters:
Name Flags
field
public void handleRFC7239(org.eclipse.jetty.http.HttpField);
descriptor: (Lorg/eclipse/jetty/http/HttpField;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.eclipse.jetty.http.HttpField.getValue:()Ljava/lang/String;
invokevirtual org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.addValue:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/ForwardedRequestCustomizer$Forwarded;
0 2 1 field Lorg/eclipse/jetty/http/HttpField;
MethodParameters:
Name Flags
field
protected void parsedParam(java.lang.StringBuffer, int, int, int);
descriptor: (Ljava/lang/StringBuffer;III)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
ifne 29
iload 4
iload 3
if_icmple 29
1: aload 1
iload 3
iload 4
iconst_1
isub
invokevirtual java.lang.StringBuffer.substring:(II)Ljava/lang/String;
invokestatic org.eclipse.jetty.util.StringUtil.asciiToLowerCase:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 2: aload 1
iload 4
invokevirtual java.lang.StringBuffer.substring:(I)Ljava/lang/String;
astore 6
start local 6 3: aload 5
dup
astore 7
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 4
3159: 4
101577: 5
3208616: 6
106940904: 7
default: 29
}
StackMap locals: java.lang.String java.lang.String java.lang.String
StackMap stack:
4: aload 7
ldc "by"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 29
StackMap locals:
StackMap stack:
5: aload 7
ldc "for"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
goto 29
StackMap locals:
StackMap stack:
6: aload 7
ldc "host"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
goto 29
StackMap locals:
StackMap stack:
7: aload 7
ldc "proto"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
goto 29
8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer._proxyAsAuthority:Z
ifne 10
9: goto 29
10: StackMap locals:
StackMap stack:
aload 6
ldc "_"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 29
ldc "unknown"
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: goto 29
12: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded.this$0:Lorg/eclipse/jetty/server/ForwardedRequestCustomizer;
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer._proxyAsAuthority:Z
ifeq 29
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
ifnull 13
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
instanceof org.eclipse.jetty.server.ForwardedRequestCustomizer$Rfc7239HostPort
ifne 29
13: StackMap locals:
StackMap stack:
aload 0
new org.eclipse.jetty.server.ForwardedRequestCustomizer$Rfc7239HostPort
dup
aload 6
invokespecial org.eclipse.jetty.server.ForwardedRequestCustomizer$Rfc7239HostPort.<init>:(Ljava/lang/String;)V
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
14: goto 29
15: StackMap locals:
StackMap stack:
aload 6
ldc "_"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 29
ldc "unknown"
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
16: goto 29
17: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
ifnull 18
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
instanceof org.eclipse.jetty.server.ForwardedRequestCustomizer$Rfc7239HostPort
ifne 29
18: StackMap locals:
StackMap stack:
aload 0
new org.eclipse.jetty.server.ForwardedRequestCustomizer$Rfc7239HostPort
dup
aload 6
invokespecial org.eclipse.jetty.server.ForwardedRequestCustomizer$Rfc7239HostPort.<init>:(Ljava/lang/String;)V
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._for:Lorg/eclipse/jetty/util/HostPort;
19: goto 29
20: StackMap locals:
StackMap stack:
aload 6
ldc "_"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 29
ldc "unknown"
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
21: goto 29
22: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
ifnull 23
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
instanceof org.eclipse.jetty.server.ForwardedRequestCustomizer$Rfc7239HostPort
ifne 29
23: StackMap locals:
StackMap stack:
aload 0
new org.eclipse.jetty.server.ForwardedRequestCustomizer$Rfc7239HostPort
dup
aload 6
invokespecial org.eclipse.jetty.server.ForwardedRequestCustomizer$Rfc7239HostPort.<init>:(Ljava/lang/String;)V
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._host:Lorg/eclipse/jetty/util/HostPort;
24: goto 29
25: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._proto:Ljava/lang/String;
ifnull 26
aload 0
getfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._protoRfc7239:Z
ifne 29
26: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._protoRfc7239:Z
27: aload 0
aload 6
putfield org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded._proto:Ljava/lang/String;
28: goto 29
end local 6 end local 5 29: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/eclipse/jetty/server/ForwardedRequestCustomizer$Forwarded;
0 30 1 buffer Ljava/lang/StringBuffer;
0 30 2 valueLength I
0 30 3 paramName I
0 30 4 paramValue I
2 29 5 name Ljava/lang/String;
3 29 6 value Ljava/lang/String;
MethodParameters:
Name Flags
buffer
valueLength
paramName
paramValue
}
SourceFile: "ForwardedRequestCustomizer.java"
NestHost: org.eclipse.jetty.server.ForwardedRequestCustomizer
InnerClasses:
private Forwarded = org.eclipse.jetty.server.ForwardedRequestCustomizer$Forwarded of org.eclipse.jetty.server.ForwardedRequestCustomizer
private PortSetHostPort = org.eclipse.jetty.server.ForwardedRequestCustomizer$PortSetHostPort of org.eclipse.jetty.server.ForwardedRequestCustomizer
private PossiblyPartialHostPort = org.eclipse.jetty.server.ForwardedRequestCustomizer$PossiblyPartialHostPort of org.eclipse.jetty.server.ForwardedRequestCustomizer
private Rfc7239HostPort = org.eclipse.jetty.server.ForwardedRequestCustomizer$Rfc7239HostPort of org.eclipse.jetty.server.ForwardedRequestCustomizer