io.netty.handler.codec.http.multipart.DiskAttribute.class Maven / Gradle / Ivy
???? 2 3io/netty/handler/codec/http/multipart/DiskAttribute :io/netty/handler/codec/http/multipart/AbstractDiskHttpData /io/netty/handler/codec/http/multipart/Attribute DiskAttribute.java Dio/netty/handler/codec/http/multipart/InterfaceHttpData$HttpDataType 7io/netty/handler/codec/http/multipart/InterfaceHttpData
HttpDataType
baseDirectory Ljava/lang/String; deleteOnExitTemporaryFile Z prefix Attr_ postfix .att (Ljava/lang/String;)V )io/netty/handler/codec/http/HttpConstants DEFAULT_CHARSET Ljava/nio/charset/Charset; /(Ljava/lang/String;Ljava/nio/charset/Charset;)V
this 5Lio/netty/handler/codec/http/multipart/DiskAttribute; name (Ljava/lang/String;J)V 0(Ljava/lang/String;JLjava/nio/charset/Charset;)V &
' definedSize J 0(Ljava/lang/String;Ljava/nio/charset/Charset;J)V +
, charset '(Ljava/lang/String;Ljava/lang/String;)V java/io/IOException 0 A(Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;)V 2
3 value setValue 6
7 getHttpDataType H()Lio/netty/handler/codec/http/multipart/InterfaceHttpData$HttpDataType; Attribute FLio/netty/handler/codec/http/multipart/InterfaceHttpData$HttpDataType; ; < = getValue ()Ljava/lang/String; get ()[B A B
C java/lang/String E
getCharset ()Ljava/nio/charset/Charset; G H
I ([BLjava/nio/charset/Charset;)V K
F L bytes [B java/lang/NullPointerException P 5
Q S getBytes (Ljava/nio/charset/Charset;)[B U V
F W checkSize (J)V Y Z
[ io/netty/buffer/Unpooled ]
wrappedBuffer ([B)Lio/netty/buffer/ByteBuf; _ `
^ a ) * c io/netty/buffer/ByteBuf e
readableBytes ()I g h
f i O
setContent (Lio/netty/buffer/ByteBuf;)V l m
n buffer Lio/netty/buffer/ByteBuf;
addContent (Lio/netty/buffer/ByteBuf;Z)V size t * u r s
w last newDefinedSize hashCode getName | @
} { h
F equals (Ljava/lang/Object;)Z } equalsIgnoreCase (Ljava/lang/String;)Z ? ?
F ? o Ljava/lang/Object; attribute 1Lio/netty/handler/codec/http/multipart/Attribute; compareTo <(Lio/netty/handler/codec/http/multipart/InterfaceHttpData;)I java/lang/ClassCastException ? java/lang/StringBuilder ? ()V ?
? ? Cannot compare ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? 9 :
? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? with ? ? toString ? @
? ?
? S 4(Lio/netty/handler/codec/http/multipart/Attribute;)I ? ?
? 9Lio/netty/handler/codec/http/multipart/InterfaceHttpData; compareToIgnoreCase (Ljava/lang/String;)I ? ?
F ? (C)Ljava/lang/StringBuilder; ? ?
? ? ? @
? e Ljava/io/IOException; deleteOnExit ()Z ? getBaseDirectory
? getDiskFilename
getPostfix getPrefix copy 3()Lio/netty/handler/codec/http/multipart/Attribute; content ()Lio/netty/buffer/ByteBuf; ? ?
? ? ?
f ? replace L(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/http/multipart/Attribute; ? ?
? duplicate ? ?
f ? retainedDuplicate ? ?
f ? release ? ?
f ? java/lang/Throwable ? success
S
setCharset (Ljava/nio/charset/Charset;)V ? ?
? !io/netty/channel/ChannelException ? (Ljava/lang/Throwable;)V ?
? ? attr retain 4(I)Lio/netty/handler/codec/http/multipart/Attribute; 3(I)Lio/netty/handler/codec/http/multipart/HttpData; ? ?
? increment I 2()Lio/netty/handler/codec/http/multipart/HttpData; ? ?
? touch ? ?
? E(Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/Attribute; D(Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/HttpData; ? ?
? hint ? ?
? ? ?
? ? ?
? ? ?
? K(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/http/multipart/HttpData; ? ?
? ? ?
? ?
M(Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/InterfaceHttpData; ;()Lio/netty/handler/codec/http/multipart/InterfaceHttpData; <(I)Lio/netty/handler/codec/http/multipart/InterfaceHttpData; (Ljava/lang/Object;)I ? ?
4(Ljava/lang/Object;)Lio/netty/util/ReferenceCounted; "()Lio/netty/util/ReferenceCounted; #(I)Lio/netty/util/ReferenceCounted; 3(Ljava/lang/Object;)Lio/netty/buffer/ByteBufHolder; !()Lio/netty/buffer/ByteBufHolder; "(I)Lio/netty/buffer/ByteBufHolder; :(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBufHolder;
ConstantValue Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable
SourceFile InnerClasses !
6 A *+? ? !? " # $
+ , % L
*+ ? ? (?
" #
$
) *
/ 0 J *+, ? -? " # $ .
3 4 &