okhttp3.ResponseBody.class Maven / Gradle / Ivy
???? 4 okhttp3/ResponseBody java/lang/Object java/io/Closeable ()V
this Lokhttp3/ResponseBody; contentType ()Lokhttp3/MediaType; $Lorg/jetbrains/annotations/Nullable;
contentLength ()J
byteStream ()Ljava/io/InputStream; #Lorg/jetbrains/annotations/NotNull; source ()Lokio/BufferedSource;
okio/BufferedSource inputStream bytes ()[B java/io/IOException java/lang/Throwable "
$ ??? .Cannot buffer entire body for content length: ( java/lang/Long * valueOf (J)Ljava/lang/Long; , -
+ . kotlin/jvm/internal/Intrinsics 0
stringPlus 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String; 2 3
1 4 (Ljava/lang/String;)V 6
! 7
readByteArray 9 : kotlin/io/CloseableKt < closeFinally +(Ljava/io/Closeable;Ljava/lang/Throwable;)V > ?
= @???????? java/lang/StringBuilder D
E Content-Length ( G append -(Ljava/lang/String;)Ljava/lang/StringBuilder; I J
E K (J)Ljava/lang/StringBuilder; I M
E N ) and stream length ( P (I)Ljava/lang/StringBuilder; I R
E S
) disagree U toString ()Ljava/lang/String; W X
E Y ($i$a$-consumeSource-ResponseBody$bytes$1 I p0 Lokio/BufferedSource; ($i$a$-consumeSource-ResponseBody$bytes$2 it [B $i$f$consumeSource contentLength$iv J bytes$iv Ljava/lang/Object; size$iv this_$iv a
byteString ()Lokio/ByteString; readByteString l k m okio/ByteString o size ()I q r
p s -$i$a$-consumeSource-ResponseBody$byteString$1 -$i$a$-consumeSource-ResponseBody$byteString$2 Lokio/ByteString;
consumeSource T(Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object; ?(Lkotlin/jvm/functions/Function1<-Lokio/BufferedSource;+TT;>;Lkotlin/jvm/functions/Function1<-TT;Ljava/lang/Integer;>;)TT; kotlin/jvm/functions/Function1 { invoke &(Ljava/lang/Object;)Ljava/lang/Object; } ~ | kotlin/jvm/internal/InlineMarker ? finallyStart (I)V ? ?
? ?
finallyEnd ? ?
? ? java/lang/Number ? intValue ? r
? ? consumer Lkotlin/jvm/functions/Function1;
sizeMapper
charStream ()Ljava/io/Reader; reader Ljava/io/Reader; ? ? ? #okhttp3/ResponseBody$BomAwareReader ? charset ()Ljava/nio/charset/Charset; ? ?
? 2(Lokio/BufferedSource;Ljava/nio/charset/Charset;)V ?
? ? java/io/Reader ? $$i$a$-also-ResponseBody$charStream$1 %Lokhttp3/ResponseBody$BomAwareReader; string okhttp3/internal/Util ? readBomAsCharset K(Lokio/BufferedSource;Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset; ? ?
? ?
readString .(Ljava/nio/charset/Charset;)Ljava/lang/String; ? ? ? $i$a$-use-ResponseBody$string$1 java/lang/String ?
? kotlin/text/Charsets ? UTF_8 Ljava/nio/charset/Charset; ? ? ? ? okhttp3/MediaType ? 6(Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset; ? ?
? ? java/nio/charset/Charset ? close closeQuietly (Ljava/io/Closeable;)V ? ?
? ? create =(Ljava/lang/String;Lokhttp3/MediaType;)Lokhttp3/ResponseBody; Lkotlin/jvm/JvmStatic; Lkotlin/jvm/JvmName; name Companion Lokhttp3/ResponseBody$Companion; ? ? ? okhttp3/ResponseBody$Companion ? ? ?
? ? $this$create Ljava/lang/String; Lokhttp3/MediaType; -([BLokhttp3/MediaType;)Lokhttp3/ResponseBody; ? ?
? ? <(Lokio/ByteString;Lokhttp3/MediaType;)Lokhttp3/ResponseBody; ? ?
? ? A(Lokio/BufferedSource;Lokhttp3/MediaType;J)Lokhttp3/ResponseBody; ? ?
? ? =(Lokhttp3/MediaType;Ljava/lang/String;)Lokhttp3/ResponseBody; Lkotlin/Deprecated; message IMoved to extension function. Put the 'content' argument first to fix Java replaceWith Lkotlin/ReplaceWith;
expression #content.toResponseBody(contentType) imports -okhttp3.ResponseBody.Companion.toResponseBody level Lkotlin/DeprecationLevel; WARNING ? ?
? ? content -(Lokhttp3/MediaType;[B)Lokhttp3/ResponseBody; ? ?
? ? <(Lokhttp3/MediaType;Lokio/ByteString;)Lokhttp3/ResponseBody; ? ?
? ? A(Lokhttp3/MediaType;JLokio/BufferedSource;)Lokhttp3/ResponseBody; 2content.asResponseBody(contentType, contentLength) -okhttp3.ResponseBody.Companion.asResponseBody ? ?
? ? 1(Lkotlin/jvm/internal/DefaultConstructorMarker;)V ?
? ? Lkotlin/Metadata; mv k xi 0 d1>??b
??
??
??
??
??
??
??
??
&?? !20: !B¢J0J0J 0
J0J0
HJ0HJ@H"??*020H02H00H¢J0H&J
0H&J0H&J0R0X¢
??¨" d2 Ljava/io/Closeable; Ljava/io/InputStream; T Lkotlin/Function1; BomAwareReader okhttp ResponseBody.kt RuntimeInvisibleAnnotations Code LineNumberTable LocalVariableTable
StackMapTable
Exceptions Signature RuntimeVisibleAnnotations $RuntimeInvisibleParameterAnnotations
Deprecated InnerClasses
SourceFile SourceDebugExtension! ? ? ? ? / *?
? d
4
*? ? ? p
? ?*L=+? %B! &?? ? !Y)!? /? 5? 8?+? ? :: ? :6? ; :? A? ::?:? A?: :6
?6! B?? 5!??? -? !Y? EY? FH? L!? OQ? L? TV? L? Z? 8? ? . B N # . B W N W W W Y W m ? " ? + #? # #? i i? G
i i i 6
| B C D "G 9 | cG eH l | qI ?J ?L ? | f
9 [ \ 6
] ^ l _ \
i ` a ? b \ ? c d e H e f q <