okhttp3.internal.http2.Http2Stream.class Maven / Gradle / Ivy
???? 4? "okhttp3/internal/http2/Http2Stream java/lang/Object ?(ILokhttp3/internal/http2/Http2Connection;ZZLokhttp3/Headers;)V #Lorg/jetbrains/annotations/NotNull; $Lorg/jetbrains/annotations/Nullable;
connection kotlin/jvm/internal/Intrinsics checkNotNullParameter '(Ljava/lang/Object;Ljava/lang/String;)V
()V
id I (Lokhttp3/internal/http2/Http2Connection; &okhttp3/internal/http2/Http2Connection getPeerSettings #()Lokhttp3/internal/http2/Settings;
okhttp3/internal/http2/Settings ! getInitialWindowSize ()I # $
" % writeBytesMaximum J ' ( ) java/util/ArrayDeque +
, headersQueue Ljava/util/ArrayDeque; . / 0 0okhttp3/internal/http2/Http2Stream$FramingSource 2 getOkHttpSettings 4
5 )(Lokhttp3/internal/http2/Http2Stream;JZ)V 7
3 8 source 2Lokhttp3/internal/http2/Http2Stream$FramingSource; : ; < .okhttp3/internal/http2/Http2Stream$FramingSink > ((Lokhttp3/internal/http2/Http2Stream;Z)V @
? A sink 0Lokhttp3/internal/http2/Http2Stream$FramingSink; C D E 0okhttp3/internal/http2/Http2Stream$StreamTimeout G '(Lokhttp3/internal/http2/Http2Stream;)V I
H J readTimeout 2Lokhttp3/internal/http2/Http2Stream$StreamTimeout; L M N writeTimeout P M Q isLocallyInitiated ()Z S T
U 4locally-initiated streams shouldn't have headers yet W java/lang/IllegalStateException Y toString ()Ljava/lang/String; [ \
] (Ljava/lang/String;)V _
Z ` java/util/Collection b add (Ljava/lang/Object;)Z d e c f .remotely-initiated streams should have headers h $i$a$-check-Http2Stream$1 $i$a$-check-Http2Stream$2 this $Lokhttp3/internal/http2/Http2Stream; outFinished Z
inFinished headers Lokhttp3/Headers; okhttp3/Headers s getId
getConnection *()Lokhttp3/internal/http2/Http2Connection; getReadBytesTotal ()J readBytesTotal z ( { setReadBytesTotal$okhttp (J)V getReadBytesAcknowledged readBytesAcknowledged ? ( ? setReadBytesAcknowledged$okhttp getWriteBytesTotal writeBytesTotal ? ( ? setWriteBytesTotal$okhttp getWriteBytesMaximum setWriteBytesMaximum$okhttp getSource$okhttp 4()Lokhttp3/internal/http2/Http2Stream$FramingSource; getSink$okhttp 2()Lokhttp3/internal/http2/Http2Stream$FramingSink; getReadTimeout$okhttp 4()Lokhttp3/internal/http2/Http2Stream$StreamTimeout; getWriteTimeout$okhttp getErrorCode$okhttp $()Lokhttp3/internal/http2/ErrorCode; errorCode "Lokhttp3/internal/http2/ErrorCode; ? ? ? setErrorCode$okhttp %(Lokhttp3/internal/http2/ErrorCode;)V getErrorException$okhttp ()Ljava/io/IOException; errorException Ljava/io/IOException; ? ? ? setErrorException$okhttp (Ljava/io/IOException;)V isOpen getFinished$okhttp ? T
3 ? getClosed$okhttp ? T
3 ? getFinished ? T
? ? getClosed ? T
? ? hasResponseHeaders ? o ? getClient$okhttp ? T
? streamIsClient takeHeaders ()Lokhttp3/Headers; java/io/IOException ? enter ?
H ? isEmpty ? T
, ? waitForIo$okhttp ?
? exitAndThrowIfTimedOut ?
H ? c ? removeFirst ()Ljava/lang/Object; ? ?
, ? headersQueue.removeFirst() ? checkNotNullExpressionValue ?
? +okhttp3/internal/http2/StreamResetException ? checkNotNull (Ljava/lang/Object;)V ? ?
? ?
? ? java/lang/Throwable ? trailers getReceiveBuffer ()Lokio/Buffer; ? ?
3 ? okio/Buffer ? exhausted ? T
? ?
getReadBuffer ? ?
3 ? getTrailers ? ?
3 ? okhttp3/internal/Util ?
EMPTY_HEADERS ? r ? ? &too early; can't read the trailers yet ? writeHeaders (Ljava/util/List;ZZ)V 6(Ljava/util/List;ZZ)V responseHeaders ? assertionsEnabled ? o ? ? java/lang/Thread ? holdsLock ? e
? ? java/lang/AssertionError ? java/lang/StringBuilder
Thread append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
currentThread ()Ljava/lang/Thread;
? getName \
? -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
MUST NOT hold lock on
] ?
? ?
setFinished (Z)V
? kotlin/Unit INSTANCE
Lkotlin/Unit;!" # v w
% ? y
' ? y
) writeHeaders$okhttp (IZLjava/util/List;)V+,
- flush/
0 $i$f$assertThreadDoesntHoldLock #$this$assertThreadDoesntHoldLock$iv Ljava/lang/Object; -$i$a$-synchronized-Http2Stream$writeHeaders$1 -$i$a$-synchronized-Http2Stream$writeHeaders$2 flushHeaders Ljava/util/List; java/util/List9 enqueueTrailers (Lokhttp3/Headers;)V ? already finished> size@ $
tA trailers.size() == 0C "java/lang/IllegalArgumentExceptionE
F ` setTrailersH<
?I +$i$a$-check-Http2Stream$enqueueTrailers$1$1 -$i$a$-require-Http2Stream$enqueueTrailers$1$2 0$i$a$-synchronized-Http2Stream$enqueueTrailers$1 ()Lokio/Timeout; okio/TimeoutO getSource ()Lokio/Source; okio/SourceS getSink
()Lokio/Sink; reply before requesting the sinkW okio/SinkY #$i$a$-check-Http2Stream$getSink$1$1 ($i$a$-synchronized-Http2Stream$getSink$1 close :(Lokhttp3/internal/http2/ErrorCode;Ljava/io/IOException;)V
rstStatusCode_
closeInternal :(Lokhttp3/internal/http2/ErrorCode;Ljava/io/IOException;)Zab
c writeSynReset$okhttp &(ILokhttp3/internal/http2/ErrorCode;)Vef
g
closeLater ? writeSynResetLater$okhttpkf
l ? ?
n ? ?
p ? ?
r ? ?
t notifyAllv
w removeStream$okhttp '(I)Lokhttp3/internal/http2/Http2Stream;yz
{ $i$f$notifyAll $this$notifyAll$iv .$i$a$-synchronized-Http2Stream$closeInternal$1 okhttp3/internal/http2/ErrorCode? receiveData (Lokio/BufferedSource;I)V : receive$okhttp (Lokio/BufferedSource;J)V??
3? Lokio/BufferedSource; length receiveHeaders (Lokhttp3/Headers;Z)V q
3I setFinished$okhttp?
3? ? T
? /$i$a$-synchronized-Http2Stream$receiveHeaders$1 open receiveRstStream cancelStreamIfNecessary$okhttp CANCEL? ? ??]^
? 8$i$a$-synchronized-Http2Stream$cancelStreamIfNecessary$1 cancel addBytesToWriteWindow delta checkOutNotClosed$okhttp
stream closed?
? ` stream finished? java/io/InterruptedIOException? java/lang/InterruptedException? wait?
? interrupt?
??
? $i$f$wait
$this$wait$iv _ Ljava/lang/InterruptedException; ,okhttp3/internal/http2/Http2Stream$Companion? 1(Lkotlin/jvm/internal/DefaultConstructorMarker;)V ?
?? Companion .Lokhttp3/internal/http2/Http2Stream$Companion;?? ? )Ljava/util/ArrayDeque; EMIT_BUFFER_SIZE @ Lkotlin/Metadata; mv k xi 0 d1???
??
??
??
??
??
??
?? _20:_`abB1??0000 0
¢J@0A2B0#J
C0AH??¢DJ
E0AH??¢FJG0A2H020JI02020HJJ0A20JK0A2L0
JM0NJO0PJ,0QJR0A240S2T0JU0A2 0
20JV0A20JW0
JL0
J
X0AH??¢YJ$Z0A2[0]0\202^0J>0QR0¢
??
R08@X¢
??"R0X¢
??"R0X¢
??R0
0X¢
??R0¢
??R08F¢ R!08F¢! R$$0#2"0#@@X¢
??%&"'(R$)0#2"0#@@X¢
??*&"+(R,0-R0??X¢
??./R001R0??X¢
??23R405R0??X¢
??67R$80#2"0#@@X¢
??9&":(R$;0#2"0#@@X¢
??<&"=(R>0-R0??X¢
???/¨c d2 cancelStreamIfNecessary checkOutNotClosed Lokio/Sink;
Lokio/Source; Lokio/Timeout; waitForIo Lokhttp3/internal/http2/Header; FramingSink
FramingSource
StreamTimeout okhttp Http2Stream.kt RuntimeInvisibleAnnotations Signature
ConstantValue Code
StackMapTable LineNumberTable LocalVariableTable $RuntimeInvisibleParameterAnnotations
Exceptions InnerClasses
SourceFile SourceDebugExtension RuntimeVisibleAnnotations 1 ?? ? ? z ( ? ( ? ( ' ( . / ? ?? ? o : ; ? C D ? L M ? P M ? ? ? ? ? ? ? ? ( ? ? ( ? ? ?,
? *? *? *,? **? ? ? &?? **? ,Y? -? 1*? 3Y**? ? 6? &?? 9? =*? ?Y*? B? F*? HY*? K? O*? HY*? K? R ? 8*? V? ? ? 6X:? ZY? ^? a?*? 1? c? g W? *? V? 6i:? ZY? ^? a? ? ? ? } t @? n %
' ( = # A . F 4 G ? H A F G J M K N J T M ` N l \ m ] r ^ ?? ? ^ ? ^ ? _ ? a ?? ? a ? a ? c ? &? R ? j ? k ? l m ? ? ? n o ? p o ? q r ? u $ ? / *? ? ? '? l m v w ? / *? ? ? (? l m ? x y ? / *? |? ? 1? l m } ~ ? : *? |? ? 2? l m ( ? y ? / *? ?? ? 5? l m ? ~ ? : *? ?? ? 6? l m ( ? y ? / *? ?? ? 9? l m ? ~ ? : *? ?? ? :? l m ( ? y ? / *? *? ? =? l m ? ~ ? : *? *? ? >? l m ( ? ? ? / *? =? ? F? l m ? ? ? ? / *? F? ? J? l m ? ? ? ? / *? O? ? M? l m ? ? ? ? / *? R? ? N? l m ? 1 ? ? ? / *? ?? ? W? l m ? ? ? ? : *+? ?? ? W? l m ? ? ? ? ? / *? ?? ? Z? l m ? ? ? ? : *+? ?? ? Z? l m ? ? 1 ? T ? ? <*? ?? ?*? =? ??
*? =? ?? *? F? ??
*? F? ?? *? ?? ?? ? ? p q s t 1 u 8 v : x? <