public class org.apache.catalina.valves.AbstractAccessLogValve$PortElement implements org.apache.catalina.valves.AbstractAccessLogValve$AccessLogElement, org.apache.catalina.valves.AbstractAccessLogValve$CachedElement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.valves.AbstractAccessLogValve$PortElement
super_class: java.lang.Object
{
private static final java.lang.String localPort;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "local"
private static final java.lang.String remotePort;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "remote"
private final org.apache.catalina.valves.AbstractAccessLogValve$PortType portType;
descriptor: Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.catalina.valves.AbstractAccessLogValve this$0;
descriptor: Lorg/apache/catalina/valves/AbstractAccessLogValve;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.apache.catalina.valves.AbstractAccessLogValve);
descriptor: (Lorg/apache/catalina/valves/AbstractAccessLogValve;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.apache.catalina.valves.AbstractAccessLogValve$PortElement.this$0:Lorg/apache/catalina/valves/AbstractAccessLogValve;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.apache.catalina.valves.AbstractAccessLogValve$PortType.LOCAL:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
putfield org.apache.catalina.valves.AbstractAccessLogValve$PortElement.portType:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/valves/AbstractAccessLogValve$PortElement;
MethodParameters:
Name Flags
this$0 final
public void <init>(org.apache.catalina.valves.AbstractAccessLogValve, java.lang.String);
descriptor: (Lorg/apache/catalina/valves/AbstractAccessLogValve;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.apache.catalina.valves.AbstractAccessLogValve$PortElement.this$0:Lorg/apache/catalina/valves/AbstractAccessLogValve;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
dup
astore 3
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
-934610874: 2
103145323: 3
default: 8
}
StackMap locals: org.apache.catalina.valves.AbstractAccessLogValve$PortElement org.apache.catalina.valves.AbstractAccessLogValve java.lang.String java.lang.String
StackMap stack:
2: aload 3
ldc "remote"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 8
StackMap locals:
StackMap stack:
3: aload 3
ldc "local"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 8
4: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.catalina.valves.AbstractAccessLogValve$PortType.REMOTE:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
putfield org.apache.catalina.valves.AbstractAccessLogValve$PortElement.portType:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
5: goto 10
6: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.catalina.valves.AbstractAccessLogValve$PortType.LOCAL:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
putfield org.apache.catalina.valves.AbstractAccessLogValve$PortElement.portType:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
7: goto 10
8: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.valves.AbstractAccessLogValve.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.valves.AbstractAccessLogValve.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "accessLogValve.invalidPortType"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
9: aload 0
getstatic org.apache.catalina.valves.AbstractAccessLogValve$PortType.LOCAL:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
putfield org.apache.catalina.valves.AbstractAccessLogValve$PortElement.portType:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
10: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/valves/AbstractAccessLogValve$PortElement;
0 11 2 type Ljava/lang/String;
MethodParameters:
Name Flags
this$0 final
type
public void addElement(java.io.CharArrayWriter, java.util.Date, org.apache.catalina.connector.Request, org.apache.catalina.connector.Response, long);
descriptor: (Ljava/io/CharArrayWriter;Ljava/util/Date;Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
getfield org.apache.catalina.valves.AbstractAccessLogValve$PortElement.this$0:Lorg/apache/catalina/valves/AbstractAccessLogValve;
getfield org.apache.catalina.valves.AbstractAccessLogValve.requestAttributesEnabled:Z
ifeq 7
aload 0
getfield org.apache.catalina.valves.AbstractAccessLogValve$PortElement.portType:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
getstatic org.apache.catalina.valves.AbstractAccessLogValve$PortType.LOCAL:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
if_acmpne 7
1: aload 3
ldc "org.apache.catalina.AccessLog.ServerPort"
invokevirtual org.apache.catalina.connector.Request.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
astore 7
start local 7 2: aload 7
ifnonnull 5
3: aload 1
aload 3
invokevirtual org.apache.catalina.connector.Request.getServerPort:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.io.CharArrayWriter.append:(Ljava/lang/CharSequence;)Ljava/io/CharArrayWriter;
pop
4: goto 11
5: StackMap locals: java.lang.Object
StackMap stack:
aload 1
aload 7
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.io.CharArrayWriter.append:(Ljava/lang/CharSequence;)Ljava/io/CharArrayWriter;
pop
end local 7 6: goto 11
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.valves.AbstractAccessLogValve$PortElement.portType:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
getstatic org.apache.catalina.valves.AbstractAccessLogValve$PortType.LOCAL:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
if_acmpne 10
8: aload 1
aload 3
invokevirtual org.apache.catalina.connector.Request.getServerPort:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.io.CharArrayWriter.append:(Ljava/lang/CharSequence;)Ljava/io/CharArrayWriter;
pop
9: goto 11
10: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual org.apache.catalina.connector.Request.getRemotePort:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.io.CharArrayWriter.append:(Ljava/lang/CharSequence;)Ljava/io/CharArrayWriter;
pop
11: StackMap locals:
StackMap stack:
return
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 12 0 this Lorg/apache/catalina/valves/AbstractAccessLogValve$PortElement;
0 12 1 buf Ljava/io/CharArrayWriter;
0 12 2 date Ljava/util/Date;
0 12 3 request Lorg/apache/catalina/connector/Request;
0 12 4 response Lorg/apache/catalina/connector/Response;
0 12 5 time J
2 6 7 port Ljava/lang/Object;
MethodParameters:
Name Flags
buf
date
request
response
time
public void cache(org.apache.catalina.connector.Request);
descriptor: (Lorg/apache/catalina/connector/Request;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.valves.AbstractAccessLogValve$PortElement.portType:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
getstatic org.apache.catalina.valves.AbstractAccessLogValve$PortType.REMOTE:Lorg/apache/catalina/valves/AbstractAccessLogValve$PortType;
if_acmpne 2
1: aload 1
invokevirtual org.apache.catalina.connector.Request.getRemotePort:()I
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/valves/AbstractAccessLogValve$PortElement;
0 3 1 request Lorg/apache/catalina/connector/Request;
MethodParameters:
Name Flags
request
}
SourceFile: "AbstractAccessLogValve.java"
NestHost: org.apache.catalina.valves.AbstractAccessLogValve
InnerClasses:
protected abstract AccessLogElement = org.apache.catalina.valves.AbstractAccessLogValve$AccessLogElement of org.apache.catalina.valves.AbstractAccessLogValve
protected abstract CachedElement = org.apache.catalina.valves.AbstractAccessLogValve$CachedElement of org.apache.catalina.valves.AbstractAccessLogValve
protected PortElement = org.apache.catalina.valves.AbstractAccessLogValve$PortElement of org.apache.catalina.valves.AbstractAccessLogValve
private final PortType = org.apache.catalina.valves.AbstractAccessLogValve$PortType of org.apache.catalina.valves.AbstractAccessLogValve