io.netty.handler.codec.http.multipart.MixedFileUpload.class Maven / Gradle / Ivy
???? 2) 5io/netty/handler/codec/http/multipart/MixedFileUpload java/lang/Object 0io/netty/handler/codec/http/multipart/FileUpload MixedFileUpload.java Dio/netty/handler/codec/http/multipart/InterfaceHttpData$HttpDataType 7io/netty/handler/codec/http/multipart/InterfaceHttpData
HttpDataType
fileUpload 2Lio/netty/handler/codec/http/multipart/FileUpload; limitSize J definedSize maxSize g(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;JJ)V ()V
???????? 4io/netty/handler/codec/http/multipart/DiskFileUpload f(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;J)V
!
# java/lang/String % java/nio/charset/Charset ' 6io/netty/handler/codec/http/multipart/MemoryFileUpload )
* ! , this 7Lio/netty/handler/codec/http/multipart/MixedFileUpload; name Ljava/lang/String; filename contentType contentTransferEncoding charset Ljava/nio/charset/Charset; size
getMaxSize ()J
setMaxSize (J)V : ; < checkSize java/io/IOException ? $Size exceed allowed maximum capacity A (Ljava/lang/String;)V C
@ D newSize
addContent (Lio/netty/buffer/ByteBuf;Z)V length I 9 J io/netty/buffer/ByteBuf L
readableBytes ()I N O
M P > ;
R getName ()Ljava/lang/String; T U V getFilename X U Y getContentType [ U \ getContentTransferEncoding ^ U _
getCharset ()Ljava/nio/charset/Charset; a b c
<
getByteBuf ()Lio/netty/buffer/ByteBuf; f g h
isReadable ()Z j k
M l retain n g
M o G H
q release s k t q diskFileUpload 6Lio/netty/handler/codec/http/multipart/DiskFileUpload; data Lio/netty/buffer/ByteBuf; buffer last Z delete ~ get ()[B ? ? ? getString ? U ? .(Ljava/nio/charset/Charset;)Ljava/lang/String; ? ? ? encoding isCompleted ? k ?
isInMemory ? k ?
definedLength ? 9 ? renameTo (Ljava/io/File;)Z ? ? ? dest Ljava/io/File;
setCharset (Ljava/nio/charset/Charset;)V ? ? ?
setContent (Lio/netty/buffer/ByteBuf;)V ? ? ? memoryUpload (Ljava/io/File;)V java/io/File ?
? J ? ? ? file (Ljava/io/InputStream;)V ? ? ? inputStream Ljava/io/InputStream; setContentType ? C ? setContentTransferEncoding ? C ? setFilename ? C ? getHttpDataType H()Lio/netty/handler/codec/http/multipart/InterfaceHttpData$HttpDataType; ? ? ? hashCode ? O
? 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; ? ?
? ? ? U
? ? getChunk (I)Lio/netty/buffer/ByteBuf; ? ? ? I getFile ()Ljava/io/File; ? ? ? copy 4()Lio/netty/handler/codec/http/multipart/FileUpload; ? ? ? duplicate ? ? ? retainedDuplicate ? ? ? replace M(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/http/multipart/FileUpload; ? ? ? content ? g ? refCnt ? O ? n ? ? 5(I)Lio/netty/handler/codec/http/multipart/FileUpload; n ? ? increment touch ? ? F(Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/FileUpload; ? hint (I)Z s 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 !
G " ?
M*? * ? *? *? ?? *? Y+,-? "? $? *? *Y+,-? +? $*? -? # R M . / M 0 1 M 2 1 M 3 1 M 4 1 M 5 6 M 7 M $ " ' # ( ) * 2 - F 0 L 1% ? 2 & & & & ( 8 9 " / *? ? # . / $ 5 : ; " L *? *? $? = ? # . / $ : ; <