public class org.springframework.web.multipart.commons.CommonsMultipartResolver extends org.springframework.web.multipart.commons.CommonsFileUploadSupport implements org.springframework.web.multipart.MultipartResolver, org.springframework.web.context.ServletContextAware
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.multipart.commons.CommonsMultipartResolver
super_class: org.springframework.web.multipart.commons.CommonsFileUploadSupport
{
private boolean resolveLazily;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.web.multipart.commons.CommonsFileUploadSupport.<init>:()V
1: aload 0
iconst_0
putfield org.springframework.web.multipart.commons.CommonsMultipartResolver.resolveLazily:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/multipart/commons/CommonsMultipartResolver;
public void <init>(javax.servlet.ServletContext);
descriptor: (Ljavax/servlet/ServletContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.web.multipart.commons.CommonsMultipartResolver.<init>:()V
1: aload 0
aload 1
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartResolver.setServletContext:(Ljavax/servlet/ServletContext;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/multipart/commons/CommonsMultipartResolver;
0 3 1 servletContext Ljavax/servlet/ServletContext;
MethodParameters:
Name Flags
servletContext
public void setResolveLazily(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.CommonsMultipartResolver.resolveLazily:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/multipart/commons/CommonsMultipartResolver;
0 2 1 resolveLazily Z
MethodParameters:
Name Flags
resolveLazily
protected org.apache.commons.fileupload.FileUpload newFileUpload(org.apache.commons.fileupload.FileItemFactory);
descriptor: (Lorg/apache/commons/fileupload/FileItemFactory;)Lorg/apache/commons/fileupload/FileUpload;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.commons.fileupload.servlet.ServletFileUpload
dup
aload 1
invokespecial org.apache.commons.fileupload.servlet.ServletFileUpload.<init>:(Lorg/apache/commons/fileupload/FileItemFactory;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/multipart/commons/CommonsMultipartResolver;
0 1 1 fileItemFactory Lorg/apache/commons/fileupload/FileItemFactory;
MethodParameters:
Name Flags
fileItemFactory
public void setServletContext(javax.servlet.ServletContext);
descriptor: (Ljavax/servlet/ServletContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartResolver.isUploadTempDirSpecified:()Z
ifne 2
1: aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartResolver.getFileItemFactory:()Lorg/apache/commons/fileupload/disk/DiskFileItemFactory;
aload 1
invokestatic org.springframework.web.util.WebUtils.getTempDir:(Ljavax/servlet/ServletContext;)Ljava/io/File;
invokevirtual org.apache.commons.fileupload.disk.DiskFileItemFactory.setRepository:(Ljava/io/File;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/multipart/commons/CommonsMultipartResolver;
0 3 1 servletContext Ljavax/servlet/ServletContext;
MethodParameters:
Name Flags
servletContext
public boolean isMultipart(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.apache.commons.fileupload.servlet.ServletFileUpload.isMultipartContent:(Ljavax/servlet/http/HttpServletRequest;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/multipart/commons/CommonsMultipartResolver;
0 1 1 request Ljavax/servlet/http/HttpServletRequest;
MethodParameters:
Name Flags
request
public org.springframework.web.multipart.MultipartHttpServletRequest resolveMultipart(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/multipart/MultipartHttpServletRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "Request must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.web.multipart.commons.CommonsMultipartResolver.resolveLazily:Z
ifeq 3
2: new org.springframework.web.multipart.commons.CommonsMultipartResolver$1
dup
aload 0
aload 1
aload 1
invokespecial org.springframework.web.multipart.commons.CommonsMultipartResolver$1.<init>:(Lorg/springframework/web/multipart/commons/CommonsMultipartResolver;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRequest;)V
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartResolver.parseRequest:(Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport$MultipartParsingResult;
astore 2
start local 2 4: new org.springframework.web.multipart.support.DefaultMultipartHttpServletRequest
dup
aload 1
aload 2
invokevirtual org.springframework.web.multipart.commons.CommonsFileUploadSupport$MultipartParsingResult.getMultipartFiles:()Lorg/springframework/util/MultiValueMap;
5: aload 2
invokevirtual org.springframework.web.multipart.commons.CommonsFileUploadSupport$MultipartParsingResult.getMultipartParameters:()Ljava/util/Map;
aload 2
invokevirtual org.springframework.web.multipart.commons.CommonsFileUploadSupport$MultipartParsingResult.getMultipartParameterContentTypes:()Ljava/util/Map;
6: invokespecial org.springframework.web.multipart.support.DefaultMultipartHttpServletRequest.<init>:(Ljavax/servlet/http/HttpServletRequest;Lorg/springframework/util/MultiValueMap;Ljava/util/Map;Ljava/util/Map;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/web/multipart/commons/CommonsMultipartResolver;
0 7 1 request Ljavax/servlet/http/HttpServletRequest;
4 7 2 parsingResult Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport$MultipartParsingResult;
Exceptions:
throws org.springframework.web.multipart.MultipartException
MethodParameters:
Name Flags
request final
protected org.springframework.web.multipart.commons.CommonsFileUploadSupport$MultipartParsingResult parseRequest(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport$MultipartParsingResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartResolver.determineEncoding:(Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartResolver.prepareFileUpload:(Ljava/lang/String;)Lorg/apache/commons/fileupload/FileUpload;
astore 3
start local 3 2: aload 3
checkcast org.apache.commons.fileupload.servlet.ServletFileUpload
aload 1
invokevirtual org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest:(Ljavax/servlet/http/HttpServletRequest;)Ljava/util/List;
astore 4
start local 4 3: aload 0
aload 4
aload 2
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartResolver.parseFileItems:(Ljava/util/List;Ljava/lang/String;)Lorg/springframework/web/multipart/commons/CommonsFileUploadSupport$MultipartParsingResult;
4: areturn
end local 4 5: StackMap locals: org.springframework.web.multipart.commons.CommonsMultipartResolver javax.servlet.http.HttpServletRequest java.lang.String org.apache.commons.fileupload.FileUpload
StackMap stack: org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException
astore 4
start local 4 6: new org.springframework.web.multipart.MaxUploadSizeExceededException
dup
aload 3
invokevirtual org.apache.commons.fileupload.FileUpload.getSizeMax:()J
aload 4
invokespecial org.springframework.web.multipart.MaxUploadSizeExceededException.<init>:(JLjava/lang/Throwable;)V
athrow
end local 4 7: StackMap locals:
StackMap stack: org.apache.commons.fileupload.FileUploadBase$FileSizeLimitExceededException
astore 4
start local 4 8: new org.springframework.web.multipart.MaxUploadSizeExceededException
dup
aload 3
invokevirtual org.apache.commons.fileupload.FileUpload.getFileSizeMax:()J
aload 4
invokespecial org.springframework.web.multipart.MaxUploadSizeExceededException.<init>:(JLjava/lang/Throwable;)V
athrow
end local 4 9: StackMap locals:
StackMap stack: org.apache.commons.fileupload.FileUploadException
astore 4
start local 4 10: new org.springframework.web.multipart.MultipartException
dup
ldc "Failed to parse multipart servlet request"
aload 4
invokespecial org.springframework.web.multipart.MultipartException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/web/multipart/commons/CommonsMultipartResolver;
0 11 1 request Ljavax/servlet/http/HttpServletRequest;
1 11 2 encoding Ljava/lang/String;
2 11 3 fileUpload Lorg/apache/commons/fileupload/FileUpload;
3 5 4 fileItems Ljava/util/List<Lorg/apache/commons/fileupload/FileItem;>;
6 7 4 ex Lorg/apache/commons/fileupload/FileUploadBase$SizeLimitExceededException;
8 9 4 ex Lorg/apache/commons/fileupload/FileUploadBase$FileSizeLimitExceededException;
10 11 4 ex Lorg/apache/commons/fileupload/FileUploadException;
Exception table:
from to target type
2 4 5 Class org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException
2 4 7 Class org.apache.commons.fileupload.FileUploadBase$FileSizeLimitExceededException
2 4 9 Class org.apache.commons.fileupload.FileUploadException
Exceptions:
throws org.springframework.web.multipart.MultipartException
MethodParameters:
Name Flags
request
protected java.lang.String determineEncoding(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.servlet.http.HttpServletRequest.getCharacterEncoding:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 0
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartResolver.getDefaultEncoding:()Ljava/lang/String;
astore 2
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/multipart/commons/CommonsMultipartResolver;
0 4 1 request Ljavax/servlet/http/HttpServletRequest;
1 4 2 encoding Ljava/lang/String;
MethodParameters:
Name Flags
request
public void cleanupMultipart(org.springframework.web.multipart.MultipartHttpServletRequest);
descriptor: (Lorg/springframework/web/multipart/MultipartHttpServletRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.springframework.web.multipart.support.AbstractMultipartHttpServletRequest
ifeq 2
1: aload 1
checkcast org.springframework.web.multipart.support.AbstractMultipartHttpServletRequest
invokevirtual org.springframework.web.multipart.support.AbstractMultipartHttpServletRequest.isResolved:()Z
ifeq 6
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface org.springframework.web.multipart.MultipartHttpServletRequest.getMultiFileMap:()Lorg/springframework/util/MultiValueMap;
invokevirtual org.springframework.web.multipart.commons.CommonsMultipartResolver.cleanupFileItems:(Lorg/springframework/util/MultiValueMap;)V
3: goto 6
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 5: aload 0
getfield org.springframework.web.multipart.commons.CommonsMultipartResolver.logger:Lorg/apache/commons/logging/Log;
ldc "Failed to perform multipart cleanup for servlet request"
aload 2
invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/web/multipart/commons/CommonsMultipartResolver;
0 7 1 request Lorg/springframework/web/multipart/MultipartHttpServletRequest;
5 6 2 ex Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
MethodParameters:
Name Flags
request
}
SourceFile: "CommonsMultipartResolver.java"
NestMembers:
org.springframework.web.multipart.commons.CommonsMultipartResolver$1
InnerClasses:
public FileSizeLimitExceededException = org.apache.commons.fileupload.FileUploadBase$FileSizeLimitExceededException of org.apache.commons.fileupload.FileUploadBase
public SizeLimitExceededException = org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException of org.apache.commons.fileupload.FileUploadBase
protected MultipartParsingResult = org.springframework.web.multipart.commons.CommonsFileUploadSupport$MultipartParsingResult of org.springframework.web.multipart.commons.CommonsFileUploadSupport
org.springframework.web.multipart.commons.CommonsMultipartResolver$1