public class org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl implements org.apache.tomcat.util.http.fileupload.FileItemStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl
super_class: java.lang.Object
{
private final org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl fileItemIteratorImpl;
descriptor: Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String contentType;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String fieldName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
private final boolean formField;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.InputStream stream;
descriptor: Ljava/io/InputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.tomcat.util.http.fileupload.FileItemHeaders ;
descriptor: Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl, java.lang.String, java.lang.String, java.lang.String, boolean, long);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=12, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.fileItemIteratorImpl:Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
2: aload 0
aload 2
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.name:Ljava/lang/String;
3: aload 0
aload 3
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.fieldName:Ljava/lang/String;
4: aload 0
aload 4
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.contentType:Ljava/lang/String;
5: aload 0
iload 5
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.formField:Z
6: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.fileItemIteratorImpl:Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.getFileSizeMax:()J
lstore 8
start local 8 7: lload 8
ldc -1
lcmp
ifeq 20
8: lload 6
ldc -1
lcmp
ifeq 20
9: lload 6
lload 8
lcmp
ifle 20
10: new org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceededException
dup
11: ldc "The field %s exceeds its maximum permitted size of %s bytes."
iconst_2
anewarray java.lang.Object
dup
iconst_0
12: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.fieldName:Ljava/lang/String;
aastore
dup
iconst_1
lload 8
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
13: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
14: lload 6
lload 8
15: invokespecial org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceededException.<init>:(Ljava/lang/String;JJ)V
16: astore 10
start local 10 17: aload 10
aload 2
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceededException.setFileName:(Ljava/lang/String;)V
18: aload 10
aload 3
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceededException.setFieldName:(Ljava/lang/String;)V
19: new org.apache.tomcat.util.http.fileupload.impl.FileUploadIOException
dup
aload 10
invokespecial org.apache.tomcat.util.http.fileupload.impl.FileUploadIOException.<init>:(Lorg/apache/tomcat/util/http/fileupload/FileUploadException;)V
athrow
end local 10 20: StackMap locals: org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl java.lang.String java.lang.String java.lang.String int long long
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.fileItemIteratorImpl:Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
invokevirtual org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.getMultiPartStream:()Lorg/apache/tomcat/util/http/fileupload/MultipartStream;
invokevirtual org.apache.tomcat.util.http.fileupload.MultipartStream.newInputStream:()Lorg/apache/tomcat/util/http/fileupload/MultipartStream$ItemInputStream;
astore 10
start local 10 21: aload 10
astore 11
start local 11 22: lload 8
ldc -1
lcmp
ifeq 24
23: new org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl$1
dup
aload 0
aload 11
lload 8
aload 10
invokespecial org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl$1.<init>:(Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;Ljava/io/InputStream;JLorg/apache/tomcat/util/http/fileupload/MultipartStream$ItemInputStream;)V
astore 11
24: StackMap locals: org.apache.tomcat.util.http.fileupload.MultipartStream$ItemInputStream java.io.InputStream
StackMap stack:
aload 0
aload 11
putfield org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.stream:Ljava/io/InputStream;
25: return
end local 11 end local 10 end local 8 end local 6 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 26 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
0 26 1 pFileItemIterator Lorg/apache/tomcat/util/http/fileupload/impl/FileItemIteratorImpl;
0 26 2 pName Ljava/lang/String;
0 26 3 pFieldName Ljava/lang/String;
0 26 4 pContentType Ljava/lang/String;
0 26 5 pFormField Z
0 26 6 pContentLength J
7 26 8 fileSizeMax J
17 20 10 e Lorg/apache/tomcat/util/http/fileupload/impl/FileSizeLimitExceededException;
21 26 10 itemStream Lorg/apache/tomcat/util/http/fileupload/MultipartStream$ItemInputStream;
22 26 11 istream Ljava/io/InputStream;
Exceptions:
throws org.apache.tomcat.util.http.fileupload.FileUploadException, java.io.IOException
MethodParameters:
Name Flags
pFileItemIterator
pName
pFieldName
pContentType
pFormField
pContentLength
public java.lang.String getContentType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.contentType:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
public java.lang.String getFieldName();
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.impl.FileItemStreamImpl.fieldName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.name:Ljava/lang/String;
invokestatic org.apache.tomcat.util.http.fileupload.util.Streams.checkFileName:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
public boolean isFormField();
descriptor: ()Z
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.impl.FileItemStreamImpl.formField:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
public java.io.InputStream openStream();
descriptor: ()Ljava/io/InputStream;
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.FileItemStreamImpl.stream:Ljava/io/InputStream;
checkcast org.apache.tomcat.util.http.fileupload.util.Closeable
invokeinterface org.apache.tomcat.util.http.fileupload.util.Closeable.isClosed:()Z
ifeq 2
1: new org.apache.tomcat.util.http.fileupload.FileItemStream$ItemSkippedException
dup
invokespecial org.apache.tomcat.util.http.fileupload.FileItemStream$ItemSkippedException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl.stream:Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
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.impl.FileItemStreamImpl.stream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
Exceptions:
throws java.io.IOException
public org.apache.tomcat.util.http.fileupload.FileItemHeaders ();
descriptor: ()Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
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.impl.FileItemStreamImpl.headers:Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/impl/FileItemStreamImpl;
public void (org.apache.tomcat.util.http.fileupload.FileItemHeaders);
descriptor: (Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;)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.impl.FileItemStreamImpl.headers:Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
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/FileItemStreamImpl;
0 2 1 pHeaders Lorg/apache/tomcat/util/http/fileupload/FileItemHeaders;
MethodParameters:
Name Flags
pHeaders
}
SourceFile: "FileItemStreamImpl.java"
NestMembers:
org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl$1
InnerClasses:
public ItemSkippedException = org.apache.tomcat.util.http.fileupload.FileItemStream$ItemSkippedException of org.apache.tomcat.util.http.fileupload.FileItemStream
public ItemInputStream = org.apache.tomcat.util.http.fileupload.MultipartStream$ItemInputStream of org.apache.tomcat.util.http.fileupload.MultipartStream
org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl$1