com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.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!
???? 3,
??
? ?????????? ?? ??
??
?? ??
~?
??
~?
~?
???
??
??? ??
??
?? ??
??
??
? ??
??
?
??
????
"??
"?
"?
"???
??
??
??
??
??
??
??
?? ????
3? ????
7?
??? ??
??
;?
??
~?? ??
~????
??
??
??
??
??
??
??
???
N?
N????
Q?
? ??
??
??
??
??
??
?? ?? ???
???
???
??
?? ?? ??
??
i?
i
i
?
i
i ?
?
i
?
?
?
?
~
~
~ ?!"
#
?
~$
%&'( ?)
?*
~+
,
~-
./
~0
~123 ?425 ?6
~78
?9:
~;
?<
~=
>?
?? @A
?BCDE
??
FGHI
FJKL
?M
N
O ?PQR
?S
TU
VWX
??
?YZ[\
?]
?^Z_
3`
?a ?bcde
"fg
?h ?ijkl
??m ???
no pqrstuvwx
yz
?{
|}~ METHODS Ljava/util/Set; Signature #Ljava/util/Set; EMPTY_REQUEST_BODY !Lcom/squareup/okhttp/RequestBody; client "Lcom/squareup/okhttp/OkHttpClient; requestHeaders Builder InnerClasses %Lcom/squareup/okhttp/Headers$Builder; fixedContentLength J
followUpCount I httpEngineFailure Ljava/io/IOException;
httpEngine .Lcom/squareup/okhttp/internal/http/HttpEngine; responseHeaders Lcom/squareup/okhttp/Headers; route Lcom/squareup/okhttp/Route; handshake Lcom/squareup/okhttp/Handshake; 3(Ljava/net/URL;Lcom/squareup/okhttp/OkHttpClient;)V Code LineNumberTable LocalVariableTable this 8Lcom/squareup/okhttp/internal/huc/HttpURLConnectionImpl; url Ljava/net/URL; connect ()V success Z
StackMapTable
Exceptions
disconnect getErrorStream ()Ljava/io/InputStream; response e~?
getHeaders ()Lcom/squareup/okhttp/Headers; Lcom/squareup/okhttp/Response; headers responseSourceHeader 2(Lcom/squareup/okhttp/Response;)Ljava/lang/String; getHeaderField (I)Ljava/lang/String; position &(Ljava/lang/String;)Ljava/lang/String; fieldName Ljava/lang/String;r getHeaderFieldKey getHeaderFields ()Ljava/util/Map; I()Ljava/util/Map;>; getRequestProperties getInputStream getOutputStream ()Ljava/io/OutputStream; sink Lokio/BufferedSink;
getPermission ()Ljava/security/Permission; proxyAddress Ljava/net/InetSocketAddress; hostName hostPort? getRequestProperty field setConnectTimeout (I)V
timeoutMillis setInstanceFollowRedirects (Z)V followRedirects getInstanceFollowRedirects ()Z getConnectTimeout ()I setReadTimeout getReadTimeout initHttpEngine
newHttpEngine ?(Ljava/lang/String;Lcom/squareup/okhttp/internal/http/StreamAllocation;Lcom/squareup/okhttp/internal/http/RetryableSink;Lcom/squareup/okhttp/Response;)Lcom/squareup/okhttp/internal/http/HttpEngine; i size method streamAllocation 4Lcom/squareup/okhttp/internal/http/StreamAllocation; requestBody 1Lcom/squareup/okhttp/internal/http/RetryableSink;
priorResponse placeholderBody httpUrl Lcom/squareup/okhttp/HttpUrl; builder %Lcom/squareup/okhttp/Request$Builder; bufferRequestBody request Lcom/squareup/okhttp/Request; engineClient??&??????? defaultUserAgent ()Ljava/lang/String; agent getResponse 0()Lcom/squareup/okhttp/internal/http/HttpEngine; followUp Lokio/Sink;? execute (Z)Z
connection Lcom/squareup/okhttp/Connection; toThrow 4Lcom/squareup/okhttp/internal/http/RequestException; retryEngine 2Lcom/squareup/okhttp/internal/http/RouteException; readResponse releaseConnection?8:?
usingProxy proxy Ljava/net/Proxy;? getResponseMessage getResponseCode setRequestProperty '(Ljava/lang/String;Ljava/lang/String;)V newValue setIfModifiedSince (J)V addRequestProperty value setProtocols (Ljava/lang/String;Z)V protocol protocolsString append
protocolsList Ljava/util/List; LocalVariableTypeTable 0Ljava/util/List;?? setRequestMethod (Ljava/lang/String;)V setFixedLengthStreamingMode
contentLength
SourceFile HttpURLConnectionImpl.java ??? #com/squareup/okhttp/Headers$Builder ? ? ? ? ? ? ??fg ? ??aba?????< java/net/HttpURLConnection???? java/io/IOException ? ?????????_???????? NONE java/lang/StringBuilder CACHE ???? NETWORK CONDITIONAL_CACHE ??????????!? java/lang/IllegalStateException ;Cannot access request header fields after connection is set ??? java/net/ProtocolException $This protocol does not support inputy< java/io/FileNotFoundException??? (method does not support a request body: D?: 6cannot write request body after response has been read?&???_?<?_???t:?????? java/net/InetSocketAddress?_ java/net/SocketPermission : connect, resolve ?{???3??7?:;<=?>< ? ?? GET?? POST??? does not support writing@A?? ? ??????? #com/squareup/okhttp/Request$Builder?D?C<?? Content-Length?????? ? Transfer-Encoding chunked Content-Type !application/x-www-form-urlencoded
User-Agent^_?????:???? ,com/squareup/okhttp/internal/http/HttpEngine ??
http.agent??????_??? ? ? Too many follow-up requests: ???D_ /com/squareup/okhttp/internal/http/RetryableSink java/net/HttpRetryException Cannot retry streamed HTTP body? ? ????K??????????? ? ??? ? ?n 2com/squareup/okhttp/internal/http/RequestException? 0com/squareup/okhttp/internal/http/RouteException
_ 4Cannot set request property after connection is made java/lang/NullPointerException
field == null
? Ignoring header because its value was null.? X-Android-Transports X-Android-Protocols???}~ ? If-Modified-Since java/util/Date ?~ 4Cannot add request property after connection is made java/util/ArrayList? ,??? ?? ? ? !? Expected one of ?" but was ?~ Already connected Already in chunked mode "java/lang/IllegalArgumentException contentLength < 0 java/lang/Integer#$% ? ? java/util/LinkedHashSet java/lang/String OPTIONS HEAD PUT DELETE TRACE PATCH&'( ?)?*+ 6com/squareup/okhttp/internal/huc/HttpURLConnectionImpl okio/BufferedSink java/net/URL com/squareup/okhttp/RequestBody 2com/squareup/okhttp/internal/http/StreamAllocation com/squareup/okhttp/Response com/squareup/okhttp/HttpUrl com/squareup/okhttp/Headers com/squareup/okhttp/Request com/squareup/okhttp/OkHttpClient java/net/MalformedURLException java/net/UnknownHostException okio/Sink com/squareup/okhttp/Connection java/lang/Throwable java/net/Proxy java/util/List [Ljava/lang/String; (Ljava/net/URL;)V cancel ()Lcom/squareup/okhttp/Response; hasBody !(Lcom/squareup/okhttp/Response;)Z code body $()Lcom/squareup/okhttp/ResponseBody; com/squareup/okhttp/ResponseBody
byteStream
newBuilder '()Lcom/squareup/okhttp/Headers$Builder; +com/squareup/okhttp/internal/http/OkHeaders SELECTED_PROTOCOL ()Lcom/squareup/okhttp/Protocol; com/squareup/okhttp/Protocol toString add K(Ljava/lang/String;Ljava/lang/String;)Lcom/squareup/okhttp/Headers$Builder; RESPONSE_SOURCE build networkResponse
cacheResponse -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; ,com/squareup/okhttp/internal/http/StatusLine get N(Lcom/squareup/okhttp/Response;)Lcom/squareup/okhttp/internal/http/StatusLine; name
toMultimap @(Lcom/squareup/okhttp/Headers;Ljava/lang/String;)Ljava/util/Map; java/util/Collections emptyMap connected doInput getBufferedRequestBody ()Lokio/BufferedSink; hasResponse outputStream getURL ()Ljava/net/URL; getHost getPort getProtocol defaultPort (Ljava/lang/String;)I getProxy ()Ljava/net/Proxy; address ()Ljava/net/SocketAddress; getHostName java/util/concurrent/TimeUnit MILLISECONDS Ljava/util/concurrent/TimeUnit; #(JLjava/util/concurrent/TimeUnit;)V setFollowRedirects getFollowRedirects doOutput equals (Ljava/lang/Object;)Z ,com/squareup/okhttp/internal/http/HttpMethod permitsRequestBody (Ljava/lang/String;)Z requiresRequestBody %com/squareup/okhttp/internal/Internal instance 'Lcom/squareup/okhttp/internal/Internal; getHttpUrlChecked 1(Ljava/lang/String;)Lcom/squareup/okhttp/HttpUrl; D(Lcom/squareup/okhttp/HttpUrl;)Lcom/squareup/okhttp/Request$Builder; Z(Ljava/lang/String;Lcom/squareup/okhttp/RequestBody;)Lcom/squareup/okhttp/Request$Builder; addHeader K(Ljava/lang/String;Ljava/lang/String;)Lcom/squareup/okhttp/Request$Builder; java/lang/Long (J)Ljava/lang/String; header chunkLength ()Lcom/squareup/okhttp/Request;
internalCache P(Lcom/squareup/okhttp/OkHttpClient;)Lcom/squareup/okhttp/internal/InternalCache; getUseCaches clone $()Lcom/squareup/okhttp/OkHttpClient; setCache ?(Lcom/squareup/okhttp/Cache;)Lcom/squareup/okhttp/OkHttpClient; ?(Lcom/squareup/okhttp/OkHttpClient;Lcom/squareup/okhttp/Request;ZZZLcom/squareup/okhttp/internal/http/StreamAllocation;Lcom/squareup/okhttp/internal/http/RetryableSink;Lcom/squareup/okhttp/Response;)V java/lang/System getProperty !com/squareup/okhttp/internal/Util toHumanReadableAscii $com/squareup/okhttp/internal/Version userAgent followUpRequest releaseStreamAllocation getRequestBody
()Lokio/Sink; responseCode (Ljava/lang/String;I)V close 6()Lcom/squareup/okhttp/internal/http/StreamAllocation; ()Lcom/squareup/okhttp/HttpUrl; sameConnection (Lcom/squareup/okhttp/HttpUrl;)Z release sendRequest
getConnection "()Lcom/squareup/okhttp/Connection; getRoute ()Lcom/squareup/okhttp/Route; getHandshake !()Lcom/squareup/okhttp/Handshake; getCause ()Ljava/io/IOException; recover b(Lcom/squareup/okhttp/internal/http/RouteException;)Lcom/squareup/okhttp/internal/http/HttpEngine; getLastConnectException E(Ljava/io/IOException;)Lcom/squareup/okhttp/internal/http/HttpEngine; com/squareup/okhttp/Route type Type ()Ljava/net/Proxy$Type; java/net/Proxy$Type DIRECT Ljava/net/Proxy$Type; message %com/squareup/okhttp/internal/Platform )()Lcom/squareup/okhttp/internal/Platform; logW set ifModifiedSince *com/squareup/okhttp/internal/http/HttpDate format $(Ljava/util/Date;)Ljava/lang/String; removeAll 9(Ljava/lang/String;)Lcom/squareup/okhttp/Headers$Builder; getProtocols ()Ljava/util/List; addAll (Ljava/util/Collection;)Z split ((Ljava/lang/String;I)[Ljava/lang/String; 2(Ljava/lang/String;)Lcom/squareup/okhttp/Protocol; (Ljava/lang/Throwable;)V 4(Ljava/util/List;)Lcom/squareup/okhttp/OkHttpClient;
java/util/Set contains -(Ljava/lang/Object;)Ljava/lang/StringBuilder; java/lang/Math min (JJ)J java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; (Ljava/util/Collection;)V create D(Lcom/squareup/okhttp/MediaType;[B)Lcom/squareup/okhttp/RequestBody; ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? % ? ? ? k *+? *? Y? ? * ? *,? ? ? o X [ p q ? ? ? ? X *? *?
<???? ? t w
x y ?
? K *? ? ?*? ? ? ? } ? ? ? ? ,*?
L+? ? ? +? ? ?? +? ? ? ??L? &