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

com.qcloud.Common.Request.class Maven / Gradle / Ivy

Go to download

Tencent Cloud Open API SDK for Java Copyright (C) Tencent Cloud All Rights Reserved. 版权所有 (C)腾讯云 http://www.qcloud.com

The newest version!
????4?
??	??	???
??
????
?????
?

??
???
???	??
????
??
???
.??
???
??
 ??
 ?
 ??
??
??
????????????
.?
 ????
????
4???
.??
.??
.?
??
.??
@?
.??
.?
@????
????	?
?	?
?
S
?	
?

?
Y
\?
\
\
\?
.

g?
g
? !"#$
q%
p&
p'
(
p)*+
,
)
?-./
?0
}&
|1
|2
|)3
?45_?67
requestUrlLjava/lang/String;rawResponseversionconnectTimeoutIreadTimeout()VCodeLineNumberTable
getRequestUrl()Ljava/lang/String;getRawResponsegenerateUrl?(Ljava/util/TreeMap;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
StackMapTable??	Signature?(Ljava/util/TreeMap;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;send?(Ljava/util/TreeMap;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;?(Ljava/util/TreeMap;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;sendRequestY(Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;8.9??:;#<=(Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
SourceFileRequest.java??????SecretId>?@ABNoncejava/util/Randomjava/lang/IntegerCDEF	TimestampGHIJEK
RequestClient??LMNHmacSHA1SignatureMethodOPQ?
HmacSHA256R@STjava/lang/ExceptionU?java/lang/StringBuilderhttps://VWGETXYZP??8[\]^_9`abcjava/lang/StringdaVeutf-8fgh$java/io/UnsupportedEncodingException]{"code":-2300,"location":"com.qcloud.Common.Request:129","message":"api sdk throw exception! "\"ij"}kD---------------------------Elmnopqjava/net/URL?rs?httpstuvw javax/net/ssl/HttpsURLConnectionaccept*/*:xy
connection
Keep-Alive
user-agent6Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;SV1)??z{??|{POSTjava/net/HttpURLConnection}r~?Content-Typemultipart/form-data; boundary=java/io/DataOutputStream????java/lang/StringBuffer
V?--&Content-Disposition: form-data; name=""

V???;??java/io/File??????o=Content-Disposition: form-data; name="entityFile"; filename=""

Content-Type:

java/io/DataInputStreamjava/io/FileInputStream??????????
----
????java/io/BufferedReaderjava/io/InputStreamReader??????]{"code":-2800,"location":"com.qcloud.Common.Request:234","message":"api sdk throw exception! ]{"code":-2700,"location":"com.qcloud.Common.Request:225","message":"api sdk throw exception! SDK_JAVA_2.0.4com/qcloud/Common/Requestjava/lang/Object
java/util/Mapjava/util/Iteratorjava/net/URLConnectionjava/io/OutputStream[Bjava/lang/Throwablejava/util/TreeMapcontainsKey(Ljava/lang/Object;)Zput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;nextInt(I)IvalueOf(I)Ljava/lang/Integer;java/lang/SystemcurrentTimeMillis()Jjava/lang/Long(J)Ljava/lang/Long;com/qcloud/Common/SignmakeSignPlainText](Ljava/util/TreeMap;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;get&(Ljava/lang/Object;)Ljava/lang/Object;toStringequalssignJ(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;printStackTraceappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;buildParamStr19(Ljava/util/TreeMap;Ljava/lang/String;)Ljava/lang/String;removekeySet()Ljava/util/Set;
java/util/Setiterator()Ljava/util/Iterator;hasNext()Znext()Ljava/lang/Object;isEmpty(C)Ljava/lang/StringBuilder;java/net/URLEncoderencode8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;replaceD(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;indexOf(J)Ljava/lang/String;com/qcloud/Utilities/MD5stringToMD5&(Ljava/lang/String;)Ljava/lang/String;	substring(II)Ljava/lang/String;(Ljava/lang/String;)VtoLowerCase
startsWith(Ljava/lang/String;)ZopenConnection()Ljava/net/URLConnection;setRequestProperty'(Ljava/lang/String;Ljava/lang/String;)VsetConnectTimeout(I)VsetReadTimeoutsetRequestMethodsetDoOutput(Z)V
setDoInputgetOutputStream()Ljava/io/OutputStream;(Ljava/io/OutputStream;)V,(Ljava/lang/String;)Ljava/lang/StringBuffer;,(Ljava/lang/Object;)Ljava/lang/StringBuffer;getBytes()[Bwrite([B)VgetNamegetFileNameMap()Ljava/net/FileNameMap;java/net/FileNameMapgetContentTypeFor(Ljava/io/File;)V(Ljava/io/InputStream;)Vread([B)I([BII)VcloseflushconnectgetInputStream()Ljava/io/InputStream;(Ljava/io/Reader;)VreadLine!???????????????*???	??????#	??????'	???i	?*??*+?W*??*?Y?	??
?W*??*?m??W*??W*-?::*??*????:*,??W?
:?? Y?!"?#?#?#?$:-%??? Y?!?#*-?&?#?$:?????V-	.01&2,10495J7T9_<c=}??C?F?D?E?H?I?J?M??6??Q??<???	???K
?*??*+?W*??*?Y?	??
?W*??*?m??W*??W*?'W*-?::*??*????:*,??W?
:		?? Y?!"?#?#?#?$:		*-?(?????RS	TVW&X,W0Z9[J]T^[_fbjc?e?i?l?j?k?n?p??=??Q???	???SC)::):+?*?+:?,???-?.:?/?? Y?!?#&?0?$:? Y?!?#?#=?0+?1?2?3?#?$:?*:	? Y?!5?#	?678?9?#:?#?$:??t,%??A*??;?? Y?!*?#&?0?#?$K?? Y?!*?#??0?#?$K*?? Y?!???#?$:?@Y*?A::	*?BC?D??E?F:

:	?
?E:		GH?I	JK?I	LM?I	?N?O	?P?Q,R???	?SR?T	?U	?V	W? Y?!X?#?#?$?I?YY	?Z?[:
?\Y?]:+?*?+:?,?V?-?.:
^?_`?_?_^?_W? Y?!a?#
?#b?#?$?_W+
?1?cW???
?d?e?f-?ƻgY-?h:?i:
?j-?k:?\Y?]:^?_`?_?_^?_W? Y?!l?#
?#m?#?$?_W? Y?!n?#?#o?#?$?_W
?d?e?f?pY?qY?r?s:6?:?tY6?
?u????v? Y?!w?#?#x?#?$?e:
?f
?y
?z	?{?|Y?}Y	?~???:??Y:
?? Y?!?#
?#?$:????????:? Y?!??#??78?9?#:?#?$:??:? Y?!??#??78?9?#:?#?$:????f:? Y?!??#??78?9?#:?#?$:?<:????*:? Y?!??#??78?9?#:?#?$:???Lz}4mwz?m?????m????gvwxz.{6|Le?z?}?????????????????????
???"?.?0?8?<???F?O?X?a?i?q?z??????????????????????)?,?9?=?G?N?R?Y?b?u?y???????????????????%?*?/?4?>?I?T?m?r?w?z?|???????????????????????????	????!?8?;?@????????????3?p??&?-?P?????????\?????????????????????????????????.?#	B?i?0B?i??????????B?&?????????????C)?)?????N??P??
 ??




© 2015 - 2024 Weber Informatics LLC | Privacy Policy