classes.io.netty.handler.codec.http.multipart.MixedFileUpload.class Maven / Gradle / Ivy
???? 2,
Q ????????? P ? P ? ?
? P ? ?
? P ? R ? ? ?
? R ?
? ?
P ? R ? R ? R ? R ? R ?
? R ?
? ?
? ?
? R ? R ? R ? R ? R ? R ? R ? R ? R ? R ? R ? R ?
? R R R R R R
Q
Q R
3 ?
3
3
3 R R R R R R R R R R R R R
P
P
P
P
P
P
P
P
P
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 Code LineNumberTable LocalVariableTable this 7Lio/netty/handler/codec/http/multipart/MixedFileUpload; name Ljava/lang/String; filename contentType contentTransferEncoding charset Ljava/nio/charset/Charset; size
StackMapTable!"
getMaxSize ()J
setMaxSize (J)V checkSize newSize
Exceptions
addContent (Lio/netty/buffer/ByteBuf;Z)V diskFileUpload 6Lio/netty/handler/codec/http/multipart/DiskFileUpload; data Lio/netty/buffer/ByteBuf; buffer last Z ?# delete ()V get ()[B
getByteBuf ()Lio/netty/buffer/ByteBuf;
getCharset ()Ljava/nio/charset/Charset; getContentType ()Ljava/lang/String; getContentTransferEncoding getFilename getString .(Ljava/nio/charset/Charset;)Ljava/lang/String; encoding isCompleted ()Z
isInMemory length
definedLength 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 file (Ljava/io/InputStream;)V inputStream Ljava/io/InputStream; setContentType (Ljava/lang/String;)V setContentTransferEncoding setFilename getHttpDataType$ HttpDataType InnerClasses H()Lio/netty/handler/codec/http/multipart/InterfaceHttpData$HttpDataType; getName hashCode ()I equals (Ljava/lang/Object;)Z obj Ljava/lang/Object; compareTo <(Lio/netty/handler/codec/http/multipart/InterfaceHttpData;)I o 9Lio/netty/handler/codec/http/multipart/InterfaceHttpData; toString 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 refCnt retain 5(I)Lio/netty/handler/codec/http/multipart/FileUpload; increment touch F(Ljava/lang/Object;)Lio/netty/handler/codec/http/multipart/FileUpload; 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; (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;
SourceFile MixedFileUpload.java Y X V U V 4io/netty/handler/codec/http/multipart/DiskFileUpload Y% S T 6io/netty/handler/codec/http/multipart/MemoryFileUpload W V n o java/io/IOException $Size exceed allowed maximum capacity Y ? ? m#&