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.impl.FileItemIteratorImpl
dup
aload 0
aload 1
invokespecial org.apache.tomcat.util.http.fileupload.impl.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.impl.FileUploadIOException
astore 2
start local 2 3: aload 2
invokevirtual org.apache.tomcat.util.http.fileupload.impl.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/impl/FileUploadIOException;
Exception table:
from to target type
0 1 2 Class org.apache.tomcat.util.http.fileupload.impl.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;
ldc "No FileItemFactory has been set."
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.http.fileupload.FileItemFactory
astore 5
start local 5 4: sipush 8192
newarray 8
astore 6
start local 6 5: goto 24
6: 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 7: aload 7
checkcast org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.getName:()Ljava/lang/String;
astore 8
start local 8 8: 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;
9: aload 7
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemStream.isFormField:()Z
aload 8
10: 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 11: aload 2
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: 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
13: goto 22
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.impl.FileUploadIOException
14: astore 10
start local 10 15: aload 10
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileUploadIOException.getCause:()Ljava/lang/Throwable;
checkcast org.apache.tomcat.util.http.fileupload.FileUploadException
athrow
end local 10 16: StackMap locals:
StackMap stack: java.io.IOException
astore 10
start local 10 17: new org.apache.tomcat.util.http.fileupload.impl.IOFileUploadException
dup
ldc "Processing of %s request failed. %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
18: ldc "multipart/form-data"
aastore
dup
iconst_1
aload 10
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aastore
19: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
20: aload 10
21: invokespecial org.apache.tomcat.util.http.fileupload.impl.IOFileUploadException.<init>:(Ljava/lang/String;Ljava/io/IOException;)V
athrow
end local 10 22: 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 23: 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 24: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemIterator.hasNext:()Z
ifne 6
25: iconst_1
istore 3
26: aload 2
astore 12
27: iload 3
ifne 34
28: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 14
goto 33
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:
29: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.http.fileupload.FileItem
astore 13
start local 13 30: aload 13
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.delete:()V
31: goto 33
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
32: pop
end local 13 33: 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 29
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
StackMap stack:
aload 12
areturn
end local 6 end local 5 end local 4 35: 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.FileUploadException
astore 4
start local 4 36: aload 4
athrow
end local 4 37: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 38: 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 39: StackMap locals:
StackMap stack: java.lang.Throwable
astore 11
40: iload 3
ifne 47
41: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 14
goto 46
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:
42: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.http.fileupload.FileItem
astore 13
start local 13 43: aload 13
invokeinterface org.apache.tomcat.util.http.fileupload.FileItem.delete:()V
44: goto 46
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
45: pop
end local 13 46: 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 42
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
StackMap stack:
aload 11
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 48 1 ctx Lorg/apache/tomcat/util/http/fileupload/RequestContext;
1 48 2 items Ljava/util/List<Lorg/apache/tomcat/util/http/fileupload/FileItem;>;
2 48 3 successful Z
3 35 4 iter Lorg/apache/tomcat/util/http/fileupload/FileItemIterator;
4 35 5 fileItemFactory Lorg/apache/tomcat/util/http/fileupload/FileItemFactory;
5 35 6 buffer [B
7 24 7 item Lorg/apache/tomcat/util/http/fileupload/FileItemStream;
8 24 8 fileName Ljava/lang/String;
11 24 9 fileItem Lorg/apache/tomcat/util/http/fileupload/FileItem;
15 16 10 e Lorg/apache/tomcat/util/http/fileupload/impl/FileUploadIOException;
17 22 10 e Ljava/io/IOException;
23 24 10 fih Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
36 37 4 e Lorg/apache/tomcat/util/http/fileupload/FileUploadException;
38 39 4 e Ljava/io/IOException;
30 33 13 fileItem Lorg/apache/tomcat/util/http/fileupload/FileItem;
43 46 13 fileItem Lorg/apache/tomcat/util/http/fileupload/FileItem;
Exception table:
from to target type
12 13 14 Class org.apache.tomcat.util.http.fileupload.impl.FileUploadIOException
12 13 16 Class java.io.IOException
30 31 32 Class java.lang.Exception
2 27 35 Class org.apache.tomcat.util.http.fileupload.FileUploadException
2 27 37 Class java.io.IOException
2 27 39 any
35 39 39 any
43 44 45 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
public byte[] getBoundary(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0001) ACC_PUBLIC
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;
astore 3
start local 3 3: aload 3
ldc "boundary"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 4: aload 4
ifnonnull 6
5: aconst_null
areturn
6: 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 7: 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 8 0 this Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 8 1 contentType Ljava/lang/String;
1 8 2 parser Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
3 8 3 params Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
4 8 4 boundaryStr Ljava/lang/String;
7 8 5 boundary [B
MethodParameters:
Name Flags
contentType
public java.lang.String (org.apache.tomcat.util.http.fileupload.FileItemHeaders);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
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
public java.lang.String (org.apache.tomcat.util.http.fileupload.FileItemHeaders);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
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
public org.apache.tomcat.util.http.fileupload.FileItemHeaders (java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
flags: (0x0001) ACC_PUBLIC
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
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
iload 7
iload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)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"