class org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile implements org.springframework.web.multipart.MultipartFile, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile
super_class: java.lang.Object
{
private final javax.servlet.http.Part part;
descriptor: Ljavax/servlet/http/Part;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String filename;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(javax.servlet.http.Part, java.lang.String);
descriptor: (Ljavax/servlet/http/Part;Ljava/lang/String;)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.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.part:Ljavax/servlet/http/Part;
2: aload 0
aload 2
putfield org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.filename:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/multipart/support/StandardMultipartHttpServletRequest$StandardMultipartFile;
0 4 1 part Ljavax/servlet/http/Part;
0 4 2 filename Ljava/lang/String;
MethodParameters:
Name Flags
part
filename
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.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.part:Ljavax/servlet/http/Part;
invokeinterface javax.servlet.http.Part.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/multipart/support/StandardMultipartHttpServletRequest$StandardMultipartFile;
public java.lang.String getOriginalFilename();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.filename:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/multipart/support/StandardMultipartHttpServletRequest$StandardMultipartFile;
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.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.part:Ljavax/servlet/http/Part;
invokeinterface javax.servlet.http.Part.getContentType:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/multipart/support/StandardMultipartHttpServletRequest$StandardMultipartFile;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.part:Ljavax/servlet/http/Part;
invokeinterface javax.servlet.http.Part.getSize:()J
lconst_0
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/multipart/support/StandardMultipartHttpServletRequest$StandardMultipartFile;
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.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.part:Ljavax/servlet/http/Part;
invokeinterface javax.servlet.http.Part.getSize:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/multipart/support/StandardMultipartHttpServletRequest$StandardMultipartFile;
public byte[] getBytes();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.part:Ljavax/servlet/http/Part;
invokeinterface javax.servlet.http.Part.getInputStream:()Ljava/io/InputStream;
invokestatic org.springframework.util.FileCopyUtils.copyToByteArray:(Ljava/io/InputStream;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/multipart/support/StandardMultipartHttpServletRequest$StandardMultipartFile;
Exceptions:
throws java.io.IOException
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.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.part:Ljavax/servlet/http/Part;
invokeinterface javax.servlet.http.Part.getInputStream:()Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/multipart/support/StandardMultipartHttpServletRequest$StandardMultipartFile;
Exceptions:
throws java.io.IOException
public void transferTo(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.part:Ljavax/servlet/http/Part;
aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokeinterface javax.servlet.http.Part.write:(Ljava/lang/String;)V
1: aload 1
invokevirtual java.io.File.isAbsolute:()Z
ifeq 3
aload 1
invokevirtual java.io.File.exists:()Z
ifne 3
2: aload 0
getfield org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.part:Ljavax/servlet/http/Part;
invokeinterface javax.servlet.http.Part.getInputStream:()Ljava/io/InputStream;
aload 1
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newOutputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
invokestatic org.springframework.util.FileCopyUtils.copy:(Ljava/io/InputStream;Ljava/io/OutputStream;)I
pop
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/multipart/support/StandardMultipartHttpServletRequest$StandardMultipartFile;
0 4 1 dest Ljava/io/File;
Exceptions:
throws java.io.IOException, java.lang.IllegalStateException
MethodParameters:
Name Flags
dest
public void transferTo(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.part:Ljavax/servlet/http/Part;
invokeinterface javax.servlet.http.Part.getInputStream:()Ljava/io/InputStream;
aload 1
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newOutputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
invokestatic org.springframework.util.FileCopyUtils.copy:(Ljava/io/InputStream;Ljava/io/OutputStream;)I
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/multipart/support/StandardMultipartHttpServletRequest$StandardMultipartFile;
0 2 1 dest Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException, java.lang.IllegalStateException
MethodParameters:
Name Flags
dest
}
SourceFile: "StandardMultipartHttpServletRequest.java"
NestHost: org.springframework.web.multipart.support.StandardMultipartHttpServletRequest
InnerClasses:
private StandardMultipartFile = org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile of org.springframework.web.multipart.support.StandardMultipartHttpServletRequest