io.netty.handler.codec.http.multipart.MixedAttribute.class Maven / Gradle / Ivy
???? 25 4io/netty/handler/codec/http/multipart/MixedAttribute java/lang/Object /io/netty/handler/codec/http/multipart/Attribute MixedAttribute.java Dio/netty/handler/codec/http/multipart/InterfaceHttpData$HttpDataType 7io/netty/handler/codec/http/multipart/InterfaceHttpData
HttpDataType attribute 1Lio/netty/handler/codec/http/multipart/Attribute; limitSize J maxSize (Ljava/lang/String;J)V )io/netty/handler/codec/http/HttpConstants DEFAULT_CHARSET Ljava/nio/charset/Charset; 0(Ljava/lang/String;JLjava/nio/charset/Charset;)V
this 6Lio/netty/handler/codec/http/multipart/MixedAttribute; name Ljava/lang/String; (Ljava/lang/String;JJ)V 1(Ljava/lang/String;JJLjava/nio/charset/Charset;)V "
# definedSize ()V &
'???????? + - 5io/netty/handler/codec/http/multipart/MemoryAttribute / /(Ljava/lang/String;Ljava/nio/charset/Charset;)V 1
0 2
4 charset
0 ((Ljava/lang/String;Ljava/lang/String;J)V B(Ljava/lang/String;Ljava/lang/String;JLjava/nio/charset/Charset;)V 9
: value java/io/IOException = java/lang/String ? length ()I A B
@ C 3io/netty/handler/codec/http/multipart/DiskAttribute E A(Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;)V G
F H java/nio/charset/Charset J
0 H "java/lang/IllegalArgumentException M (Ljava/lang/Throwable;)V O
N P ignore Ljava/io/IOException; e
getMaxSize ()J
setMaxSize (J)V W X Y checkSize $Size exceed allowed maximum capacity \ (Ljava/lang/String;)V ^
> _ newSize
addContent (Lio/netty/buffer/ByteBuf;Z)V A V d io/netty/buffer/ByteBuf f
readableBytes h B
g i [ X
k getName ()Ljava/lang/String; m n o
definedLength q V r
F t
F Y
getByteBuf ()Lio/netty/buffer/ByteBuf; w x
0 y b c
F { {
diskAttribute 5Lio/netty/handler/codec/http/multipart/DiskAttribute; buffer Lio/netty/buffer/ByteBuf; last Z delete ? & ? get ()[B ? ? ? y
getCharset ()Ljava/nio/charset/Charset; ? ? ? getString ? n ? .(Ljava/nio/charset/Charset;)Ljava/lang/String; ? ? ? encoding isCompleted ()Z ? ? ?
isInMemory ? ? ? renameTo (Ljava/io/File;)Z ? ? ? dest Ljava/io/File;
setCharset (Ljava/nio/charset/Charset;)V ? ? ?
setContent (Lio/netty/buffer/ByteBuf;)V ? ? ? (Ljava/io/File;)V java/io/File ?
? d ? ? ? file (Ljava/io/InputStream;)V ? ? ? inputStream Ljava/io/InputStream; getHttpDataType H()Lio/netty/handler/codec/http/multipart/InterfaceHttpData$HttpDataType; ? ? ? hashCode ? B
? equals (Ljava/lang/Object;)Z ? ?
? obj Ljava/lang/Object; compareTo <(Lio/netty/handler/codec/http/multipart/InterfaceHttpData;)I (Ljava/lang/Object;)I ? ? ? o 9Lio/netty/handler/codec/http/multipart/InterfaceHttpData; toString java/lang/StringBuilder ?
? ' Mixed: ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? ? n
? ? getValue ? n ? setValue getBytes ? ?
@ ? ? ^ ? getChunk (I)Lio/netty/buffer/ByteBuf; ? ? ? I getFile ()Ljava/io/File; ? ? ? copy 3()Lio/netty/handler/codec/http/multipart/Attribute; ? ? ? duplicate ? ? ? retainedDuplicate ? ? ? replace L(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/http/multipart/Attribute; ? ? ? content ? x ? refCnt ? B ? retain ? 4(I)Lio/netty/handler/codec/http/multipart/Attribute; increment touch ? E(Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/Attribute; hint release ? (I)Z decrement D(Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/HttpData;
2()Lio/netty/handler/codec/http/multipart/HttpData;
3(I)Lio/netty/handler/codec/http/multipart/HttpData;
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; ? ?
% 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; Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses !
H . L
*+ ? ? ? /
0
$ % ! . X *+ ? ? $? / * % 0
( ) . w *? (* )? ,* ? .*? 0Y+? 3? 5? / * 6 0 + ! , - . " . ? !*? (* )? ,*? .*? 0Y+ ? 7? 5? / 4 ! ! ! % ! ! 6 0 0 ! 1 2 3 8 . W *+,!? ? ;? / * <