com.squareup.okhttp.internal.http.HttpEngine.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
???? 3i??
U? U? U?
?????????? U? U? U? U? U? U??
??
U?
? U? U? U? U??
?
U? ??
????
???
?
? ?? ?? U???
??
??
U???
U?
??? ????
????
1?
1???
??
<?
U?
<?
<?
<? U??
<? ??
<?
<??
<? U?
<?
U?
???
??
??
??
??
??
?
?? U?
U?
?
U
U
U
?
? ?
? U
U
?
?
g
?
?
?
< !
?"
p#
?$%
?&
?'()
?*+
?
?,
?-
U./01
?2
U3
?
?4
?5
67
?89
:;<=
?>
??@A
BC@D
1E
FG@HIH?J
UK
UL
UM
<N
H
UO?P?Q
UR
US
UT?U?V
WX
<Y ?Z
<[ ?\?]G
^_`a
?bc
d
efg
??
h
i
jkl
?m
?n
o
?p
6qrs
tu
?u
vw xyz{
??
?|
?}
?~
??
??
??
??
U?
U??
U??
U?
??
??
??
??
??
???
??
??
??
??
??
???
??? NetworkInterceptorChain InnerClasses MAX_FOLLOW_UPS I
ConstantValue
EMPTY_BODY "Lcom/squareup/okhttp/ResponseBody; client "Lcom/squareup/okhttp/OkHttpClient; streamAllocation 4Lcom/squareup/okhttp/internal/http/StreamAllocation;
priorResponse Lcom/squareup/okhttp/Response;
httpStream .Lcom/squareup/okhttp/internal/http/HttpStream; sentRequestMillis J transparentGzip Z bufferRequestBody userRequest Lcom/squareup/okhttp/Request; networkRequest
cacheResponse userResponse requestBodyOut Lokio/Sink; bufferedRequestBody Lokio/BufferedSink; callerWritesRequestBody forWebSocket storeRequest 0Lcom/squareup/okhttp/internal/http/CacheRequest;
cacheStrategy 1Lcom/squareup/okhttp/internal/http/CacheStrategy; ?(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 Code LineNumberTable LocalVariableTable this .Lcom/squareup/okhttp/internal/http/HttpEngine; request 1Lcom/squareup/okhttp/internal/http/RetryableSink;
StackMapTable????? sendRequest ()V
contentLength
responseCache ,Lcom/squareup/okhttp/internal/InternalCache; cacheCandidate now?
Exceptions?? connect 0()Lcom/squareup/okhttp/internal/http/HttpStream; doExtensiveHealthChecks stripBody >(Lcom/squareup/okhttp/Response;)Lcom/squareup/okhttp/Response; response writingRequestHeaders permitsRequestBody (Lcom/squareup/okhttp/Request;)Z getRequestBody
()Lokio/Sink; getBufferedRequestBody ()Lokio/BufferedSink; result requestBody?? hasResponse ()Z
getRequest ()Lcom/squareup/okhttp/Request; getResponse ()Lcom/squareup/okhttp/Response;
getConnection "()Lcom/squareup/okhttp/Connection; recover b(Lcom/squareup/okhttp/internal/http/RouteException;)Lcom/squareup/okhttp/internal/http/HttpEngine; e 2Lcom/squareup/okhttp/internal/http/RouteException; P(Ljava/io/IOException;Lokio/Sink;)Lcom/squareup/okhttp/internal/http/HttpEngine; Ljava/io/IOException; E(Ljava/io/IOException;)Lcom/squareup/okhttp/internal/http/HttpEngine;
maybeCache releaseStreamAllocation cancel close 6()Lcom/squareup/okhttp/internal/http/StreamAllocation; unzip responseBody Lokio/GzipSource; strippedHeaders Lcom/squareup/okhttp/Headers; hasBody !(Lcom/squareup/okhttp/Response;)Z responseCode <(Lcom/squareup/okhttp/Request;)Lcom/squareup/okhttp/Request; headers Ljava/util/Map; cookies? Builder %Lcom/squareup/okhttp/Request$Builder;
cookieHandler Ljava/net/CookieHandler; LocalVariableTypeTable GLjava/util/Map;>;?? readResponse networkResponse readNetworkResponse cacheWritingResponse n(Lcom/squareup/okhttp/internal/http/CacheRequest;Lcom/squareup/okhttp/Response;)Lcom/squareup/okhttp/Response; cacheRequest cacheBodyUnbuffered source Lokio/BufferedSource; cacheBody cacheWritingSource
Lokio/Source; validate ?(Lcom/squareup/okhttp/Response;Lcom/squareup/okhttp/Response;)Z networkLastModified Ljava/util/Date; cached network lastModified? combine Y(Lcom/squareup/okhttp/Headers;Lcom/squareup/okhttp/Headers;)Lcom/squareup/okhttp/Headers; fieldName Ljava/lang/String; value i size
cachedHeaders networkHeaders %Lcom/squareup/okhttp/Headers$Builder;g? receiveHeaders (Lcom/squareup/okhttp/Headers;)V followUpRequest location url Lcom/squareup/okhttp/HttpUrl;
sameScheme requestBuilder
connection Lcom/squareup/okhttp/Connection; route Lcom/squareup/okhttp/Route;
selectedProxy Ljava/net/Proxy; method???? sameConnection (Lcom/squareup/okhttp/HttpUrl;)Z followUp
createAddress ^(Lcom/squareup/okhttp/OkHttpClient;Lcom/squareup/okhttp/Request;)Lcom/squareup/okhttp/Address; sslSocketFactory Ljavax/net/ssl/SSLSocketFactory; hostnameVerifier Ljavax/net/ssl/HostnameVerifier; certificatePinner 'Lcom/squareup/okhttp/CertificatePinner;???
access$000 ^(Lcom/squareup/okhttp/internal/http/HttpEngine;)Lcom/squareup/okhttp/internal/http/HttpStream; x0
access$102 j(Lcom/squareup/okhttp/internal/http/HttpEngine;Lcom/squareup/okhttp/Request;)Lcom/squareup/okhttp/Request; x1
access$200 N(Lcom/squareup/okhttp/internal/http/HttpEngine;)Lcom/squareup/okhttp/Response;
SourceFile HttpEngine.java java/net/HttpURLConnection ,com/squareup/okhttp/internal/http/StatusLine`9 ? ? ? ? ? ? ? ? ? ? ? ? ? ? 2com/squareup/okhttp/internal/http/StreamAllocation?????? ? ? ? ? ? ? java/lang/IllegalStateException ?Q???????????? 7com/squareup/okhttp/internal/http/CacheStrategy$Factory Factory??? ? ?????????#$???*+?? java/lang/Integer ^Use setFixedLengthStreamingMode() or setChunkedStreamingMode() for requests larger than 2 GiB.??? /com/squareup/okhttp/internal/http/RetryableSink??????&' ?? ???9 ? ? $com/squareup/okhttp/Response$Builder??????? &Unsatisfiable Request (only-if-cached)?? ? ???I'??? GET??????????5???*? ,-?????<?GH ,com/squareup/okhttp/internal/http/HttpEngine <?<@?????? java/io/IOException???F? ? ? gzip Content-Encoding???? okio/GzipSource?e??R??? Content-Length??R 2com/squareup/okhttp/internal/http/RealResponseBody?7 HEAD?? chunked Transfer-Encoding? Host
?
Connection
Keep-Alive Accept-Encoding
?7??
User-Agent? call sendRequest() first! Dcom/squareup/okhttp/internal/http/HttpEngine$NetworkInterceptorChain???x?/?G? !~jkrs_?E"#$NOCab%&?'()*+,u?-.u/012?- .com/squareup/okhttp/internal/http/HttpEngine$23
Last-Modified45?6? #com/squareup/okhttp/Headers$Builderx?78v8 Warning 19?:???;<?=?>??@A?BDEFG java/net/ProtocolException 9Received HTTP_PROXY_AUTH (407) code while not using proxyHIJKL5 Location?MNO?P5Q??RST Content-Type??
Authorization?UV?W?X5YZ[\]^ com/squareup/okhttp/Address_`abcdedfgh .com/squareup/okhttp/internal/http/HttpEngine$1 java/lang/Object com/squareup/okhttp/OkHttpClient com/squareup/okhttp/Request com/squareup/okhttp/Response *com/squareup/okhttp/internal/InternalCache 2com/squareup/okhttp/internal/http/RequestException 0com/squareup/okhttp/internal/http/RouteException okio/BufferedSink okio/Sink #com/squareup/okhttp/Request$Builder java/net/CookieHandler java/util/Date java/lang/String com/squareup/okhttp/Connection com/squareup/okhttp/Route java/net/Proxy com/squareup/okhttp/HttpUrl javax/net/ssl/SSLSocketFactory javax/net/ssl/HostnameVerifier %com/squareup/okhttp/CertificatePinner getConnectionPool &()Lcom/squareup/okhttp/ConnectionPool; D(Lcom/squareup/okhttp/ConnectionPool;Lcom/squareup/okhttp/Address;)V %com/squareup/okhttp/internal/Internal instance 'Lcom/squareup/okhttp/internal/Internal;
internalCache P(Lcom/squareup/okhttp/OkHttpClient;)Lcom/squareup/okhttp/internal/InternalCache; get =(Lcom/squareup/okhttp/Request;)Lcom/squareup/okhttp/Response; java/lang/System currentTimeMillis ()J /com/squareup/okhttp/internal/http/CacheStrategy ?(JLcom/squareup/okhttp/Request;Lcom/squareup/okhttp/Response;)V 3()Lcom/squareup/okhttp/internal/http/CacheStrategy;
trackResponse 4(Lcom/squareup/okhttp/internal/http/CacheStrategy;)V body $()Lcom/squareup/okhttp/ResponseBody; !com/squareup/okhttp/internal/Util closeQuietly (Ljava/io/Closeable;)V ,com/squareup/okhttp/internal/http/HttpStream
setHttpEngine 1(Lcom/squareup/okhttp/internal/http/HttpEngine;)V +com/squareup/okhttp/internal/http/OkHeaders (Lcom/squareup/okhttp/Request;)J (Ljava/lang/String;)V writeRequestHeaders (Lcom/squareup/okhttp/Request;)V (I)V createRequestBody +(Lcom/squareup/okhttp/Request;J)Lokio/Sink;
newBuilder (()Lcom/squareup/okhttp/Response$Builder; E(Lcom/squareup/okhttp/Request;)Lcom/squareup/okhttp/Response$Builder; F(Lcom/squareup/okhttp/Response;)Lcom/squareup/okhttp/Response$Builder; build com/squareup/okhttp/Protocol HTTP_1_1 Lcom/squareup/okhttp/Protocol; protocol F(Lcom/squareup/okhttp/Protocol;)Lcom/squareup/okhttp/Response$Builder; code )(I)Lcom/squareup/okhttp/Response$Builder; message :(Ljava/lang/String;)Lcom/squareup/okhttp/Response$Builder; J(Lcom/squareup/okhttp/ResponseBody;)Lcom/squareup/okhttp/Response$Builder; ()Ljava/lang/String; equals (Ljava/lang/Object;)Z getConnectTimeout ()I getReadTimeout getWriteTimeout getRetryOnConnectionFailure newStream 5(IIIZZ)Lcom/squareup/okhttp/internal/http/HttpStream; ,com/squareup/okhttp/internal/http/HttpMethod (Ljava/lang/String;)Z okio/Okio buffer (Lokio/Sink;)Lokio/BufferedSink; 2()Lcom/squareup/okhttp/internal/io/RealConnection; 5(Lcom/squareup/okhttp/internal/http/RouteException;)Z #(Ljava/io/IOException;Lokio/Sink;)Z isCacheable >(Lcom/squareup/okhttp/Response;Lcom/squareup/okhttp/Request;)Z invalidatesCache remove put P(Lcom/squareup/okhttp/Response;)Lcom/squareup/okhttp/internal/http/CacheRequest; release connectionFailed header &(Ljava/lang/String;)Ljava/lang/String; equalsIgnoreCase com/squareup/okhttp/ResponseBody ()Lokio/BufferedSource; (Lokio/Source;)V ()Lcom/squareup/okhttp/Headers; com/squareup/okhttp/Headers '()Lcom/squareup/okhttp/Headers$Builder; removeAll 9(Ljava/lang/String;)Lcom/squareup/okhttp/Headers$Builder; E(Lcom/squareup/okhttp/Headers;)Lcom/squareup/okhttp/Response$Builder; $(Lokio/Source;)Lokio/BufferedSource; 5(Lcom/squareup/okhttp/Headers;Lokio/BufferedSource;)V !(Lcom/squareup/okhttp/Response;)J '()Lcom/squareup/okhttp/Request$Builder; httpUrl ()Lcom/squareup/okhttp/HttpUrl;
hostHeader 1(Lcom/squareup/okhttp/HttpUrl;)Ljava/lang/String; K(Ljava/lang/String;Ljava/lang/String;)Lcom/squareup/okhttp/Request$Builder; getCookieHandler ()Ljava/net/CookieHandler;
toMultimap @(Lcom/squareup/okhttp/Headers;Ljava/lang/String;)Ljava/util/Map; uri ()Ljava/net/URI; .(Ljava/net/URI;Ljava/util/Map;)Ljava/util/Map;
addCookies 7(Lcom/squareup/okhttp/Request$Builder;Ljava/util/Map;)V $com/squareup/okhttp/internal/Version userAgent O(Lcom/squareup/okhttp/internal/http/HttpEngine;ILcom/squareup/okhttp/Request;)V proceed ()Lokio/Buffer; okio/Buffer emit java/lang/Long toString (J)Ljava/lang/String; writeRequestBody 4(Lcom/squareup/okhttp/internal/http/RetryableSink;)V trackConditionalCacheHit update ?(Lcom/squareup/okhttp/Response;Lcom/squareup/okhttp/Response;)V
finishRequest readResponseHeaders .com/squareup/okhttp/internal/io/RealConnection getHandshake !()Lcom/squareup/okhttp/Handshake; handshake G(Lcom/squareup/okhttp/Handshake;)Lcom/squareup/okhttp/Response$Builder; SENT_MILLIS L(Ljava/lang/String;Ljava/lang/String;)Lcom/squareup/okhttp/Response$Builder; RECEIVED_MILLIS openResponseBody B(Lcom/squareup/okhttp/Response;)Lcom/squareup/okhttp/ResponseBody; noNewStreams .com/squareup/okhttp/internal/http/CacheRequest ?(Lcom/squareup/okhttp/internal/http/HttpEngine;Lokio/BufferedSource;Lcom/squareup/okhttp/internal/http/CacheRequest;Lokio/BufferedSink;)V getDate $(Ljava/lang/String;)Ljava/util/Date; getTime name (I)Ljava/lang/String;
startsWith
isEndToEnd add K(Ljava/lang/String;Ljava/lang/String;)Lcom/squareup/okhttp/Headers$Builder; (Ljava/net/URI;Ljava/util/Map;)V getRoute ()Lcom/squareup/okhttp/Route; getProxy ()Ljava/net/Proxy; type Type ()Ljava/net/Proxy$Type; java/net/Proxy$Type HTTP Ljava/net/Proxy$Type; getAuthenticator %()Lcom/squareup/okhttp/Authenticator; processAuthHeader p(Lcom/squareup/okhttp/Authenticator;Lcom/squareup/okhttp/Response;Ljava/net/Proxy;)Lcom/squareup/okhttp/Request; getFollowRedirects resolve 1(Ljava/lang/String;)Lcom/squareup/okhttp/HttpUrl; scheme getFollowSslRedirects redirectsToGet Z(Ljava/lang/String;Lcom/squareup/okhttp/RequestBody;)Lcom/squareup/okhttp/Request$Builder; removeHeader 9(Ljava/lang/String;)Lcom/squareup/okhttp/Request$Builder; D(Lcom/squareup/okhttp/HttpUrl;)Lcom/squareup/okhttp/Request$Builder; host port isHttps getSslSocketFactory "()Ljavax/net/ssl/SSLSocketFactory; getHostnameVerifier "()Ljavax/net/ssl/HostnameVerifier; getCertificatePinner )()Lcom/squareup/okhttp/CertificatePinner; getDns ()Lcom/squareup/okhttp/Dns; getSocketFactory ()Ljavax/net/SocketFactory; getProtocols ()Ljava/util/List; getConnectionSpecs getProxySelector ()Ljava/net/ProxySelector;(Ljava/lang/String;ILcom/squareup/okhttp/Dns;Ljavax/net/SocketFactory;Ljavax/net/ssl/SSLSocketFactory;Ljavax/net/ssl/HostnameVerifier;Lcom/squareup/okhttp/CertificatePinner;Lcom/squareup/okhttp/Authenticator;Ljava/net/Proxy;Ljava/util/List;Ljava/util/List;Ljava/net/ProxySelector;)V 1 U ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #
@ Q*? * ? *+?
*,? *? *?
*? *? ? ? Y+? +,? ? ? *? *? ? 2 ? q ? ? ? ? ? &