public class org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl implements org.apache.tomcat.util.http.fileupload.FileItemIterator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl
super_class: java.lang.Object
{
private final org.apache.tomcat.util.http.fileupload.FileUploadBase fileUploadBase;
descriptor: Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.tomcat.util.http.fileupload.RequestContext ctx;
descriptor: Lorg/apache/tomcat/util/http/fileupload/RequestContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long sizeMax;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long fileSizeMax;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private org.apache.tomcat.util.http.fileupload.MultipartStream multiPartStream;
descriptor: Lorg/apache/tomcat/util/http/fileupload/MultipartStream;
flags: (0x0002) ACC_PRIVATE
private org.apache.tomcat.util.http.fileupload.MultipartStream$ProgressNotifier progressNotifier;
descriptor: Lorg/apache/tomcat/util/http/fileupload/MultipartStream$ProgressNotifier;
flags: (0x0002) ACC_PRIVATE
private byte[] multiPartBoundary;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl currentItem;
descriptor: Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
flags: (0x0002) ACC_PRIVATE
private java.lang.String currentFieldName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean skipPreamble;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean itemValid;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean eof;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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.impl.FileItemIteratorImpl.sizeMax:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
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.impl.FileItemIteratorImpl.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/impl/FileItemIteratorImpl;
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.impl.FileItemIteratorImpl.fileSizeMax:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
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.impl.FileItemIteratorImpl.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/impl/FileItemIteratorImpl;
0 2 1 fileSizeMax J
MethodParameters:
Name Flags
fileSizeMax
public void <init>(org.apache.tomcat.util.http.fileupload.FileUploadBase, org.apache.tomcat.util.http.fileupload.RequestContext);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;Lorg/apache/tomcat/util/http/fileupload/RequestContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.fileUploadBase:Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
2: aload 0
aload 1
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getSizeMax:()J
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.sizeMax:J
3: aload 0
aload 1
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getFileSizeMax:()J
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.fileSizeMax:J
4: aload 0
aload 2
ldc "requestContext"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.http.fileupload.RequestContext
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.ctx:Lorg/apache/tomcat/util/http/fileupload/RequestContext;
5: aload 0
iconst_1
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.skipPreamble:Z
6: aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.findNextItem:()Z
pop
7: return
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/impl/FileItemIteratorImpl;
0 8 1 fileUploadBase Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 8 2 requestContext Lorg/apache/tomcat/util/http/fileupload/RequestContext;
Exceptions:
throws org.apache.tomcat.util.http.fileupload.FileUploadException, java.io.IOException
MethodParameters:
Name Flags
fileUploadBase
requestContext
protected void init(org.apache.tomcat.util.http.fileupload.FileUploadBase, org.apache.tomcat.util.http.fileupload.RequestContext);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;Lorg/apache/tomcat/util/http/fileupload/RequestContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.ctx:Lorg/apache/tomcat/util/http/fileupload/RequestContext;
invokeinterface org.apache.tomcat.util.http.fileupload.RequestContext.getContentType:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
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
ifne 8
3: StackMap locals: java.lang.String
StackMap stack:
new org.apache.tomcat.util.http.fileupload.impl.InvalidContentTypeException
dup
4: ldc "the request doesn't contain a %s or %s stream, content type header is %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
5: ldc "multipart/form-data"
aastore
dup
iconst_1
ldc "multipart/mixed"
aastore
dup
iconst_2
aload 3
aastore
6: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: invokespecial org.apache.tomcat.util.http.fileupload.impl.InvalidContentTypeException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.ctx:Lorg/apache/tomcat/util/http/fileupload/RequestContext;
checkcast org.apache.tomcat.util.http.fileupload.UploadContext
invokeinterface org.apache.tomcat.util.http.fileupload.UploadContext.contentLength:()J
lstore 4
start local 4 9: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.sizeMax:J
lconst_0
lcmp
iflt 19
10: lload 4
ldc -1
lcmp
ifeq 17
lload 4
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.sizeMax:J
lcmp
ifle 17
11: new org.apache.tomcat.util.http.fileupload.impl.SizeLimitExceededException
dup
12: ldc "the request was rejected because its size (%s) exceeds the configured maximum (%s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
13: lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.sizeMax:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
14: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
15: lload 4
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.sizeMax:J
16: invokespecial org.apache.tomcat.util.http.fileupload.impl.SizeLimitExceededException.<init>:(Ljava/lang/String;JJ)V
athrow
17: StackMap locals: long
StackMap stack:
new org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl$1
dup
aload 0
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.ctx:Lorg/apache/tomcat/util/http/fileupload/RequestContext;
invokeinterface org.apache.tomcat.util.http.fileupload.RequestContext.getInputStream:()Ljava/io/InputStream;
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.sizeMax:J
invokespecial org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl$1.<init>:(Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;Ljava/io/InputStream;J)V
astore 6
start local 6 18: goto 20
end local 6 19: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.ctx:Lorg/apache/tomcat/util/http/fileupload/RequestContext;
invokeinterface org.apache.tomcat.util.http.fileupload.RequestContext.getInputStream:()Ljava/io/InputStream;
astore 6
start local 6 20: StackMap locals: java.io.InputStream
StackMap stack:
aload 1
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getHeaderEncoding:()Ljava/lang/String;
astore 7
start local 7 21: aload 7
ifnonnull 23
22: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.ctx:Lorg/apache/tomcat/util/http/fileupload/RequestContext;
invokeinterface org.apache.tomcat.util.http.fileupload.RequestContext.getCharacterEncoding:()Ljava/lang/String;
astore 7
23: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getBoundary:(Ljava/lang/String;)[B
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.multiPartBoundary:[B
24: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.multiPartBoundary:[B
ifnonnull 27
25: aload 6
invokestatic org.apache.tomcat.util.http.fileupload.IOUtils.closeQuietly:(Ljava/io/Closeable;)V
26: new org.apache.tomcat.util.http.fileupload.FileUploadException
dup
ldc "the request was rejected because no multipart boundary was found"
invokespecial org.apache.tomcat.util.http.fileupload.FileUploadException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack:
aload 0
new org.apache.tomcat.util.http.fileupload.MultipartStream$ProgressNotifier
dup
aload 1
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getProgressListener:()Lorg/apache/tomcat/util/http/fileupload/ProgressListener;
lload 4
invokespecial org.apache.tomcat.util.http.fileupload.MultipartStream$ProgressNotifier.<init>:(Lorg/apache/tomcat/util/http/fileupload/ProgressListener;J)V
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.progressNotifier:Lorg/apache/tomcat/util/http/fileupload/MultipartStream$ProgressNotifier;
28: aload 0
new org.apache.tomcat.util.http.fileupload.MultipartStream
dup
aload 6
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.multiPartBoundary:[B
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.progressNotifier:Lorg/apache/tomcat/util/http/fileupload/MultipartStream$ProgressNotifier;
invokespecial org.apache.tomcat.util.http.fileupload.MultipartStream.<init>:(Ljava/io/InputStream;[BLorg/apache/tomcat/util/http/fileupload/MultipartStream$ProgressNotifier;)V
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.multiPartStream:Lorg/apache/tomcat/util/http/fileupload/MultipartStream;
29: goto 35
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
30: astore 8
start local 8 31: aload 6
invokestatic org.apache.tomcat.util.http.fileupload.IOUtils.closeQuietly:(Ljava/io/Closeable;)V
32: new org.apache.tomcat.util.http.fileupload.impl.InvalidContentTypeException
dup
33: ldc "The boundary specified in the %s header is too long"
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "Content-type"
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 8
34: invokespecial org.apache.tomcat.util.http.fileupload.impl.InvalidContentTypeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 8 35: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.multiPartStream:Lorg/apache/tomcat/util/http/fileupload/MultipartStream;
aload 7
invokevirtual org.apache.tomcat.util.http.fileupload.MultipartStream.setHeaderEncoding:(Ljava/lang/String;)V
36: return
end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
0 37 1 fileUploadBase Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
0 37 2 pRequestContext Lorg/apache/tomcat/util/http/fileupload/RequestContext;
1 37 3 contentType Ljava/lang/String;
9 37 4 requestSize J
18 19 6 input Ljava/io/InputStream;
20 37 6 input Ljava/io/InputStream;
21 37 7 charEncoding Ljava/lang/String;
31 35 8 iae Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
28 29 30 Class java.lang.IllegalArgumentException
Exceptions:
throws org.apache.tomcat.util.http.fileupload.FileUploadException, java.io.IOException
MethodParameters:
Name Flags
fileUploadBase
pRequestContext
public org.apache.tomcat.util.http.fileupload.MultipartStream getMultiPartStream();
descriptor: ()Lorg/apache/tomcat/util/http/fileupload/MultipartStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.multiPartStream:Lorg/apache/tomcat/util/http/fileupload/MultipartStream;
ifnonnull 2
1: aload 0
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.fileUploadBase:Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.ctx:Lorg/apache/tomcat/util/http/fileupload/RequestContext;
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.init:(Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;Lorg/apache/tomcat/util/http/fileupload/RequestContext;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.multiPartStream:Lorg/apache/tomcat/util/http/fileupload/MultipartStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
Exceptions:
throws org.apache.tomcat.util.http.fileupload.FileUploadException, java.io.IOException
private boolean findNextItem();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=7, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.eof:Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.currentItem:Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
ifnull 5
3: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.currentItem:Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.close:()V
4: aload 0
aconst_null
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.currentItem:Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.getMultiPartStream:()Lorg/apache/tomcat/util/http/fileupload/MultipartStream;
astore 1
start local 1 6: StackMap locals: org.apache.tomcat.util.http.fileupload.MultipartStream
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.skipPreamble:Z
ifeq 9
7: aload 1
invokevirtual org.apache.tomcat.util.http.fileupload.MultipartStream.skipPreamble:()Z
istore 2
start local 2 8: goto 10
end local 2 9: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.tomcat.util.http.fileupload.MultipartStream.readBoundary:()Z
istore 2
start local 2 10: StackMap locals: int
StackMap stack:
iload 2
ifne 17
11: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.currentFieldName:Ljava/lang/String;
ifnonnull 14
12: aload 0
iconst_1
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.eof:Z
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.multiPartBoundary:[B
invokevirtual org.apache.tomcat.util.http.fileupload.MultipartStream.setBoundary:([B)V
15: aload 0
aconst_null
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.currentFieldName:Ljava/lang/String;
16: goto 6
17: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.fileUploadBase:Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
aload 1
invokevirtual org.apache.tomcat.util.http.fileupload.MultipartStream.readHeaders:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getParsedHeaders:(Ljava/lang/String;)Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
astore 3
start local 3 18: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.currentFieldName:Ljava/lang/String;
ifnonnull 42
19: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.fileUploadBase:Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
aload 3
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getFieldName:(Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)Ljava/lang/String;
astore 4
start local 4 20: aload 4
ifnull 53
21: aload 3
ldc "Content-type"
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemHeaders.getHeader:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 22: aload 5
ifnull 30
23: aload 5
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
24: ldc "multipart/mixed"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 30
25: aload 0
aload 4
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.currentFieldName:Ljava/lang/String;
26: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.fileUploadBase:Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
aload 5
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getBoundary:(Ljava/lang/String;)[B
astore 6
start local 6 27: aload 1
aload 6
invokevirtual org.apache.tomcat.util.http.fileupload.MultipartStream.setBoundary:([B)V
28: aload 0
iconst_1
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.skipPreamble:Z
29: goto 6
end local 6 30: StackMap locals: org.apache.tomcat.util.http.fileupload.FileItemHeaders java.lang.String java.lang.String
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.fileUploadBase:Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
aload 3
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getFileName:(Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)Ljava/lang/String;
astore 6
start local 6 31: aload 0
32: new org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl
dup
aload 0
aload 6
33: aload 4
aload 3
ldc "Content-type"
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemHeaders.getHeader:(Ljava/lang/String;)Ljava/lang/String;
34: aload 6
ifnonnull 35
iconst_1
goto 36
StackMap locals: org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl org.apache.tomcat.util.http.fileupload.MultipartStream int org.apache.tomcat.util.http.fileupload.FileItemHeaders java.lang.String java.lang.String java.lang.String
StackMap stack: org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl new 32 new 32 org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl java.lang.String java.lang.String java.lang.String
35: iconst_0
StackMap locals: org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl org.apache.tomcat.util.http.fileupload.MultipartStream int org.apache.tomcat.util.http.fileupload.FileItemHeaders java.lang.String java.lang.String java.lang.String
StackMap stack: org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl new 32 new 32 org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl java.lang.String java.lang.String java.lang.String int
36: aload 0
aload 3
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.getContentLength:(Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)J
invokespecial org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.<init>:(Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZJ)V
37: putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.currentItem:Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
38: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.currentItem:Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
aload 3
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.setHeaders:(Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)V
39: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.progressNotifier:Lorg/apache/tomcat/util/http/fileupload/MultipartStream$ProgressNotifier;
invokevirtual org.apache.tomcat.util.http.fileupload.MultipartStream$ProgressNotifier.noteItem:()V
40: aload 0
iconst_1
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.itemValid:Z
41: iconst_1
ireturn
end local 6 end local 5 end local 4 42: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.fileUploadBase:Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
aload 3
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getFileName:(Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)Ljava/lang/String;
astore 4
start local 4 43: aload 4
ifnull 53
44: aload 0
new org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl
dup
aload 0
aload 4
45: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.currentFieldName:Ljava/lang/String;
46: aload 3
ldc "Content-type"
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemHeaders.getHeader:(Ljava/lang/String;)Ljava/lang/String;
47: iconst_0
aload 0
aload 3
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.getContentLength:(Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)J
invokespecial org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.<init>:(Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZJ)V
48: putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.currentItem:Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
49: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.currentItem:Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
aload 3
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.setHeaders:(Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)V
50: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.progressNotifier:Lorg/apache/tomcat/util/http/fileupload/MultipartStream$ProgressNotifier;
invokevirtual org.apache.tomcat.util.http.fileupload.MultipartStream$ProgressNotifier.noteItem:()V
51: aload 0
iconst_1
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.itemValid:Z
52: iconst_1
ireturn
end local 4 53: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.tomcat.util.http.fileupload.MultipartStream.discardBodyData:()I
pop
end local 3 end local 2 54: goto 6
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
6 55 1 multi Lorg/apache/tomcat/util/http/fileupload/MultipartStream;
8 9 2 nextPart Z
10 54 2 nextPart Z
18 54 3 headers Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
20 42 4 fieldName Ljava/lang/String;
22 42 5 subContentType Ljava/lang/String;
27 30 6 subBoundary [B
31 42 6 fileName Ljava/lang/String;
43 53 4 fileName Ljava/lang/String;
Exceptions:
throws org.apache.tomcat.util.http.fileupload.FileUploadException, java.io.IOException
private long (org.apache.tomcat.util.http.fileupload.FileItemHeaders);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Content-length"
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemHeaders.getHeader:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
1: lreturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: ldc -1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
0 4 1 pHeaders Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
pHeaders
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.eof:Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.itemValid:Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.findNextItem:()Z
5: ireturn
6: StackMap locals:
StackMap stack: org.apache.tomcat.util.http.fileupload.impl.FileUploadIOException
astore 1
start local 1 7: aload 1
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileUploadIOException.getCause:()Ljava/lang/Throwable;
checkcast org.apache.tomcat.util.http.fileupload.FileUploadException
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
7 8 1 e Lorg/apache/tomcat/util/http/fileupload/impl/FileUploadIOException;
Exception table:
from to target type
4 5 6 Class org.apache.tomcat.util.http.fileupload.impl.FileUploadIOException
Exceptions:
throws org.apache.tomcat.util.http.fileupload.FileUploadException, java.io.IOException
public org.apache.tomcat.util.http.fileupload.FileItemStream next();
descriptor: ()Lorg/apache/tomcat/util/http/fileupload/FileItemStream;
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.impl.FileItemIteratorImpl.eof:Z
ifne 1
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.itemValid:Z
ifne 2
aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.hasNext:()Z
ifne 2
1: StackMap locals:
StackMap stack:
new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.itemValid:Z
3: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.currentItem:Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
Exceptions:
throws org.apache.tomcat.util.http.fileupload.FileUploadException, java.io.IOException
public java.util.List<org.apache.tomcat.util.http.fileupload.FileItem> getFileItems();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: goto 5
2: StackMap locals: java.util.List
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.next:()Lorg/apache/tomcat/util/http/fileupload/FileItemStream;
astore 2
start local 2 3: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.fileUploadBase:Lorg/apache/tomcat/util/http/fileupload/FileUploadBase;
invokevirtual org.apache.tomcat.util.http.fileupload.FileUploadBase.getFileItemFactory:()Lorg/apache/tomcat/util/http/fileupload/FileItemFactory;
aload 2
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemStream.getFieldName:()Ljava/lang/String;
aload 2
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemStream.getContentType:()Ljava/lang/String;
aload 2
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemStream.isFormField:()Z
aload 2
invokeinterface org.apache.tomcat.util.http.fileupload.FileItemStream.getName:()Ljava/lang/String;
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 3
start local 3 4: aload 1
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 end local 2 5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.hasNext:()Z
ifne 2
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
1 7 1 items Ljava/util/List<Lorg/apache/tomcat/util/http/fileupload/FileItem;>;
3 5 2 fis Lorg/apache/tomcat/util/http/fileupload/FileItemStream;
4 5 3 fi Lorg/apache/tomcat/util/http/fileupload/FileItem;
Exceptions:
throws org.apache.tomcat.util.http.fileupload.FileUploadException, java.io.IOException
Signature: ()Ljava/util/List<Lorg/apache/tomcat/util/http/fileupload/FileItem;>;
}
SourceFile: "FileItemIteratorImpl.java"
NestMembers:
org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl$1
InnerClasses:
public ProgressNotifier = org.apache.tomcat.util.http.fileupload.MultipartStream$ProgressNotifier of org.apache.tomcat.util.http.fileupload.MultipartStream
org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl$1