public class org.apache.catalina.core.ApplicationPart implements jakarta.servlet.http.Part
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.core.ApplicationPart
super_class: java.lang.Object
{
private final org.apache.tomcat.util.http.fileupload.FileItem fileItem;
descriptor: Lorg/apache/tomcat/util/http/fileupload/FileItem;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.File location;
descriptor: Ljava/io/File;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.tomcat.util.http.fileupload.FileItem, java.io.File);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/FileItem;Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.catalina.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
2: aload 0
aload 2
putfield org.apache.catalina.core.ApplicationPart.location:Ljava/io/File;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/core/ApplicationPart;
0 4 1 fileItem Lorg/apache/tomcat/util/http/fileupload/FileItem;
0 4 2 location Ljava/io/File;
MethodParameters:
Name Flags
fileItem
location
public void delete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.delete:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/ApplicationPart;
Exceptions:
throws java.io.IOException
public java.lang.String getContentType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.getContentType:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationPart;
public java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
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.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
instanceof org.apache.tomcat.util.http.fileupload.disk.DiskFileItem
ifeq 2
1: aload 0
getfield org.apache.catalina.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.getHeaders:()Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
aload 1
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemHeaders.getHeader:(Ljava/lang/String;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/core/ApplicationPart;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.util.Collection<java.lang.String> getHeaderNames();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
instanceof org.apache.tomcat.util.http.fileupload.disk.DiskFileItem
ifeq 8
1: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 1
start local 1 2: aload 0
getfield org.apache.catalina.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.getHeaders:()Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemHeaders.getHeaderNames:()Ljava/util/Iterator;
3: astore 2
start local 2 4: goto 6
5: StackMap locals: java.util.LinkedHashSet java.util.Iterator
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.util.LinkedHashSet.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
7: aload 1
areturn
end local 2 end local 1 8: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/core/ApplicationPart;
2 8 1 headerNames Ljava/util/LinkedHashSet<Ljava/lang/String;>;
4 8 2 iter Ljava/util/Iterator<Ljava/lang/String;>;
Signature: ()Ljava/util/Collection<Ljava/lang/String;>;
public java.util.Collection<java.lang.String> getHeaders(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
instanceof org.apache.tomcat.util.http.fileupload.disk.DiskFileItem
ifeq 8
1: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.getHeaders:()Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
aload 1
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemHeaders.getHeaders:(Ljava/lang/String;)Ljava/util/Iterator;
3: astore 3
start local 3 4: goto 6
5: StackMap locals: java.util.LinkedHashSet java.util.Iterator
StackMap stack:
aload 2
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.util.LinkedHashSet.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
7: aload 2
areturn
end local 3 end local 2 8: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/core/ApplicationPart;
0 9 1 name Ljava/lang/String;
2 8 2 headers Ljava/util/LinkedHashSet<Ljava/lang/String;>;
4 8 3 iter Ljava/util/Iterator<Ljava/lang/String;>;
Signature: (Ljava/lang/String;)Ljava/util/Collection<Ljava/lang/String;>;
MethodParameters:
Name Flags
name
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.getInputStream:()Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationPart;
Exceptions:
throws java.io.IOException
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.getFieldName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationPart;
public long getSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.getSize:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationPart;
public void write(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
invokevirtual java.io.File.isAbsolute:()Z
ifne 3
2: new java.io.File
dup
aload 0
getfield org.apache.catalina.core.ApplicationPart.location:Ljava/io/File;
aload 1
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 2
3: StackMap locals: java.io.File
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
aload 2
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.write:(Ljava/io/File;)V
4: goto 7
StackMap locals:
StackMap stack: java.lang.Exception
5: astore 3
start local 3 6: new java.io.IOException
dup
aload 3
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/core/ApplicationPart;
0 8 1 fileName Ljava/lang/String;
1 8 2 file Ljava/io/File;
6 7 3 e Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fileName
public java.lang.String getString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
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.core.ApplicationPart.fileItem:Lorg/apache/tomcat/util/http/fileupload/FileItem;
aload 1
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.getString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationPart;
0 1 1 encoding Ljava/lang/String;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
encoding
public java.lang.String getSubmittedFileName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
ldc "Content-Disposition"
invokevirtual org.apache.catalina.core.ApplicationPart.getHeader:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 17
3: aload 2
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 3
start local 3 4: aload 3
ldc "form-data"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 5
aload 3
ldc "attachment"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 17
5: StackMap locals: java.lang.String java.lang.String java.lang.String
StackMap stack:
new org.apache.tomcat.util.http.fileupload.ParameterParser
dup
invokespecial org.apache.tomcat.util.http.fileupload.ParameterParser.<init>:()V
astore 4
start local 4 6: aload 4
iconst_1
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.setLowerCaseNames:(Z)V
7: aload 4
aload 2
bipush 59
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.parse:(Ljava/lang/String;C)Ljava/util/Map;
astore 5
start local 5 8: aload 5
ldc "filename"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 17
9: aload 5
ldc "filename"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
10: aload 1
ifnull 16
11: aload 1
bipush 92
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmple 14
12: aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic org.apache.tomcat.util.http.parser.HttpParser.unquote:(Ljava/lang/String;)Ljava/lang/String;
astore 1
13: goto 17
14: StackMap locals: org.apache.tomcat.util.http.fileupload.ParameterParser java.util.Map
StackMap stack:
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
15: goto 17
16: StackMap locals:
StackMap stack:
ldc ""
astore 1
end local 5 end local 4 end local 3 17: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/catalina/core/ApplicationPart;
1 18 1 fileName Ljava/lang/String;
2 18 2 cd Ljava/lang/String;
4 17 3 cdl Ljava/lang/String;
6 17 4 paramParser Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
8 17 5 params Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
}
SourceFile: "ApplicationPart.java"