All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.netty.handler.codec.http.multipart.HttpPostRequestEncoder.class Maven / Gradle / Ivy

????2?;java/lang/Object$io/netty/handler/stream/ChunkedInputHttpPostRequestEncoder.java>io/netty/handler/codec/http/multipart/HttpPostRequestEncoder$1	Sio/netty/handler/codec/http/multipart/HttpPostRequestEncoder$WrappedFullHttpRequestWrappedFullHttpRequestOio/netty/handler/codec/http/multipart/HttpPostRequestEncoder$WrappedHttpRequestWrappedHttpRequestVio/netty/handler/codec/http/multipart/HttpPostRequestEncoder$ErrorDataEncoderExceptionErrorDataEncoderExceptionHio/netty/handler/codec/http/multipart/HttpPostRequestEncoder$EncoderModeEncoderModejava/util/Map$Entry
java/util/MapEntry*java/util/AbstractMap$SimpleImmutableEntryjava/util/AbstractMapSimpleImmutableEntryPio/netty/handler/codec/http/multipart/HttpPostBodyUtil$TransferEncodingMechanism!6io/netty/handler/codec/http/multipart/HttpPostBodyUtil#TransferEncodingMechanismpercentEncodings[Ljava/util/Map$Entry;factory7Lio/netty/handler/codec/http/multipart/HttpDataFactory;request)Lio/netty/handler/codec/http/HttpRequest;charsetLjava/nio/charset/Charset;	isChunkedZ
bodyListDatasLjava/util/List;KLjava/util/List;multipartHttpDatasisMultipartmultipartDataBoundaryLjava/lang/String;multipartMixedBoundaryheaderFinalizedencoderModeJLio/netty/handler/codec/http/multipart/HttpPostRequestEncoder$EncoderMode;isLastChunkisLastChunkSentcurrentFileUpload2Lio/netty/handler/codec/http/multipart/FileUpload;duringMixedModeglobalBodySizeJglobalProgressiteratorLjava/util/ListIterator;SLjava/util/ListIterator;
currentBufferLio/netty/buffer/ByteBuf;currentData9Lio/netty/handler/codec/http/multipart/InterfaceHttpData;isKey-(Lio/netty/handler/codec/http/HttpRequest;Z)VLio/netty/handler/codec/http/multipart/HttpPostRequestEncoder;	multipartd(Lio/netty/handler/codec/http/multipart/HttpDataFactory;Lio/netty/handler/codec/http/HttpRequest;Z)V()VKc
dJ/	fjava/lang/NullPointerExceptionh((Ljava/lang/String;)VKk
il5io/netty/handler/codec/http/multipart/HttpDataFactoryn'io/netty/handler/codec/http/HttpRequestpjava/nio/charset/Charsetr*,method*()Lio/netty/handler/codec/http/HttpMethod;vwqx&io/netty/handler/codec/http/HttpMethodzTRACE(Lio/netty/handler/codec/http/HttpMethod;|}	{~equals(Ljava/lang/Object;)Z??
{?-Cannot create a Encoder if request is a TRACE?
l*+	?,-	?()	?java/util/ArrayList?
?d01	?;/	?</	?4/	?31	?9:	?initDataMultipart?c
?
cleanFilescleanRequestHttpData,(Lio/netty/handler/codec/http/HttpRequest;)V??o?()ZgetNewMultipartDelimiter()Ljava/lang/String;??
?56	?initMixedMultipart76	?(io/netty/util/internal/PlatformDependent?threadLocalRandom()Ljava/util/Random;??
??java/util/Random?nextLong()J??
??java/lang/Long?toHexString(J)Ljava/lang/String;??
??java/lang/String?toLowerCase??
??getBodyListAttributes()Ljava/util/List;setBodyHttpDatas(Ljava/util/List;)Vdatas?@A	?java/util/List?clear?c??=>	??/	?()Ljava/util/Iterator;C???java/util/Iterator?hasNext????next()Ljava/lang/Object;????7io/netty/handler/codec/http/multipart/InterfaceHttpData?addBodyHttpData<(Lio/netty/handler/codec/http/multipart/InterfaceHttpData;)V??
?dataaddBodyAttribute'(Ljava/lang/String;Ljava/lang/String;)Vname??createAttribute?(Lio/netty/handler/codec/http/HttpRequest;Ljava/lang/String;Ljava/lang/String;)Lio/netty/handler/codec/http/multipart/Attribute;??o?valuesvalue1Lio/netty/handler/codec/http/multipart/Attribute;addBodyFileUpload6(Ljava/lang/String;Ljava/io/File;Ljava/lang/String;Z)Vjava/io/File?getName??
??H(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;Ljava/lang/String;Z)V??
?fileLjava/io/File;contentTypeisTextjava/io/IOException
text/plainapplication/octet-stream	BINARYRLio/netty/handler/codec/http/multipart/HttpPostBodyUtil$TransferEncodingMechanism;	"
??
"length?
?createFileUpload?(Lio/netty/handler/codec/http/HttpRequest;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;J)Lio/netty/handler/codec/http/multipart/FileUpload;o0io/netty/handler/codec/http/multipart/FileUpload
setContent(Ljava/io/File;)V(Ljava/lang/Throwable;)VK
eLjava/io/IOException;filenamescontentTypecontentTransferEncoding
fileUploadaddBodyFileUploads9(Ljava/lang/String;[Ljava/io/File;[Ljava/lang/String;[Z)VDifferent array length)??
+iI[Ljava/io/File;[Ljava/lang/String;[Z8/	2Cannot add value once finalized4?add7??8/io/netty/handler/codec/http/multipart/Attribute:;?encodeAttribute@(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String;=>
?getValueA?;B()ID
?E;?getFilenameI?J7io/netty/handler/codec/http/multipart/InternalAttributeL(Ljava/nio/charset/Charset;)VKN
MOjava/lang/StringBuilderQ
Rd
--Tappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;VW
RX--ZtoString\?
R]addValue_k
M`isEmptyb??c
e+io/netty/handler/codec/http/HttpHeaderNamesgCONTENT_DISPOSITIONLio/netty/util/AsciiString;ij	hk-(Ljava/lang/Object;)Ljava/lang/StringBuilder;Vm
Rn: p,io/netty/handler/codec/http/HttpHeaderValuesr	FORM_DATAtj	su; wNAMEyj	sz="|"
~CONTENT_LENGTH?j	h?(J)Ljava/lang/StringBuilder;V?
R?
getCharset()Ljava/nio/charset/Charset;??;?CONTENT_TYPE?j	h?CHARSET?j	s?(C)Ljava/lang/StringBuilder;V?
R???
s?size?D
M?
??HTML5?:	??c
???get(I)Ljava/lang/Object;????(I)VK?
R?3(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;V?
R?MULTIPART_MIXED?j	s?BOUNDARY?j	s?

?
ATTACHMENT?j	s?
?cFILENAME?j	s?setValue(Ljava/lang/String;I)V??
M?"; ?getContentType???getContentTransferEncoding???CONTENT_TRANSFER_ENCODING?j	h??keynewattribute	attributeinternal9Lio/netty/handler/codec/http/multipart/InternalAttribute;localcharset
localMixed
pastAttributereplacementLjava/lang/StringBuilder;finalizeRequest+()Lio/netty/handler/codec/http/HttpRequest;--
?Header already encoded?headers+()Lio/netty/handler/codec/http/HttpHeaders;??q?'io/netty/handler/codec/http/HttpHeaders?getAll*(Ljava/lang/CharSequence;)Ljava/util/List;??
??TRANSFER_ENCODING?j	h?removeC(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http/HttpHeaders;??
??MULTIPART_FORM_DATA?j	s?io/netty/util/AsciiString?
?]
startsWith(Ljava/lang/String;)Z??
??!APPLICATION_X_WWW_FORM_URLENCODED?j	s?U(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;7?
??listIterator()Ljava/util/ListIterator;????CD	?valueOf?
?set?
??./	java/lang/CharSequence
CHUNKEDj	s
contentEqualsIgnoreCase(Ljava/lang/CharSequence;)Z
?$io/netty/handler/codec/http/HttpUtilsetTransferEncodingChunked-(Lio/netty/handler/codec/http/HttpMessage;Z)V
K?
	nextChunk+()Lio/netty/handler/codec/http/HttpContent;
+io/netty/handler/codec/http/FullHttpRequest'io/netty/handler/codec/http/HttpContent!content()Lio/netty/buffer/ByteBuf;#$"% %io/netty/buffer/ByteBuf(?$
)*
writeBytes4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;,-
).release0?
)1?(Lio/netty/handler/codec/http/HttpRequest;Lio/netty/handler/codec/http/HttpContent;Lio/netty/handler/codec/http/multipart/HttpPostRequestEncoder$1;)VK3
4
lowercasedvLjava/lang/CharSequence;fullRequest-Lio/netty/handler/codec/http/FullHttpRequest;chunkContentchunk)Lio/netty/handler/codec/http/HttpContent;)Lio/netty/handler/codec/http/HttpHeaders;contentTypes$Ljava/util/List;transferEncodingrealSize$java/io/UnsupportedEncodingExceptionCjava/net/URLEncoderEencode8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;GH
FIRFC3986K:	L&'	N'A?QgetKeyS?Tjava/util/regex/PatternVmatcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;XY
WZjava/util/regex/Matcher\
replaceAll&(Ljava/lang/String;)Ljava/lang/String;^_
]`*(Ljava/lang/String;Ljava/lang/Throwable;)VKb
centryBLjava/util/Map$Entry;Ljava/util/Map$Entry;encoded&Ljava/io/UnsupportedEncodingException;sfillByteBufFG	l
readableBytesnD
)oreaderIndexqD
)rslice(II)Lio/netty/buffer/ByteBuf;tu
)v	skipBytes(I)Lio/netty/buffer/ByteBuf;xy
)zencodeNextChunkMultipart,(I)Lio/netty/handler/codec/http/HttpContent;HI	~	toByteBuf?$
M?getChunk?y;?.io/netty/handler/codec/http/multipart/HttpData???capacity?D
)?io/netty/buffer/Unpooled?
wrappedBuffer5([Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;??
??k$
?.io/netty/handler/codec/http/DefaultHttpContent?(Lio/netty/buffer/ByteBuf;)VK?
??buffersizeleftencodeNextChunkUrlEncoded??getBytes()[B??
??([B)Lio/netty/buffer/ByteBuf;??
??=?java/util/ListIterator???&?	delimiterclosejava/lang/Exception?	readChunkS(Lio/netty/channel/ChannelHandlerContext;)Lio/netty/handler/codec/http/HttpContent;Ljava/lang/Deprecated;&io/netty/channel/ChannelHandlerContext?alloc$()Lio/netty/buffer/ByteBufAllocator;????M(Lio/netty/buffer/ByteBufAllocator;)Lio/netty/handler/codec/http/HttpContent;??
?ctx(Lio/netty/channel/ChannelHandlerContext;BA	?	allocator"Lio/netty/buffer/ByteBufAllocator;+io/netty/handler/codec/http/LastHttpContent?EMPTY_LAST_CONTENT-Lio/netty/handler/codec/http/LastHttpContent;??	??|}
??}
???isEndOfInputprogress6(Lio/netty/buffer/ByteBufAllocator;)Ljava/lang/Object;<(Lio/netty/channel/ChannelHandlerContext;)Ljava/lang/Object;??
?\*?compile-(Ljava/lang/String;)Ljava/util/regex/Pattern;??
W?%2A?'(Ljava/lang/Object;Ljava/lang/Object;)VK?
?\+?%20?~?%7E?	SignatureCodeLocalVariableTableLineNumberTable
Exceptions
StackMapTableM()Ljava/util/List;LocalVariableTypeTableN(Ljava/util/List;)V
DeprecatedRuntimeVisibleAnnotations
SourceFileInnerClasses!&'()*+,-./01?231?24/56768/9:;/</=>?/@ABACD?EFGHIJ/KL?Y*?NYO?S+?X?[?^?? _`*+a/?
???Kb?Z*+,?X?[?^??*_`()*+a/?
?
??K\???*?e*?g+?
?iYj?m?,?
?iYt?m??
?iYu?m?,?y:????
?Y????*,??*??*+??*??Y????*??*??*??*??Y????*??*???*????H?_`?()?*+?a/?,-?9:<\v}?^?x	?
???%?*?4?<?G?Q?V?\?a?l?q?v?{??????????$?oqs
?{?E??c?<*??*??????_`?
?
?4??/*????_`??c?6*??????_`?
?c?6*??????_`?
#$
???%
???????İ?,???/*????_`?5??????R+?
?iYʷm?*	??*????*??*??*????+??M,???,????N*-????? I?IR_`R?1?R?2?.ABDEF!G&H/IIJNKQL??'?????????/+?
?iY?m?,N,??N*??*??+-??:*???4/_`/?6/?6?6(???"[\^_`b(c.d?	??????d*+,??,-????4_`?66/?
x
y?????	
?+?
?iY?m?-??iY?m?,??M::??:?
:???:*??*??+,-??	:-??:	?Y	? ?*??iqt?f
v
!"	?_`??6?#6??6?/(_$6+\%6i&>?^?????!?$?(?+?0?5?=?B?G?O?_?b?i?q?t?v??????4????$	???????'(??=,?-??,????iY*?m?6,??*+,2-23?,?????>-.=_`=?6=/=0=1????$?6?<??
??????6I*?3??Y5???+??iY6?m?*??+?9W*????+?;?u+?;M*,?<*???@N*,?C*???@:*??*??-??:*???9W*Y???<?F`??Ga
aa?̧
N?Y-? ??l+??e+?M*,?H*???@N*,?K*???@:*??*??-??:*???9W*Y???<?F`??Ga
aa?̱+?;??*?ՙJ?MY*???PM,?RY?SU?Y*???Y[?Y?^?a*??,?9W*??*??*?ջMY*???PM*???d?
,f?a,?RY?S[?Y*???Yf?Y?^?a+?;N,?RY?S?l?oq?Y?v?ox?Y?{?o}?Y-?<?Y?Y?^?a,?RY?S???oq?Y-?G??f?Y?^?a-??:?B,?RY?S???oq?Y?Yx?Y???o=?????Yf?Y?^?a,f?a*??,?9W*??+?9W*Y??-?G,???aa?̧?+???+?M?MY*???PN*???d?
-f?a*?ՙy*???*?ӹH,?H???	6??-?RY?S[?Y*???Y[?Y?^?a*??-?9W*???MY*???PN-f?a6*,??*?է?*?????}*???v*?ӹH,?H???a*??*??*????d???M:*Y?????e?̻RY?*???F`*???Fh`,?K?F`,?H?F`??[?Y*???Yf?Y?l??q?Y?v??x?Y?{??}?Y,?H?Y?Y????q?Y????x?Y????=??*???Y??Y[?Y*???Yf?Y?l??q?Y????:,?K???&x?Y????}?Y,?K?Y"??Wf?YW?^?????*Y?????a??6*?է6*,??*????-?RY?S[?Y*???Yf?Y?^?a,?K???,-?RY?S?l?oq?Y???of?Y?^?a?-?RY?S?l?oq?Y???ox?Y???o}?Y,?K?Y?Y?^?a??-?RY?S[?Y*???Yf?Y?^?a,?K???G-?RY?S?l?oq?Y?v?ox?Y?{?o}?Y,?H?Y?Y?^?a?_-?RY?S?l?oq?Y?v?ox?Y?{?o}?Y,?H?Y??Y???o}?Y,?K?Y?Y?^?a-?RY?S???oq?Y,????f?Y?^?a-?RY?S???oq?Y,???Y?^?a,??:?C?????5-?RY?Sf?Y?Ƕoq?Y???Y??Y?^?a?G,???7-?RY?Sx?Y???o=??,?????Y??Y?^?a?
-??a*??-?9W*??+?9W*Y??,??-???aa?̱?????NN?6^>?6p,???	!"?j???]&>?N?6?>?6?,??0;??w!??????"v?-??/6
?/?>??bb????/??&>?????~?/??%6I_`I?I?b?????!?,?3?:???N?^?p?|??????????????????????$0Q\afkw?? ?"?#?$?#?&'&(")'+T.c+f1m2x3?4?5?6?7?8?:?=?>?A?HIJ M,N3O6Q;RCUXVikmlum|l?o?p?q?r?t?u?v?x?y?z?{?|?}?~??? ?&?+?2?8?>?E?K?Q?W?]?b?n?y?????????????????????????????????/?\?m?s????????????,?=?@?U?f?i???????????????????(?3?H??s?}?;?	?h?T?M??;s?4?*M(?S?MMR?5??Z?C?p?[???<?*??????_*?3??*?????MY*???PL*?ՙ$+?RY?SU?Y*???Y[?Y?^?a+?RY?SU?Y*???YֶY?^?a*??+?9W*??*??*??*Y??+???a??*?3??Yط??*????L+????M+???N,?\+????W,??:???B????:??:??????????
+????W???*???:?RY?S??ox?Y???o=??*???Y?^:+????W?+??????W*??7*???**???????
e7**??????+????W??
*???a*?	-?D+???W-??:???*???:	?	???
+??	??W???*????Y*????*?:*??? ?:*??? :	?&:
	?'
?	?'?+
?/W
?2W	??Y*???5???
q???)66?06F
?6?78	".9:	+%;G
P<=__`???>???1??A1d?BA????@??A@??6????!?B?c?nsx}???
???
?????FPS ^#d$k%{'?(?*?+?,?-?.?/?0?3?5?7?:	=>?"@+A7BGCMEPG???BM?H
?-?????;???	?=
??????????#?	?????C
???" )??.??/*?	??_`?P=>?J	k+??+,???JN*???M?D?O:?66?02:?R??:?U?W-?[?aN????-?N?Y,??-?d?\]D?HA?65 egMh6^
!ik_`kj6k,-?5 ef?.\]`ab5cAdUb[g]h^i?1??s?P?3??sD?k$??:*?m?p<??"*?m*?m?s??wM*?m??{W,?*?mM*?m,??*!
tG3tG:_`2.?"??!?,?.?3?8???.|}???*???*??M?*??M??M*??Q*??;?*??;??M?(N?Y-? ?*?????M?
N?Y-? ?,???
*??*?m?*,?m?*?)Y*?mSY,S???m*?m?p??
*??*??M??Y,???0>AKY\?R?G>?GB	!"Y?G]	!"?_`??.fU?G?f??	???&?0?>?A?B?K?Y?\?]?f?m?r?t?{??????????????
	Z	P?	)
??}?D?*???=*?g??*???N-????:*?g*?m?,*?)YSY?????S???m?p`d=?0*?)Y*?mSYSY?????S???m?p`d=*?m?p??*??:??Y???*?????:?
N?Y-? ?N?p?"*?g*???????????N???P*?*?m?*-?m?-?*?)Y*?mSY-S???m*?m?p??*??:??Y????*?m?'-?*?)YSY-S???m?E*?m?<-?!*?)Y*?mSYSY-S???m?*?)Y*?mSYS???m*?m?p??*?*?g?*??:??Y???????\	??6%?G??G?	!"?_`??.??.??G?
?G??.??	????%?*?1?M?Z?}????????????????????????????????
? ?-?3?=?FJajn????????<	?P?),?Q?	)?'))@)!!??c?+??_`?!??????*+??????_`???&????????z#*????*?M*Y??,?&?p?a??,?? =#_`#???34	67!8?	???9*???*???ư?<*?m?
*?m?pd<?*??M??Y,???*??1*???*??N-?-??*??N-?-??*?m?pd<*?????*??*?mM*?m??Y,????J*?????>**??????*???*??N?	*??N-??*?m?pdWEXKYOZQ\T]Z^^``clexf}h?i?j?l?m?o?p?r?t?v?w?z?}?~??????????
?#/?"?????/*????_`??????J*???
*?̧	*??
e??_`???E???/*????_`??A???0*+????_`?B??A???0*+?Ѱ?_`?B?????c?iA?Y?YԸ?ڷ?SY?Y߸???SY?Y????S?O??b
c d3e@g???B


	@	 	"$%@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy