
com.squareup.okhttp.internal.http.Http2xStream.class Maven / Gradle / Ivy
???? 3? z ?
{ ? z ? z ? z ?
? ?
? ?
? ?
? ? ?
z
z
?
? ?
?
?
z
z
!
"
#$ %& '
() *
+,-
, ?
. /0
12
x3 z45
67 8 9
x: ;
x<
z=>?
>@
>A
>B
>C D zEF
E ?
1G
1H
1I J zK
ELMN
M@
> ?O
PQS
S ? ?T
SU PV
SW PX
SY
EZ
S[ z\]^
?_
_`a
R
bc
bd ef
?gh zij zkl zmn zop zqr zst zuv zwx
(yz{| StreamFinishingSource InnerClasses
CONNECTION Lokio/ByteString; HOST
KEEP_ALIVE PROXY_CONNECTION TRANSFER_ENCODING TE ENCODING UPGRADE SPDY_3_SKIPPED_REQUEST_HEADERS Ljava/util/List; Signature #Ljava/util/List; SPDY_3_SKIPPED_RESPONSE_HEADERS HTTP_2_SKIPPED_REQUEST_HEADERS HTTP_2_SKIPPED_RESPONSE_HEADERS streamAllocation 4Lcom/squareup/okhttp/internal/http/StreamAllocation; framedConnection 6Lcom/squareup/okhttp/internal/framed/FramedConnection;
httpEngine .Lcom/squareup/okhttp/internal/http/HttpEngine; stream 2Lcom/squareup/okhttp/internal/framed/FramedStream; m(Lcom/squareup/okhttp/internal/http/StreamAllocation;Lcom/squareup/okhttp/internal/framed/FramedConnection;)V Code LineNumberTable LocalVariableTable this 0Lcom/squareup/okhttp/internal/http/Http2xStream;
setHttpEngine 1(Lcom/squareup/okhttp/internal/http/HttpEngine;)V createRequestBody +(Lcom/squareup/okhttp/Request;J)Lokio/Sink; request Lcom/squareup/okhttp/Request;
contentLength J
Exceptions} writeRequestHeaders (Lcom/squareup/okhttp/Request;)V permitsRequestBody Z requestHeaders hasResponseBody LocalVariableTypeTable >Ljava/util/List;
StackMapTable~ writeRequestBody 4(Lcom/squareup/okhttp/internal/http/RetryableSink;)V requestBody 1Lcom/squareup/okhttp/internal/http/RetryableSink;
finishRequest ()V readResponseHeaders Builder (()Lcom/squareup/okhttp/Response$Builder;S spdy3HeadersList /(Lcom/squareup/okhttp/Request;)Ljava/util/List; concatenated Ljava/lang/String; j I name value i size headers Lcom/squareup/okhttp/Headers; result names Ljava/util/Set; "Ljava/util/Set;??x? ](Lcom/squareup/okhttp/Request;)Ljava/util/List;
joinOnNull 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; first second http2HeadersList readSpdy3HeadersList 8(Ljava/util/List;)Lcom/squareup/okhttp/Response$Builder; end start values headerBlock status version headersBuilder %Lcom/squareup/okhttp/Headers$Builder;
statusLine .Lcom/squareup/okhttp/internal/http/StatusLine;F f(Ljava/util/List;)Lcom/squareup/okhttp/Response$Builder; readHttp2HeadersList openResponseBody B(Lcom/squareup/okhttp/Response;)Lcom/squareup/okhttp/ResponseBody; response Lcom/squareup/okhttp/Response; source
Lokio/Source; cancel
access$000 f(Lcom/squareup/okhttp/internal/http/Http2xStream;)Lcom/squareup/okhttp/internal/http/StreamAllocation; x0
SourceFile Http2xStream.java ? ? ? ? ? ? ? ? ? ?????? ? ???????? ? ? ? ????????????????????????? ??? ? ? ? ? ?? java/util/ArrayList? ?? ?? *com/squareup/okhttp/internal/framed/Header? ??? ??~??? ??????? ? HTTP/1.1? ????? ???? java/util/LinkedHashSet ?????????? ? ??? ????? ? ??? ? ??? ? ??? java/lang/StringBuilder ????????? ? ? ? #com/squareup/okhttp/Headers$Builder??????? ? ? ??? java/net/ProtocolException %Expected ':status' header not present ???? $com/squareup/okhttp/Response$Builder????? ???? ????? ?? ? ? HTTP/1.1 Dcom/squareup/okhttp/internal/http/Http2xStream$StreamFinishingSource?? ?? 2com/squareup/okhttp/internal/http/RealResponseBody??? ???????
connection ? host ? ?
keep-alive ? ? proxy-connection ? ? transfer-encoding ? ? te ? ? encoding ? ? upgrade ? ? okio/ByteString?? .com/squareup/okhttp/internal/http/Http2xStream java/lang/Object ,com/squareup/okhttp/internal/http/HttpStream java/io/IOException java/util/List com/squareup/okhttp/Request com/squareup/okhttp/Headers
java/util/Set java/lang/String 0com/squareup/okhttp/internal/framed/FramedStream getSink
()Lokio/Sink; ,com/squareup/okhttp/internal/http/HttpEngine writingRequestHeaders (Lcom/squareup/okhttp/Request;)Z 4com/squareup/okhttp/internal/framed/FramedConnection getProtocol ()Lcom/squareup/okhttp/Protocol; com/squareup/okhttp/Protocol HTTP_2 Lcom/squareup/okhttp/Protocol; newStream F(Ljava/util/List;ZZ)Lcom/squareup/okhttp/internal/framed/FramedStream; readTimeout ()Lokio/Timeout; client "Lcom/squareup/okhttp/OkHttpClient; com/squareup/okhttp/OkHttpClient getReadTimeout ()I java/util/concurrent/TimeUnit MILLISECONDS Ljava/util/concurrent/TimeUnit; okio/Timeout timeout 0(JLjava/util/concurrent/TimeUnit;)Lokio/Timeout; writeTimeout getWriteTimeout /com/squareup/okhttp/internal/http/RetryableSink
writeToSocket (Lokio/Sink;)V okio/Sink close getResponseHeaders ()Ljava/util/List; ()Lcom/squareup/okhttp/Headers; (I)V
TARGET_METHOD method ()Ljava/lang/String; &(Lokio/ByteString;Ljava/lang/String;)V add (Ljava/lang/Object;)Z TARGET_PATH httpUrl ()Lcom/squareup/okhttp/HttpUrl; -com/squareup/okhttp/internal/http/RequestLine requestPath 1(Lcom/squareup/okhttp/HttpUrl;)Ljava/lang/String; VERSION TARGET_HOST !com/squareup/okhttp/internal/Util
hostHeader
TARGET_SCHEME com/squareup/okhttp/HttpUrl scheme (I)Ljava/lang/String; java/util/Locale US Ljava/util/Locale; toLowerCase &(Ljava/util/Locale;)Ljava/lang/String;
encodeUtf8 %(Ljava/lang/String;)Lokio/ByteString; contains get (I)Ljava/lang/Object; equals utf8 set '(ILjava/lang/Object;)Ljava/lang/Object; (Ljava/lang/String;)V append (C)Ljava/lang/StringBuilder; -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString TARGET_AUTHORITY length indexOf (II)I substring (II)Ljava/lang/String; RESPONSE_STATUS K(Ljava/lang/String;Ljava/lang/String;)Lcom/squareup/okhttp/Headers$Builder; ,com/squareup/okhttp/internal/http/StatusLine parse B(Ljava/lang/String;)Lcom/squareup/okhttp/internal/http/StatusLine; com/squareup/okhttp/Response SPDY_3 protocol F(Lcom/squareup/okhttp/Protocol;)Lcom/squareup/okhttp/Response$Builder; code )(I)Lcom/squareup/okhttp/Response$Builder; message :(Ljava/lang/String;)Lcom/squareup/okhttp/Response$Builder; build E(Lcom/squareup/okhttp/Headers;)Lcom/squareup/okhttp/Response$Builder; getSource ()Lokio/Source; @(Lcom/squareup/okhttp/internal/http/Http2xStream;Lokio/Source;)V okio/Okio buffer $(Lokio/Source;)Lokio/BufferedSource; 5(Lcom/squareup/okhttp/Headers;Lokio/BufferedSource;)V -com/squareup/okhttp/internal/framed/ErrorCode CANCEL /Lcom/squareup/okhttp/internal/framed/ErrorCode;
closeLater 2(Lcom/squareup/okhttp/internal/framed/ErrorCode;)V
immutableList %([Ljava/lang/Object;)Ljava/util/List; 1 z { | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Y *? *+? *,? ? ? q r s t ? ? ? ? ? ? ? ? ? ? > *+? ? ?
w x ? ? ? ? ? ? ? ? F *? ? ? ? { ? ? ? ? ? ? ? ? ? ? ? ? v*? ? ?*? ? *? +? =*? ? ?
?
+? ? +? N6**? -?
? *? ? *? ? ? ?? ? W*? ? *? ? ? ?? ? W? ? . ? ? ? &