All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.squareup.okhttp.internal.http.HttpEngine.class Maven / Gradle / Ivy

There is a newer version: 1.4
Show newest version
????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InnerClassesMAX_FOLLOW_UPSI
ConstantValue
EMPTY_BODY"Lcom/squareup/okhttp/ResponseBody;client"Lcom/squareup/okhttp/OkHttpClient;streamAllocation4Lcom/squareup/okhttp/internal/http/StreamAllocation;
priorResponseLcom/squareup/okhttp/Response;
httpStream.Lcom/squareup/okhttp/internal/http/HttpStream;sentRequestMillisJtransparentGzipZbufferRequestBodyuserRequestLcom/squareup/okhttp/Request;networkRequest
cacheResponseuserResponserequestBodyOutLokio/Sink;bufferedRequestBodyLokio/BufferedSink;callerWritesRequestBodyforWebSocketstoreRequest0Lcom/squareup/okhttp/internal/http/CacheRequest;
cacheStrategy1Lcom/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;)VCodeLineNumberTableLocalVariableTablethis.Lcom/squareup/okhttp/internal/http/HttpEngine;request1Lcom/squareup/okhttp/internal/http/RetryableSink;
StackMapTable?????sendRequest()V
contentLength
responseCache,Lcom/squareup/okhttp/internal/InternalCache;cacheCandidatenow?
Exceptions??connect0()Lcom/squareup/okhttp/internal/http/HttpStream;doExtensiveHealthChecks	stripBody>(Lcom/squareup/okhttp/Response;)Lcom/squareup/okhttp/Response;responsewritingRequestHeaderspermitsRequestBody (Lcom/squareup/okhttp/Request;)ZgetRequestBody
()Lokio/Sink;getBufferedRequestBody()Lokio/BufferedSink;resultrequestBody??hasResponse()Z
getRequest()Lcom/squareup/okhttp/Request;getResponse ()Lcom/squareup/okhttp/Response;
getConnection"()Lcom/squareup/okhttp/Connection;recoverb(Lcom/squareup/okhttp/internal/http/RouteException;)Lcom/squareup/okhttp/internal/http/HttpEngine;e2Lcom/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;
maybeCachereleaseStreamAllocationcancelclose6()Lcom/squareup/okhttp/internal/http/StreamAllocation;unzipresponseBodyLokio/GzipSource;strippedHeadersLcom/squareup/okhttp/Headers;hasBody!(Lcom/squareup/okhttp/Response;)ZresponseCode<(Lcom/squareup/okhttp/Request;)Lcom/squareup/okhttp/Request;headersLjava/util/Map;cookies?Builder%Lcom/squareup/okhttp/Request$Builder;
cookieHandlerLjava/net/CookieHandler;LocalVariableTypeTableGLjava/util/Map;>;??readResponsenetworkResponsereadNetworkResponsecacheWritingResponsen(Lcom/squareup/okhttp/internal/http/CacheRequest;Lcom/squareup/okhttp/Response;)Lcom/squareup/okhttp/Response;cacheRequestcacheBodyUnbufferedsourceLokio/BufferedSource;	cacheBodycacheWritingSource
Lokio/Source;validate?(Lcom/squareup/okhttp/Response;Lcom/squareup/okhttp/Response;)ZnetworkLastModifiedLjava/util/Date;cachednetworklastModified?combineY(Lcom/squareup/okhttp/Headers;Lcom/squareup/okhttp/Headers;)Lcom/squareup/okhttp/Headers;	fieldNameLjava/lang/String;valueisize
cachedHeadersnetworkHeaders%Lcom/squareup/okhttp/Headers$Builder;g?receiveHeaders (Lcom/squareup/okhttp/Headers;)VfollowUpRequestlocationurlLcom/squareup/okhttp/HttpUrl;
sameSchemerequestBuilder
connection Lcom/squareup/okhttp/Connection;routeLcom/squareup/okhttp/Route;
selectedProxyLjava/net/Proxy;method????sameConnection (Lcom/squareup/okhttp/HttpUrl;)ZfollowUp
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$102j(Lcom/squareup/okhttp/internal/http/HttpEngine;Lcom/squareup/okhttp/Request;)Lcom/squareup/okhttp/Request;x1
access$200N(Lcom/squareup/okhttp/internal/http/HttpEngine;)Lcom/squareup/okhttp/Response;
SourceFileHttpEngine.javajava/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$FactoryFactory?????????????#$???*+??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???gzipContent-Encoding????okio/GzipSource?e??R???Content-Length??R2com/squareup/okhttp/internal/http/RealResponseBody?7HEAD??chunkedTransfer-Encoding?Host	
?
Connection
Keep-AliveAccept-Encoding
?7??
User-Agent?call sendRequest() first!Dcom/squareup/okhttp/internal/http/HttpEngine$NetworkInterceptorChain???x?/?G? !~jkrs_?E"#$NOCab%&?'()*+,u?-.u/012?-.com/squareup/okhttp/internal/http/HttpEngine$23
Last-Modified45?6?#com/squareup/okhttp/Headers$Builderx?78v8Warning19?:???;<?=?>??@A?BDEFGjava/net/ProtocolException9Received HTTP_PROXY_AUTH (407) code while not using proxyHIJKL5Location?MNO?P5Q??RSTContent-Type??
Authorization?UV?W?X5YZ[\]^com/squareup/okhttp/Address_`abcdedfgh.com/squareup/okhttp/internal/http/HttpEngine$1java/lang/Object com/squareup/okhttp/OkHttpClientcom/squareup/okhttp/Requestcom/squareup/okhttp/Response*com/squareup/okhttp/internal/InternalCache2com/squareup/okhttp/internal/http/RequestException0com/squareup/okhttp/internal/http/RouteExceptionokio/BufferedSink	okio/Sink#com/squareup/okhttp/Request$Builderjava/net/CookieHandlerjava/util/Datejava/lang/Stringcom/squareup/okhttp/Connectioncom/squareup/okhttp/Routejava/net/Proxycom/squareup/okhttp/HttpUrljavax/net/ssl/SSLSocketFactoryjavax/net/ssl/HostnameVerifier%com/squareup/okhttp/CertificatePinnergetConnectionPool&()Lcom/squareup/okhttp/ConnectionPool;D(Lcom/squareup/okhttp/ConnectionPool;Lcom/squareup/okhttp/Address;)V%com/squareup/okhttp/internal/Internalinstance'Lcom/squareup/okhttp/internal/Internal;
internalCacheP(Lcom/squareup/okhttp/OkHttpClient;)Lcom/squareup/okhttp/internal/InternalCache;get=(Lcom/squareup/okhttp/Request;)Lcom/squareup/okhttp/Response;java/lang/SystemcurrentTimeMillis()J/com/squareup/okhttp/internal/http/CacheStrategy?(JLcom/squareup/okhttp/Request;Lcom/squareup/okhttp/Response;)V3()Lcom/squareup/okhttp/internal/http/CacheStrategy;
trackResponse4(Lcom/squareup/okhttp/internal/http/CacheStrategy;)Vbody$()Lcom/squareup/okhttp/ResponseBody;!com/squareup/okhttp/internal/UtilcloseQuietly(Ljava/io/Closeable;)V,com/squareup/okhttp/internal/http/HttpStream
setHttpEngine1(Lcom/squareup/okhttp/internal/http/HttpEngine;)V+com/squareup/okhttp/internal/http/OkHeaders (Lcom/squareup/okhttp/Request;)J(Ljava/lang/String;)VwriteRequestHeaders (Lcom/squareup/okhttp/Request;)V(I)VcreateRequestBody+(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;buildcom/squareup/okhttp/ProtocolHTTP_1_1Lcom/squareup/okhttp/Protocol;protocolF(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;)ZgetConnectTimeout()IgetReadTimeoutgetWriteTimeoutgetRetryOnConnectionFailure	newStream5(IIIZZ)Lcom/squareup/okhttp/internal/http/HttpStream;,com/squareup/okhttp/internal/http/HttpMethod(Ljava/lang/String;)Z	okio/Okiobuffer (Lokio/Sink;)Lokio/BufferedSink;2()Lcom/squareup/okhttp/internal/io/RealConnection;5(Lcom/squareup/okhttp/internal/http/RouteException;)Z#(Ljava/io/IOException;Lokio/Sink;)ZisCacheable>(Lcom/squareup/okhttp/Response;Lcom/squareup/okhttp/Request;)ZinvalidatesCacheremoveputP(Lcom/squareup/okhttp/Response;)Lcom/squareup/okhttp/internal/http/CacheRequest;releaseconnectionFailedheader&(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;	removeAll9(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;
hostHeader1(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;
addCookies7(Lcom/squareup/okhttp/Request$Builder;Ljava/util/Map;)V$com/squareup/okhttp/internal/Version	userAgentO(Lcom/squareup/okhttp/internal/http/HttpEngine;ILcom/squareup/okhttp/Request;)Vproceed()Lokio/Buffer;okio/Bufferemitjava/lang/LongtoString(J)Ljava/lang/String;writeRequestBody4(Lcom/squareup/okhttp/internal/http/RetryableSink;)VtrackConditionalCacheHitupdate?(Lcom/squareup/okhttp/Response;Lcom/squareup/okhttp/Response;)V
finishRequestreadResponseHeaders.com/squareup/okhttp/internal/io/RealConnectiongetHandshake!()Lcom/squareup/okhttp/Handshake;	handshakeG(Lcom/squareup/okhttp/Handshake;)Lcom/squareup/okhttp/Response$Builder;SENT_MILLISL(Ljava/lang/String;Ljava/lang/String;)Lcom/squareup/okhttp/Response$Builder;RECEIVED_MILLISopenResponseBodyB(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;)VgetDate$(Ljava/lang/String;)Ljava/util/Date;getTimename(I)Ljava/lang/String;
startsWith
isEndToEndaddK(Ljava/lang/String;Ljava/lang/String;)Lcom/squareup/okhttp/Headers$Builder; (Ljava/net/URI;Ljava/util/Map;)VgetRoute()Lcom/squareup/okhttp/Route;getProxy()Ljava/net/Proxy;typeType()Ljava/net/Proxy$Type;java/net/Proxy$TypeHTTPLjava/net/Proxy$Type;getAuthenticator%()Lcom/squareup/okhttp/Authenticator;processAuthHeaderp(Lcom/squareup/okhttp/Authenticator;Lcom/squareup/okhttp/Response;Ljava/net/Proxy;)Lcom/squareup/okhttp/Request;getFollowRedirectsresolve1(Ljava/lang/String;)Lcom/squareup/okhttp/HttpUrl;schemegetFollowSslRedirectsredirectsToGetZ(Ljava/lang/String;Lcom/squareup/okhttp/RequestBody;)Lcom/squareup/okhttp/Request$Builder;removeHeader9(Ljava/lang/String;)Lcom/squareup/okhttp/Request$Builder;D(Lcom/squareup/okhttp/HttpUrl;)Lcom/squareup/okhttp/Request$Builder;hostportisHttpsgetSslSocketFactory"()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;getConnectionSpecsgetProxySelector()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;)V1U?????????????????????????????????#	
@	Q*?*?	*+?
*,?*?*?
*?*???Y+?+,???*?*??2?q???? ?&?6?D?J?P?\	Q
Q??Q?Q??Q?Q?Q??Q?Q??C?1	?	
??*???*???Y??**??L?*?
?M,?
,+??N?7*?Y+-?? ?**??!?**??"?#,?
,*??$-?*?#?
-?%?&*???**?'?*?*?(*?
?**??)??*???+?*7*??K,??
?Y.?/???!*?*??0*?1Y??2??1*?1Y?3??#*?*??0**?*??4??x*?#?/**?#?5*??6*??7?8*?#?7?9?:?;?9*?????@A?B?C?D?:?;***?;?E?;??-??? ?+?1?;?@?R?]?h?l?v????????????????????????????/?29ELV\e	q
x??
?????>?o??
 ??+};m?@h?&?!@?;?Q&
?25 !"\#$
?:*??FG?H??<*?*?
?I*?
?J*?
?K*?
?L?M?$26:
%%?@ "!\
&'
V*?*?%?*?5?D?:?*?
 (?@)
V*?	???Y??*??	?*+,
*+
<+?F?N?/
?,-
K*???Y??*??
45
./
?"*?OL+?+?*?PM,?*,?QZ?O??9:;<= "
01??2?3@245
B
*?;???B

@67
/*??F
89
K*?;??Y??*?;?
LM
:;
2*??R?Q
<=
?
F*?+?S??*?
?L??*?TM?UY*?
*?*?*?
*?,*??1*??V?Z[
^_be F
F>?(??
<@
?
D*?+,?W??*?
?L??*?TN?UY*?
*?*?*?
*?-,?1*??V?pqtux{*D
D>AD??%??<B
>
*+*??X??


>AC
?L?*?
?L+??*?;*??Y?*??F?Z?+*??[?M?*+*?;?7?]?^?+58\*
????+?5?8?9?:?K?L
A?gD \E
6*??_?
??
 \F
6*??`?
??
GH
??*?O?
*?O?&?*??
*??&*?;?*?;?%?&?
*??a*??"?????&?3?:??

