public abstract class io.netty.handler.codec.http.multipart.AbstractDiskHttpData extends io.netty.handler.codec.http.multipart.AbstractHttpData
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.handler.codec.http.multipart.AbstractDiskHttpData
super_class: io.netty.handler.codec.http.multipart.AbstractHttpData
{
private static final io.netty.util.internal.logging.InternalLogger logger;
descriptor: Lio/netty/util/internal/logging/InternalLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.io.File file;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
private boolean isRenamed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.nio.channels.FileChannel fileChannel;
descriptor: Ljava/nio/channels/FileChannel;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
invokestatic io.netty.util.internal.logging.InternalLoggerFactory.getInstance:(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
putstatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.logger:Lio/netty/util/internal/logging/InternalLogger;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.lang.String, java.nio.charset.Charset, long);
descriptor: (Ljava/lang/String;Ljava/nio/charset/Charset;J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
lload 3
invokespecial io.netty.handler.codec.http.multipart.AbstractHttpData.<init>:(Ljava/lang/String;Ljava/nio/charset/Charset;J)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
0 2 1 name Ljava/lang/String;
0 2 2 charset Ljava/nio/charset/Charset;
0 2 3 size J
MethodParameters:
Name Flags
name
charset
size
protected abstract java.lang.String getDiskFilename();
descriptor: ()Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract java.lang.String getPrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract java.lang.String getBaseDirectory();
descriptor: ()Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract java.lang.String getPostfix();
descriptor: ()Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract boolean deleteOnExit();
descriptor: ()Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
private java.io.File tempFile();
descriptor: ()Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.getDiskFilename:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 4
2: new java.lang.StringBuilder
dup
bipush 95
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 3: goto 5
end local 1 4: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData top java.lang.String
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.getPostfix:()Ljava/lang/String;
astore 1
start local 1 5: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.lang.String java.lang.String
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.getBaseDirectory:()Ljava/lang/String;
ifnonnull 8
6: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.getPrefix:()Ljava/lang/String;
aload 1
invokestatic java.io.File.createTempFile:(Ljava/lang/String;Ljava/lang/String;)Ljava/io/File;
astore 3
start local 3 7: goto 11
end local 3 8: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.getPrefix:()Ljava/lang/String;
aload 1
new java.io.File
dup
9: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.getBaseDirectory:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
10: invokestatic java.io.File.createTempFile:(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File;
astore 3
start local 3 11: StackMap locals: java.io.File
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.deleteOnExit:()Z
ifeq 13
12: aload 3
invokevirtual java.io.File.deleteOnExit:()V
13: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
3 4 1 newpostfix Ljava/lang/String;
5 14 1 newpostfix Ljava/lang/String;
1 14 2 diskFilename Ljava/lang/String;
7 8 3 tmpFile Ljava/io/File;
11 14 3 tmpFile Ljava/io/File;
Exceptions:
throws java.io.IOException
public void setContent(io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/buffer/ByteBuf;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "buffer"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
i2l
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
3: aload 0
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.checkSize:(J)V
4: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.definedSize:J
lconst_0
lcmp
ifle 6
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.definedSize:J
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
lcmp
ifge 6
5: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Out of size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " > "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.definedSize:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
ifnonnull 8
7: aload 0
aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.tempFile:()Ljava/io/File;
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
ifne 17
9: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokevirtual java.io.File.createNewFile:()Z
ifne 15
10: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokevirtual java.io.File.length:()J
lconst_0
lcmp
ifne 13
11: aload 1
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
12: return
13: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokevirtual java.io.File.delete:()Z
ifeq 14
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokevirtual java.io.File.createNewFile:()Z
ifne 15
14: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "file exists already: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
16: return
17: StackMap locals:
StackMap stack:
new java.io.FileOutputStream
dup
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 2
start local 2 18: aload 2
invokevirtual java.io.FileOutputStream.getChannel:()Ljava/nio/channels/FileChannel;
astore 3
start local 3 19: aload 1
invokevirtual io.netty.buffer.ByteBuf.nioBuffer:()Ljava/nio/ByteBuffer;
astore 4
start local 4 20: iconst_0
istore 5
start local 5 21: goto 23
22: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData io.netty.buffer.ByteBuf java.io.FileOutputStream java.nio.channels.FileChannel java.nio.ByteBuffer int
StackMap stack:
iload 5
aload 3
aload 4
invokevirtual java.nio.channels.FileChannel.write:(Ljava/nio/ByteBuffer;)I
iadd
istore 5
23: StackMap locals:
StackMap stack:
iload 5
i2l
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
lcmp
iflt 22
24: aload 1
aload 1
invokevirtual io.netty.buffer.ByteBuf.readerIndex:()I
iload 5
iadd
invokevirtual io.netty.buffer.ByteBuf.readerIndex:(I)Lio/netty/buffer/ByteBuf;
pop
25: aload 3
iconst_0
invokevirtual java.nio.channels.FileChannel.force:(Z)V
end local 5 end local 4 end local 3 26: goto 30
StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData io.netty.buffer.ByteBuf java.io.FileOutputStream
StackMap stack: java.lang.Throwable
27: astore 6
28: aload 2
invokevirtual java.io.FileOutputStream.close:()V
29: aload 6
athrow
30: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.FileOutputStream.close:()V
31: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.setCompleted:()V
end local 2 32: goto 36
StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData io.netty.buffer.ByteBuf
StackMap stack: java.lang.Throwable
33: astore 7
34: aload 1
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
35: aload 7
athrow
36: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
37: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
0 38 1 buffer Lio/netty/buffer/ByteBuf;
18 32 2 outputStream Ljava/io/FileOutputStream;
19 26 3 localfileChannel Ljava/nio/channels/FileChannel;
20 26 4 byteBuffer Ljava/nio/ByteBuffer;
21 26 5 written I
Exception table:
from to target type
18 27 27 any
2 11 33 any
13 15 33 any
17 33 33 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
public void addContent(io.netty.buffer.ByteBuf, boolean);
descriptor: (Lio/netty/buffer/ByteBuf;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 26
1: aload 1
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
istore 3
start local 3 2: aload 0
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
iload 3
i2l
ladd
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.checkSize:(J)V
3: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.definedSize:J
lconst_0
lcmp
ifle 7
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.definedSize:J
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
iload 3
i2l
ladd
lcmp
ifge 7
4: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Out of size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
iload 3
i2l
ladd
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
5: ldc " > "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.definedSize:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: int
StackMap stack:
aload 1
invokevirtual io.netty.buffer.ByteBuf.nioBufferCount:()I
iconst_1
if_icmpne 8
aload 1
invokevirtual io.netty.buffer.ByteBuf.nioBuffer:()Ljava/nio/ByteBuffer;
goto 9
StackMap locals:
StackMap stack:
8: aload 1
invokevirtual io.netty.buffer.ByteBuf.copy:()Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.nioBuffer:()Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
9: astore 4
start local 4 10: iconst_0
istore 5
start local 5 11: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
ifnonnull 13
12: aload 0
aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.tempFile:()Ljava/io/File;
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
13: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
ifnonnull 18
14: new java.io.FileOutputStream
dup
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 6
start local 6 15: aload 0
aload 6
invokevirtual java.io.FileOutputStream.getChannel:()Ljava/nio/channels/FileChannel;
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
end local 6 16: goto 18
17: StackMap locals:
StackMap stack:
iload 5
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
aload 4
invokevirtual java.nio.channels.FileChannel.write:(Ljava/nio/ByteBuffer;)I
iadd
istore 5
18: StackMap locals:
StackMap stack:
iload 5
iload 3
if_icmplt 17
19: aload 0
dup
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
iload 3
i2l
ladd
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
20: aload 1
aload 1
invokevirtual io.netty.buffer.ByteBuf.readerIndex:()I
iload 5
iadd
invokevirtual io.netty.buffer.ByteBuf.readerIndex:(I)Lio/netty/buffer/ByteBuf;
pop
end local 5 end local 4 end local 3 21: goto 25
StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData io.netty.buffer.ByteBuf int
StackMap stack: java.lang.Throwable
22: astore 7
23: aload 1
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
24: aload 7
athrow
25: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
26: StackMap locals:
StackMap stack:
iload 2
ifeq 37
27: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
ifnonnull 29
28: aload 0
aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.tempFile:()Ljava/io/File;
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
29: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
ifnonnull 32
30: new java.io.FileOutputStream
dup
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 3
start local 3 31: aload 0
aload 3
invokevirtual java.io.FileOutputStream.getChannel:()Ljava/nio/channels/FileChannel;
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
end local 3 32: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
iconst_0
invokevirtual java.nio.channels.FileChannel.force:(Z)V
33: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
invokevirtual java.nio.channels.FileChannel.close:()V
34: aload 0
aconst_null
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
35: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.setCompleted:()V
36: goto 39
37: StackMap locals:
StackMap stack:
aload 1
ifnonnull 39
38: new java.lang.NullPointerException
dup
ldc "buffer"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
39: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
0 40 1 buffer Lio/netty/buffer/ByteBuf;
0 40 2 last Z
2 21 3 localsize I
10 21 4 byteBuffer Ljava/nio/ByteBuffer;
11 21 5 written I
15 16 6 outputStream Ljava/io/FileOutputStream;
31 32 3 outputStream Ljava/io/FileOutputStream;
Exception table:
from to target type
1 22 22 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
last
public void setContent(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
ifnull 2
1: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.delete:()V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
3: aload 0
aload 1
invokevirtual java.io.File.length:()J
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
4: aload 0
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.checkSize:(J)V
5: aload 0
iconst_1
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.isRenamed:Z
6: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.setCompleted:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
0 8 1 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public void setContent(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "inputStream"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
ifnull 4
3: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.delete:()V
4: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.tempFile:()Ljava/io/File;
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
5: new java.io.FileOutputStream
dup
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 2
start local 2 6: iconst_0
istore 3
start local 3 7: aload 2
invokevirtual java.io.FileOutputStream.getChannel:()Ljava/nio/channels/FileChannel;
astore 4
start local 4 8: sipush 16384
newarray 8
astore 5
start local 5 9: aload 5
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 6
start local 6 10: aload 1
aload 5
invokevirtual java.io.InputStream.read:([B)I
istore 7
start local 7 11: goto 16
12: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.InputStream java.io.FileOutputStream int java.nio.channels.FileChannel byte[] java.nio.ByteBuffer int
StackMap stack:
aload 6
iload 7
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
invokevirtual java.nio.Buffer.flip:()Ljava/nio/Buffer;
pop
13: iload 3
aload 4
aload 6
invokevirtual java.nio.channels.FileChannel.write:(Ljava/nio/ByteBuffer;)I
iadd
istore 3
14: aload 0
iload 3
i2l
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.checkSize:(J)V
15: aload 1
aload 5
invokevirtual java.io.InputStream.read:([B)I
istore 7
16: StackMap locals:
StackMap stack:
iload 7
ifgt 12
17: aload 4
iconst_0
invokevirtual java.nio.channels.FileChannel.force:(Z)V
end local 7 end local 6 end local 5 end local 4 18: goto 22
StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.InputStream java.io.FileOutputStream int
StackMap stack: java.lang.Throwable
19: astore 8
20: aload 2
invokevirtual java.io.FileOutputStream.close:()V
21: aload 8
athrow
22: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.FileOutputStream.close:()V
23: aload 0
iload 3
i2l
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
24: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.definedSize:J
lconst_0
lcmp
ifle 29
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.definedSize:J
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
lcmp
ifge 29
25: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokevirtual java.io.File.delete:()Z
ifne 27
26: getstatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Failed to delete: {}"
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
27: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
28: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Out of size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " > "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.definedSize:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
29: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.isRenamed:Z
30: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.setCompleted:()V
31: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
0 32 1 inputStream Ljava/io/InputStream;
6 32 2 outputStream Ljava/io/FileOutputStream;
7 32 3 written I
8 18 4 localfileChannel Ljava/nio/channels/FileChannel;
9 18 5 bytes [B
10 18 6 byteBuffer Ljava/nio/ByteBuffer;
11 18 7 read I
Exception table:
from to target type
7 19 19 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
inputStream
public void delete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
ifnull 7
1: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
iconst_0
invokevirtual java.nio.channels.FileChannel.force:(Z)V
2: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
invokevirtual java.nio.channels.FileChannel.close:()V
3: goto 6
StackMap locals:
StackMap stack: java.io.IOException
4: astore 1
start local 1 5: getstatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Failed to close a file."
aload 1
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 6: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
7: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.isRenamed:Z
ifne 12
8: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
ifnull 11
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokevirtual java.io.File.exists:()Z
ifeq 11
9: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokevirtual java.io.File.delete:()Z
ifne 11
10: getstatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Failed to delete: {}"
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
5 6 1 e Ljava/io/IOException;
Exception table:
from to target type
1 3 4 Class java.io.IOException
public byte[] get();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
ifnonnull 2
1: getstatic io.netty.util.internal.EmptyArrays.EMPTY_BYTES:[B
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokestatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.readFrom:(Ljava/io/File;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
Exceptions:
throws java.io.IOException
public io.netty.buffer.ByteBuf getByteBuf();
descriptor: ()Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
ifnonnull 2
1: getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokestatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.readFrom:(Ljava/io/File;)[B
astore 1
start local 1 3: aload 1
invokestatic io.netty.buffer.Unpooled.wrappedBuffer:([B)Lio/netty/buffer/ByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
3 4 1 array [B
Exceptions:
throws java.io.IOException
public io.netty.buffer.ByteBuf getChunk(int);
descriptor: (I)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
ifnull 1
iload 1
ifne 2
1: StackMap locals:
StackMap stack:
getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
ifnonnull 5
3: new java.io.FileInputStream
dup
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 2
start local 2 4: aload 0
aload 2
invokevirtual java.io.FileInputStream.getChannel:()Ljava/nio/channels/FileChannel;
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
end local 2 5: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 6: iload 1
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 3
start local 3 7: goto 14
8: StackMap locals: int java.nio.ByteBuffer
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
aload 3
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;)I
istore 4
start local 4 9: iload 4
iconst_m1
if_icmpne 13
10: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
invokevirtual java.nio.channels.FileChannel.close:()V
11: aload 0
aconst_null
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.fileChannel:Ljava/nio/channels/FileChannel;
12: goto 15
13: StackMap locals: int
StackMap stack:
iload 2
iload 4
iadd
istore 2
end local 4 14: StackMap locals:
StackMap stack:
iload 2
iload 1
if_icmplt 8
15: StackMap locals:
StackMap stack:
iload 2
ifne 17
16: getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
areturn
17: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
18: aload 3
invokestatic io.netty.buffer.Unpooled.wrappedBuffer:(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
astore 4
start local 4 19: aload 4
iconst_0
invokevirtual io.netty.buffer.ByteBuf.readerIndex:(I)Lio/netty/buffer/ByteBuf;
pop
20: aload 4
iload 2
invokevirtual io.netty.buffer.ByteBuf.writerIndex:(I)Lio/netty/buffer/ByteBuf;
pop
21: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
0 22 1 length I
4 5 2 inputStream Ljava/io/FileInputStream;
6 22 2 read I
7 22 3 byteBuffer Ljava/nio/ByteBuffer;
9 14 4 readnow I
19 22 4 buffer Lio/netty/buffer/ByteBuf;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
length
public java.lang.String getString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic io.netty.handler.codec.http.HttpConstants.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.getString:(Ljava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
Exceptions:
throws java.io.IOException
public java.lang.String getString(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
ifnonnull 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 5
3: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokestatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.readFrom:(Ljava/io/File;)[B
astore 2
start local 2 4: new java.lang.String
dup
aload 2
getstatic io.netty.handler.codec.http.HttpConstants.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokestatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.readFrom:(Ljava/io/File;)[B
astore 2
start local 2 6: new java.lang.String
dup
aload 2
aload 1
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
0 7 1 encoding Ljava/nio/charset/Charset;
4 5 2 array [B
6 7 2 array [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoding
public boolean isInMemory();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
public boolean renameTo(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=13, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "dest"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
ifnonnull 4
3: new java.io.IOException
dup
ldc "No file defined so cannot be renamed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
aload 1
invokevirtual java.io.File.renameTo:(Ljava/io/File;)Z
ifne 84
5: aconst_null
astore 2
start local 2 6: aconst_null
astore 3
start local 3 7: aconst_null
astore 4
start local 4 8: ldc 8196
lstore 5
start local 5 9: lconst_0
lstore 7
start local 7 10: new java.io.FileInputStream
dup
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 3
11: new java.io.FileOutputStream
dup
aload 1
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 4
12: aload 3
invokevirtual java.io.FileInputStream.getChannel:()Ljava/nio/channels/FileChannel;
astore 9
start local 9 13: aload 4
invokevirtual java.io.FileOutputStream.getChannel:()Ljava/nio/channels/FileChannel;
astore 10
start local 10 14: goto 18
15: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.File java.io.IOException java.io.FileInputStream java.io.FileOutputStream long long java.nio.channels.FileChannel java.nio.channels.FileChannel
StackMap stack:
lload 5
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
lload 7
lsub
lcmp
ifge 17
16: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
lload 7
lsub
lstore 5
17: StackMap locals:
StackMap stack:
lload 7
aload 9
lload 7
lload 5
aload 10
invokevirtual java.nio.channels.FileChannel.transferTo:(JJLjava/nio/channels/WritableByteChannel;)J
ladd
lstore 7
18: StackMap locals:
StackMap stack:
lload 7
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
lcmp
iflt 15
end local 10 end local 9 19: goto 57
StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.File java.io.IOException java.io.FileInputStream java.io.FileOutputStream long long
StackMap stack: java.io.IOException
20: astore 9
start local 9 21: aload 9
astore 2
end local 9 22: aload 3
ifnull 30
23: aload 3
invokevirtual java.io.FileInputStream.close:()V
24: goto 30
StackMap locals:
StackMap stack: java.io.IOException
25: astore 12
start local 12 26: aload 2
ifnonnull 29
27: aload 12
astore 2
28: goto 30
29: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.File java.io.IOException java.io.FileInputStream java.io.FileOutputStream long long top top top java.io.IOException
StackMap stack:
getstatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Multiple exceptions detected, the following will be suppressed {}"
aload 12
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 12 30: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.File java.io.IOException java.io.FileInputStream java.io.FileOutputStream long long
StackMap stack:
aload 4
ifnull 73
31: aload 4
invokevirtual java.io.FileOutputStream.close:()V
32: goto 73
StackMap locals:
StackMap stack: java.io.IOException
33: astore 12
start local 12 34: aload 2
ifnonnull 37
35: aload 12
astore 2
36: goto 73
37: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.File java.io.IOException java.io.FileInputStream java.io.FileOutputStream long long top top top java.io.IOException
StackMap stack:
getstatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Multiple exceptions detected, the following will be suppressed {}"
aload 12
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 12 38: goto 73
39: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.File java.io.IOException java.io.FileInputStream java.io.FileOutputStream long long
StackMap stack: java.lang.Throwable
astore 11
40: aload 3
ifnull 48
41: aload 3
invokevirtual java.io.FileInputStream.close:()V
42: goto 48
StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.File java.io.IOException java.io.FileInputStream java.io.FileOutputStream long long top top java.lang.Throwable
StackMap stack: java.io.IOException
43: astore 12
start local 12 44: aload 2
ifnonnull 47
45: aload 12
astore 2
46: goto 48
47: StackMap locals: java.io.IOException
StackMap stack:
getstatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Multiple exceptions detected, the following will be suppressed {}"
aload 12
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 12 48: StackMap locals:
StackMap stack:
aload 4
ifnull 56
49: aload 4
invokevirtual java.io.FileOutputStream.close:()V
50: goto 56
StackMap locals:
StackMap stack: java.io.IOException
51: astore 12
start local 12 52: aload 2
ifnonnull 55
53: aload 12
astore 2
54: goto 56
55: StackMap locals: java.io.IOException
StackMap stack:
getstatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Multiple exceptions detected, the following will be suppressed {}"
aload 12
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 12 56: StackMap locals:
StackMap stack:
aload 11
athrow
57: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.File java.io.IOException java.io.FileInputStream java.io.FileOutputStream long long
StackMap stack:
aload 3
ifnull 65
58: aload 3
invokevirtual java.io.FileInputStream.close:()V
59: goto 65
StackMap locals:
StackMap stack: java.io.IOException
60: astore 12
start local 12 61: aload 2
ifnonnull 64
62: aload 12
astore 2
63: goto 65
64: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.File java.io.IOException java.io.FileInputStream java.io.FileOutputStream long long top top top java.io.IOException
StackMap stack:
getstatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Multiple exceptions detected, the following will be suppressed {}"
aload 12
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 12 65: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.File java.io.IOException java.io.FileInputStream java.io.FileOutputStream long long
StackMap stack:
aload 4
ifnull 73
66: aload 4
invokevirtual java.io.FileOutputStream.close:()V
67: goto 73
StackMap locals:
StackMap stack: java.io.IOException
68: astore 12
start local 12 69: aload 2
ifnonnull 72
70: aload 12
astore 2
71: goto 73
72: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.File java.io.IOException java.io.FileInputStream java.io.FileOutputStream long long top top top java.io.IOException
StackMap stack:
getstatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Multiple exceptions detected, the following will be suppressed {}"
aload 12
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 12 73: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.File java.io.IOException java.io.FileInputStream java.io.FileOutputStream long long
StackMap stack:
aload 2
ifnull 75
74: aload 2
athrow
75: StackMap locals:
StackMap stack:
lload 7
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.size:J
lcmp
ifne 81
76: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokevirtual java.io.File.delete:()Z
ifne 78
77: getstatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Failed to delete: {}"
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
78: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
79: aload 0
iconst_1
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.isRenamed:Z
80: iconst_1
ireturn
81: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.delete:()Z
ifne 83
82: getstatic io.netty.handler.codec.http.multipart.AbstractDiskHttpData.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Failed to delete: {}"
aload 1
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
83: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 7 end local 5 end local 4 end local 3 end local 2 84: StackMap locals: io.netty.handler.codec.http.multipart.AbstractDiskHttpData java.io.File
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
85: aload 0
iconst_1
putfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.isRenamed:Z
86: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 87 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
0 87 1 dest Ljava/io/File;
6 84 2 exception Ljava/io/IOException;
7 84 3 inputStream Ljava/io/FileInputStream;
8 84 4 outputStream Ljava/io/FileOutputStream;
9 84 5 chunkSize J
10 84 7 position J
13 19 9 in Ljava/nio/channels/FileChannel;
14 19 10 out Ljava/nio/channels/FileChannel;
21 22 9 e Ljava/io/IOException;
26 30 12 e Ljava/io/IOException;
44 48 12 e Ljava/io/IOException;
61 65 12 e Ljava/io/IOException;
34 38 12 e Ljava/io/IOException;
52 56 12 e Ljava/io/IOException;
69 73 12 e Ljava/io/IOException;
Exception table:
from to target type
10 19 20 Class java.io.IOException
23 24 25 Class java.io.IOException
31 32 33 Class java.io.IOException
10 22 39 any
41 42 43 Class java.io.IOException
49 50 51 Class java.io.IOException
58 59 60 Class java.io.IOException
66 67 68 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dest
private static byte[] readFrom(java.io.File);
descriptor: (Ljava/io/File;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=9, args_size=1
start local 0 0: aload 0
invokevirtual java.io.File.length:()J
lstore 1
start local 1 1: lload 1
ldc 2147483647
lcmp
ifle 5
2: new java.lang.IllegalArgumentException
dup
3: ldc "File too big to be loaded in memory"
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: long
StackMap stack:
new java.io.FileInputStream
dup
aload 0
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 3
start local 3 6: lload 1
l2i
newarray 8
astore 4
start local 4 7: aload 3
invokevirtual java.io.FileInputStream.getChannel:()Ljava/nio/channels/FileChannel;
astore 5
start local 5 8: aload 4
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 6
start local 6 9: iconst_0
istore 7
start local 7 10: goto 12
11: StackMap locals: java.io.File long java.io.FileInputStream byte[] java.nio.channels.FileChannel java.nio.ByteBuffer int
StackMap stack:
iload 7
aload 5
aload 6
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;)I
iadd
istore 7
12: StackMap locals:
StackMap stack:
iload 7
i2l
lload 1
lcmp
iflt 11
end local 7 end local 6 end local 5 13: goto 17
StackMap locals: java.io.File long java.io.FileInputStream byte[]
StackMap stack: java.lang.Throwable
14: astore 8
15: aload 3
invokevirtual java.io.FileInputStream.close:()V
16: aload 8
athrow
17: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.io.FileInputStream.close:()V
18: aload 4
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 src Ljava/io/File;
1 19 1 srcsize J
6 19 3 inputStream Ljava/io/FileInputStream;
7 19 4 array [B
8 13 5 fileChannel Ljava/nio/channels/FileChannel;
9 13 6 byteBuffer Ljava/nio/ByteBuffer;
10 13 7 read I
Exception table:
from to target type
7 14 14 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
public java.io.File getFile();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractDiskHttpData.file:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
Exceptions:
throws java.io.IOException
public io.netty.handler.codec.http.multipart.HttpData touch();
descriptor: ()Lio/netty/handler/codec/http/multipart/HttpData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
public io.netty.handler.codec.http.multipart.HttpData touch(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/HttpData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractDiskHttpData;
0 1 1 hint Ljava/lang/Object;
MethodParameters:
Name Flags
hint
public io.netty.util.ReferenceCounted touch(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/netty/util/ReferenceCounted;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.touch:(Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.netty.handler.codec.http.multipart.InterfaceHttpData touch(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/InterfaceHttpData;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.touch:(Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.netty.buffer.ByteBufHolder touch(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/netty/buffer/ByteBufHolder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.touch:(Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.netty.util.ReferenceCounted touch();
descriptor: ()Lio/netty/util/ReferenceCounted;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.touch:()Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.netty.handler.codec.http.multipart.InterfaceHttpData touch();
descriptor: ()Lio/netty/handler/codec/http/multipart/InterfaceHttpData;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.touch:()Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.netty.buffer.ByteBufHolder touch();
descriptor: ()Lio/netty/buffer/ByteBufHolder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractDiskHttpData.touch:()Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AbstractDiskHttpData.java"