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

com.huawei.shade.org.apache.http.entity.StringEntity.class Maven / Gradle / Ivy

There is a newer version: 8.5.0.1-200
Show newest version
????2?4com/huawei/shade/org/apache/http/entity/StringEntity:com/huawei/shade/org/apache/http/entity/AbstractHttpEntityjava/lang/CloneableStringEntity.javacontent[BJ(Ljava/lang/String;Lcom/huawei/shade/org/apache/http/entity/ContentType;)V,java/nio/charset/UnsupportedCharsetException()V


Source string*com/huawei/shade/org/apache/http/util/ArgsnotNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
3com/huawei/shade/org/apache/http/entity/ContentType
getCharset()Ljava/nio/charset/Charset;
java/lang/Stringjava/nio/charset/Charset!.com/huawei/shade/org/apache/http/protocol/HTTP#DEF_CONTENT_CHARSETLjava/nio/charset/Charset;%&	$'getBytes(Ljava/nio/charset/Charset;)[B)*
 +		-toString()Ljava/lang/String;/0
1setContentType(Ljava/lang/String;)V34
5this6Lcom/huawei/shade/org/apache/http/entity/StringEntity;stringLjava/lang/String;contentType5Lcom/huawei/shade/org/apache/http/entity/ContentType;charset9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V$java/io/UnsupportedEncodingException?Ljava/lang/Deprecated;
text/plainB
ISO-8859-1D(Ljava/lang/String;)[B)F
 Gjava/lang/StringBuilderI
Jappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;LM
JN
; charset=P
J1mimeTypemtcs'(Ljava/lang/String;Ljava/lang/String;)V
TEXT_PLAINW<	XgetMimeTypeZ0
[create[(Ljava/lang/String;Ljava/lang/String;)Lcom/huawei/shade/org/apache/http/entity/ContentType;]^
_

a/(Ljava/lang/String;Ljava/nio/charset/Charset;)Vc(Ljava/lang/String;Ljava/nio/charset/Charset;)Lcom/huawei/shade/org/apache/http/entity/ContentType;]d
eDEFAULT_TEXTg<	hisRepeatable()ZgetContentLength()J
getContent()Ljava/io/InputStream;java/io/IOExceptionpjava/io/ByteArrayInputStreamr([B)V
t
suwriteTo(Ljava/io/OutputStream;)V
Output streamyjava/io/OutputStream{write}t
|~flush?
|?	outStreamLjava/io/OutputStream;isStreamingclone()Ljava/lang/Object;$java/lang/CloneNotSupportedException?java/lang/Object???
??Code
StackMapTableLineNumberTableLocalVariableTable
Exceptions
DeprecatedRuntimeVisibleAnnotations
SourceFile!	
??6*?+?W,?
,??N-??(N*+-?,?.,?*,?2?6??? @"?"?&	@ABCD F)G-H5J?*67869:6;<=&?

>??K*?+?W,?,?C:-?-?E:*+?H?.*?JY?K?OQ?O?O?R?6??#?   A ?	 A ?^_`a#b-cJd?>K78K9:KS:K=:4T:#(U:?@??A
V?R*+?Y?\,?`?b??
tu? 789:=:?

c?R*+?Y?\,?f?b??
??? 789:=&
4?A	*+?i?b??
???	78	9:?@jk?,????78lm?1*?.??????78no?6?sY*?.?v????78?qwx?T+z?W+*?.?+?????????78???q?k?,????78???/*??????78???




© 2015 - 2025 Weber Informatics LLC | Privacy Policy