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

com.groupbyinc.flux.common.http.util.EntityUtils.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2?0com/groupbyinc/flux/common/http/util/EntityUtilsjava/lang/ObjectEntityUtils.java()V
this2Lcom/groupbyinc/flux/common/http/util/EntityUtils;consumeQuietly/(Lcom/groupbyinc/flux/common/http/HttpEntity;)Vjava/io/IOExceptionconsume
ignoreLjava/io/IOException;entity,Lcom/groupbyinc/flux/common/http/HttpEntity;*com/groupbyinc/flux/common/http/HttpEntityisStreaming()Z
getContent()Ljava/io/InputStream;java/io/InputStream!close#
"$instreamLjava/io/InputStream;updateEntity](Lcom/groupbyinc/flux/common/http/HttpResponse;Lcom/groupbyinc/flux/common/http/HttpEntity;)VResponse*)com/groupbyinc/flux/common/http/util/Args,notNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;./
-0,com/groupbyinc/flux/common/http/HttpResponse2	getEntity.()Lcom/groupbyinc/flux/common/http/HttpEntity;4536	setEntity8
39response.Lcom/groupbyinc/flux/common/http/HttpResponse;toByteArray0(Lcom/groupbyinc/flux/common/http/HttpEntity;)[BEntity?getContentLength()JABC???.HTTP entity too large to be buffered in memoryGcheck(ZLjava/lang/String;)VIJ
-K4com/groupbyinc/flux/common/http/util/ByteArrayBufferM(I)VO
NP[BRread([B)ITU
"Vappend([BII)VXY
NZ()[B=\
N]java/lang/Throwable_iIbuffer6Lcom/groupbyinc/flux/common/http/util/ByteArrayBuffer;tmplgetContentCharSet@(Lcom/groupbyinc/flux/common/http/HttpEntity;)Ljava/lang/String;.com/groupbyinc/flux/common/http/ParseExceptioniLjava/lang/Deprecated;getContentType*()Lcom/groupbyinc/flux/common/http/Header;lmn&com/groupbyinc/flux/common/http/HeaderpgetElements2()[Lcom/groupbyinc/flux/common/http/HeaderElement;rsqtcharsetv-com/groupbyinc/flux/common/http/HeaderElementxgetParameterByNameC(Ljava/lang/String;)Lcom/groupbyinc/flux/common/http/NameValuePair;z{y|-com/groupbyinc/flux/common/http/NameValuePair~getValue()Ljava/lang/String;???java/lang/String?param/Lcom/groupbyinc/flux/common/http/NameValuePair;values0[Lcom/groupbyinc/flux/common/http/HeaderElement;Ljava/lang/String;getContentMimeTypegetName??y?mimeTypetoStringZ(Lcom/groupbyinc/flux/common/http/HttpEntity;Ljava/nio/charset/Charset;)Ljava/lang/String;,java/nio/charset/UnsupportedCharsetException?2com/groupbyinc/flux/common/http/entity/ContentType?getb(Lcom/groupbyinc/flux/common/http/HttpEntity;)Lcom/groupbyinc/flux/common/http/entity/ContentType;??
??
getCharset()Ljava/nio/charset/Charset;??
??java/nio/charset/Charset?$java/io/UnsupportedEncodingException?
getMessage??
??(Ljava/lang/String;)V?
??-com/groupbyinc/flux/common/http/protocol/HTTP?DEF_CONTENT_CHARSETLjava/nio/charset/Charset;??	??java/io/InputStreamReader?2(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V?
??4com/groupbyinc/flux/common/http/util/CharArrayBuffer?
?Pjava/io/Reader?[C?([C)IT?
??([CII)VX?
????
??contentType4Lcom/groupbyinc/flux/common/http/entity/ContentType;ex.Ljava/nio/charset/UnsupportedCharsetException;readerLjava/io/Reader;6Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;defaultCharsetR(Lcom/groupbyinc/flux/common/http/HttpEntity;Ljava/lang/String;)Ljava/lang/String;forName.(Ljava/lang/String;)Ljava/nio/charset/Charset;??
????
?CodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions
DeprecatedRuntimeVisibleAnnotations
SourceFile1
?3*?	??
?
56	
?^	*??L??	?CEDF?G	
?t*??*??*? L+?+?%??&'?RSUVWX[??	()?X*+?1W*?7?*+?:??;<?jklm?	=>?Lz*@?1W*? L+??*?DE???H?L*?D?=?=?NY?QN?:+?WY6?-?[???-?^:+?%?:+?%?jqqsq?>3>abD-cdK&eRTfbzl&'?:yz{|+?3?7?;?D?K?X?d?j??,?"@??NS??"`?	gh??;*@?1WL*?o?**?o?uM,??,2w?}N-?
-??L+??*.????;	2v??&	??	???#?.?2?9???9??j??k	?h??.*@?1WL*?o?*?o?uM,??,2??L+?? ??.	%?????	???#?,???,??j??k	????*@?1W*? M,??*?DE???H?L*?D?>?>:*??:?
??:?:+???Y??????+:???:??Y,??:??Y??:?:??Y6????????:	,?%	?:
,?%
?>PS???????pD??U??3?ab>?v??:???0c??)e??fb?????&'?n?????+?3?7?;?>?D?I?P?S?U?Y?f?k?n?s?x????????????????"@???B?	??????
?"`?j	???d*+?
+?Χ?а?????L????j	?h?3	*???а?	?#?j?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy