public abstract class io.netty.handler.codec.http.multipart.AbstractHttpData extends io.netty.util.AbstractReferenceCounted implements io.netty.handler.codec.http.multipart.HttpData
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.handler.codec.http.multipart.AbstractHttpData
super_class: io.netty.util.AbstractReferenceCounted
{
private static final java.util.regex.Pattern STRIP_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern REPLACE_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected long definedSize;
descriptor: J
flags: (0x0004) ACC_PROTECTED
protected long size;
descriptor: J
flags: (0x0004) ACC_PROTECTED
private java.nio.charset.Charset charset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0002) ACC_PRIVATE
private boolean completed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long maxSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "(?:^\\s+|\\s+$|\\n)"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic io.netty.handler.codec.http.multipart.AbstractHttpData.STRIP_PATTERN:Ljava/util/regex/Pattern;
1: ldc "[\\r\\t]"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic io.netty.handler.codec.http.multipart.AbstractHttpData.REPLACE_PATTERN:Ljava/util/regex/Pattern;
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=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial io.netty.util.AbstractReferenceCounted.<init>:()V
1: aload 0
getstatic io.netty.handler.codec.http.HttpConstants.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
putfield io.netty.handler.codec.http.multipart.AbstractHttpData.charset:Ljava/nio/charset/Charset;
2: aload 0
ldc -1
putfield io.netty.handler.codec.http.multipart.AbstractHttpData.maxSize:J
3: aload 1
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "name"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: io.netty.handler.codec.http.multipart.AbstractHttpData java.lang.String java.nio.charset.Charset long
StackMap stack:
getstatic io.netty.handler.codec.http.multipart.AbstractHttpData.REPLACE_PATTERN:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
ldc " "
invokevirtual java.util.regex.Matcher.replaceAll:(Ljava/lang/String;)Ljava/lang/String;
astore 1
6: getstatic io.netty.handler.codec.http.multipart.AbstractHttpData.STRIP_PATTERN:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
ldc ""
invokevirtual java.util.regex.Matcher.replaceAll:(Ljava/lang/String;)Ljava/lang/String;
astore 1
7: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 9
8: new java.lang.IllegalArgumentException
dup
ldc "empty name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.http.multipart.AbstractHttpData.name:Ljava/lang/String;
10: aload 2
ifnull 12
11: aload 0
aload 2
invokevirtual io.netty.handler.codec.http.multipart.AbstractHttpData.setCharset:(Ljava/nio/charset/Charset;)V
12: StackMap locals:
StackMap stack:
aload 0
lload 3
putfield io.netty.handler.codec.http.multipart.AbstractHttpData.definedSize:J
13: return
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/AbstractHttpData;
0 14 1 name Ljava/lang/String;
0 14 2 charset Ljava/nio/charset/Charset;
0 14 3 size J
MethodParameters:
Name Flags
name
charset
size
public long getMaxSize();
descriptor: ()J
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.AbstractHttpData.maxSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
public void setMaxSize(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 io.netty.handler.codec.http.multipart.AbstractHttpData.maxSize:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
0 2 1 maxSize J
MethodParameters:
Name Flags
maxSize
public void checkSize(long);
descriptor: (J)V
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.AbstractHttpData.maxSize:J
lconst_0
lcmp
iflt 2
lload 1
aload 0
getfield io.netty.handler.codec.http.multipart.AbstractHttpData.maxSize:J
lcmp
ifle 2
1: new java.io.IOException
dup
ldc "Size exceed allowed maximum capacity"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
0 3 1 newSize J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
newSize
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 io.netty.handler.codec.http.multipart.AbstractHttpData.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
public boolean isCompleted();
descriptor: ()Z
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.AbstractHttpData.completed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
protected void setCompleted();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.netty.handler.codec.http.multipart.AbstractHttpData.completed:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
public java.nio.charset.Charset getCharset();
descriptor: ()Ljava/nio/charset/Charset;
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.AbstractHttpData.charset:Ljava/nio/charset/Charset;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
public void setCharset(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "charset"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.http.multipart.AbstractHttpData.charset:Ljava/nio/charset/Charset;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
0 4 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
charset
public long length();
descriptor: ()J
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.AbstractHttpData.size:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
public long definedLength();
descriptor: ()J
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.AbstractHttpData.definedSize:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
public io.netty.buffer.ByteBuf content();
descriptor: ()Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractHttpData.getByteBuf:()Lio/netty/buffer/ByteBuf;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: new io.netty.channel.ChannelException
dup
aload 1
invokespecial io.netty.channel.ChannelException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
protected void deallocate();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.handler.codec.http.multipart.AbstractHttpData.delete:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
public io.netty.handler.codec.http.multipart.HttpData retain();
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
invokespecial io.netty.util.AbstractReferenceCounted.retain:()Lio/netty/util/ReferenceCounted;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
public io.netty.handler.codec.http.multipart.HttpData retain(int);
descriptor: (I)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
iload 1
invokespecial io.netty.util.AbstractReferenceCounted.retain:(I)Lio/netty/util/ReferenceCounted;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/multipart/AbstractHttpData;
0 2 1 increment I
MethodParameters:
Name Flags
increment
public abstract io.netty.handler.codec.http.multipart.HttpData touch();
descriptor: ()Lio/netty/handler/codec/http/multipart/HttpData;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract io.netty.handler.codec.http.multipart.HttpData touch(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/HttpData;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
hint
public io.netty.handler.codec.http.multipart.InterfaceHttpData retain(int);
descriptor: (I)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
iload 1
invokevirtual io.netty.handler.codec.http.multipart.AbstractHttpData.retain:(I)Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.netty.buffer.ByteBufHolder retain(int);
descriptor: (I)Lio/netty/buffer/ByteBufHolder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual io.netty.handler.codec.http.multipart.AbstractHttpData.retain:(I)Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.netty.util.ReferenceCounted retain(int);
descriptor: (I)Lio/netty/util/ReferenceCounted;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual io.netty.handler.codec.http.multipart.AbstractHttpData.retain:(I)Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.netty.handler.codec.http.multipart.InterfaceHttpData retain();
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.AbstractHttpData.retain:()Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.netty.buffer.ByteBufHolder retain();
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.AbstractHttpData.retain:()Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.netty.util.ReferenceCounted retain();
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.AbstractHttpData.retain:()Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
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.AbstractHttpData.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.AbstractHttpData.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.AbstractHttpData.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();
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.AbstractHttpData.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.AbstractHttpData.touch:()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.AbstractHttpData.touch:()Lio/netty/handler/codec/http/multipart/HttpData;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AbstractHttpData.java"