com.huawei.shade.com.cloud.sdk.http.RepeatableInputStreamRequestEntity.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
???? 2 ? Fcom/huawei/shade/com/cloud/sdk/http/RepeatableInputStreamRequestEntity 7com/huawei/shade/org/apache/http/entity/BasicHttpEntity 'RepeatableInputStreamRequestEntity.java firstAttempt Z inputStreamRequestEntity ;Lcom/huawei/shade/org/apache/http/entity/InputStreamEntity; content Ljava/io/InputStream; log 1Lcom/huawei/shade/org/apache/commons/logging/Log; originalException Ljava/io/IOException; +(Lcom/huawei/shade/com/cloud/sdk/Request;)V java/lang/NumberFormatException ()V
setChunked (Z)V
???????? &com/huawei/shade/com/cloud/sdk/Request
getHeaders ()Ljava/util/Map; ! " # Content-Length %
java/util/Map ' get &(Ljava/lang/Object;)Ljava/lang/Object; ) * ( + java/lang/String - java/lang/Long / parseLong (Ljava/lang/String;)J 1 2
0 3
5 KUnable to parse content length from request. Buffering contents in memory. 7 /com/huawei/shade/org/apache/commons/logging/Log 9 warn (Ljava/lang/Object;)V ; < : = Content-Type ? 9com/huawei/shade/org/apache/http/entity/InputStreamEntity A
getContent ()Ljava/io/InputStream; C D E (Ljava/io/InputStream;J)V G
B H J setContentType (Ljava/lang/String;)V L M
B N
P
setContent (Ljava/io/InputStream;)V R S
T
N setContentLength (J)V W X
Y contentLengthString Ljava/lang/String; nfe !Ljava/lang/NumberFormatException; this HLcom/huawei/shade/com/cloud/sdk/http/RepeatableInputStreamRequestEntity; request +Lcom/huawei/shade/com/cloud/sdk/Request<*>; (Lcom/huawei/shade/com/cloud/sdk/Request;
contentLength J contentType isChunked ()Z isRepeatable java/io/InputStream j
markSupported l h
k m i h
B o writeTo (Ljava/io/OutputStream;)V java/io/IOException s
o reset v
k w q r
B y { ioe output Ljava/io/OutputStream; 6com/huawei/shade/org/apache/commons/logging/LogFactory ? getLog D(Ljava/lang/Class;)Lcom/huawei/shade/org/apache/commons/logging/Log; ? ?
? ? Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable Signature .(Lcom/huawei/shade/com/cloud/sdk/Request<*>;)V
Exceptions
SourceFile
? ^ ?*? *? *? A+? $ &? , ? .:? ? 4A? :? 68? > +? $ @? , ? .:*? BY+? F ? I? K*? K? O*+? F ? Q**? Q? U*? V* ? Z? / 2 ? > $ [ \ 4
] ^ ? _ ` ? a c w d e P 9 f \ ? ? a b ? J L ) M Y [ $ \ ) ] / b 2 _ 4 ` > d P e b f k g u i } j ? k ? l ? ? / B ? ? g h ? , ? ? _ ` ? p i h ? P *? Q? n?
*? K? p? ? ? ? _ ` ? x ? @ q r ? ? 8*? ? *? u?
*? Q? x*? *? K+? z? M*? |? *,? |*? |?? " % t ? &