public abstract class io.netty.handler.codec.http.multipart.AbstractMemoryHttpData 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.AbstractMemoryHttpData
super_class: io.netty.handler.codec.http.multipart.AbstractHttpData
{
private io.netty.buffer.ByteBuf byteBuf;
descriptor: Lio/netty/buffer/ByteBuf;
flags: (0x0002) ACC_PRIVATE
private int chunkPosition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
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/AbstractMemoryHttpData;
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
public void setContent(io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/buffer/ByteBuf;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, 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 1
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
i2l
lstore 2
start local 2 3: aload 0
lload 2
invokevirtual io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.checkSize:(J)V
4: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.definedSize:J
lconst_0
lcmp
ifle 8
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.definedSize:J
lload 2
lcmp
ifge 8
5: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Out of size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " > "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.definedSize:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: long
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
ifnull 10
9: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
10: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
11: aload 0
lload 2
putfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.size:J
12: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.setCompleted:()V
13: return
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/AbstractMemoryHttpData;
0 14 1 buffer Lio/netty/buffer/ByteBuf;
3 14 2 localsize J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
public void setContent(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, 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:
invokestatic io.netty.buffer.Unpooled.buffer:()Lio/netty/buffer/ByteBuf;
astore 2
start local 2 3: sipush 16384
newarray 8
astore 3
start local 3 4: aload 1
aload 3
invokevirtual java.io.InputStream.read:([B)I
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 11
7: StackMap locals: io.netty.handler.codec.http.multipart.AbstractMemoryHttpData java.io.InputStream io.netty.buffer.ByteBuf byte[] int int
StackMap stack:
aload 2
aload 3
iconst_0
iload 4
invokevirtual io.netty.buffer.ByteBuf.writeBytes:([BII)Lio/netty/buffer/ByteBuf;
pop
8: iload 5
iload 4
iadd
istore 5
9: aload 0
iload 5
i2l
invokevirtual io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.checkSize:(J)V
10: aload 1
aload 3
invokevirtual java.io.InputStream.read:([B)I
istore 4
11: StackMap locals:
StackMap stack:
iload 4
ifgt 7
12: aload 0
iload 5
i2l
putfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.size:J
13: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.definedSize:J
lconst_0
lcmp
ifle 15
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.definedSize:J
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.size:J
lcmp
ifge 15
14: 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.AbstractMemoryHttpData.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.AbstractMemoryHttpData.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
15: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
ifnull 17
16: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
17: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
18: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.setCompleted:()V
19: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lio/netty/handler/codec/http/multipart/AbstractMemoryHttpData;
0 20 1 inputStream Ljava/io/InputStream;
3 20 2 buffer Lio/netty/buffer/ByteBuf;
4 20 3 bytes [B
5 20 4 read I
6 20 5 written I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
inputStream
public void addContent(io.netty.buffer.ByteBuf, boolean);
descriptor: (Lio/netty/buffer/ByteBuf;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 18
1: aload 1
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
i2l
lstore 3
start local 3 2: aload 0
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.size:J
lload 3
ladd
invokevirtual io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.checkSize:(J)V
3: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.definedSize:J
lconst_0
lcmp
ifle 7
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.definedSize:J
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.size:J
lload 3
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.AbstractMemoryHttpData.size:J
lload 3
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.AbstractMemoryHttpData.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: long
StackMap stack:
aload 0
dup
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.size:J
lload 3
ladd
putfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.size:J
8: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
ifnonnull 11
9: aload 0
aload 1
putfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
10: goto 18
StackMap locals:
StackMap stack:
11: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
instanceof io.netty.buffer.CompositeByteBuf
ifeq 15
12: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
checkcast io.netty.buffer.CompositeByteBuf
astore 5
start local 5 13: aload 5
iconst_1
aload 1
invokevirtual io.netty.buffer.CompositeByteBuf.addComponent:(ZLio/netty/buffer/ByteBuf;)Lio/netty/buffer/CompositeByteBuf;
pop
end local 5 14: goto 18
15: StackMap locals:
StackMap stack:
ldc 2147483647
invokestatic io.netty.buffer.Unpooled.compositeBuffer:(I)Lio/netty/buffer/CompositeByteBuf;
astore 5
start local 5 16: aload 5
iconst_1
iconst_2
anewarray io.netty.buffer.ByteBuf
dup
iconst_0
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
aastore
dup
iconst_1
aload 1
aastore
invokevirtual io.netty.buffer.CompositeByteBuf.addComponents:(Z[Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/CompositeByteBuf;
pop
17: aload 0
aload 5
putfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
end local 5 end local 3 18: StackMap locals:
StackMap stack:
iload 2
ifeq 21
19: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.setCompleted:()V
20: goto 23
21: StackMap locals:
StackMap stack:
aload 1
ifnonnull 23
22: new java.lang.NullPointerException
dup
ldc "buffer"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lio/netty/handler/codec/http/multipart/AbstractMemoryHttpData;
0 24 1 buffer Lio/netty/buffer/ByteBuf;
0 24 2 last Z
2 18 3 localsize J
13 14 5 cbb Lio/netty/buffer/CompositeByteBuf;
16 18 5 cbb Lio/netty/buffer/CompositeByteBuf;
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=6, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "file"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.length:()J
lstore 2
start local 2 3: lload 2
ldc 2147483647
lcmp
ifle 7
4: new java.lang.IllegalArgumentException
dup
5: ldc "File too big to be loaded in memory"
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: long
StackMap stack:
aload 0
lload 2
invokevirtual io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.checkSize:(J)V
8: new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 4
start local 4 9: aload 4
invokevirtual java.io.FileInputStream.getChannel:()Ljava/nio/channels/FileChannel;
astore 5
start local 5 10: lload 2
l2i
newarray 8
astore 6
start local 6 11: aload 6
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 7
start local 7 12: iconst_0
istore 8
start local 8 13: goto 15
14: StackMap locals: io.netty.handler.codec.http.multipart.AbstractMemoryHttpData java.io.File long java.io.FileInputStream java.nio.channels.FileChannel byte[] java.nio.ByteBuffer int
StackMap stack:
iload 8
aload 5
aload 7
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;)I
iadd
istore 8
15: StackMap locals:
StackMap stack:
iload 8
i2l
lload 2
lcmp
iflt 14
16: aload 5
invokevirtual java.nio.channels.FileChannel.close:()V
17: aload 4
invokevirtual java.io.FileInputStream.close:()V
18: aload 7
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
19: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
ifnull 21
20: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
21: StackMap locals:
StackMap stack:
aload 0
ldc 2147483647
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 7
aastore
invokestatic io.netty.buffer.Unpooled.wrappedBuffer:(I[Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
putfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
22: aload 0
lload 2
putfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.size:J
23: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.setCompleted:()V
24: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lio/netty/handler/codec/http/multipart/AbstractMemoryHttpData;
0 25 1 file Ljava/io/File;
3 25 2 newsize J
9 25 4 inputStream Ljava/io/FileInputStream;
10 25 5 fileChannel Ljava/nio/channels/FileChannel;
11 25 6 array [B
12 25 7 byteBuffer Ljava/nio/ByteBuffer;
13 25 8 read I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public void delete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
ifnull 3
1: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.release:()Z
pop
2: aload 0
aconst_null
putfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http/multipart/AbstractMemoryHttpData;
public byte[] get();
descriptor: ()[B
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.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
ifnonnull 2
1: getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.array:()[B
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
newarray 8
astore 1
start local 1 3: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.readerIndex:()I
aload 1
invokevirtual io.netty.buffer.ByteBuf.getBytes:(I[B)Lio/netty/buffer/ByteBuf;
pop
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http/multipart/AbstractMemoryHttpData;
3 5 1 array [B
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.AbstractMemoryHttpData.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/AbstractMemoryHttpData;
public java.lang.String getString(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
ifnonnull 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: getstatic io.netty.handler.codec.http.HttpConstants.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
astore 1
4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
aload 1
invokevirtual io.netty.buffer.ByteBuf.toString:(Ljava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http/multipart/AbstractMemoryHttpData;
0 5 1 encoding Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
encoding
public io.netty.buffer.ByteBuf getByteBuf();
descriptor: ()Lio/netty/buffer/ByteBuf;
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.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractMemoryHttpData;
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.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
ifnull 1
iload 1
ifeq 1
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
ifne 3
1: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.chunkPosition:I
2: getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.chunkPosition:I
isub
istore 2
start local 2 4: iload 2
ifne 7
5: aload 0
iconst_0
putfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.chunkPosition:I
6: getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
areturn
7: StackMap locals: int
StackMap stack:
iload 1
istore 3
start local 3 8: iload 2
iload 1
if_icmpge 10
9: iload 2
istore 3
10: StackMap locals: int
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.chunkPosition:I
iload 3
invokevirtual io.netty.buffer.ByteBuf.retainedSlice:(II)Lio/netty/buffer/ByteBuf;
astore 4
start local 4 11: aload 0
dup
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.chunkPosition:I
iload 3
iadd
putfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.chunkPosition:I
12: 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 13 0 this Lio/netty/handler/codec/http/multipart/AbstractMemoryHttpData;
0 13 1 length I
4 13 2 sizeLeft I
8 13 3 sliceLength I
11 13 4 chunk Lio/netty/buffer/ByteBuf;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
length
public boolean isInMemory();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractMemoryHttpData;
public boolean renameTo(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, 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.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
ifnonnull 6
3: aload 1
invokevirtual java.io.File.createNewFile:()Z
ifne 5
4: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "file exists already: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
istore 2
start local 2 7: new java.io.FileOutputStream
dup
aload 1
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 3
start local 3 8: aload 3
invokevirtual java.io.FileOutputStream.getChannel:()Ljava/nio/channels/FileChannel;
astore 4
start local 4 9: iconst_0
istore 5
start local 5 10: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.nioBufferCount:()I
iconst_1
if_icmpne 16
11: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.nioBuffer:()Ljava/nio/ByteBuffer;
astore 6
start local 6 12: goto 14
13: StackMap locals: io.netty.handler.codec.http.multipart.AbstractMemoryHttpData java.io.File int java.io.FileOutputStream java.nio.channels.FileChannel int java.nio.ByteBuffer
StackMap stack:
iload 5
aload 4
aload 6
invokevirtual java.nio.channels.FileChannel.write:(Ljava/nio/ByteBuffer;)I
iadd
istore 5
14: StackMap locals:
StackMap stack:
iload 5
iload 2
if_icmplt 13
end local 6 15: goto 20
16: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
invokevirtual io.netty.buffer.ByteBuf.nioBuffers:()[Ljava/nio/ByteBuffer;
astore 6
start local 6 17: goto 19
18: StackMap locals: java.nio.ByteBuffer[]
StackMap stack:
iload 5
i2l
aload 4
aload 6
invokevirtual java.nio.channels.FileChannel.write:([Ljava/nio/ByteBuffer;)J
ladd
l2i
istore 5
19: StackMap locals:
StackMap stack:
iload 5
iload 2
if_icmplt 18
end local 6 20: StackMap locals:
StackMap stack:
aload 4
iconst_0
invokevirtual java.nio.channels.FileChannel.force:(Z)V
21: aload 4
invokevirtual java.nio.channels.FileChannel.close:()V
22: aload 3
invokevirtual java.io.FileOutputStream.close:()V
23: iload 5
iload 2
if_icmpne 24
iconst_1
ireturn
StackMap locals:
StackMap stack:
24: iconst_0
ireturn
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 25 0 this Lio/netty/handler/codec/http/multipart/AbstractMemoryHttpData;
0 25 1 dest Ljava/io/File;
7 25 2 length I
8 25 3 outputStream Ljava/io/FileOutputStream;
9 25 4 fileChannel Ljava/nio/channels/FileChannel;
10 25 5 written I
12 15 6 byteBuffer Ljava/nio/ByteBuffer;
17 20 6 byteBuffers [Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dest
public java.io.File getFile();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.IOException
dup
ldc "Not represented by a file"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractMemoryHttpData;
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=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.touch:(Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/HttpData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractMemoryHttpData;
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
ifnull 2
1: aload 0
getfield io.netty.handler.codec.http.multipart.AbstractMemoryHttpData.byteBuf:Lio/netty/buffer/ByteBuf;
aload 1
invokevirtual io.netty.buffer.ByteBuf.touch:(Ljava/lang/Object;)Lio/netty/buffer/ByteBuf;
pop
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http/multipart/AbstractMemoryHttpData;
0 3 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.AbstractMemoryHttpData.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.AbstractMemoryHttpData.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.AbstractMemoryHttpData.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.AbstractMemoryHttpData.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.AbstractMemoryHttpData.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.AbstractMemoryHttpData.touch:()Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AbstractMemoryHttpData.java"