
com.squareup.okhttp.internal.http.Http1xStream.class Maven / Gradle / Ivy
???? 3? ? ? ? ?
? ?
b ? ? ? ? ?
? ?
? ?
?????????
? ? ?
?
? ?
? ?
?
?
?
!
?
?
, ?
,
,
, !
"#
"$%
"&'(
)*
: ? +
:, -
:. /
:0
1
:2345
,6
E ?
E78
J ?
?9 :;
:<
J=>
P?@
RA
BCD
UEF
WGH
?IJ
[?
KL MN
KO
MP
MQRST InnerClasses UnknownLengthSource
ChunkedSource FixedLengthSourceU AbstractSource ChunkedSink FixedLengthSink
STATE_IDLE I
ConstantValue STATE_OPEN_REQUEST_BODY STATE_WRITING_REQUEST_BODY STATE_READ_RESPONSE_HEADERS STATE_OPEN_RESPONSE_BODY STATE_READING_RESPONSE_BODY STATE_CLOSED streamAllocation 4Lcom/squareup/okhttp/internal/http/StreamAllocation; source Lokio/BufferedSource; sink Lokio/BufferedSink;
httpEngine .Lcom/squareup/okhttp/internal/http/HttpEngine; state _(Lcom/squareup/okhttp/internal/http/StreamAllocation;Lokio/BufferedSource;Lokio/BufferedSink;)V Code LineNumberTable LocalVariableTable this 0Lcom/squareup/okhttp/internal/http/Http1xStream;
setHttpEngine 1(Lcom/squareup/okhttp/internal/http/HttpEngine;)V createRequestBody +(Lcom/squareup/okhttp/Request;J)Lokio/Sink; request Lcom/squareup/okhttp/Request;
contentLength J
StackMapTable
Exceptions cancel ()V
connection 0Lcom/squareup/okhttp/internal/io/RealConnection;V writeRequestHeaders (Lcom/squareup/okhttp/Request;)V requestLine Ljava/lang/String; readResponseHeaders Builder (()Lcom/squareup/okhttp/Response$Builder; openResponseBody B(Lcom/squareup/okhttp/Response;)Lcom/squareup/okhttp/ResponseBody; response Lcom/squareup/okhttp/Response;
Lokio/Source; getTransferStream -(Lcom/squareup/okhttp/Response;)Lokio/Source; isClosed ()Z
finishRequest writeRequest 2(Lcom/squareup/okhttp/Headers;Ljava/lang/String;)V i size headers Lcom/squareup/okhttp/Headers; readResponse
statusLine .Lcom/squareup/okhttp/internal/http/StatusLine; responseBuilder &Lcom/squareup/okhttp/Response$Builder; exception Ljava/io/IOException; e Ljava/io/EOFException;3 readHeaders ()Lcom/squareup/okhttp/Headers; line %Lcom/squareup/okhttp/Headers$Builder;8 newChunkedSink
()Lokio/Sink; newFixedLengthSink (J)Lokio/Sink; writeRequestBody 4(Lcom/squareup/okhttp/internal/http/RetryableSink;)V requestBody 1Lcom/squareup/okhttp/internal/http/RetryableSink; newFixedLengthSource (J)Lokio/Source; length newChunkedSource =(Lcom/squareup/okhttp/internal/http/HttpEngine;)Lokio/Source; newUnknownLengthSource ()Lokio/Source;
detachTimeout (Lokio/ForwardingTimeout;)V timeout Lokio/ForwardingTimeout; oldDelegate Lokio/Timeout;
access$300 E(Lcom/squareup/okhttp/internal/http/Http1xStream;)Lokio/BufferedSink; x0
access$400 K(Lcom/squareup/okhttp/internal/http/Http1xStream;Lokio/ForwardingTimeout;)V x1
access$502 4(Lcom/squareup/okhttp/internal/http/Http1xStream;I)I
access$600 G(Lcom/squareup/okhttp/internal/http/Http1xStream;)Lokio/BufferedSource;
access$500 3(Lcom/squareup/okhttp/internal/http/Http1xStream;)I
access$700 f(Lcom/squareup/okhttp/internal/http/Http1xStream;)Lcom/squareup/okhttp/internal/http/StreamAllocation;
SourceFile Http1xStream.java ,com/squareup/okhttp/internal/http/StatusLine } ~ ? ? n ? ? ? ? ? ? .com/squareup/okhttp/internal/http/Http1xStream ? ? chunked Transfer-EncodingWXYZ[\ ? ? ? ? java/lang/IllegalStateException PCannot stream a request body without chunked encoding or a known content length! ?]^ ?_V ? ?`a ?bcdefghijknopq ? ? ? ? ? ? ? ? 2com/squareup/okhttp/internal/http/RealResponseBodyrstu ?vwx ? ? ? ?y ?z ? ?{| ? java/lang/StringBuilder state: }~}????
? ???? : ??????? $com/squareup/okhttp/Response$Builder????? n??? ??? ? ? ?? java/io/EOFException java/io/IOException unexpected end of stream on }??? #com/squareup/okhttp/Headers$Builder ???????? ? :com/squareup/okhttp/internal/http/Http1xStream$ChunkedSink ?? >com/squareup/okhttp/internal/http/Http1xStream$FixedLengthSink ????? @com/squareup/okhttp/internal/http/Http1xStream$FixedLengthSource ??