public abstract class org.springframework.web.multipart.commons.CommonsFileUploadSupport
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.web.multipart.commons.CommonsFileUploadSupport
super_class: java.lang.Object
{
protected final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final org.apache.commons.fileupload.disk.DiskFileItemFactory fileItemFactory;
descriptor: Lorg/apache/commons/fileupload/disk/DiskFileItemFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.commons.fileupload.FileUpload fileUpload;
descriptor: Lorg/apache/commons/fileupload/FileUpload;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean uploadTempDirSpecified;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean preserveFilename;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.logger:Lorg/apache/commons/logging/Log;
2: aload 0
iconst_0
putfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.uploadTempDirSpecified:Z
3: aload 0
iconst_0
putfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.preserveFilename:Z
4: aload 0
aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsFileUploadSupport.newFileItemFactory:()Lorg/apache/commons/fileupload/disk/DiskFileItemFactory;
putfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.fileItemFactory:Lorg/apache/commons/fileupload/disk/DiskFileItemFactory;
5: aload 0
aload 0
aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsFileUploadSupport.getFileItemFactory:()Lorg/apache/commons/fileupload/disk/DiskFileItemFactory;
invokevirtual org.springframework.web.multipart.commons.CommonsFileUploadSupport.newFileUpload:(Lorg/apache/commons/fileupload/FileItemFactory;)Lorg/apache/commons/fileupload/FileUpload;
putfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.fileUpload:Lorg/apache/commons/fileupload/FileUpload;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
public org.apache.commons.fileupload.disk.DiskFileItemFactory getFileItemFactory();
descriptor: ()Lorg/apache/commons/fileupload/disk/DiskFileItemFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.fileItemFactory:Lorg/apache/commons/fileupload/disk/DiskFileItemFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
public org.apache.commons.fileupload.FileUpload getFileUpload();
descriptor: ()Lorg/apache/commons/fileupload/FileUpload;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.fileUpload:Lorg/apache/commons/fileupload/FileUpload;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
public void setMaxUploadSize(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.fileUpload:Lorg/apache/commons/fileupload/FileUpload;
lload 1
invokevirtual org.apache.commons.fileupload.FileUpload.setSizeMax:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
0 2 1 maxUploadSize J
MethodParameters:
Name Flags
maxUploadSize
public void setMaxUploadSizePerFile(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.fileUpload:Lorg/apache/commons/fileupload/FileUpload;
lload 1
invokevirtual org.apache.commons.fileupload.FileUpload.setFileSizeMax:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
0 2 1 maxUploadSizePerFile J
MethodParameters:
Name Flags
maxUploadSizePerFile
public void setMaxInMemorySize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.fileItemFactory:Lorg/apache/commons/fileupload/disk/DiskFileItemFactory;
iload 1
invokevirtual org.apache.commons.fileupload.disk.DiskFileItemFactory.setSizeThreshold:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
0 2 1 maxInMemorySize I
MethodParameters:
Name Flags
maxInMemorySize
public void setDefaultEncoding(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.fileUpload:Lorg/apache/commons/fileupload/FileUpload;
aload 1
invokevirtual org.apache.commons.fileupload.FileUpload.setHeaderEncoding:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
0 2 1 defaultEncoding Ljava/lang/String;
MethodParameters:
Name Flags
defaultEncoding
protected java.lang.String getDefaultEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsFileUploadSupport.getFileUpload:()Lorg/apache/commons/fileupload/FileUpload;
invokevirtual org.apache.commons.fileupload.FileUpload.getHeaderEncoding:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: ldc "ISO-8859-1"
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
1 4 1 encoding Ljava/lang/String;
public void setUploadTempDir(org.springframework.core.io.Resource);
descriptor: (Lorg/springframework/core/io/Resource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.springframework.core.io.Resource.exists:()Z
ifne 2
aload 1
invokeinterface org.springframework.core.io.Resource.getFile:()Ljava/io/File;
invokevirtual java.io.File.mkdirs:()Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Given uploadTempDir ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] could not be created"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.fileItemFactory:Lorg/apache/commons/fileupload/disk/DiskFileItemFactory;
aload 1
invokeinterface org.springframework.core.io.Resource.getFile:()Ljava/io/File;
invokevirtual org.apache.commons.fileupload.disk.DiskFileItemFactory.setRepository:(Ljava/io/File;)V
3: aload 0
iconst_1
putfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.uploadTempDirSpecified:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
0 5 1 uploadTempDir Lorg/springframework/core/io/Resource;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
uploadTempDir
protected boolean isUploadTempDirSpecified();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.uploadTempDirSpecified:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
public void setPreserveFilename(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.preserveFilename:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
0 2 1 preserveFilename Z
MethodParameters:
Name Flags
preserveFilename
protected org.apache.commons.fileupload.disk.DiskFileItemFactory newFileItemFactory();
descriptor: ()Lorg/apache/commons/fileupload/disk/DiskFileItemFactory;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new org.apache.commons.fileupload.disk.DiskFileItemFactory
dup
invokespecial org.apache.commons.fileupload.disk.DiskFileItemFactory.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
protected abstract org.apache.commons.fileupload.FileUpload newFileUpload(org.apache.commons.fileupload.FileItemFactory);
descriptor: (Lorg/apache/commons/fileupload/FileItemFactory;)Lorg/apache/commons/fileupload/FileUpload;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
fileItemFactory
protected org.apache.commons.fileupload.FileUpload prepareFileUpload(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/commons/fileupload/FileUpload;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsFileUploadSupport.getFileUpload:()Lorg/apache/commons/fileupload/FileUpload;
astore 2
start local 2 1: aload 2
astore 3
start local 3 2: aload 1
ifnull 7
aload 1
aload 2
invokevirtual org.apache.commons.fileupload.FileUpload.getHeaderEncoding:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
3: aload 0
aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsFileUploadSupport.getFileItemFactory:()Lorg/apache/commons/fileupload/disk/DiskFileItemFactory;
invokevirtual org.springframework.web.multipart.commons.CommonsFileUploadSupport.newFileUpload:(Lorg/apache/commons/fileupload/FileItemFactory;)Lorg/apache/commons/fileupload/FileUpload;
astore 3
4: aload 3
aload 2
invokevirtual org.apache.commons.fileupload.FileUpload.getSizeMax:()J
invokevirtual org.apache.commons.fileupload.FileUpload.setSizeMax:(J)V
5: aload 3
aload 2
invokevirtual org.apache.commons.fileupload.FileUpload.getFileSizeMax:()J
invokevirtual org.apache.commons.fileupload.FileUpload.setFileSizeMax:(J)V
6: aload 3
aload 1
invokevirtual org.apache.commons.fileupload.FileUpload.setHeaderEncoding:(Ljava/lang/String;)V
7: StackMap locals: org.apache.commons.fileupload.FileUpload org.apache.commons.fileupload.FileUpload
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
0 8 1 encoding Ljava/lang/String;
1 8 2 fileUpload Lorg/apache/commons/fileupload/FileUpload;
2 8 3 actualFileUpload Lorg/apache/commons/fileupload/FileUpload;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
encoding
protected org.springframework.web.multipart.commons.CommonsFileUploadSupport$MultipartParsingResult parseFileItems(java.util.List<org.apache.commons.fileupload.FileItem>, java.lang.String);
descriptor: (Ljava/util/List;Ljava/lang/String;)Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport$MultipartParsingResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=12, args_size=3
start local 0 start local 1 start local 2 0: new org.springframework.util.LinkedMultiValueMap
dup
invokespecial org.springframework.util.LinkedMultiValueMap.<init>:()V
astore 3
start local 3 1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 26
StackMap locals: org.springframework.web.multipart.commons.CommonsFileUploadSupport java.util.List java.lang.String org.springframework.util.MultiValueMap java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.fileupload.FileItem
astore 6
start local 6 5: aload 6
invokeinterface org.apache.commons.fileupload.FileItem.isFormField:()Z
ifeq 23
6: aload 0
aload 6
invokeinterface org.apache.commons.fileupload.FileItem.getContentType:()Ljava/lang/String;
aload 2
invokevirtual org.springframework.web.multipart.commons.CommonsFileUploadSupport.determineEncoding:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 7: aload 6
aload 9
invokeinterface org.apache.commons.fileupload.FileItem.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 8: goto 15
end local 8 9: StackMap locals: org.springframework.web.multipart.commons.CommonsFileUploadSupport java.util.List java.lang.String org.springframework.util.MultiValueMap java.util.Map java.util.Map org.apache.commons.fileupload.FileItem java.util.Iterator top java.lang.String
StackMap stack: java.io.UnsupportedEncodingException
pop
10: aload 0
getfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isWarnEnabled:()Z
ifeq 14
11: aload 0
getfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Could not decode multipart item '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokeinterface org.apache.commons.fileupload.FileItem.getFieldName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc "' with encoding '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "': using platform default"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;)V
14: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.apache.commons.fileupload.FileItem.getString:()Ljava/lang/String;
astore 8
start local 8 15: StackMap locals: org.springframework.web.multipart.commons.CommonsFileUploadSupport java.util.List java.lang.String org.springframework.util.MultiValueMap java.util.Map java.util.Map org.apache.commons.fileupload.FileItem java.util.Iterator java.lang.String java.lang.String
StackMap stack:
aload 4
aload 6
invokeinterface org.apache.commons.fileupload.FileItem.getFieldName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String[]
astore 10
start local 10 16: aload 10
ifnonnull 19
17: aload 4
aload 6
invokeinterface org.apache.commons.fileupload.FileItem.getFieldName:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 8
aastore
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: goto 21
19: StackMap locals: java.lang.String[]
StackMap stack:
aload 10
aload 8
invokestatic org.springframework.util.StringUtils.addStringToArray:([Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
astore 11
start local 11 20: aload 4
aload 6
invokeinterface org.apache.commons.fileupload.FileItem.getFieldName:()Ljava/lang/String;
aload 11
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 11 21: StackMap locals:
StackMap stack:
aload 5
aload 6
invokeinterface org.apache.commons.fileupload.FileItem.getFieldName:()Ljava/lang/String;
aload 6
invokeinterface org.apache.commons.fileupload.FileItem.getContentType:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 end local 9 end local 8 22: goto 26
23: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual org.springframework.web.multipart.commons.CommonsFileUploadSupport.createMultipartFile:(Lorg/apache/commons/fileupload/FileItem;)Lorg/springframework/web/multipart/commons/CommonsMultipartFile;
astore 8
start local 8 24: aload 3
aload 8
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartFile.getName:()Ljava/lang/String;
aload 8
invokeinterface org.springframework.util.MultiValueMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
25: aload 0
getfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.logger:Lorg/apache/commons/logging/Log;
aload 8
invokedynamic apply(Lorg/springframework/web/multipart/commons/CommonsMultipartFile;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/springframework/web/multipart/commons/CommonsFileUploadSupport.lambda$0(Lorg/springframework/web/multipart/commons/CommonsMultipartFile;Ljava/lang/Boolean;)Ljava/lang/String; (6)
(Ljava/lang/Boolean;)Ljava/lang/String;
invokestatic org.springframework.core.log.LogFormatUtils.traceDebug:(Lorg/apache/commons/logging/Log;Ljava/util/function/Function;)V
end local 8 end local 6 26: StackMap locals: org.springframework.web.multipart.commons.CommonsFileUploadSupport java.util.List java.lang.String org.springframework.util.MultiValueMap java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
27: new org.springframework.web.multipart.commons.CommonsFileUploadSupport$MultipartParsingResult
dup
aload 3
aload 4
aload 5
invokespecial org.springframework.web.multipart.commons.CommonsFileUploadSupport$MultipartParsingResult.<init>:(Lorg/springframework/util/MultiValueMap;Ljava/util/Map;Ljava/util/Map;)V
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 28 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
0 28 1 fileItems Ljava/util/List<Lorg/apache/commons/fileupload/FileItem;>;
0 28 2 encoding Ljava/lang/String;
1 28 3 multipartFiles Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Lorg/springframework/web/multipart/MultipartFile;>;
2 28 4 multipartParameters Ljava/util/Map<Ljava/lang/String;[Ljava/lang/String;>;
3 28 5 multipartParameterContentTypes Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
5 26 6 fileItem Lorg/apache/commons/fileupload/FileItem;
8 9 8 value Ljava/lang/String;
15 22 8 value Ljava/lang/String;
7 22 9 partEncoding Ljava/lang/String;
16 22 10 curParam [Ljava/lang/String;
20 21 11 newParam [Ljava/lang/String;
24 26 8 file Lorg/springframework/web/multipart/commons/CommonsMultipartFile;
Exception table:
from to target type
7 8 9 Class java.io.UnsupportedEncodingException
Signature: (Ljava/util/List<Lorg/apache/commons/fileupload/FileItem;>;Ljava/lang/String;)Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport$MultipartParsingResult;
MethodParameters:
Name Flags
fileItems
encoding
protected org.springframework.web.multipart.commons.CommonsMultipartFile createMultipartFile(org.apache.commons.fileupload.FileItem);
descriptor: (Lorg/apache/commons/fileupload/FileItem;)Lorg/springframework/web/multipart/commons/CommonsMultipartFile;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new org.springframework.web.multipart.commons.CommonsMultipartFile
dup
aload 1
invokespecial org.springframework.web.multipart.commons.CommonsMultipartFile.<init>:(Lorg/apache/commons/fileupload/FileItem;)V
astore 2
start local 2 1: aload 2
aload 0
getfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.preserveFilename:Z
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartFile.setPreserveFilename:(Z)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
0 3 1 fileItem Lorg/apache/commons/fileupload/FileItem;
1 3 2 multipartFile Lorg/springframework/web/multipart/commons/CommonsMultipartFile;
MethodParameters:
Name Flags
fileItem
protected void cleanupFileItems(org.springframework.util.MultiValueMap<java.lang.String, org.springframework.web.multipart.MultipartFile>);
descriptor: (Lorg/springframework/util/MultiValueMap;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.springframework.util.MultiValueMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: org.springframework.web.multipart.commons.CommonsFileUploadSupport org.springframework.util.MultiValueMap top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 2: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: org.springframework.web.multipart.commons.CommonsFileUploadSupport org.springframework.util.MultiValueMap java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.web.multipart.MultipartFile
astore 4
start local 4 4: aload 4
instanceof org.springframework.web.multipart.commons.CommonsMultipartFile
ifeq 8
5: aload 4
checkcast org.springframework.web.multipart.commons.CommonsMultipartFile
astore 6
start local 6 6: aload 6
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartFile.getFileItem:()Lorg/apache/commons/fileupload/FileItem;
invokeinterface org.apache.commons.fileupload.FileItem.delete:()V
7: aload 0
getfield org.springframework.web.multipart.commons.CommonsFileUploadSupport.logger:Lorg/apache/commons/logging/Log;
aload 6
invokedynamic apply(Lorg/springframework/web/multipart/commons/CommonsMultipartFile;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/springframework/web/multipart/commons/CommonsFileUploadSupport.lambda$1(Lorg/springframework/web/multipart/commons/CommonsMultipartFile;Ljava/lang/Boolean;)Ljava/lang/String; (6)
(Ljava/lang/Boolean;)Ljava/lang/String;
invokestatic org.springframework.core.log.LogFormatUtils.traceDebug:(Lorg/apache/commons/logging/Log;Ljava/util/function/Function;)V
end local 6 end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 2 9: StackMap locals: org.springframework.web.multipart.commons.CommonsFileUploadSupport org.springframework.util.MultiValueMap top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
0 11 1 multipartFiles Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Lorg/springframework/web/multipart/MultipartFile;>;
2 9 2 files Ljava/util/List<Lorg/springframework/web/multipart/MultipartFile;>;
4 8 4 file Lorg/springframework/web/multipart/MultipartFile;
6 8 6 cmf Lorg/springframework/web/multipart/commons/CommonsMultipartFile;
Signature: (Lorg/springframework/util/MultiValueMap<Ljava/lang/String;Lorg/springframework/web/multipart/MultipartFile;>;)V
MethodParameters:
Name Flags
multipartFiles
private java.lang.String determineEncoding(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifne 2
1: aload 2
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic org.springframework.http.MediaType.parseMediaType:(Ljava/lang/String;)Lorg/springframework/http/MediaType;
astore 3
start local 3 3: aload 3
invokevirtual org.springframework.http.MediaType.getCharset:()Ljava/nio/charset/Charset;
astore 4
start local 4 4: aload 4
ifnull 5
aload 4
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
goto 6
StackMap locals: org.springframework.http.MediaType java.nio.charset.Charset
StackMap stack:
5: aload 2
StackMap locals:
StackMap stack: java.lang.String
6: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport;
0 7 1 contentTypeHeader Ljava/lang/String;
0 7 2 defaultEncoding Ljava/lang/String;
3 7 3 contentType Lorg/springframework/http/MediaType;
4 7 4 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
contentTypeHeader
defaultEncoding
private static java.lang.String lambda$0(org.springframework.web.multipart.commons.CommonsMultipartFile, java.lang.Boolean);
descriptor: (Lorg/springframework/web/multipart/commons/CommonsMultipartFile;Ljava/lang/Boolean;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: new java.lang.StringBuilder
dup
ldc "Part '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartFile.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "', size "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartFile.getSize:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
1: ldc " bytes, filename='"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartFile.getOriginalFilename:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 3
new java.lang.StringBuilder
dup
ldc ", storage="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartFile.getStorageDescription:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 4
StackMap locals:
StackMap stack: java.lang.StringBuilder
3: ldc ""
StackMap locals: org.springframework.web.multipart.commons.CommonsMultipartFile java.lang.Boolean
StackMap stack: java.lang.StringBuilder java.lang.String
4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 7 1 traceOn Ljava/lang/Boolean;
private static java.lang.String lambda$1(org.springframework.web.multipart.commons.CommonsMultipartFile, java.lang.Boolean);
descriptor: (Lorg/springframework/web/multipart/commons/CommonsMultipartFile;Ljava/lang/Boolean;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: new java.lang.StringBuilder
dup
ldc "Cleaning up part '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartFile.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc "', filename '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartFile.getOriginalFilename:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 3
new java.lang.StringBuilder
dup
ldc ", stored "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartFile.getStorageDescription:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 4
StackMap locals:
StackMap stack: java.lang.StringBuilder
3: ldc ""
StackMap locals: org.springframework.web.multipart.commons.CommonsMultipartFile java.lang.Boolean
StackMap stack: java.lang.StringBuilder java.lang.String
4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 7 1 traceOn Ljava/lang/Boolean;
}
SourceFile: "CommonsFileUploadSupport.java"
NestMembers:
org.springframework.web.multipart.commons.CommonsFileUploadSupport$MultipartParsingResult
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
protected MultipartParsingResult = org.springframework.web.multipart.commons.CommonsFileUploadSupport$MultipartParsingResult of org.springframework.web.multipart.commons.CommonsFileUploadSupport