class org.apache.catalina.core.ApplicationRequest extends jakarta.servlet.ServletRequestWrapper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.catalina.core.ApplicationRequest
super_class: jakarta.servlet.ServletRequestWrapper
{
protected static final java.lang.String[] specials;
descriptor: [Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected final java.util.HashMap<java.lang.String, java.lang.Object> attributes;
descriptor: Ljava/util/HashMap;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 12
anewarray java.lang.String
dup
iconst_0
ldc "jakarta.servlet.include.request_uri"
aastore
dup
iconst_1
1: ldc "jakarta.servlet.include.context_path"
aastore
dup
iconst_2
2: ldc "jakarta.servlet.include.servlet_path"
aastore
dup
iconst_3
3: ldc "jakarta.servlet.include.path_info"
aastore
dup
iconst_4
4: ldc "jakarta.servlet.include.query_string"
aastore
dup
iconst_5
5: ldc "jakarta.servlet.include.mapping"
aastore
dup
bipush 6
6: ldc "jakarta.servlet.forward.request_uri"
aastore
dup
bipush 7
7: ldc "jakarta.servlet.forward.context_path"
aastore
dup
bipush 8
8: ldc "jakarta.servlet.forward.servlet_path"
aastore
dup
bipush 9
9: ldc "jakarta.servlet.forward.path_info"
aastore
dup
bipush 10
10: ldc "jakarta.servlet.forward.query_string"
aastore
dup
bipush 11
11: ldc "jakarta.servlet.forward.mapping"
aastore
12: putstatic org.apache.catalina.core.ApplicationRequest.specials:[Ljava/lang/String;
13: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jakarta.servlet.ServletRequest);
descriptor: (Ljakarta/servlet/ServletRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial jakarta.servlet.ServletRequestWrapper.<init>:(Ljakarta/servlet/ServletRequest;)V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.core.ApplicationRequest.attributes:Ljava/util/HashMap;
2: aload 0
aload 1
invokevirtual org.apache.catalina.core.ApplicationRequest.setRequest:(Ljakarta/servlet/ServletRequest;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/core/ApplicationRequest;
0 4 1 request Ljakarta/servlet/ServletRequest;
MethodParameters:
Name Flags
request
public java.lang.Object getAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationRequest.attributes:Ljava/util/HashMap;
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.catalina.core.ApplicationRequest.attributes:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
aload 2
monitorexit
2: areturn
3: StackMap locals: org.apache.catalina.core.ApplicationRequest java.lang.String java.util.HashMap
StackMap stack: java.lang.Throwable
aload 2
monitorexit
4: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/core/ApplicationRequest;
0 5 1 name Ljava/lang/String;
Exception table:
from to target type
1 2 3 any
3 4 3 any
MethodParameters:
Name Flags
name
public java.util.Enumeration<java.lang.String> getAttributeNames();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationRequest.attributes:Ljava/util/HashMap;
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.catalina.core.ApplicationRequest.attributes:Ljava/util/HashMap;
invokevirtual java.util.HashMap.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.enumeration:(Ljava/util/Collection;)Ljava/util/Enumeration;
aload 1
monitorexit
2: areturn
3: StackMap locals: org.apache.catalina.core.ApplicationRequest java.util.HashMap
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/core/ApplicationRequest;
Exception table:
from to target type
1 2 3 any
3 4 3 any
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public void removeAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationRequest.attributes:Ljava/util/HashMap;
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.catalina.core.ApplicationRequest.attributes:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
invokevirtual org.apache.catalina.core.ApplicationRequest.isSpecial:(Ljava/lang/String;)Z
ifne 4
3: aload 0
invokevirtual org.apache.catalina.core.ApplicationRequest.getRequest:()Ljakarta/servlet/ServletRequest;
aload 1
invokeinterface jakarta.servlet.ServletRequest.removeAttribute:(Ljava/lang/String;)V
4: StackMap locals: java.util.HashMap
StackMap stack:
aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/core/ApplicationRequest;
0 9 1 name Ljava/lang/String;
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
name
public void setAttribute(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.catalina.core.ApplicationRequest.attributes:Ljava/util/HashMap;
dup
astore 3
monitorenter
1: aload 0
getfield org.apache.catalina.core.ApplicationRequest.attributes:Ljava/util/HashMap;
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
invokevirtual org.apache.catalina.core.ApplicationRequest.isSpecial:(Ljava/lang/String;)Z
ifne 4
3: aload 0
invokevirtual org.apache.catalina.core.ApplicationRequest.getRequest:()Ljakarta/servlet/ServletRequest;
aload 1
aload 2
invokeinterface jakarta.servlet.ServletRequest.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
4: StackMap locals: java.util.HashMap
StackMap stack:
aload 3
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/core/ApplicationRequest;
0 9 1 name Ljava/lang/String;
0 9 2 value Ljava/lang/Object;
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
name
value
public void setRequest(jakarta.servlet.ServletRequest);
descriptor: (Ljakarta/servlet/ServletRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial jakarta.servlet.ServletRequestWrapper.setRequest:(Ljakarta/servlet/ServletRequest;)V
1: aload 0
getfield org.apache.catalina.core.ApplicationRequest.attributes:Ljava/util/HashMap;
dup
astore 2
monitorenter
2: aload 0
getfield org.apache.catalina.core.ApplicationRequest.attributes:Ljava/util/HashMap;
invokevirtual java.util.HashMap.clear:()V
3: aload 1
invokeinterface jakarta.servlet.ServletRequest.getAttributeNames:()Ljava/util/Enumeration;
astore 3
start local 3 4: goto 8
5: StackMap locals: java.util.HashMap java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 6: aload 1
aload 4
invokeinterface jakarta.servlet.ServletRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
astore 5
start local 5 7: aload 0
getfield org.apache.catalina.core.ApplicationRequest.attributes:Ljava/util/HashMap;
aload 4
aload 5
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
end local 3 9: aload 2
monitorexit
10: goto 13
StackMap locals: org.apache.catalina.core.ApplicationRequest jakarta.servlet.ServletRequest java.util.HashMap
StackMap stack: java.lang.Throwable
11: aload 2
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/core/ApplicationRequest;
0 14 1 request Ljakarta/servlet/ServletRequest;
4 9 3 names Ljava/util/Enumeration<Ljava/lang/String;>;
6 8 4 name Ljava/lang/String;
7 8 5 value Ljava/lang/Object;
Exception table:
from to target type
2 10 11 any
11 12 11 any
MethodParameters:
Name Flags
request
protected boolean isSpecial(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: getstatic org.apache.catalina.core.ApplicationRequest.specials:[Ljava/lang/String;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: org.apache.catalina.core.ApplicationRequest java.lang.String top int int java.lang.String[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/core/ApplicationRequest;
0 7 1 name Ljava/lang/String;
2 4 2 special Ljava/lang/String;
MethodParameters:
Name Flags
name
}
SourceFile: "ApplicationRequest.java"