I'
?b*?b?c*?;d?e?f?+?+?%?+??gY+?%?h?iM+?j?kd?lm?l?nN+?5-?o?pY-,?q?r?D?:?6
???!?#?2?;?@?C?G?L?U?^?*b
b(?20JKGLM \	NO
?P*?s?Ft?H??*?u<d?
ȡ̟0??*?v??w*x?e?f???&	????1?3?C?L?N?P(?:P?
??Q
S?+?yM+z?{?,z+?|?}?~W+?{?,??~W+??{?*?b,?c?~W*?
??N-?",??????:-+????:,??+??{?
,????~W,???B	

%.7<EMQ^j p#y$?'>^RSjTS?
???0WM;XYZ^R[jT[?\?*] \^
^*?;??*??*?#?
?Y??/?*???*??*?*??0*?L??*?
???Y**???*???L??*?O?*?O????	??
*?O??W*?	??J*??*??/*??1?%*??1??A**??ym ???~???*?*??0*??9*?O?*?O???*???*??1?*?*??1??*?L*+?j??*?#??*?#+???~**?#?5*??6*??7?8*?#?j+?j???o*?#?7?9+?7???:?;+?%??*???*?
?M,??,*?#*?;?7??***?;?E?;?*?#?%?&*+?5*??6*??7?8*?#?7?9+?7???:?;*?;???*??****?^*?;???E?;??7/023 5'6(;/<<=D?K@cD{E?I?J?L?M?N?O?Q?U?V?X?Z?\]ad!g(h3i?jFkPlamhnnotp{qu?v?w?x?y?{??????????????????>A_?`_????$
?_?!?D???	?N \`9
?*???*???*??6*??R??????*?	????????????:L*??+?5*?+???D?:L?+?s?{?f??+?e?f?
*???+?>?	???-?6???C?J?S?[?_?u?~????
CD_?
?_ \ab
?L+?,?+??N-?,?,?%?h:-?Q:??Y*+??:,?5?pY,?j?q?r?D?:?&	??
"1/:0H1HL
LcL(?
?d?0ef"*g1hi	?3 \
jk
?8+?u0??*?j???M,?+?j???N-?-??,??????&	9
:@AB$C)D4E6I*$lm8n?8o?"pm	?)q
rs
????Y??M>*??6?H*??:*??:??f?????????+???,??W????>+??6?1+??:m?f?????,+????W????,?n?FQSTU$V8W;YLZUS[^i_p`za}c?d?^?hf
8tu$1vu
Qw?Kx?p!tu]:w?c4x??yM?zM?0{+	?|?*}}????}?? \~
u*?
??M,?,*???+?????lmnp 
RMXY?] \?7
?
?*?;??Y??*??RL+?+???M,?
,???
*?
??N*?;?u6*??F:??,?-?.?/?3o4o?_?K-???¥
??Yķſ*?
??*?;-?ǰG?H?t?H??*?
?Ț?*?;ɶe:??*??|??:????*??|?˶H6?*?
?̚?*??y:	?N?8?͙	G??W?	??W	x??W	m??W	ж?W*?њ	Ҷ?W	?Ӷ????"xyz{&}+~59?B?K???????????????????????*?3?;?C?O?X?`?h?p?y?????f
???u????s??3Y?W	?
w??&h??9U??BLP?KC?uU??@???F??_?}?}???$?$\?
???} \??
?5*??|M,??+?ԶH? ,??+?ՠ,??+?˶H??????"? 5
5??-??
?3?@
??
?TMN:+?֙*??M*??N*??:??Y+?|??+?|??*??*??,-*??*??*??*??*?߷?.????????5?=?I?4T??T?R??P??M????????
/*??W???
;*+Z??W?????
/*??W? \?
#??Y??C?^???B?U???U?V	?V??	<?V	xvC@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy