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

com.huawei.shade.org.apache.http.util.EntityUtils.class Maven / Gradle / Ivy

The newest version!
????2?1com/huawei/shade/org/apache/http/util/EntityUtilsjava/lang/ObjectEntityUtils.javaDEFAULT_BUFFER_SIZEI()V	

this3Lcom/huawei/shade/org/apache/http/util/EntityUtils;consumeQuietly0(Lcom/huawei/shade/org/apache/http/HttpEntity;)Vjava/io/IOExceptionconsume
ignoreLjava/io/IOException;entity-Lcom/huawei/shade/org/apache/http/HttpEntity;+com/huawei/shade/org/apache/http/HttpEntityisStreaming()Z
getContent()Ljava/io/InputStream; !"java/io/InputStream$close&

%'inStreamLjava/io/InputStream;updateEntity_(Lcom/huawei/shade/org/apache/http/HttpResponse;Lcom/huawei/shade/org/apache/http/HttpEntity;)VResponse-*com/huawei/shade/org/apache/http/util/Args/notNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;12
03-com/huawei/shade/org/apache/http/HttpResponse5	getEntity/()Lcom/huawei/shade/org/apache/http/HttpEntity;7869	setEntity;6<response/Lcom/huawei/shade/org/apache/http/HttpResponse;toByteArray1(Lcom/huawei/shade/org/apache/http/HttpEntity;)[BEntityBgetContentLength()JDEF???.HTTP entity too large to be buffered in memoryJcheck(ZLjava/lang/String;)VLM
0N5com/huawei/shade/org/apache/http/util/ByteArrayBufferP(I)V	R
QS[BUread([B)IWX
%Yappend([BII)V[\
Q]()[B@_
Q`java/lang/Throwablebcapacitybuffer7Lcom/huawei/shade/org/apache/http/util/ByteArrayBuffer;tmplgetContentCharSetA(Lcom/huawei/shade/org/apache/http/HttpEntity;)Ljava/lang/String;/com/huawei/shade/org/apache/http/ParseExceptionkLjava/lang/Deprecated;getContentType+()Lcom/huawei/shade/org/apache/http/Header;nop'com/huawei/shade/org/apache/http/HeaderrgetElements3()[Lcom/huawei/shade/org/apache/http/HeaderElement;tusvcharsetx.com/huawei/shade/org/apache/http/HeaderElementzgetParameterByNameD(Ljava/lang/String;)Lcom/huawei/shade/org/apache/http/NameValuePair;|}{~.com/huawei/shade/org/apache/http/NameValuePair?getValue()Ljava/lang/String;????java/lang/String?param0Lcom/huawei/shade/org/apache/http/NameValuePair;values1[Lcom/huawei/shade/org/apache/http/HeaderElement;Ljava/lang/String;getContentMimeTypegetName??{?mimeTypetoStringv(Lcom/huawei/shade/org/apache/http/HttpEntity;Lcom/huawei/shade/org/apache/http/entity/ContentType;)Ljava/lang/String;3com/huawei/shade/org/apache/http/entity/ContentType?
getCharset()Ljava/nio/charset/Charset;??
??getMimeType??
??
getByMimeTypeI(Ljava/lang/String;)Lcom/huawei/shade/org/apache/http/entity/ContentType;??
??java/nio/charset/Charset?.com/huawei/shade/org/apache/http/protocol/HTTP?DEF_CONTENT_CHARSETLjava/nio/charset/Charset;??	??java/io/InputStreamReader?2(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V	?
??5com/huawei/shade/org/apache/http/util/CharArrayBuffer?
?Sjava/io/Reader?[C?([C)IW?
??([CII)V[?
????
??defaultContentType5Lcom/huawei/shade/org/apache/http/entity/ContentType;readerLjava/io/Reader;7Lcom/huawei/shade/org/apache/http/util/CharArrayBuffer;contentType[(Lcom/huawei/shade/org/apache/http/HttpEntity;Ljava/nio/charset/Charset;)Ljava/lang/String;,java/nio/charset/UnsupportedCharsetException?getd(Lcom/huawei/shade/org/apache/http/HttpEntity;)Lcom/huawei/shade/org/apache/http/entity/ContentType;??
??$java/io/UnsupportedEncodingException?
getMessage??
??(Ljava/lang/String;)V	?
??withCharsetQ(Ljava/nio/charset/Charset;)Lcom/huawei/shade/org/apache/http/entity/ContentType;??
??DEFAULT_TEXT??	????
?ex.Ljava/nio/charset/UnsupportedCharsetException;defaultCharsetS(Lcom/huawei/shade/org/apache/http/HttpEntity;Ljava/lang/String;)Ljava/lang/String;forName.(Ljava/lang/String;)Ljava/nio/charset/Charset;??
????
?
ConstantValueCodeLineNumberTableLocalVariableTable
StackMapTable
Exceptions
DeprecatedRuntimeVisibleAnnotations
SourceFile1?	
?3*???
78?
	?^	*??L??G?EGFH?		?t*??*??*?#L+?+?(???TUWXYZ]?)*?	+,?X*.?4W*?:?*+?=??lmno?>??	@A?Lz*C?4W*?#L+??*?GH???K?O*?G?=?=?QY?TN?:+?ZY6?-?^???-?a:+?(?:+?(?jqqsq?,?%@??QV??%c?:{|}~?+?3?7?;?D?K?X?d?j??>3>dD-efK&gUThzl)*?	ij??;*C?4WL*?q?**?q?wM,??,2y?N-?
-??L+???9??&	??	???#?.?2?9??*.????;	2x??l??m	?j??.*C?4WL*?q?*?q?wM,??,2??L+???,????	???#?,?? ??.	%???l??m
?????*?#M,??*?GH???K?O*?G?>?>:+?'+??:?+????:????:???:??Y,??:??Y??:?:??Y6????????:	,?(	?:
,?(
?
??????C?
%@??'??@??	??????
?%c?Z???
?$?,?0?4?7?;?A?F?O?_?d?i?u???????????f
O??,?d7xx?u:??0e??)g??h?????)*?	????D*C?4WM*??M?N+???Y-?ηѿ,?,???,+??M???+??M*,?ڰ	???????2??	"&-	6>?*??DD??	;???l	???d*+?
+?????L????"????l	?j?>*C?4W**?ɸڰ?
34??l?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy