
retrofit.client.OkClient.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for connecting to the Relayr Cloud
The newest version!
???? 2 ?
? ? :? ? ?
? N
?
? ?
? ?
@ ? ? ?
? ? ?
? ?
?
? ?
? ? ?
?
? ?
?
? ?
? ?
? ?
?
? ? ? ? ? ? ?
! ? ?
! ?
?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
' ? ? ?
? ? ?
3 ?
? ? ?
6 ?
? ? ?
9 ?
? ?
? ?
! ? ? ? ? ? ? InnerClasses client "Lcom/squareup/okhttp/OkHttpClient; generateDefaultOkHttp $()Lcom/squareup/okhttp/OkHttpClient; Code LineNumberTable LocalVariableTable ()V this Lretrofit/client/OkClient; %(Lcom/squareup/okhttp/OkHttpClient;)V
StackMapTable ? ? execute 5(Lretrofit/client/Request;)Lretrofit/client/Response; request Lretrofit/client/Request;
Exceptions ?
createRequest 8(Lretrofit/client/Request;)Lcom/squareup/okhttp/Request; header Lretrofit/client/Header; value Ljava/lang/String; i I size builder Builder %Lcom/squareup/okhttp/Request$Builder; headers Ljava/util/List; LocalVariableTypeTable *Ljava/util/List; ? ? ? ? ?
parseResponse :(Lcom/squareup/okhttp/Response;)Lretrofit/client/Response; response Lcom/squareup/okhttp/Response; createRequestBody >(Lretrofit/mime/TypedOutput;)Lcom/squareup/okhttp/RequestBody; body Lretrofit/mime/TypedOutput; mediaType Lcom/squareup/okhttp/MediaType; createResponseBody >(Lcom/squareup/okhttp/ResponseBody;)Lretrofit/mime/TypedInput; "Lcom/squareup/okhttp/ResponseBody;
createHeaders /(Lcom/squareup/okhttp/Headers;)Ljava/util/List; Lcom/squareup/okhttp/Headers;
headerList Signature I(Lcom/squareup/okhttp/Headers;)Ljava/util/List;
SourceFile
OkClient.java com/squareup/okhttp/OkHttpClient J K retrofit/client/Defaults ? ? ? ? ? ? ? E F J N java/lang/NullPointerException client == null J ? C D X Y ? ? ? R ? m n ? #com/squareup/okhttp/Request$Builder ? ? ? ? ? ? ? ? ? q r ? ? ? ? ? ` ? ? ? retrofit/client/Header ? ? ? ? ? ? ? ? retrofit/client/Response ? T ? ? ? ? ? ? ? d ? z { s ? w x J ? ? ? ? ? ? ? retrofit/client/OkClient$1 J ? ? ? ? retrofit/client/OkClient$2 J ? ? java/util/ArrayList J ? ? ? \ ? J ? retrofit/client/OkClient java/lang/Object retrofit/client/Client java/io/IOException retrofit/client/Request java/util/List java/lang/String java/util/concurrent/TimeUnit MILLISECONDS Ljava/util/concurrent/TimeUnit; setConnectTimeout #(JLjava/util/concurrent/TimeUnit;)V setReadTimeout (Ljava/lang/String;)V newCall 9(Lcom/squareup/okhttp/Request;)Lcom/squareup/okhttp/Call; com/squareup/okhttp/Call ()Lcom/squareup/okhttp/Response; com/squareup/okhttp/Request getUrl ()Ljava/lang/String; url 9(Ljava/lang/String;)Lcom/squareup/okhttp/Request$Builder; getMethod getBody ()Lretrofit/mime/TypedOutput; method Z(Ljava/lang/String;Lcom/squareup/okhttp/RequestBody;)Lcom/squareup/okhttp/Request$Builder;
getHeaders ()Ljava/util/List; ()I get (I)Ljava/lang/Object; getValue getName addHeader K(Ljava/lang/String;Ljava/lang/String;)Lcom/squareup/okhttp/Request$Builder; build ()Lcom/squareup/okhttp/Request; com/squareup/okhttp/Response urlString code message ()Lcom/squareup/okhttp/Headers; $()Lcom/squareup/okhttp/ResponseBody; R(Ljava/lang/String;ILjava/lang/String;Ljava/util/List;Lretrofit/mime/TypedInput;)V retrofit/mime/TypedOutput mimeType com/squareup/okhttp/MediaType parse 3(Ljava/lang/String;)Lcom/squareup/okhttp/MediaType; =(Lcom/squareup/okhttp/MediaType;Lretrofit/mime/TypedOutput;)V com/squareup/okhttp/ResponseBody
contentLength ()J %(Lcom/squareup/okhttp/ResponseBody;)V com/squareup/okhttp/Headers (I)V name (I)Ljava/lang/String; '(Ljava/lang/String;Ljava/lang/String;)V add (Ljava/lang/Object;)Z ! ? @ A C D
E F G T ? Y? K* ? ? * ? ?
*? H # $ % &