public abstract class org.apache.tomcat.util.http.fileupload.FileUploadBase
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.tomcat.util.http.fileupload.FileUploadBase
super_class: java.lang.Object
{
public static final java.lang.String CONTENT_TYPE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Content-type"
public static final java.lang.String CONTENT_DISPOSITION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Content-disposition"
public static final java.lang.String CONTENT_LENGTH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Content-length"
public static final java.lang.String FORM_DATA;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "form-data"
public static final java.lang.String ATTACHMENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "attachment"
public static final java.lang.String MULTIPART;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "multipart/"
public static final java.lang.String MULTIPART_FORM_DATA;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "multipart/form-data"
public static final java.lang.String MULTIPART_MIXED;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "multipart/mixed"
private long sizeMax;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long fileSizeMax;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.apache.tomcat.util.http.fileupload.ProgressListener listener;
descriptor: Lorg/apache/tomcat/util/http/fileupload/ProgressListener;
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
ldc -1
putfield org.apache.tomcat.util.http.fileupload.FileUploadBase.sizeMax:J
2: aload 0
ldc -1
putfield org.apache.tomcat.util.http.fileupload.FileUploadBase.fileSizeMax:J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
public static final boolean isMultipartContent(org.apache.tomcat.util.http.fileupload.RequestContext);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/RequestContext;)Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface org.apache.tomcat.util.http.fileupload.RequestContext.getContentType:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc "multipart/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ctx Lorg/apache/tomcat/util/http/fileupload/RequestContext;
1 6 1 contentType Ljava/lang/String;
MethodParameters:
Name Flags
ctx
public abstract org.apache.tomcat.util.http.fileupload.FileItemFactory getFileItemFactory();
descriptor: ()Lorg/apache/tomcat/util/http/fileupload/FileItemFactory;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void setFileItemFactory(org.apache.tomcat.util.http.fileupload.FileItemFactory);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/FileItemFactory;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
factory
public long getSizeMax();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.FileUploadBase.sizeMax:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
public void setSizeMax(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
lload 1
putfield org.apache.tomcat.util.http.fileupload.FileUploadBase.sizeMax:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 2 1 sizeMax J
MethodParameters:
Name Flags
sizeMax
public long getFileSizeMax();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.FileUploadBase.fileSizeMax:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
public void setFileSizeMax(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
lload 1
putfield org.apache.tomcat.util.http.fileupload.FileUploadBase.fileSizeMax:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 2 1 fileSizeMax J
MethodParameters:
Name Flags
fileSizeMax
public java.lang.String ();
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.tomcat.util.http.fileupload.FileUploadBase.headerEncoding:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
public void (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
aload 1
putfield org.apache.tomcat.util.http.fileupload.FileUploadBase.headerEncoding:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 2 1 encoding Ljava/lang/String;
MethodParameters:
Name Flags
encoding
public org.apache.tomcat.util.http.fileupload.FileItemIterator getItemIterator(org.apache.tomcat.util.http.fileupload.RequestContext);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/RequestContext;)Lorg/apache/tomcat/util/http/fileupload/FileItemIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl
dup
aload 0
aload 1
invokespecial org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl.<init>:(Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;Lorg/apache/tomcat/util/http/fileupload/RequestContext;)V
1: areturn
2: StackMap locals:
StackMap stack: org.apache.tomcat.util.http.fileupload.FileUploadBase$FileUploadIOException
astore 2
start local 2 3: aload 2
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase$FileUploadIOException.getCause:()Ljava/lang/Throwable;
checkcast org.apache.tomcat.util.http.fileupload.FileUploadException
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 4 1 ctx Lorg/apache/tomcat/util/http/fileupload/RequestContext;
3 4 2 e Lorg/apache/tomcat/util/http/fileupload/FileUploadBase$FileUploadIOException;
Exception table:
from to target type
0 1 2 Class org.apache.tomcat.util.http.fileupload.FileUploadBase$FileUploadIOException
Exceptions:
throws org.apache.tomcat.util.http.fileupload.FileUploadException, java.io.IOException
MethodParameters:
Name Flags
ctx
public java.util.List<org.apache.tomcat.util.http.fileupload.FileItem> parseRequest(org.apache.tomcat.util.http.fileupload.RequestContext);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/RequestContext;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=15, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 0
aload 1
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getItemIterator:(Lorg/apache/tomcat/util/http/fileupload/RequestContext;)Lorg/apache/tomcat/util/http/fileupload/FileItemIterator;
astore 4
start local 4 3: aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getFileItemFactory:()Lorg/apache/tomcat/util/http/fileupload/FileItemFactory;
astore 5
start local 5 4: sipush 8192
newarray 8
astore 6
start local 6 5: aload 5
ifnonnull 25
6: new java.lang.NullPointerException
dup
ldc "No FileItemFactory has been set."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List int org.apache.tomcat.util.http.fileupload.FileItemIterator org.apache.tomcat.util.http.fileupload.FileItemFactory byte[]
StackMap stack:
aload 4
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemIterator.next:()Lorg/apache/tomcat/util/http/fileupload/FileItemStream;
astore 7
start local 7 8: aload 7
checkcast org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl$FileItemStreamImpl
getfield org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl$FileItemStreamImpl.name:Ljava/lang/String;
astore 8
start local 8 9: aload 5
aload 7
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemStream.getFieldName:()Ljava/lang/String;
aload 7
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemStream.getContentType:()Ljava/lang/String;
10: aload 7
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemStream.isFormField:()Z
aload 8
11: invokeinterface org.apache.tomcat.util.http.fileupload.FileItemFactory.createItem:(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Lorg/apache/tomcat/util/http/fileupload/FileItem;
astore 9
start local 9 12: aload 2
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: aload 7
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemStream.openStream:()Ljava/io/InputStream;
aload 9
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.getOutputStream:()Ljava/io/OutputStream;
iconst_1
aload 6
invokestatic org.apache.tomcat.util.http.fileupload.util.Streams.copy:(Ljava/io/InputStream;Ljava/io/OutputStream;Z[B)J
pop2
14: goto 23
StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List int org.apache.tomcat.util.http.fileupload.FileItemIterator org.apache.tomcat.util.http.fileupload.FileItemFactory byte[] org.apache.tomcat.util.http.fileupload.FileItemStream java.lang.String org.apache.tomcat.util.http.fileupload.FileItem
StackMap stack: org.apache.tomcat.util.http.fileupload.FileUploadBase$FileUploadIOException
15: astore 10
start local 10 16: aload 10
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase$FileUploadIOException.getCause:()Ljava/lang/Throwable;
checkcast org.apache.tomcat.util.http.fileupload.FileUploadException
athrow
end local 10 17: StackMap locals:
StackMap stack: java.io.IOException
astore 10
start local 10 18: new org.apache.tomcat.util.http.fileupload.FileUploadBase$IOFileUploadException
dup
ldc "Processing of %s request failed. %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
19: ldc "multipart/form-data"
aastore
dup
iconst_1
aload 10
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aastore
20: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
21: aload 10
22: invokespecial org.apache.tomcat.util.http.fileupload.FileUploadBase$IOFileUploadException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 10 23: StackMap locals:
StackMap stack:
aload 7
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemStream.getHeaders:()Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
astore 10
start local 10 24: aload 9
aload 10
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.setHeaders:(Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)V
end local 10 end local 9 end local 8 end local 7 25: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemIterator.hasNext:()Z
ifne 7
26: iconst_1
istore 3
27: aload 2
astore 12
28: iload 3
ifne 35
29: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 14
goto 34
StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List int org.apache.tomcat.util.http.fileupload.FileItemIterator org.apache.tomcat.util.http.fileupload.FileItemFactory byte[] top top top top top java.util.List top java.util.Iterator
StackMap stack:
30: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.http.fileupload.FileItem
astore 13
start local 13 31: aload 13
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.delete:()V
32: goto 34
StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List int org.apache.tomcat.util.http.fileupload.FileItemIterator org.apache.tomcat.util.http.fileupload.FileItemFactory byte[] top top top top top java.util.List org.apache.tomcat.util.http.fileupload.FileItem java.util.Iterator
StackMap stack: java.lang.Exception
33: pop
end local 13 34: StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List int org.apache.tomcat.util.http.fileupload.FileItemIterator org.apache.tomcat.util.http.fileupload.FileItemFactory byte[] top top top top top java.util.List top java.util.Iterator
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 30
35: StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List int org.apache.tomcat.util.http.fileupload.FileItemIterator org.apache.tomcat.util.http.fileupload.FileItemFactory byte[] top top top top top java.util.List
StackMap stack:
aload 12
areturn
end local 6 end local 5 end local 4 36: StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List int
StackMap stack: org.apache.tomcat.util.http.fileupload.FileUploadBase$FileUploadIOException
astore 4
start local 4 37: aload 4
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase$FileUploadIOException.getCause:()Ljava/lang/Throwable;
checkcast org.apache.tomcat.util.http.fileupload.FileUploadException
athrow
end local 4 38: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 39: new org.apache.tomcat.util.http.fileupload.FileUploadException
dup
aload 4
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 4
invokespecial org.apache.tomcat.util.http.fileupload.FileUploadException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 40: StackMap locals:
StackMap stack: java.lang.Throwable
astore 11
41: iload 3
ifne 48
42: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 14
goto 47
StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List int top top top top top top top java.lang.Throwable top top java.util.Iterator
StackMap stack:
43: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.http.fileupload.FileItem
astore 13
start local 13 44: aload 13
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.delete:()V
45: goto 47
StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List int top top top top top top top java.lang.Throwable top org.apache.tomcat.util.http.fileupload.FileItem java.util.Iterator
StackMap stack: java.lang.Exception
46: pop
end local 13 47: StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List int top top top top top top top java.lang.Throwable top top java.util.Iterator
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 43
48: StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List int top top top top top top top java.lang.Throwable
StackMap stack:
aload 11
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 49 1 ctx Lorg/apache/tomcat/util/http/fileupload/RequestContext;
1 49 2 items Ljava/util/List<Lorg/apache/tomcat/util/http/fileupload/FileItem;>;
2 49 3 successful Z
3 36 4 iter Lorg/apache/tomcat/util/http/fileupload/FileItemIterator;
4 36 5 fac Lorg/apache/tomcat/util/http/fileupload/FileItemFactory;
5 36 6 buffer [B
8 25 7 item Lorg/apache/tomcat/util/http/fileupload/FileItemStream;
9 25 8 fileName Ljava/lang/String;
12 25 9 fileItem Lorg/apache/tomcat/util/http/fileupload/FileItem;
16 17 10 e Lorg/apache/tomcat/util/http/fileupload/FileUploadBase$FileUploadIOException;
18 23 10 e Ljava/io/IOException;
24 25 10 fih Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
37 38 4 e Lorg/apache/tomcat/util/http/fileupload/FileUploadBase$FileUploadIOException;
39 40 4 e Ljava/io/IOException;
31 34 13 fileItem Lorg/apache/tomcat/util/http/fileupload/FileItem;
44 47 13 fileItem Lorg/apache/tomcat/util/http/fileupload/FileItem;
Exception table:
from to target type
13 14 15 Class org.apache.tomcat.util.http.fileupload.FileUploadBase$FileUploadIOException
13 14 17 Class java.io.IOException
31 32 33 Class java.lang.Exception
2 28 36 Class org.apache.tomcat.util.http.fileupload.FileUploadBase$FileUploadIOException
2 28 38 Class java.io.IOException
2 28 40 any
36 40 40 any
44 45 46 Class java.lang.Exception
Exceptions:
throws org.apache.tomcat.util.http.fileupload.FileUploadException
Signature: (Lorg/apache/tomcat/util/http/fileupload/RequestContext;)Ljava/util/List<Lorg/apache/tomcat/util/http/fileupload/FileItem;>;
MethodParameters:
Name Flags
ctx
public java.util.Map<java.lang.String, java.util.List<org.apache.tomcat.util.http.fileupload.FileItem>> parseParameterMap(org.apache.tomcat.util.http.fileupload.RequestContext);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/RequestContext;)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest:(Lorg/apache/tomcat/util/http/fileupload/RequestContext;)Ljava/util/List;
astore 2
start local 2 1: new java.util.HashMap
dup
aload 2
invokeinterface java.util.List.size:()I
invokespecial java.util.HashMap.<init>:(I)V
astore 3
start local 3 2: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List java.util.Map top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.http.fileupload.FileItem
astore 4
start local 4 4: aload 4
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.getFieldName:()Ljava/lang/String;
astore 6
start local 6 5: aload 3
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 7
start local 7 6: aload 7
ifnonnull 9
7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
8: aload 3
aload 6
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List java.util.Map org.apache.tomcat.util.http.fileupload.FileItem java.util.Iterator java.lang.String java.util.List
StackMap stack:
aload 7
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 end local 4 10: StackMap locals: org.apache.tomcat.util.http.fileupload.FileUploadBase org.apache.tomcat.util.http.fileupload.RequestContext java.util.List java.util.Map top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
11: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 12 1 ctx Lorg/apache/tomcat/util/http/fileupload/RequestContext;
1 12 2 items Ljava/util/List<Lorg/apache/tomcat/util/http/fileupload/FileItem;>;
2 12 3 itemsMap Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/apache/tomcat/util/http/fileupload/FileItem;>;>;
4 10 4 fileItem Lorg/apache/tomcat/util/http/fileupload/FileItem;
5 10 6 fieldName Ljava/lang/String;
6 10 7 mappedItems Ljava/util/List<Lorg/apache/tomcat/util/http/fileupload/FileItem;>;
Exceptions:
throws org.apache.tomcat.util.http.fileupload.FileUploadException
Signature: (Lorg/apache/tomcat/util/http/fileupload/RequestContext;)Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Lorg/apache/tomcat/util/http/fileupload/FileItem;>;>;
MethodParameters:
Name Flags
ctx
protected byte[] getBoundary(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: new org.apache.tomcat.util.http.fileupload.ParameterParser
dup
invokespecial org.apache.tomcat.util.http.fileupload.ParameterParser.<init>:()V
astore 2
start local 2 1: aload 2
iconst_1
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.setLowerCaseNames:(Z)V
2: aload 2
aload 1
iconst_2
newarray 5
dup
iconst_0
bipush 59
castore
dup
iconst_1
bipush 44
castore
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.parse:(Ljava/lang/String;[C)Ljava/util/Map;
3: astore 3
start local 3 4: aload 3
ldc "boundary"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 5: aload 4
ifnonnull 7
6: aconst_null
areturn
7: StackMap locals: org.apache.tomcat.util.http.fileupload.ParameterParser java.util.Map java.lang.String
StackMap stack:
aload 4
getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 5
start local 5 8: aload 5
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 9 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 9 1 contentType Ljava/lang/String;
1 9 2 parser Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
4 9 3 params Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
5 9 4 boundaryStr Ljava/lang/String;
8 9 5 boundary [B
MethodParameters:
Name Flags
contentType
protected java.lang.String (org.apache.tomcat.util.http.fileupload.FileItemHeaders);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "Content-disposition"
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemHeaders.getHeader:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getFileName:(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/tomcat/util/http/fileupload/FileUploadBase;
0 1 1 headers Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
MethodParameters:
Name Flags
headers
private java.lang.String getFileName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ifnull 13
2: aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 3
start local 3 3: aload 3
ldc "form-data"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 4
aload 3
ldc "attachment"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
4: StackMap locals: 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 5: aload 4
iconst_1
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.setLowerCaseNames:(Z)V
6: aload 4
aload 1
bipush 59
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.parse:(Ljava/lang/String;C)Ljava/util/Map;
astore 5
start local 5 7: aload 5
ldc "filename"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 13
8: aload 5
ldc "filename"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
9: aload 2
ifnull 12
10: aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
11: goto 13
12: StackMap locals: org.apache.tomcat.util.http.fileupload.ParameterParser java.util.Map
StackMap stack:
ldc ""
astore 2
end local 5 end local 4 end local 3 13: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 14 1 pContentDisposition Ljava/lang/String;
1 14 2 fileName Ljava/lang/String;
3 13 3 cdl Ljava/lang/String;
5 13 4 parser Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
7 13 5 params Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
pContentDisposition
protected java.lang.String (org.apache.tomcat.util.http.fileupload.FileItemHeaders);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "Content-disposition"
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemHeaders.getHeader:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getFieldName:(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/tomcat/util/http/fileupload/FileUploadBase;
0 1 1 headers Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
MethodParameters:
Name Flags
headers
private java.lang.String getFieldName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ifnull 9
2: aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc "form-data"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
3: new org.apache.tomcat.util.http.fileupload.ParameterParser
dup
invokespecial org.apache.tomcat.util.http.fileupload.ParameterParser.<init>:()V
astore 3
start local 3 4: aload 3
iconst_1
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.setLowerCaseNames:(Z)V
5: aload 3
aload 1
bipush 59
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.parse:(Ljava/lang/String;C)Ljava/util/Map;
astore 4
start local 4 6: aload 4
ldc "name"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
7: aload 2
ifnull 9
8: aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
end local 4 end local 3 9: 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 10 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 10 1 pContentDisposition Ljava/lang/String;
1 10 2 fieldName Ljava/lang/String;
4 9 3 parser Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
6 9 4 params Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
pContentDisposition
protected org.apache.tomcat.util.http.fileupload.FileItemHeaders (java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.newFileItemHeaders:()Lorg/apache/tomcat/util/http/fileupload/util/FileItemHeadersImpl;
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: StackMap locals: int org.apache.tomcat.util.http.fileupload.util.FileItemHeadersImpl int
StackMap stack:
aload 0
aload 1
iload 4
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.parseEndOfLine:(Ljava/lang/String;I)I
istore 5
start local 5 4: iload 4
iload 5
if_icmpne 6
5: goto 24
6: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
iload 4
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 6
start local 6 7: iload 5
iconst_2
iadd
istore 4
8: goto 21
9: StackMap locals: java.lang.StringBuilder
StackMap stack:
iload 4
istore 7
start local 7 10: goto 15
11: StackMap locals: int
StackMap stack:
aload 1
iload 7
invokevirtual java.lang.String.charAt:(I)C
istore 8
start local 8 12: iload 8
bipush 32
if_icmpeq 14
iload 8
bipush 9
if_icmpeq 14
13: goto 16
14: StackMap locals: int
StackMap stack:
iinc 7 1
end local 8 15: StackMap locals:
StackMap stack:
iload 7
iload 2
if_icmplt 11
16: StackMap locals:
StackMap stack:
iload 7
iload 4
if_icmpne 18
17: goto 22
18: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 7
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.parseEndOfLine:(Ljava/lang/String;I)I
istore 5
19: aload 6
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iload 7
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: iload 5
iconst_2
iadd
istore 4
end local 7 21: StackMap locals:
StackMap stack:
iload 4
iload 2
if_icmplt 9
22: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 6
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.parseHeaderLine:(Lorg/apache/tomcat/util/http/fileupload/util/FileItemHeadersImpl;Ljava/lang/String;)V
end local 6 end local 5 23: goto 3
24: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 25 1 headerPart Ljava/lang/String;
1 25 2 len I
2 25 3 headers Lorg/apache/tomcat/util/http/fileupload/util/FileItemHeadersImpl;
3 25 4 start I
4 23 5 end I
7 23 6 header Ljava/lang/StringBuilder;
10 21 7 nonWs I
12 15 8 c C
MethodParameters:
Name Flags
headerPart
protected org.apache.tomcat.util.http.fileupload.util.FileItemHeadersImpl ();
descriptor: ()Lorg/apache/tomcat/util/http/fileupload/util/FileItemHeadersImpl;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new org.apache.tomcat.util.http.fileupload.util.FileItemHeadersImpl
dup
invokespecial org.apache.tomcat.util.http.fileupload.util.FileItemHeadersImpl.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
private int parseEndOfLine(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
istore 3
start local 3 1: StackMap locals: int
StackMap stack:
aload 1
bipush 13
iload 3
invokevirtual java.lang.String.indexOf:(II)I
istore 4
start local 4 2: iload 4
iconst_m1
if_icmpeq 3
iload 4
iconst_1
iadd
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 6
3: StackMap locals: int
StackMap stack:
new java.lang.IllegalStateException
dup
4: ldc "Expected headers to be terminated by an empty line."
5: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
iload 4
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 10
if_icmpne 8
7: iload 4
ireturn
8: StackMap locals:
StackMap stack:
iload 4
iconst_1
iadd
istore 3
end local 4 9: goto 1
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 10 1 headerPart Ljava/lang/String;
0 10 2 end I
1 10 3 index I
2 9 4 offset I
MethodParameters:
Name Flags
headerPart
end
private void (org.apache.tomcat.util.http.fileupload.util.FileItemHeadersImpl, java.lang.String);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/util/FileItemHeadersImpl;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 1: iload 3
iconst_m1
if_icmpne 3
2: return
3: StackMap locals: int
StackMap stack:
aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 4
start local 4 4: aload 2
aload 2
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
5: astore 5
start local 5 6: aload 1
aload 4
aload 5
invokevirtual org.apache.tomcat.util.http.fileupload.util.FileItemHeadersImpl.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
7: return
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 8 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 8 1 headers Lorg/apache/tomcat/util/http/fileupload/util/FileItemHeadersImpl;
0 8 2 header Ljava/lang/String;
1 8 3 colonOffset I
4 8 4 headerName Ljava/lang/String;
6 8 5 headerValue Ljava/lang/String;
MethodParameters:
Name Flags
headers
header
public org.apache.tomcat.util.http.fileupload.ProgressListener getProgressListener();
descriptor: ()Lorg/apache/tomcat/util/http/fileupload/ProgressListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.FileUploadBase.listener:Lorg/apache/tomcat/util/http/fileupload/ProgressListener;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
public void setProgressListener(org.apache.tomcat.util.http.fileupload.ProgressListener);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/ProgressListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.tomcat.util.http.fileupload.FileUploadBase.listener:Lorg/apache/tomcat/util/http/fileupload/ProgressListener;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 2 1 pListener Lorg/apache/tomcat/util/http/fileupload/ProgressListener;
MethodParameters:
Name Flags
pListener
}
SourceFile: "FileUploadBase.java"
NestMembers:
org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl$1 org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl$FileItemStreamImpl org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl$FileItemStreamImpl$1 org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException org.apache.tomcat.util.http.fileupload.FileUploadBase$FileUploadIOException org.apache.tomcat.util.http.fileupload.FileUploadBase$IOFileUploadException org.apache.tomcat.util.http.fileupload.FileUploadBase$InvalidContentTypeException org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeException org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException
InnerClasses:
private FileItemIteratorImpl = org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl of org.apache.tomcat.util.http.fileupload.FileUploadBase
FileItemStreamImpl = org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl$FileItemStreamImpl of org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl
public FileSizeLimitExceededException = org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException of org.apache.tomcat.util.http.fileupload.FileUploadBase
public FileUploadIOException = org.apache.tomcat.util.http.fileupload.FileUploadBase$FileUploadIOException of org.apache.tomcat.util.http.fileupload.FileUploadBase
public IOFileUploadException = org.apache.tomcat.util.http.fileupload.FileUploadBase$IOFileUploadException of org.apache.tomcat.util.http.fileupload.FileUploadBase
public InvalidContentTypeException = org.apache.tomcat.util.http.fileupload.FileUploadBase$InvalidContentTypeException of org.apache.tomcat.util.http.fileupload.FileUploadBase
public abstract SizeException = org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeException of org.apache.tomcat.util.http.fileupload.FileUploadBase
public SizeLimitExceededException = org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException of org.apache.tomcat.util.http.fileupload.FileUploadBase