public abstract class org.springframework.web.multipart.support.MultipartResolutionDelegate
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.web.multipart.support.MultipartResolutionDelegate
super_class: java.lang.Object
{
public static final java.lang.Object UNRESOLVABLE;
descriptor: Ljava/lang/Object;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic org.springframework.web.multipart.support.MultipartResolutionDelegate.UNRESOLVABLE:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/multipart/support/MultipartResolutionDelegate;
public static org.springframework.web.multipart.MultipartRequest resolveMultipartRequest(org.springframework.web.context.request.NativeWebRequest);
descriptor: (Lorg/springframework/web/context/request/NativeWebRequest;)Lorg/springframework/web/multipart/MultipartRequest;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
ldc Lorg/springframework/web/multipart/MultipartRequest;
invokeinterface org.springframework.web.context.request.NativeWebRequest.getNativeRequest:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.springframework.web.multipart.MultipartRequest
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: org.springframework.web.multipart.MultipartRequest
StackMap stack:
aload 0
ldc Ljavax/servlet/http/HttpServletRequest;
invokeinterface org.springframework.web.context.request.NativeWebRequest.getNativeRequest:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.servlet.http.HttpServletRequest
astore 2
start local 2 4: aload 2
ifnull 6
aload 2
invokestatic org.springframework.web.multipart.support.MultipartResolutionDelegate.isMultipartContent:(Ljavax/servlet/http/HttpServletRequest;)Z
ifeq 6
5: new org.springframework.web.multipart.support.StandardMultipartHttpServletRequest
dup
aload 2
invokespecial org.springframework.web.multipart.support.StandardMultipartHttpServletRequest.<init>:(Ljavax/servlet/http/HttpServletRequest;)V
areturn
6: StackMap locals: javax.servlet.http.HttpServletRequest
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 webRequest Lorg/springframework/web/context/request/NativeWebRequest;
1 7 1 multipartRequest Lorg/springframework/web/multipart/MultipartRequest;
4 7 2 servletRequest Ljavax/servlet/http/HttpServletRequest;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
webRequest
public static boolean isMultipartRequest(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Lorg/springframework/web/multipart/MultipartHttpServletRequest;
invokestatic org.springframework.web.util.WebUtils.getNativeRequest:(Ljavax/servlet/ServletRequest;Ljava/lang/Class;)Ljava/lang/Object;
ifnonnull 3
1: aload 0
invokestatic org.springframework.web.multipart.support.MultipartResolutionDelegate.isMultipartContent:(Ljavax/servlet/http/HttpServletRequest;)Z
ifne 3
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 request Ljavax/servlet/http/HttpServletRequest;
MethodParameters:
Name Flags
request
private static boolean isMultipartContent(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface javax.servlet.http.HttpServletRequest.getContentType:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc "multipart/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
iconst_1
ireturn
StackMap locals: java.lang.String
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 request Ljavax/servlet/http/HttpServletRequest;
1 3 1 contentType Ljava/lang/String;
MethodParameters:
Name Flags
request
static org.springframework.web.multipart.MultipartHttpServletRequest asMultipartHttpServletRequest(javax.servlet.http.HttpServletRequest);
descriptor: (Ljavax/servlet/http/HttpServletRequest;)Lorg/springframework/web/multipart/MultipartHttpServletRequest;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc Lorg/springframework/web/multipart/MultipartHttpServletRequest;
invokestatic org.springframework.web.util.WebUtils.getNativeRequest:(Ljavax/servlet/ServletRequest;Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.springframework.web.multipart.MultipartHttpServletRequest
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: org.springframework.web.multipart.MultipartHttpServletRequest
StackMap stack:
new org.springframework.web.multipart.support.StandardMultipartHttpServletRequest
dup
aload 0
invokespecial org.springframework.web.multipart.support.StandardMultipartHttpServletRequest.<init>:(Ljavax/servlet/http/HttpServletRequest;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 request Ljavax/servlet/http/HttpServletRequest;
1 4 1 unwrapped Lorg/springframework/web/multipart/MultipartHttpServletRequest;
MethodParameters:
Name Flags
request
public static boolean isMultipartArgument(org.springframework.core.MethodParameter);
descriptor: (Lorg/springframework/core/MethodParameter;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.core.MethodParameter.getNestedParameterType:()Ljava/lang/Class;
astore 1
start local 1 1: ldc Lorg/springframework/web/multipart/MultipartFile;
aload 1
if_acmpeq 5
2: aload 0
invokestatic org.springframework.web.multipart.support.MultipartResolutionDelegate.isMultipartFileCollection:(Lorg/springframework/core/MethodParameter;)Z
ifne 5
aload 0
invokestatic org.springframework.web.multipart.support.MultipartResolutionDelegate.isMultipartFileArray:(Lorg/springframework/core/MethodParameter;)Z
ifne 5
3: ldc Ljavax/servlet/http/Part;
aload 1
if_acmpeq 5
aload 0
invokestatic org.springframework.web.multipart.support.MultipartResolutionDelegate.isPartCollection:(Lorg/springframework/core/MethodParameter;)Z
ifne 5
aload 0
invokestatic org.springframework.web.multipart.support.MultipartResolutionDelegate.isPartArray:(Lorg/springframework/core/MethodParameter;)Z
ifne 5
4: iconst_0
ireturn
StackMap locals: java.lang.Class
StackMap stack:
5: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 parameter Lorg/springframework/core/MethodParameter;
1 6 1 paramType Ljava/lang/Class<*>;
MethodParameters:
Name Flags
parameter
public static java.lang.Object resolveMultipartArgument(java.lang.String, org.springframework.core.MethodParameter, javax.servlet.http.HttpServletRequest);
descriptor: (Ljava/lang/String;Lorg/springframework/core/MethodParameter;Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method getPart(String) is undefined for the type HttpServletRequest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
name
parameter
request
private static boolean isMultipartFileCollection(org.springframework.core.MethodParameter);
descriptor: (Lorg/springframework/core/MethodParameter;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Lorg/springframework/web/multipart/MultipartFile;
aload 0
invokestatic org.springframework.web.multipart.support.MultipartResolutionDelegate.getCollectionParameterType:(Lorg/springframework/core/MethodParameter;)Ljava/lang/Class;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 methodParam Lorg/springframework/core/MethodParameter;
MethodParameters:
Name Flags
methodParam
private static boolean isMultipartFileArray(org.springframework.core.MethodParameter);
descriptor: (Lorg/springframework/core/MethodParameter;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Lorg/springframework/web/multipart/MultipartFile;
aload 0
invokevirtual org.springframework.core.MethodParameter.getNestedParameterType:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 methodParam Lorg/springframework/core/MethodParameter;
MethodParameters:
Name Flags
methodParam
private static boolean isPartCollection(org.springframework.core.MethodParameter);
descriptor: (Lorg/springframework/core/MethodParameter;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Ljavax/servlet/http/Part;
aload 0
invokestatic org.springframework.web.multipart.support.MultipartResolutionDelegate.getCollectionParameterType:(Lorg/springframework/core/MethodParameter;)Ljava/lang/Class;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 methodParam Lorg/springframework/core/MethodParameter;
MethodParameters:
Name Flags
methodParam
private static boolean isPartArray(org.springframework.core.MethodParameter);
descriptor: (Lorg/springframework/core/MethodParameter;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Ljavax/servlet/http/Part;
aload 0
invokevirtual org.springframework.core.MethodParameter.getNestedParameterType:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 methodParam Lorg/springframework/core/MethodParameter;
MethodParameters:
Name Flags
methodParam
private static java.lang.Class<?> getCollectionParameterType(org.springframework.core.MethodParameter);
descriptor: (Lorg/springframework/core/MethodParameter;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.core.MethodParameter.getNestedParameterType:()Ljava/lang/Class;
astore 1
start local 1 1: ldc Ljava/util/Collection;
aload 1
if_acmpeq 2
ldc Ljava/util/List;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 5
2: StackMap locals: java.lang.Class
StackMap stack:
aload 0
invokestatic org.springframework.core.ResolvableType.forMethodParameter:(Lorg/springframework/core/MethodParameter;)Lorg/springframework/core/ResolvableType;
invokevirtual org.springframework.core.ResolvableType.asCollection:()Lorg/springframework/core/ResolvableType;
iconst_0
newarray 10
invokevirtual org.springframework.core.ResolvableType.resolveGeneric:([I)Ljava/lang/Class;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
areturn
end local 2 5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 methodParam Lorg/springframework/core/MethodParameter;
1 6 1 paramType Ljava/lang/Class<*>;
3 5 2 valueType Ljava/lang/Class<*>;
Signature: (Lorg/springframework/core/MethodParameter;)Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
methodParam
private static java.util.List<javax.servlet.http.Part> resolvePartList(javax.servlet.http.HttpServletRequest, java.lang.String);
descriptor: (Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method getParts() is undefined for the type HttpServletRequest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
Signature: (Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;)Ljava/util/List<Ljavax/servlet/http/Part;>;
MethodParameters:
Name Flags
request
name
}
SourceFile: "MultipartResolutionDelegate.java"