okhttp3.internal.http1.Http1ExchangeCodec.class Maven / Gradle / Ivy
???? 4? )okhttp3/internal/http1/Http1ExchangeCodec java/lang/Object #okhttp3/internal/http/ExchangeCodec state I
headersReader &Lokhttp3/internal/http1/HeadersReader; isChunked (Lokhttp3/Response;)Z chunked
Transfer-Encoding okhttp3/Response header$default ](Lokhttp3/Response;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String;
kotlin/text/StringsKt equals ((Ljava/lang/String;Ljava/lang/String;Z)Z
this +Lokhttp3/internal/http1/Http1ExchangeCodec; $this$isChunked Lokhttp3/Response; (Lokhttp3/Request;)Z okhttp3/Request " header &(Ljava/lang/String;)Ljava/lang/String; $ %
# & Lokhttp3/Request; trailers Lokhttp3/Headers; isClosed ()Z - createRequestBody (Lokhttp3/Request;J)Lokio/Sink; #Lorg/jetbrains/annotations/NotNull; request 2 kotlin/jvm/internal/Intrinsics 4 checkNotNullParameter '(Ljava/lang/Object;Ljava/lang/String;)V 6 7
5 8 body ()Lokhttp3/RequestBody; : ;
# < okhttp3/RequestBody > isDuplex @ ,
? A java/net/ProtocolException C /Duplex connections are not supported for HTTP/1 E (Ljava/lang/String;)V G H
D I java/lang/Throwable K !
M newChunkedSink
()Lokio/Sink; O P
Q???????? newKnownLengthSink U P
V java/lang/IllegalStateException X PCannot stream a request body without chunked encoding or a known content length! Z
Y I
contentLength J okio/Sink _ cancel ()V
getConnection .()Lokhttp3/internal/connection/RealConnection; c d
e *okhttp3/internal/connection/RealConnection g a b
h i writeRequestHeaders (Lokhttp3/Request;)V !okhttp3/internal/http/RequestLine m INSTANCE #Lokhttp3/internal/http/RequestLine; o p n q route ()Lokhttp3/Route; s t
h u
okhttp3/Route w proxy ()Ljava/net/Proxy; y z
x { java/net/Proxy } type ()Ljava/net/Proxy$Type; ?
~ ? connection.route().proxy.type() ? checkNotNullExpressionValue ? 7
5 ? get :(Lokhttp3/Request;Ljava/net/Proxy$Type;)Ljava/lang/String; ? ?
n ? headers ()Lokhttp3/Headers; ? ?
# ? writeRequest &(Lokhttp3/Headers;Ljava/lang/String;)V ? ?
? requestLine Ljava/lang/String; reportedContentLength (Lokhttp3/Response;)J response ? !okhttp3/internal/http/HttpHeaders ? promisesBody ?
? ?
? okhttp3/internal/Util ? headersContentLength ? ?
? ? openResponseBodySource !(Lokhttp3/Response;)Lokio/Source; newFixedLengthSource (J)Lokio/Source; ? ?
? ()Lokhttp3/Request; 2 ?
? url ()Lokhttp3/HttpUrl; ? ?
# ? newChunkedSource (Lokhttp3/HttpUrl;)Lokio/Source; ? ?
? newUnknownLengthSource ()Lokio/Source; ? ?
? okio/Source ? &too early; can't read the trailers yet ? toString ()Ljava/lang/String; ? ?
? ) * ?
EMPTY_HEADERS ? * ? ? )$i$a$-check-Http1ExchangeCodec$trailers$1 okhttp3/Headers ? flushRequest sink Lokio/BufferedSink; ? ? ? okio/BufferedSink ? flush ? b ? ?
finishRequest ? ? java/lang/StringBuilder ? G b
? ? state: ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (I)Ljava/lang/StringBuilder; ? ?
? ?
? ? writeUtf8 '(Ljava/lang/String;)Lokio/BufferedSink; ? ? ? ?
? size ()I ? ?
? ? name (I)Ljava/lang/String; ? ?
? ? : ? value ? ?
? ? -$i$a$-check-Http1ExchangeCodec$writeRequest$1 i readResponseHeaders (Z)Lokhttp3/Response$Builder; $Lorg/jetbrains/annotations/Nullable; java/io/EOFException ? okhttp3/internal/http/StatusLine Companion ,Lokhttp3/internal/http/StatusLine$Companion;
$okhttp3/internal/http1/HeadersReader readLine
?
*okhttp3/internal/http/StatusLine$Companion
parse 6(Ljava/lang/String;)Lokhttp3/internal/http/StatusLine;
okhttp3/Response$Builder
? protocol Lokhttp3/Protocol; .(Lokhttp3/Protocol;)Lokhttp3/Response$Builder;
code (I)Lokhttp3/Response$Builder;
! message# ? $ .(Ljava/lang/String;)Lokhttp3/Response$Builder;#&
' readHeaders) ?
* -(Lokhttp3/Headers;)Lokhttp3/Response$Builder; ?,
- address ()Lokhttp3/Address;/0
x1 okhttp3/Address3
4 ? okhttp3/HttpUrl6 redact8 ?
79 java/io/IOException; unexpected end of stream on = *(Ljava/lang/String;Ljava/lang/Throwable;)V G?
<@ 4$i$a$-check-Http1ExchangeCodec$readResponseHeaders$1 responseBuilder Lokhttp3/Response$Builder;
statusLine "Lokhttp3/internal/http/StatusLine; e Ljava/io/EOFException; expectContinue Z 5okhttp3/internal/http1/Http1ExchangeCodec$ChunkedSinkK .(Lokhttp3/internal/http1/Http1ExchangeCodec;)V GM
LN /$i$a$-check-Http1ExchangeCodec$newChunkedSink$1 9okhttp3/internal/http1/Http1ExchangeCodec$KnownLengthSinkQ
RN 3$i$a$-check-Http1ExchangeCodec$newKnownLengthSink$1 ;okhttp3/internal/http1/Http1ExchangeCodec$FixedLengthSourceU /(Lokhttp3/internal/http1/Http1ExchangeCodec;J)V GW
VX 5$i$a$-check-Http1ExchangeCodec$newFixedLengthSource$1 length 7okhttp3/internal/http1/Http1ExchangeCodec$ChunkedSource\ ?(Lokhttp3/internal/http1/Http1ExchangeCodec;Lokhttp3/HttpUrl;)V G^
]_ 1$i$a$-check-Http1ExchangeCodec$newChunkedSource$1 Lokhttp3/HttpUrl; noNewExchanges$okhttpc b
hd =okhttp3/internal/http1/Http1ExchangeCodec$UnknownLengthSourcef
gN 7$i$a$-check-Http1ExchangeCodec$newUnknownLengthSource$1
detachTimeout (Lokio/ForwardingTimeout;)V okio/ForwardingTimeoutl delegate ()Lokio/Timeout;no
mp okio/Timeoutr NONE Lokio/Timeout;tu sv setDelegate ((Lokio/Timeout;)Lokio/ForwardingTimeout;xy
mz
clearDeadline|o
s} clearTimeouto
s? oldDelegate timeout Lokio/ForwardingTimeout; skipConnectBody (Lokhttp3/Response;)V??? java/util/concurrent/TimeUnit? MILLISECONDS Ljava/util/concurrent/TimeUnit;?? ?? skipAll 0(Lokio/Source;ILjava/util/concurrent/TimeUnit;)Z??
?? close? b ??
Lokio/Source; client Lokhttp3/OkHttpClient;
connection ,Lokhttp3/internal/connection/RealConnection;?? ? source Lokio/BufferedSource; m(Lokhttp3/OkHttpClient;Lokhttp3/internal/connection/RealConnection;Lokio/BufferedSource;Lokio/BufferedSink;)V?? ?
??? ??? ? (Lokio/BufferedSource;)V G?
? NO_CHUNK_YET
STATE_IDLE STATE_OPEN_REQUEST_BODY STATE_WRITING_REQUEST_BODY STATE_READ_RESPONSE_HEADERS STATE_OPEN_RESPONSE_BODY STATE_READING_RESPONSE_BODY STATE_CLOSED 5Lokhttp3/internal/http1/Http1ExchangeCodec$Companion; access$getSink$p @(Lokhttp3/internal/http1/Http1ExchangeCodec;)Lokio/BufferedSink; $this access$detachTimeout F(Lokhttp3/internal/http1/Http1ExchangeCodec;Lokio/ForwardingTimeout;)Vjk
? access$getState$p .(Lokhttp3/internal/http1/Http1ExchangeCodec;)I access$setState$p /(Lokhttp3/internal/http1/Http1ExchangeCodec;I)V access$getSource$p B(Lokhttp3/internal/http1/Http1ExchangeCodec;)Lokio/BufferedSource; access$getTrailers$p >(Lokhttp3/internal/http1/Http1ExchangeCodec;)Lokhttp3/Headers; access$setTrailers$p ?(Lokhttp3/internal/http1/Http1ExchangeCodec;Lokhttp3/Headers;)V access$getHeadersReader$p S(Lokhttp3/internal/http1/Http1ExchangeCodec;)Lokhttp3/internal/http1/HeadersReader; access$getClient$p C(Lokhttp3/internal/http1/Http1ExchangeCodec;)Lokhttp3/OkHttpClient; Lkotlin/Metadata; mv bv k d1???
??
??
??
??
??
??
??
??
??
??
?? ?20:<=>?@ABB'0000 ¢
J0HJ0202 0!HJ"02#0$HJ%0HJ&0HJ'0HJ(0)2*0+HJ,0)2-0!HJ.0HJ/0)HJ00)210HJ203240HJ50!210HJ60210J0HJ70280290:J;020HR0X¢
??R0X¢
??R
0X¢
??R08F¢R0 X¢
??R0X¢
??R0X¢
??R0X¢
??R0*08BX¢R0*08BX¢¨C d2 %Lokhttp3/internal/http/ExchangeCodec; Lokio/Sink; AbstractSource ChunkedSink
ChunkedSource FixedLengthSource KnownLengthSink UnknownLengthSource okhttp 3okhttp3/internal/http1/Http1ExchangeCodec$Companion? 1(Lkotlin/jvm/internal/DefaultConstructorMarker;)V G?
??? ? 8okhttp3/internal/http1/Http1ExchangeCodec$AbstractSource? Http1ExchangeCodec.kt RuntimeInvisibleAnnotations
ConstantValue Code LineNumberTable LocalVariableTable
StackMapTable $RuntimeInvisibleParameterAnnotations InnerClasses
SourceFile SourceDebugExtension RuntimeVisibleAnnotations 1
) * ?? ?? ? 1 ?? ? ? ? ^ ? S ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? D +? ? ? ? L? ! ? A
+? '? ? ? O?
( + , ? D *? .? ? ? ?
@? Y? / 0 ? ? Q+3? 9 +? =? +? =? B? ? DYF? J? L?*+? N?
*? R? S??
*? W? ? YY[? \? L?? ? %L `? *
\ ] ^ ] % _ 4 ` C b G c I b P \? Q Q 2 ( Q ] ^ ? 1 ? 1 a b ? 6 *? f? j? ?
h i? k l ? q ++3? 9? r+*? f? v? |? ?Y?? ?? ?M*+? ?,? ?? ? v ! w * x? !
? ? + + 2 ( ? 1 ? ? ? u %+?? 9 +? ?? ? *+? ?? S? +? ?? ?
C? { | } ~ $ {? % % ? ? 1 ? ? ? ? F+?? 9 +? ?? * ? ?? 2*+? ?? *+? ?? ?? ?? +? ?A S?? * ? ?? *? ?? ? ? ? ?? &