1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-18 20:40:58 +03:00

Website at Sat May 24 17:33:12 EDT 2014

This commit is contained in:
Jesse Wilson
2014-05-24 17:33:12 -04:00
parent 814d82a3e2
commit 7d9f3ba62a
53 changed files with 12064 additions and 902 deletions

View File

@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:18:02 EDT 2014 -->
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>All Classes (OkHttp Apache HttpClient 1.6.0 API)</title>
<title>All Classes (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
@@ -12,7 +12,24 @@
<h1 class="bar">All Classes</h1>
<div class="indexContainer">
<ul>
<li><a href="com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache" target="classFrame">OkApacheClient</a></li>
<li><a href="com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp" target="classFrame">Address</a></li>
<li><a href="com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp" target="classFrame">Cache</a></li>
<li><a href="com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp" target="classFrame">CacheControl</a></li>
<li><a href="com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp" target="classFrame">Connection</a></li>
<li><a href="com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp" target="classFrame">ConnectionPool</a></li>
<li><a href="com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp" target="classFrame">Handshake</a></li>
<li><a href="com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp" target="classFrame">HttpResponseCache</a></li>
<li><a href="com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp" target="classFrame">MediaType</a></li>
<li><a href="com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp" target="classFrame"><i>OkAuthenticator</i></a></li>
<li><a href="com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp" target="classFrame">OkAuthenticator.Challenge</a></li>
<li><a href="com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp" target="classFrame">OkAuthenticator.Credential</a></li>
<li><a href="com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp" target="classFrame">OkHttpClient</a></li>
<li><a href="com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp" target="classFrame"><i>OkResponseCache</i></a></li>
<li><a href="com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp" target="classFrame">Protocol</a></li>
<li><a href="com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp" target="classFrame">ResponseSource</a></li>
<li><a href="com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp" target="classFrame">Route</a></li>
<li><a href="com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp" target="classFrame">RouteDatabase</a></li>
<li><a href="com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp" target="classFrame">TunnelRequest</a></li>
</ul>
</div>
</body>

View File

@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:18:02 EDT 2014 -->
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>All Classes (OkHttp Apache HttpClient 1.6.0 API)</title>
<title>All Classes (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
@@ -12,7 +12,24 @@
<h1 class="bar">All Classes</h1>
<div class="indexContainer">
<ul>
<li><a href="com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></li>
<li><a href="com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></li>
<li><a href="com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></li>
<li><a href="com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></li>
<li><a href="com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></li>
<li><a href="com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></li>
<li><a href="com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></li>
<li><a href="com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp">HttpResponseCache</a></li>
<li><a href="com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a></li>
<li><a href="com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp"><i>OkAuthenticator</i></a></li>
<li><a href="com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a></li>
<li><a href="com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></li>
<li><a href="com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></li>
<li><a href="com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp"><i>OkResponseCache</i></a></li>
<li><a href="com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a></li>
<li><a href="com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a></li>
<li><a href="com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></li>
<li><a href="com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">RouteDatabase</a></li>
<li><a href="com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp">TunnelRequest</a></li>
</ul>
</div>
</body>

View File

@@ -0,0 +1,421 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Address (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Address (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Address.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/Address.html" target="_top">Frames</a></li>
<li><a href="Address.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class Address" class="title">Class Address</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.Address</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="strong">Address</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">A specification for a connection to an origin server. For simple connections,
this is the server's hostname and port. If an explicit proxy is requested (or
<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true#NO_PROXY" title="class or interface in java.net"><code>no proxy</code></a> is explicitly requested), this also includes
that proxy information. For secure connections the address also includes the
SSL socket factory and hostname verifier.
<p>HTTP requests that share the same <code>Address</code> may also share the same
<a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp"><code>Connection</code></a>.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/Address.html#Address(java.lang.String, int, javax.net.ssl.SSLSocketFactory, javax.net.ssl.HostnameVerifier, com.squareup.okhttp.OkAuthenticator, java.net.Proxy, java.util.List)">Address</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;uriHost,
int&nbsp;uriPort,
<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSocketFactory.html?is-external=true" title="class or interface in javax.net.ssl">SSLSocketFactory</a>&nbsp;sslSocketFactory,
<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a>&nbsp;hostnameVerifier,
<a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a>&nbsp;authenticator,
<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;&nbsp;protocols)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Address.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;other)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Address.html#getAuthenticator()">getAuthenticator</a></strong>()</code>
<div class="block">Returns the client's authenticator.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Address.html#getHostnameVerifier()">getHostnameVerifier</a></strong>()</code>
<div class="block">Returns the hostname verifier, or null if this is not an HTTPS
address.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Address.html#getProtocols()">getProtocols</a></strong>()</code>
<div class="block">Returns the protocols the client supports.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Address.html#getProxy()">getProxy</a></strong>()</code>
<div class="block">Returns this address's explicitly-specified HTTP proxy, or null to
delegate to the HTTP client's proxy selector.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSocketFactory.html?is-external=true" title="class or interface in javax.net.ssl">SSLSocketFactory</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Address.html#getSslSocketFactory()">getSslSocketFactory</a></strong>()</code>
<div class="block">Returns the SSL socket factory, or null if this is not an HTTPS
address.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Address.html#getUriHost()">getUriHost</a></strong>()</code>
<div class="block">Returns the hostname of the origin server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Address.html#getUriPort()">getUriPort</a></strong>()</code>
<div class="block">Returns the port of the origin server; typically 80 or 443.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Address.html#hashCode()">hashCode</a></strong>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Address(java.lang.String, int, javax.net.ssl.SSLSocketFactory, javax.net.ssl.HostnameVerifier, com.squareup.okhttp.OkAuthenticator, java.net.Proxy, java.util.List)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Address</h4>
<pre>public&nbsp;Address(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;uriHost,
int&nbsp;uriPort,
<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSocketFactory.html?is-external=true" title="class or interface in javax.net.ssl">SSLSocketFactory</a>&nbsp;sslSocketFactory,
<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a>&nbsp;hostnameVerifier,
<a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a>&nbsp;authenticator,
<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;&nbsp;protocols)
throws <a href="http://java.sun.com/javase/6/docs/api/java/net/UnknownHostException.html?is-external=true" title="class or interface in java.net">UnknownHostException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/net/UnknownHostException.html?is-external=true" title="class or interface in java.net">UnknownHostException</a></code></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getUriHost()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUriHost</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUriHost()</pre>
<div class="block">Returns the hostname of the origin server.</div>
</li>
</ul>
<a name="getUriPort()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUriPort</h4>
<pre>public&nbsp;int&nbsp;getUriPort()</pre>
<div class="block">Returns the port of the origin server; typically 80 or 443. Unlike
may <code>getPort()</code> accessors, this method never returns -1.</div>
</li>
</ul>
<a name="getSslSocketFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSslSocketFactory</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSocketFactory.html?is-external=true" title="class or interface in javax.net.ssl">SSLSocketFactory</a>&nbsp;getSslSocketFactory()</pre>
<div class="block">Returns the SSL socket factory, or null if this is not an HTTPS
address.</div>
</li>
</ul>
<a name="getHostnameVerifier()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHostnameVerifier</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a>&nbsp;getHostnameVerifier()</pre>
<div class="block">Returns the hostname verifier, or null if this is not an HTTPS
address.</div>
</li>
</ul>
<a name="getAuthenticator()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAuthenticator</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a>&nbsp;getAuthenticator()</pre>
<div class="block">Returns the client's authenticator. This method never returns null.</div>
</li>
</ul>
<a name="getProtocols()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProtocols</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;&nbsp;getProtocols()</pre>
<div class="block">Returns the protocols the client supports. This method always returns a
non-null list that contains minimally
<a href="../../../com/squareup/okhttp/Protocol.html#HTTP_11"><code>Protocol.HTTP_11</code></a>.</div>
</li>
</ul>
<a name="getProxy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProxy</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;getProxy()</pre>
<div class="block">Returns this address's explicitly-specified HTTP proxy, or null to
delegate to the HTTP client's proxy selector.</div>
</li>
</ul>
<a name="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;other)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Address.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/Address.html" target="_top">Frames</a></li>
<li><a href="Address.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,660 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Cache (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Cache (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Cache.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/Cache.html" target="_top">Frames</a></li>
<li><a href="Cache.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class Cache" class="title">Class Cache</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net">java.net.ResponseCache</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.Cache</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp">HttpResponseCache</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">Cache</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net">ResponseCache</a>
implements <a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></pre>
<div class="block">Caches HTTP and HTTPS responses to the filesystem so they may be reused,
saving time and bandwidth.
<h3>Cache Optimization</h3>
To measure cache effectiveness, this class tracks three statistics:
<ul>
<li><strong><a href="../../../com/squareup/okhttp/Cache.html#getRequestCount()"><code>Request Count:</code></a></strong> the number
of HTTP requests issued since this cache was created.
<li><strong><a href="../../../com/squareup/okhttp/Cache.html#getNetworkCount()"><code>Network Count:</code></a></strong> the
number of those requests that required network use.
<li><strong><a href="../../../com/squareup/okhttp/Cache.html#getHitCount()"><code>Hit Count:</code></a></strong> the number of
those requests whose responses were served by the cache.
</ul>
Sometimes a request will result in a conditional cache hit. If the cache
contains a stale copy of the response, the client will issue a conditional
<code>GET</code>. The server will then send either the updated response if it has
changed, or a short 'not modified' response if the client's copy is still
valid. Such responses increment both the network count and hit count.
<p>The best way to improve the cache hit rate is by configuring the web
server to return cacheable responses. Although this client honors all <a
href="http://www.ietf.org/rfc/rfc2616.txt">HTTP/1.1 (RFC 2068)</a> cache
headers, it doesn't cache partial responses.
<h3>Force a Network Response</h3>
In some situations, such as after a user clicks a 'refresh' button, it may be
necessary to skip the cache, and fetch data directly from the server. To force
a full refresh, add the <code>no-cache</code> directive: <pre> <code>connection.addRequestProperty("Cache-Control", "no-cache");
</code></pre>
If it is only necessary to force a cached response to be validated by the
server, use the more efficient <code>max-age=0</code> instead: <pre> <code>connection.addRequestProperty("Cache-Control", "max-age=0");
</code></pre>
<h3>Force a Cache Response</h3>
Sometimes you'll want to show resources if they are available immediately,
but not otherwise. This can be used so your application can show
<i>something</i> while waiting for the latest data to be downloaded. To
restrict a request to locally-cached resources, add the <code>only-if-cached</code> directive: <pre> <code>try {
connection.addRequestProperty("Cache-Control", "only-if-cached");
InputStream cached = connection.getInputStream();
// the resource was cached! show it
} catch (FileNotFoundException e) {
// the resource was not cached
}
</code></pre>
This technique works even better in situations where a stale response is
better than no response. To permit stale cached responses, use the <code>max-stale</code> directive with the maximum staleness in seconds: <pre> <code>int maxStale = 60 * 60 * 24 * 28; // tolerate 4-weeks stale
connection.addRequestProperty("Cache-Control", "max-stale=" + maxStale);
</code></pre></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#Cache(java.io.File, long)">Cache</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;directory,
long&nbsp;maxSize)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#close()">close</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#delete()">delete</a></strong>()</code>
<div class="block">Closes the cache and deletes all of its stored values.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#flush()">flush</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>com.squareup.okhttp.internal.http.Response</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#get(com.squareup.okhttp.internal.http.Request)">get</a></strong>(com.squareup.okhttp.internal.http.Request&nbsp;request)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/CacheResponse.html?is-external=true" title="class or interface in java.net">CacheResponse</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#get(java.net.URI, java.lang.String, java.util.Map)">get</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;uri,
<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
<a href="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&nbsp;stringListMap)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#getDirectory()">getDirectory</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#getHitCount()">getHitCount</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#getMaxSize()">getMaxSize</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#getNetworkCount()">getNetworkCount</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#getRequestCount()">getRequestCount</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#getSize()">getSize</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#getWriteAbortCount()">getWriteAbortCount</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#getWriteSuccessCount()">getWriteSuccessCount</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#isClosed()">isClosed</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#maybeRemove(com.squareup.okhttp.internal.http.Request)">maybeRemove</a></strong>(com.squareup.okhttp.internal.http.Request&nbsp;request)</code>
<div class="block">Remove any cache entries for the supplied <code>uri</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/CacheRequest.html?is-external=true" title="class or interface in java.net">CacheRequest</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#put(com.squareup.okhttp.internal.http.Response)">put</a></strong>(com.squareup.okhttp.internal.http.Response&nbsp;response)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/CacheRequest.html?is-external=true" title="class or interface in java.net">CacheRequest</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#put(java.net.URI, java.net.URLConnection)">put</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;uri,
<a href="http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html?is-external=true" title="class or interface in java.net">URLConnection</a>&nbsp;urlConnection)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#trackConditionalCacheHit()">trackConditionalCacheHit</a></strong>()</code>
<div class="block">Track an conditional GET that was satisfied by this cache.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#trackResponse(com.squareup.okhttp.ResponseSource)">trackResponse</a></strong>(<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a>&nbsp;source)</code>
<div class="block">Track an HTTP response being satisfied by <code>source</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Cache.html#update(com.squareup.okhttp.internal.http.Response, com.squareup.okhttp.internal.http.Response)">update</a></strong>(com.squareup.okhttp.internal.http.Response&nbsp;cached,
com.squareup.okhttp.internal.http.Response&nbsp;network)</code>
<div class="block">Handles a conditional request hit by updating the stored cache response
with the headers from <code>network</code>.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.net.ResponseCache">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.net.<a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net">ResponseCache</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true#getDefault()" title="class or interface in java.net">getDefault</a>, <a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true#setDefault(java.net.ResponseCache)" title="class or interface in java.net">setDefault</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Cache(java.io.File, long)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Cache</h4>
<pre>public&nbsp;Cache(<a href="http://java.sun.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;directory,
long&nbsp;maxSize)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="get(java.net.URI, java.lang.String, java.util.Map)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/CacheResponse.html?is-external=true" title="class or interface in java.net">CacheResponse</a>&nbsp;get(<a href="http://java.sun.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;uri,
<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s,
<a href="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&nbsp;stringListMap)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true#get(java.net.URI, java.lang.String, java.util.Map)" title="class or interface in java.net">get</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net">ResponseCache</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="put(java.net.URI, java.net.URLConnection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/CacheRequest.html?is-external=true" title="class or interface in java.net">CacheRequest</a>&nbsp;put(<a href="http://java.sun.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a>&nbsp;uri,
<a href="http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html?is-external=true" title="class or interface in java.net">URLConnection</a>&nbsp;urlConnection)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true#put(java.net.URI, java.net.URLConnection)" title="class or interface in java.net">put</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net">ResponseCache</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="get(com.squareup.okhttp.internal.http.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;com.squareup.okhttp.internal.http.Response&nbsp;get(com.squareup.okhttp.internal.http.Request&nbsp;request)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/squareup/okhttp/OkResponseCache.html#get(com.squareup.okhttp.internal.http.Request)">get</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></code></dd>
</dl>
</li>
</ul>
<a name="put(com.squareup.okhttp.internal.http.Response)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/CacheRequest.html?is-external=true" title="class or interface in java.net">CacheRequest</a>&nbsp;put(com.squareup.okhttp.internal.http.Response&nbsp;response)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/squareup/okhttp/OkResponseCache.html#put(com.squareup.okhttp.internal.http.Response)">put</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="maybeRemove(com.squareup.okhttp.internal.http.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maybeRemove</h4>
<pre>public&nbsp;boolean&nbsp;maybeRemove(com.squareup.okhttp.internal.http.Request&nbsp;request)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/squareup/okhttp/OkResponseCache.html#maybeRemove(com.squareup.okhttp.internal.http.Request)">OkResponseCache</a></code></strong></div>
<div class="block">Remove any cache entries for the supplied <code>uri</code>. Returns true if the
supplied <code>requestMethod</code> potentially invalidates an entry in the
cache.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/squareup/okhttp/OkResponseCache.html#maybeRemove(com.squareup.okhttp.internal.http.Request)">maybeRemove</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></code></dd>
</dl>
</li>
</ul>
<a name="update(com.squareup.okhttp.internal.http.Response, com.squareup.okhttp.internal.http.Response)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>update</h4>
<pre>public&nbsp;void&nbsp;update(com.squareup.okhttp.internal.http.Response&nbsp;cached,
com.squareup.okhttp.internal.http.Response&nbsp;network)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/squareup/okhttp/OkResponseCache.html#update(com.squareup.okhttp.internal.http.Response, com.squareup.okhttp.internal.http.Response)">OkResponseCache</a></code></strong></div>
<div class="block">Handles a conditional request hit by updating the stored cache response
with the headers from <code>network</code>. The cached response body is not
updated. If the stored response has changed since <code>cached</code> was
returned, this does nothing.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/squareup/okhttp/OkResponseCache.html#update(com.squareup.okhttp.internal.http.Response, com.squareup.okhttp.internal.http.Response)">update</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></code></dd>
</dl>
</li>
</ul>
<a name="delete()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
<pre>public&nbsp;void&nbsp;delete()
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Closes the cache and deletes all of its stored values. This will delete
all files in the cache directory including files that weren't created by
the cache.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="getWriteAbortCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWriteAbortCount</h4>
<pre>public&nbsp;int&nbsp;getWriteAbortCount()</pre>
</li>
</ul>
<a name="getWriteSuccessCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWriteSuccessCount</h4>
<pre>public&nbsp;int&nbsp;getWriteSuccessCount()</pre>
</li>
</ul>
<a name="getSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSize</h4>
<pre>public&nbsp;long&nbsp;getSize()</pre>
</li>
</ul>
<a name="getMaxSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxSize</h4>
<pre>public&nbsp;long&nbsp;getMaxSize()</pre>
</li>
</ul>
<a name="flush()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>flush</h4>
<pre>public&nbsp;void&nbsp;flush()
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="close()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="getDirectory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDirectory</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;getDirectory()</pre>
</li>
</ul>
<a name="isClosed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isClosed</h4>
<pre>public&nbsp;boolean&nbsp;isClosed()</pre>
</li>
</ul>
<a name="trackResponse(com.squareup.okhttp.ResponseSource)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trackResponse</h4>
<pre>public&nbsp;void&nbsp;trackResponse(<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a>&nbsp;source)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/squareup/okhttp/OkResponseCache.html#trackResponse(com.squareup.okhttp.ResponseSource)">OkResponseCache</a></code></strong></div>
<div class="block">Track an HTTP response being satisfied by <code>source</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/squareup/okhttp/OkResponseCache.html#trackResponse(com.squareup.okhttp.ResponseSource)">trackResponse</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></code></dd>
</dl>
</li>
</ul>
<a name="trackConditionalCacheHit()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trackConditionalCacheHit</h4>
<pre>public&nbsp;void&nbsp;trackConditionalCacheHit()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../com/squareup/okhttp/OkResponseCache.html#trackConditionalCacheHit()">OkResponseCache</a></code></strong></div>
<div class="block">Track an conditional GET that was satisfied by this cache.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../com/squareup/okhttp/OkResponseCache.html#trackConditionalCacheHit()">trackConditionalCacheHit</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></code></dd>
</dl>
</li>
</ul>
<a name="getNetworkCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNetworkCount</h4>
<pre>public&nbsp;int&nbsp;getNetworkCount()</pre>
</li>
</ul>
<a name="getHitCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHitCount</h4>
<pre>public&nbsp;int&nbsp;getHitCount()</pre>
</li>
</ul>
<a name="getRequestCount()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getRequestCount</h4>
<pre>public&nbsp;int&nbsp;getRequestCount()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Cache.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/Cache.html" target="_top">Frames</a></li>
<li><a href="Cache.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,377 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>CacheControl (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="CacheControl (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/CacheControl.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/CacheControl.html" target="_top">Frames</a></li>
<li><a href="CacheControl.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class CacheControl" class="title">Class CacheControl</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.CacheControl</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="strong">CacheControl</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">A Cache-Control header with cache directives from a server or client. These
directives set policy on what responses can be stored, and which requests can
be satisfied by those stored responses.
<p>See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9">RFC
2616, 14.9</a>.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/CacheControl.html#isPublic()">isPublic</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/CacheControl.html#maxAgeSeconds()">maxAgeSeconds</a></strong>()</code>
<div class="block">The duration past the response's served date that it can be served without
validation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/CacheControl.html#maxStaleSeconds()">maxStaleSeconds</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/CacheControl.html#minFreshSeconds()">minFreshSeconds</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/CacheControl.html#mustRevalidate()">mustRevalidate</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/CacheControl.html#noCache()">noCache</a></strong>()</code>
<div class="block">In a response, this field's name "no-cache" is misleading.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/CacheControl.html#noStore()">noStore</a></strong>()</code>
<div class="block">If true, this response should not be cached.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/CacheControl.html#onlyIfCached()">onlyIfCached</a></strong>()</code>
<div class="block">This field's name "only-if-cached" is misleading.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/CacheControl.html#parse(com.squareup.okhttp.internal.http.Headers)">parse</a></strong>(com.squareup.okhttp.internal.http.Headers&nbsp;headers)</code>
<div class="block">Returns the cache directives of <code>headers</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/CacheControl.html#sMaxAgeSeconds()">sMaxAgeSeconds</a></strong>()</code>
<div class="block">The "s-maxage" directive is the max age for shared caches.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="noCache()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>noCache</h4>
<pre>public&nbsp;boolean&nbsp;noCache()</pre>
<div class="block">In a response, this field's name "no-cache" is misleading. It doesn't
prevent us from caching the response; it only means we have to validate the
response with the origin server before returning it. We can do this with a
conditional GET.
<p>In a request, it means do not use a cache to satisfy the request.</div>
</li>
</ul>
<a name="noStore()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>noStore</h4>
<pre>public&nbsp;boolean&nbsp;noStore()</pre>
<div class="block">If true, this response should not be cached.</div>
</li>
</ul>
<a name="maxAgeSeconds()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maxAgeSeconds</h4>
<pre>public&nbsp;int&nbsp;maxAgeSeconds()</pre>
<div class="block">The duration past the response's served date that it can be served without
validation.</div>
</li>
</ul>
<a name="sMaxAgeSeconds()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sMaxAgeSeconds</h4>
<pre>public&nbsp;int&nbsp;sMaxAgeSeconds()</pre>
<div class="block">The "s-maxage" directive is the max age for shared caches. Not to be
confused with "max-age" for non-shared caches, As in Firefox and Chrome,
this directive is not honored by this cache.</div>
</li>
</ul>
<a name="isPublic()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPublic</h4>
<pre>public&nbsp;boolean&nbsp;isPublic()</pre>
</li>
</ul>
<a name="mustRevalidate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mustRevalidate</h4>
<pre>public&nbsp;boolean&nbsp;mustRevalidate()</pre>
</li>
</ul>
<a name="maxStaleSeconds()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maxStaleSeconds</h4>
<pre>public&nbsp;int&nbsp;maxStaleSeconds()</pre>
</li>
</ul>
<a name="minFreshSeconds()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minFreshSeconds</h4>
<pre>public&nbsp;int&nbsp;minFreshSeconds()</pre>
</li>
</ul>
<a name="onlyIfCached()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onlyIfCached</h4>
<pre>public&nbsp;boolean&nbsp;onlyIfCached()</pre>
<div class="block">This field's name "only-if-cached" is misleading. It actually means "do
not use the network". It is set by a client who only wants to make a
request if it can be fully satisfied by the cache. Cached responses that
would require validation (ie. conditional gets) are not permitted if this
header is set.</div>
</li>
</ul>
<a name="parse(com.squareup.okhttp.internal.http.Headers)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>parse</h4>
<pre>public static&nbsp;<a href="../../../com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a>&nbsp;parse(com.squareup.okhttp.internal.http.Headers&nbsp;headers)</pre>
<div class="block">Returns the cache directives of <code>headers</code>. This honors both
Cache-Control and Pragma headers if they are present.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/CacheControl.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/CacheControl.html" target="_top">Frames</a></li>
<li><a href="CacheControl.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,675 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Connection (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Connection (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Connection.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/Connection.html" target="_top">Frames</a></li>
<li><a href="Connection.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class Connection" class="title">Class Connection</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.Connection</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://java.sun.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd>
</dl>
<hr>
<br>
<pre>public final class <span class="strong">Connection</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="http://java.sun.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></pre>
<div class="block">The sockets and streams of an HTTP, HTTPS, or HTTPS+SPDY connection. May be
used for multiple HTTP request/response exchanges. Connections may be direct
to the origin server or via a proxy.
<p>Typically instances of this class are created, connected and exercised
automatically by the HTTP client. Applications may use this class to monitor
HTTP connections as members of a <a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp"><code>connection pool</code></a>.
<p>Do not confuse this class with the misnamed <code>HttpURLConnection</code>,
which isn't so much a connection as a single request/response exchange.
<h3>Modern TLS</h3>
There are tradeoffs when selecting which options to include when negotiating
a secure connection to a remote host. Newer TLS options are quite useful:
<ul>
<li>Server Name Indication (SNI) enables one IP address to negotiate secure
connections for multiple domain names.
<li>Next Protocol Negotiation (NPN) enables the HTTPS port (443) to be used
for both HTTP and SPDY protocols.
</ul>
Unfortunately, older HTTPS servers refuse to connect when such options are
presented. Rather than avoiding these options entirely, this class allows a
connection to be attempted with modern options and then retried without them
should the attempt fail.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#Connection(com.squareup.okhttp.ConnectionPool, com.squareup.okhttp.Route)">Connection</a></strong>(<a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a>&nbsp;pool,
<a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;route)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#clearOwner()">clearOwner</a></strong>()</code>
<div class="block">Attempts to clears the owner of this connection.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#close()">close</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#closeIfOwnedBy(java.lang.Object)">closeIfOwnedBy</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;owner)</code>
<div class="block">Closes this connection if it is currently owned by <code>owner</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#connect(int, int, com.squareup.okhttp.TunnelRequest)">connect</a></strong>(int&nbsp;connectTimeout,
int&nbsp;readTimeout,
<a href="../../../com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp">TunnelRequest</a>&nbsp;tunnelRequest)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#getHandshake()">getHandshake</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#getHttpMinorVersion()">getHttpMinorVersion</a></strong>()</code>
<div class="block">Returns the minor HTTP version that should be used for future requests on
this connection.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#getIdleStartTimeNs()">getIdleStartTimeNs</a></strong>()</code>
<div class="block">Returns the time in ns when this connection became idle.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#getOwner()">getOwner</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#getRoute()">getRoute</a></strong>()</code>
<div class="block">Returns the route used by this connection.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#getSocket()">getSocket</a></strong>()</code>
<div class="block">Returns the socket that this connection uses, or null if the connection
is not currently connected.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#incrementRecycleCount()">incrementRecycleCount</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#isAlive()">isAlive</a></strong>()</code>
<div class="block">Returns true if this connection is alive.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#isConnected()">isConnected</a></strong>()</code>
<div class="block">Returns true if <a href="../../../com/squareup/okhttp/Connection.html#connect(int, int, com.squareup.okhttp.TunnelRequest)"><code>connect(int, int, com.squareup.okhttp.TunnelRequest)</code></a> has been attempted on this connection.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#isExpired(long)">isExpired</a></strong>(long&nbsp;keepAliveDurationNs)</code>
<div class="block">Returns true if this connection has been idle for longer than
<code>keepAliveDurationNs</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#isIdle()">isIdle</a></strong>()</code>
<div class="block">Returns true if this connection is idle.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#isReadable()">isReadable</a></strong>()</code>
<div class="block">Returns true if we are confident that we can read data from this
connection.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#isSpdy()">isSpdy</a></strong>()</code>
<div class="block">Returns true if this is a SPDY connection.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#newTransport(com.squareup.okhttp.internal.http.HttpEngine)">newTransport</a></strong>(com.squareup.okhttp.internal.http.HttpEngine&nbsp;httpEngine)</code>
<div class="block">Returns the transport appropriate for this connection.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#recycleCount()">recycleCount</a></strong>()</code>
<div class="block">Returns the number of times this connection has been returned to the
connection pool.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#requiresTunnel()">requiresTunnel</a></strong>()</code>
<div class="block">Returns true if the HTTP connection needs to tunnel one protocol over
another, such as when using HTTPS through an HTTP proxy.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#resetIdleStartTime()">resetIdleStartTime</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#setHttpMinorVersion(int)">setHttpMinorVersion</a></strong>(int&nbsp;httpMinorVersion)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#setOwner(java.lang.Object)">setOwner</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;owner)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Connection.html#updateReadTimeout(int)">updateReadTimeout</a></strong>(int&nbsp;newTimeout)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Connection(com.squareup.okhttp.ConnectionPool, com.squareup.okhttp.Route)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Connection</h4>
<pre>public&nbsp;Connection(<a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a>&nbsp;pool,
<a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;route)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getOwner()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOwner</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getOwner()</pre>
</li>
</ul>
<a name="setOwner(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOwner</h4>
<pre>public&nbsp;void&nbsp;setOwner(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;owner)</pre>
</li>
</ul>
<a name="clearOwner()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearOwner</h4>
<pre>public&nbsp;boolean&nbsp;clearOwner()</pre>
<div class="block">Attempts to clears the owner of this connection. Returns true if the owner
was cleared and the connection can be pooled or reused. This will return
false if the connection cannot be pooled or reused, such as if it was
closed with <a href="../../../com/squareup/okhttp/Connection.html#closeIfOwnedBy(java.lang.Object)"><code>closeIfOwnedBy(java.lang.Object)</code></a>.</div>
</li>
</ul>
<a name="closeIfOwnedBy(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>closeIfOwnedBy</h4>
<pre>public&nbsp;void&nbsp;closeIfOwnedBy(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;owner)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Closes this connection if it is currently owned by <code>owner</code>. This also
strips the ownership of the connection so it cannot be pooled or reused.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="connect(int, int, com.squareup.okhttp.TunnelRequest)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connect</h4>
<pre>public&nbsp;void&nbsp;connect(int&nbsp;connectTimeout,
int&nbsp;readTimeout,
<a href="../../../com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp">TunnelRequest</a>&nbsp;tunnelRequest)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="isConnected()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isConnected</h4>
<pre>public&nbsp;boolean&nbsp;isConnected()</pre>
<div class="block">Returns true if <a href="../../../com/squareup/okhttp/Connection.html#connect(int, int, com.squareup.okhttp.TunnelRequest)"><code>connect(int, int, com.squareup.okhttp.TunnelRequest)</code></a> has been attempted on this connection.</div>
</li>
</ul>
<a name="close()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io">close</a></code>&nbsp;in interface&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true#close()" title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="getRoute()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoute</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;getRoute()</pre>
<div class="block">Returns the route used by this connection.</div>
</li>
</ul>
<a name="getSocket()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSocket</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/Socket.html?is-external=true" title="class or interface in java.net">Socket</a>&nbsp;getSocket()</pre>
<div class="block">Returns the socket that this connection uses, or null if the connection
is not currently connected.</div>
</li>
</ul>
<a name="isAlive()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAlive</h4>
<pre>public&nbsp;boolean&nbsp;isAlive()</pre>
<div class="block">Returns true if this connection is alive.</div>
</li>
</ul>
<a name="isReadable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReadable</h4>
<pre>public&nbsp;boolean&nbsp;isReadable()</pre>
<div class="block">Returns true if we are confident that we can read data from this
connection. This is more expensive and more accurate than <a href="../../../com/squareup/okhttp/Connection.html#isAlive()"><code>isAlive()</code></a>; callers should check <a href="../../../com/squareup/okhttp/Connection.html#isAlive()"><code>isAlive()</code></a> first.</div>
</li>
</ul>
<a name="resetIdleStartTime()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetIdleStartTime</h4>
<pre>public&nbsp;void&nbsp;resetIdleStartTime()</pre>
</li>
</ul>
<a name="isIdle()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isIdle</h4>
<pre>public&nbsp;boolean&nbsp;isIdle()</pre>
<div class="block">Returns true if this connection is idle.</div>
</li>
</ul>
<a name="isExpired(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isExpired</h4>
<pre>public&nbsp;boolean&nbsp;isExpired(long&nbsp;keepAliveDurationNs)</pre>
<div class="block">Returns true if this connection has been idle for longer than
<code>keepAliveDurationNs</code>.</div>
</li>
</ul>
<a name="getIdleStartTimeNs()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIdleStartTimeNs</h4>
<pre>public&nbsp;long&nbsp;getIdleStartTimeNs()</pre>
<div class="block">Returns the time in ns when this connection became idle. Undefined if
this connection is not idle.</div>
</li>
</ul>
<a name="getHandshake()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHandshake</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a>&nbsp;getHandshake()</pre>
</li>
</ul>
<a name="newTransport(com.squareup.okhttp.internal.http.HttpEngine)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newTransport</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;newTransport(com.squareup.okhttp.internal.http.HttpEngine&nbsp;httpEngine)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Returns the transport appropriate for this connection.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="isSpdy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSpdy</h4>
<pre>public&nbsp;boolean&nbsp;isSpdy()</pre>
<div class="block">Returns true if this is a SPDY connection. Such connections can be used
in multiple HTTP requests simultaneously.</div>
</li>
</ul>
<a name="getHttpMinorVersion()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHttpMinorVersion</h4>
<pre>public&nbsp;int&nbsp;getHttpMinorVersion()</pre>
<div class="block">Returns the minor HTTP version that should be used for future requests on
this connection. Either 0 for HTTP/1.0, or 1 for HTTP/1.1. The default
value is 1 for new connections.</div>
</li>
</ul>
<a name="setHttpMinorVersion(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHttpMinorVersion</h4>
<pre>public&nbsp;void&nbsp;setHttpMinorVersion(int&nbsp;httpMinorVersion)</pre>
</li>
</ul>
<a name="requiresTunnel()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requiresTunnel</h4>
<pre>public&nbsp;boolean&nbsp;requiresTunnel()</pre>
<div class="block">Returns true if the HTTP connection needs to tunnel one protocol over
another, such as when using HTTPS through an HTTP proxy. When doing so,
we must avoid buffering bytes intended for the higher-level protocol.</div>
</li>
</ul>
<a name="updateReadTimeout(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateReadTimeout</h4>
<pre>public&nbsp;void&nbsp;updateReadTimeout(int&nbsp;newTimeout)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="incrementRecycleCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>incrementRecycleCount</h4>
<pre>public&nbsp;void&nbsp;incrementRecycleCount()</pre>
</li>
</ul>
<a name="recycleCount()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>recycleCount</h4>
<pre>public&nbsp;int&nbsp;recycleCount()</pre>
<div class="block">Returns the number of times this connection has been returned to the
connection pool.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Connection.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/Connection.html" target="_top">Frames</a></li>
<li><a href="Connection.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,395 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>ConnectionPool (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ConnectionPool (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ConnectionPool.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/ConnectionPool.html" target="_top">Frames</a></li>
<li><a href="ConnectionPool.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class ConnectionPool" class="title">Class ConnectionPool</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.ConnectionPool</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">ConnectionPool</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Manages reuse of HTTP and SPDY connections for reduced network latency. HTTP
requests that share the same <a href="../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp"><code>Address</code></a> may share a
<a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp"><code>Connection</code></a>. This class implements the policy of
which connections to keep open for future use.
<p>The <a href="../../../com/squareup/okhttp/ConnectionPool.html#getDefault()"><code>system-wide default</code></a> uses system properties for
tuning parameters:
<ul>
<li><code>http.keepAlive</code> true if HTTP and SPDY connections should be
pooled at all. Default is true.
<li><code>http.maxConnections</code> maximum number of idle connections to
each to keep in the pool. Default is 5.
<li><code>http.keepAliveDuration</code> Time in milliseconds to keep the
connection alive in the pool before closing it. Default is 5 minutes.
This property isn't used by <code>HttpURLConnection</code>.
</ul>
<p>The default instance <i>doesn't</i> adjust its configuration as system
properties are changed. This assumes that the applications that set these
parameters do so before making HTTP connections, and that this class is
initialized lazily.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/ConnectionPool.html#ConnectionPool(int, long)">ConnectionPool</a></strong>(int&nbsp;maxIdleConnections,
long&nbsp;keepAliveDurationMs)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/ConnectionPool.html#evictAll()">evictAll</a></strong>()</code>
<div class="block">Close and remove all connections in the pool.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/ConnectionPool.html#get(com.squareup.okhttp.Address)">get</a></strong>(<a href="../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a>&nbsp;address)</code>
<div class="block">Returns a recycled connection to <code>address</code>, or null if no such connection exists.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/ConnectionPool.html#getConnectionCount()">getConnectionCount</a></strong>()</code>
<div class="block">Returns total number of connections in the pool.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/ConnectionPool.html#getDefault()">getDefault</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/ConnectionPool.html#getHttpConnectionCount()">getHttpConnectionCount</a></strong>()</code>
<div class="block">Returns total number of http connections in the pool.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/ConnectionPool.html#getSpdyConnectionCount()">getSpdyConnectionCount</a></strong>()</code>
<div class="block">Returns total number of spdy connections in the pool.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/ConnectionPool.html#recycle(com.squareup.okhttp.Connection)">recycle</a></strong>(<a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a>&nbsp;connection)</code>
<div class="block">Gives <code>connection</code> to the pool.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/ConnectionPool.html#share(com.squareup.okhttp.Connection)">share</a></strong>(<a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a>&nbsp;connection)</code>
<div class="block">Shares the SPDY connection with the pool.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ConnectionPool(int, long)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ConnectionPool</h4>
<pre>public&nbsp;ConnectionPool(int&nbsp;maxIdleConnections,
long&nbsp;keepAliveDurationMs)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getDefault()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefault</h4>
<pre>public static&nbsp;<a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a>&nbsp;getDefault()</pre>
</li>
</ul>
<a name="getConnectionCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnectionCount</h4>
<pre>public&nbsp;int&nbsp;getConnectionCount()</pre>
<div class="block">Returns total number of connections in the pool.</div>
</li>
</ul>
<a name="getSpdyConnectionCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpdyConnectionCount</h4>
<pre>public&nbsp;int&nbsp;getSpdyConnectionCount()</pre>
<div class="block">Returns total number of spdy connections in the pool.</div>
</li>
</ul>
<a name="getHttpConnectionCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHttpConnectionCount</h4>
<pre>public&nbsp;int&nbsp;getHttpConnectionCount()</pre>
<div class="block">Returns total number of http connections in the pool.</div>
</li>
</ul>
<a name="get(com.squareup.okhttp.Address)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a>&nbsp;get(<a href="../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a>&nbsp;address)</pre>
<div class="block">Returns a recycled connection to <code>address</code>, or null if no such connection exists.</div>
</li>
</ul>
<a name="recycle(com.squareup.okhttp.Connection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recycle</h4>
<pre>public&nbsp;void&nbsp;recycle(<a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a>&nbsp;connection)</pre>
<div class="block">Gives <code>connection</code> to the pool. The pool may store the connection,
or close it, as its policy describes.
<p>It is an error to use <code>connection</code> after calling this method.</div>
</li>
</ul>
<a name="share(com.squareup.okhttp.Connection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>share</h4>
<pre>public&nbsp;void&nbsp;share(<a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a>&nbsp;connection)</pre>
<div class="block">Shares the SPDY connection with the pool. Callers to this method may
continue to use <code>connection</code>.</div>
</li>
</ul>
<a name="evictAll()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>evictAll</h4>
<pre>public&nbsp;void&nbsp;evictAll()</pre>
<div class="block">Close and remove all connections in the pool.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ConnectionPool.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/ConnectionPool.html" target="_top">Frames</a></li>
<li><a href="ConnectionPool.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,357 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Handshake (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Handshake (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Handshake.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/Handshake.html" target="_top">Frames</a></li>
<li><a href="Handshake.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class Handshake" class="title">Class Handshake</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.Handshake</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="strong">Handshake</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">A record of a TLS handshake. For HTTPS clients, the client is <i>local</i>
and the remote server is its <i>peer</i>.
<p>This value object describes a completed handshake. Use <a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSocketFactory.html?is-external=true" title="class or interface in javax.net.ssl"><code>SSLSocketFactory</code></a> to set policy for new handshakes.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Handshake.html#cipherSuite()">cipherSuite</a></strong>()</code>
<div class="block">Returns a cipher suite name like "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA".</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Handshake.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;other)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Handshake.html#get(javax.net.ssl.SSLSession)">get</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSession.html?is-external=true" title="class or interface in javax.net.ssl">SSLSession</a>&nbsp;session)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Handshake.html#get(java.lang.String, java.util.List, java.util.List)">get</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cipherSuite,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html?is-external=true" title="class or interface in java.security.cert">Certificate</a>&gt;&nbsp;peerCertificates,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html?is-external=true" title="class or interface in java.security.cert">Certificate</a>&gt;&nbsp;localCertificates)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Handshake.html#hashCode()">hashCode</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html?is-external=true" title="class or interface in java.security.cert">Certificate</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Handshake.html#localCertificates()">localCertificates</a></strong>()</code>
<div class="block">Returns a possibly-empty list of certificates that identify this peer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/security/Principal.html?is-external=true" title="class or interface in java.security">Principal</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Handshake.html#localPrincipal()">localPrincipal</a></strong>()</code>
<div class="block">Returns the local principle, or null if this peer is anonymous.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html?is-external=true" title="class or interface in java.security.cert">Certificate</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Handshake.html#peerCertificates()">peerCertificates</a></strong>()</code>
<div class="block">Returns a possibly-empty list of certificates that identify the remote peer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/security/Principal.html?is-external=true" title="class or interface in java.security">Principal</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Handshake.html#peerPrincipal()">peerPrincipal</a></strong>()</code>
<div class="block">Returns the remote peer's principle, or null if that peer is anonymous.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="get(javax.net.ssl.SSLSession)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public static&nbsp;<a href="../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a>&nbsp;get(<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSession.html?is-external=true" title="class or interface in javax.net.ssl">SSLSession</a>&nbsp;session)</pre>
</li>
</ul>
<a name="get(java.lang.String, java.util.List, java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public static&nbsp;<a href="../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a>&nbsp;get(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cipherSuite,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html?is-external=true" title="class or interface in java.security.cert">Certificate</a>&gt;&nbsp;peerCertificates,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html?is-external=true" title="class or interface in java.security.cert">Certificate</a>&gt;&nbsp;localCertificates)</pre>
</li>
</ul>
<a name="cipherSuite()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cipherSuite</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cipherSuite()</pre>
<div class="block">Returns a cipher suite name like "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA".</div>
</li>
</ul>
<a name="peerCertificates()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>peerCertificates</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html?is-external=true" title="class or interface in java.security.cert">Certificate</a>&gt;&nbsp;peerCertificates()</pre>
<div class="block">Returns a possibly-empty list of certificates that identify the remote peer.</div>
</li>
</ul>
<a name="peerPrincipal()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>peerPrincipal</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/security/Principal.html?is-external=true" title="class or interface in java.security">Principal</a>&nbsp;peerPrincipal()</pre>
<div class="block">Returns the remote peer's principle, or null if that peer is anonymous.</div>
</li>
</ul>
<a name="localCertificates()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>localCertificates</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html?is-external=true" title="class or interface in java.security.cert">Certificate</a>&gt;&nbsp;localCertificates()</pre>
<div class="block">Returns a possibly-empty list of certificates that identify this peer.</div>
</li>
</ul>
<a name="localPrincipal()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>localPrincipal</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/security/Principal.html?is-external=true" title="class or interface in java.security">Principal</a>&nbsp;localPrincipal()</pre>
<div class="block">Returns the local principle, or null if this peer is anonymous.</div>
</li>
</ul>
<a name="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;other)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Handshake.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/Handshake.html" target="_top">Frames</a></li>
<li><a href="Handshake.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,268 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>HttpResponseCache (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="HttpResponseCache (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HttpResponseCache.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/HttpResponseCache.html" target="_top">Frames</a></li>
<li><a href="HttpResponseCache.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#methods_inherited_from_class_com.squareup.okhttp.Cache">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class HttpResponseCache" class="title">Class HttpResponseCache</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net">java.net.ResponseCache</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">com.squareup.okhttp.Cache</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.HttpResponseCache</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></dd>
</dl>
<hr>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>renamed to <a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp"><code>Cache</code></a>.</i></div>
</div>
<br>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public final class <span class="strong">HttpResponseCache</span>
extends <a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/HttpResponseCache.html#HttpResponseCache(java.io.File, long)">HttpResponseCache</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;directory,
long&nbsp;maxSize)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_com.squareup.okhttp.Cache">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.squareup.okhttp.<a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></h3>
<code><a href="../../../com/squareup/okhttp/Cache.html#close()">close</a>, <a href="../../../com/squareup/okhttp/Cache.html#delete()">delete</a>, <a href="../../../com/squareup/okhttp/Cache.html#flush()">flush</a>, <a href="../../../com/squareup/okhttp/Cache.html#get(com.squareup.okhttp.internal.http.Request)">get</a>, <a href="../../../com/squareup/okhttp/Cache.html#get(java.net.URI, java.lang.String, java.util.Map)">get</a>, <a href="../../../com/squareup/okhttp/Cache.html#getDirectory()">getDirectory</a>, <a href="../../../com/squareup/okhttp/Cache.html#getHitCount()">getHitCount</a>, <a href="../../../com/squareup/okhttp/Cache.html#getMaxSize()">getMaxSize</a>, <a href="../../../com/squareup/okhttp/Cache.html#getNetworkCount()">getNetworkCount</a>, <a href="../../../com/squareup/okhttp/Cache.html#getRequestCount()">getRequestCount</a>, <a href="../../../com/squareup/okhttp/Cache.html#getSize()">getSize</a>, <a href="../../../com/squareup/okhttp/Cache.html#getWriteAbortCount()">getWriteAbortCount</a>, <a href="../../../com/squareup/okhttp/Cache.html#getWriteSuccessCount()">getWriteSuccessCount</a>, <a href="../../../com/squareup/okhttp/Cache.html#isClosed()">isClosed</a>, <a href="../../../com/squareup/okhttp/Cache.html#maybeRemove(com.squareup.okhttp.internal.http.Request)">maybeRemove</a>, <a href="../../../com/squareup/okhttp/Cache.html#put(com.squareup.okhttp.internal.http.Response)">put</a>, <a href="../../../com/squareup/okhttp/Cache.html#put(java.net.URI, java.net.URLConnection)">put</a>, <a href="../../../com/squareup/okhttp/Cache.html#trackConditionalCacheHit()">trackConditionalCacheHit</a>, <a href="../../../com/squareup/okhttp/Cache.html#trackResponse(com.squareup.okhttp.ResponseSource)">trackResponse</a>, <a href="../../../com/squareup/okhttp/Cache.html#update(com.squareup.okhttp.internal.http.Response, com.squareup.okhttp.internal.http.Response)">update</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.net.ResponseCache">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.net.<a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net">ResponseCache</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true#getDefault()" title="class or interface in java.net">getDefault</a>, <a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true#setDefault(java.net.ResponseCache)" title="class or interface in java.net">setDefault</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="HttpResponseCache(java.io.File, long)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HttpResponseCache</h4>
<pre>public&nbsp;HttpResponseCache(<a href="http://java.sun.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;directory,
long&nbsp;maxSize)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HttpResponseCache.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/HttpResponseCache.html" target="_top">Frames</a></li>
<li><a href="HttpResponseCache.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#methods_inherited_from_class_com.squareup.okhttp.Cache">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,357 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>MediaType (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MediaType (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MediaType.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/MediaType.html" target="_top">Frames</a></li>
<li><a href="MediaType.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class MediaType" class="title">Class MediaType</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.MediaType</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="strong">MediaType</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">An <a href="http://tools.ietf.org/html/rfc2045">RFC 2045</a> Media Type,
appropriate to describe the content type of an HTTP request or response body.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/MediaType.html#charset()">charset</a></strong>()</code>
<div class="block">Returns the charset of this media type, or null if this media type doesn't
specify a charset.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/MediaType.html#charset(java.nio.charset.Charset)">charset</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;defaultValue)</code>
<div class="block">Returns the charset of this media type, or <code>defaultValue</code> if this
media type doesn't specify a charset.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/MediaType.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/MediaType.html#hashCode()">hashCode</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/MediaType.html#parse(java.lang.String)">parse</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</code>
<div class="block">Returns a media type for <code>string</code>, or null if <code>string</code> is not a
well-formed media type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/MediaType.html#subtype()">subtype</a></strong>()</code>
<div class="block">Returns a specific media subtype, such as "plain" or "png", "mpeg",
"mp4" or "xml".</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/MediaType.html#toString()">toString</a></strong>()</code>
<div class="block">Returns the encoded media type, like "text/plain; charset=utf-8",
appropriate for use in a Content-Type header.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/MediaType.html#type()">type</a></strong>()</code>
<div class="block">Returns the high-level media type, such as "text", "image", "audio",
"video", or "application".</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="parse(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parse</h4>
<pre>public static&nbsp;<a href="../../../com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a>&nbsp;parse(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</pre>
<div class="block">Returns a media type for <code>string</code>, or null if <code>string</code> is not a
well-formed media type.</div>
</li>
</ul>
<a name="type()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>type</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;type()</pre>
<div class="block">Returns the high-level media type, such as "text", "image", "audio",
"video", or "application".</div>
</li>
</ul>
<a name="subtype()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subtype</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;subtype()</pre>
<div class="block">Returns a specific media subtype, such as "plain" or "png", "mpeg",
"mp4" or "xml".</div>
</li>
</ul>
<a name="charset()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>charset</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;charset()</pre>
<div class="block">Returns the charset of this media type, or null if this media type doesn't
specify a charset.</div>
</li>
</ul>
<a name="charset(java.nio.charset.Charset)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>charset</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;charset(<a href="http://java.sun.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a>&nbsp;defaultValue)</pre>
<div class="block">Returns the charset of this media type, or <code>defaultValue</code> if this
media type doesn't specify a charset.</div>
</li>
</ul>
<a name="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<div class="block">Returns the encoded media type, like "text/plain; charset=utf-8",
appropriate for use in a Content-Type header.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MediaType.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/MediaType.html" target="_top">Frames</a></li>
<li><a href="MediaType.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,333 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>OkAuthenticator.Challenge (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="OkAuthenticator.Challenge (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OkAuthenticator.Challenge.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/OkAuthenticator.Challenge.html" target="_top">Frames</a></li>
<li><a href="OkAuthenticator.Challenge.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class OkAuthenticator.Challenge" class="title">Class OkAuthenticator.Challenge</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.OkAuthenticator.Challenge</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Enclosing interface:</dt>
<dd><a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a></dd>
</dl>
<hr>
<br>
<pre>public static final class <span class="strong">OkAuthenticator.Challenge</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">An RFC 2617 challenge.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html#OkAuthenticator.Challenge(java.lang.String, java.lang.String)">OkAuthenticator.Challenge</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;scheme,
<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;realm)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html#getRealm()">getRealm</a></strong>()</code>
<div class="block">Returns the protection space.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html#getScheme()">getScheme</a></strong>()</code>
<div class="block">Returns the authentication scheme, like <code>Basic</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html#hashCode()">hashCode</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html#toString()">toString</a></strong>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="OkAuthenticator.Challenge(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>OkAuthenticator.Challenge</h4>
<pre>public&nbsp;OkAuthenticator.Challenge(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;scheme,
<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;realm)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getScheme()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScheme</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getScheme()</pre>
<div class="block">Returns the authentication scheme, like <code>Basic</code>.</div>
</li>
</ul>
<a name="getRealm()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRealm</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getRealm()</pre>
<div class="block">Returns the protection space.</div>
</li>
</ul>
<a name="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="toString()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OkAuthenticator.Challenge.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/OkAuthenticator.Challenge.html" target="_top">Frames</a></li>
<li><a href="OkAuthenticator.Challenge.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,296 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>OkAuthenticator.Credential (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="OkAuthenticator.Credential (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OkAuthenticator.Credential.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/OkAuthenticator.Credential.html" target="_top">Frames</a></li>
<li><a href="OkAuthenticator.Credential.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class OkAuthenticator.Credential" class="title">Class OkAuthenticator.Credential</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.OkAuthenticator.Credential</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Enclosing interface:</dt>
<dd><a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a></dd>
</dl>
<hr>
<br>
<pre>public static final class <span class="strong">OkAuthenticator.Credential</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">An RFC 2617 credential.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html#basic(java.lang.String, java.lang.String)">basic</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userName,
<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;password)</code>
<div class="block">Returns an auth credential for the Basic scheme.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html#getHeaderValue()">getHeaderValue</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html#hashCode()">hashCode</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html#toString()">toString</a></strong>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="basic(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>basic</h4>
<pre>public static&nbsp;<a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a>&nbsp;basic(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userName,
<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;password)</pre>
<div class="block">Returns an auth credential for the Basic scheme.</div>
</li>
</ul>
<a name="getHeaderValue()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeaderValue</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getHeaderValue()</pre>
</li>
</ul>
<a name="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="toString()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OkAuthenticator.Credential.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/OkAuthenticator.Credential.html" target="_top">Frames</a></li>
<li><a href="OkAuthenticator.Credential.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,290 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>OkAuthenticator (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="OkAuthenticator (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OkAuthenticator.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/OkAuthenticator.html" target="_top">Frames</a></li>
<li><a href="OkAuthenticator.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Interface OkAuthenticator" class="title">Interface OkAuthenticator</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>replaced with <code>Authenticator</code> in OkHttp 2.0.</i></div>
</div>
<br>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public interface <span class="strong">OkAuthenticator</span></pre>
<div class="block">Responds to authentication challenges from the remote web or proxy server by
returning credentials.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Interface and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">An RFC 2617 challenge.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">An RFC 2617 credential.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.html#authenticate(java.net.Proxy, java.net.URL, java.util.List)">authenticate</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a>&gt;&nbsp;challenges)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Returns a credential that satisfies the authentication challenge made by
<code>url</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkAuthenticator.html#authenticateProxy(java.net.Proxy, java.net.URL, java.util.List)">authenticateProxy</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a>&gt;&nbsp;challenges)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Returns a credential that satisfies the authentication challenge made by
<code>proxy</code>.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="authenticate(java.net.Proxy, java.net.URL, java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>authenticate</h4>
<pre><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a>&nbsp;authenticate(<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a>&gt;&nbsp;challenges)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Returns a credential that satisfies the authentication challenge made by
<code>url</code>. Returns null if the challenge cannot be satisfied. This method
is called in response to an HTTP 401 unauthorized status code sent by the
origin server.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>challenges</code> - parsed "WWW-Authenticate" challenge headers from the HTTP
response.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="authenticateProxy(java.net.Proxy, java.net.URL, java.util.List)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>authenticateProxy</h4>
<pre><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a>&nbsp;authenticateProxy(<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a>&gt;&nbsp;challenges)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Returns a credential that satisfies the authentication challenge made by
<code>proxy</code>. Returns null if the challenge cannot be satisfied. This
method is called in response to an HTTP 401 unauthorized status code sent
by the proxy server.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>challenges</code> - parsed "Proxy-Authenticate" challenge headers from the
HTTP response.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OkAuthenticator.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/OkAuthenticator.html" target="_top">Frames</a></li>
<li><a href="OkAuthenticator.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,925 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>OkHttpClient (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="OkHttpClient (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OkHttpClient.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/OkHttpClient.html" target="_top">Frames</a></li>
<li><a href="OkHttpClient.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class OkHttpClient" class="title">Class OkHttpClient</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.OkHttpClient</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://java.sun.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="http://java.sun.com/javase/6/docs/api/java/net/URLStreamHandlerFactory.html?is-external=true" title="class or interface in java.net">URLStreamHandlerFactory</a></dd>
</dl>
<hr>
<br>
<pre>public final class <span class="strong">OkHttpClient</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="http://java.sun.com/javase/6/docs/api/java/net/URLStreamHandlerFactory.html?is-external=true" title="class or interface in java.net">URLStreamHandlerFactory</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></pre>
<div class="block">Configures and creates HTTP connections. Most applications can use a single
OkHttpClient for all of their HTTP requests - benefiting from a shared
response cache, thread pool, connection re-use, etc.
Instances of OkHttpClient are intended to be fully configured before they're
shared - once shared they should be treated as immutable and can safely be used
to concurrently open new connections. If required, threads can call
<a href="../../../com/squareup/okhttp/OkHttpClient.html#clone()"><code>clone()</code></a> to make a shallow copy of the OkHttpClient that can be
safely modified with further configuration changes.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#OkHttpClient()">OkHttpClient</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#clone()">clone</a></strong>()</code>
<div class="block">Returns a shallow copy of this OkHttpClient.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/URLStreamHandler.html?is-external=true" title="class or interface in java.net">URLStreamHandler</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#createURLStreamHandler(java.lang.String)">createURLStreamHandler</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;protocol)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>moved to <code>OkUrlFactory.createURLStreamHandler</code>.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getAuthenticator()">getAuthenticator</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getCache()">getCache</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getConnectionPool()">getConnectionPool</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getConnectTimeout()">getConnectTimeout</a></strong>()</code>
<div class="block">Default connect timeout (in milliseconds).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/CookieHandler.html?is-external=true" title="class or interface in java.net">CookieHandler</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getCookieHandler()">getCookieHandler</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getFollowProtocolRedirects()">getFollowProtocolRedirects</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>moved to <a href="../../../com/squareup/okhttp/OkHttpClient.html#getFollowSslRedirects()"><code>getFollowSslRedirects()</code></a>.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getFollowSslRedirects()">getFollowSslRedirects</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getHostnameVerifier()">getHostnameVerifier</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getOkResponseCache()">getOkResponseCache</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>replaced by <a href="../../../com/squareup/okhttp/OkHttpClient.html#getCache()"><code>getCache()</code></a> which doesn't support custom
cache implementations.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getProtocols()">getProtocols</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getProxy()">getProxy</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/ProxySelector.html?is-external=true" title="class or interface in java.net">ProxySelector</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getProxySelector()">getProxySelector</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getReadTimeout()">getReadTimeout</a></strong>()</code>
<div class="block">Default read timeout (in milliseconds).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net">ResponseCache</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getResponseCache()">getResponseCache</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>replaced by <a href="../../../com/squareup/okhttp/OkHttpClient.html#getCache()"><code>getCache()</code></a> which doesn't support custom
cache implementations.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">RouteDatabase</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getRoutesDatabase()">getRoutesDatabase</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSocketFactory.html?is-external=true" title="class or interface in javax.net.ssl">SSLSocketFactory</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getSslSocketFactory()">getSslSocketFactory</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#getTransports()">getTransports</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>OkHttp 1.5 enforces an enumeration of <a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><code>protocols</code></a> that can be selected. Please switch to <a href="../../../com/squareup/okhttp/OkHttpClient.html#getProtocols()"><code>getProtocols()</code></a>.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/HttpURLConnection.html?is-external=true" title="class or interface in java.net">HttpURLConnection</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#open(java.net.URL)">open</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>moved to <code>OkUrlFactory.open</code>.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setAuthenticator(com.squareup.okhttp.OkAuthenticator)">setAuthenticator</a></strong>(<a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a>&nbsp;authenticator)</code>
<div class="block">Sets the authenticator used to respond to challenges from the remote web
server or proxy server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)">setCache</a></strong>(<a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a>&nbsp;cache)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setConnectionPool(com.squareup.okhttp.ConnectionPool)">setConnectionPool</a></strong>(<a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a>&nbsp;connectionPool)</code>
<div class="block">Sets the connection pool used to recycle HTTP and HTTPS connections.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setConnectTimeout(long, java.util.concurrent.TimeUnit)">setConnectTimeout</a></strong>(long&nbsp;timeout,
<a href="http://java.sun.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;unit)</code>
<div class="block">Sets the default connect timeout for new connections.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setCookieHandler(java.net.CookieHandler)">setCookieHandler</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/CookieHandler.html?is-external=true" title="class or interface in java.net">CookieHandler</a>&nbsp;cookieHandler)</code>
<div class="block">Sets the cookie handler to be used to read outgoing cookies and write
incoming cookies.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setFollowProtocolRedirects(boolean)">setFollowProtocolRedirects</a></strong>(boolean&nbsp;followProtocolRedirects)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>moved to <a href="../../../com/squareup/okhttp/OkHttpClient.html#setFollowSslRedirects(boolean)"><code>setFollowSslRedirects(boolean)</code></a>.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setFollowSslRedirects(boolean)">setFollowSslRedirects</a></strong>(boolean&nbsp;followProtocolRedirects)</code>
<div class="block">Configure this client to follow redirects from HTTPS to HTTP and from HTTP
to HTTPS.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setHostnameVerifier(javax.net.ssl.HostnameVerifier)">setHostnameVerifier</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a>&nbsp;hostnameVerifier)</code>
<div class="block">Sets the verifier used to confirm that response certificates apply to
requested hostnames for HTTPS connections.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setOkResponseCache(com.squareup.okhttp.OkResponseCache)">setOkResponseCache</a></strong>(<a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a>&nbsp;responseCache)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>replaced by <a href="../../../com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)"><code>setCache(com.squareup.okhttp.Cache)</code></a> which doesn't support custom
cache implementations.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setProtocols(java.util.List)">setProtocols</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;&nbsp;protocols)</code>
<div class="block">Configure the protocols used by this client to communicate with remote
servers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setProxy(java.net.Proxy)">setProxy</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy)</code>
<div class="block">Sets the HTTP proxy that will be used by connections created by this
client.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setProxySelector(java.net.ProxySelector)">setProxySelector</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/ProxySelector.html?is-external=true" title="class or interface in java.net">ProxySelector</a>&nbsp;proxySelector)</code>
<div class="block">Sets the proxy selection policy to be used if no <a href="../../../com/squareup/okhttp/OkHttpClient.html#setProxy(java.net.Proxy)"><code>proxy</code></a>
is specified explicitly.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setReadTimeout(long, java.util.concurrent.TimeUnit)">setReadTimeout</a></strong>(long&nbsp;timeout,
<a href="http://java.sun.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;unit)</code>
<div class="block">Sets the default read timeout for new connections.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setResponseCache(java.net.ResponseCache)">setResponseCache</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net">ResponseCache</a>&nbsp;responseCache)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>replaced by <a href="../../../com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)"><code>setCache(com.squareup.okhttp.Cache)</code></a> which doesn't support custom
cache implementations.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setSslSocketFactory(javax.net.ssl.SSLSocketFactory)">setSslSocketFactory</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSocketFactory.html?is-external=true" title="class or interface in javax.net.ssl">SSLSocketFactory</a>&nbsp;sslSocketFactory)</code>
<div class="block">Sets the socket factory used to secure HTTPS connections.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkHttpClient.html#setTransports(java.util.List)">setTransports</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;transports)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>OkHttp 1.5 enforces an enumeration of <a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><code>protocols</code></a>
that can be selected. Please switch to <a href="../../../com/squareup/okhttp/OkHttpClient.html#setProtocols(java.util.List)"><code>setProtocols(java.util.List)</code></a>.</i></div>
</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="OkHttpClient()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>OkHttpClient</h4>
<pre>public&nbsp;OkHttpClient()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setConnectTimeout(long, java.util.concurrent.TimeUnit)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConnectTimeout</h4>
<pre>public&nbsp;void&nbsp;setConnectTimeout(long&nbsp;timeout,
<a href="http://java.sun.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;unit)</pre>
<div class="block">Sets the default connect timeout for new connections. A value of 0 means no timeout.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html?is-external=true#setConnectTimeout(int)" title="class or interface in java.net"><code>URLConnection.setConnectTimeout(int)</code></a></dd></dl>
</li>
</ul>
<a name="getConnectTimeout()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnectTimeout</h4>
<pre>public&nbsp;int&nbsp;getConnectTimeout()</pre>
<div class="block">Default connect timeout (in milliseconds).</div>
</li>
</ul>
<a name="setReadTimeout(long, java.util.concurrent.TimeUnit)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setReadTimeout</h4>
<pre>public&nbsp;void&nbsp;setReadTimeout(long&nbsp;timeout,
<a href="http://java.sun.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;unit)</pre>
<div class="block">Sets the default read timeout for new connections. A value of 0 means no timeout.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html?is-external=true#setReadTimeout(int)" title="class or interface in java.net"><code>URLConnection.setReadTimeout(int)</code></a></dd></dl>
</li>
</ul>
<a name="getReadTimeout()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReadTimeout</h4>
<pre>public&nbsp;int&nbsp;getReadTimeout()</pre>
<div class="block">Default read timeout (in milliseconds).</div>
</li>
</ul>
<a name="setProxy(java.net.Proxy)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setProxy</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setProxy(<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy)</pre>
<div class="block">Sets the HTTP proxy that will be used by connections created by this
client. This takes precedence over <a href="../../../com/squareup/okhttp/OkHttpClient.html#setProxySelector(java.net.ProxySelector)"><code>setProxySelector(java.net.ProxySelector)</code></a>, which is
only honored when this proxy is null (which it is by default). To disable
proxy use completely, call <code>setProxy(Proxy.NO_PROXY)</code>.</div>
</li>
</ul>
<a name="getProxy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProxy</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;getProxy()</pre>
</li>
</ul>
<a name="setProxySelector(java.net.ProxySelector)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setProxySelector</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setProxySelector(<a href="http://java.sun.com/javase/6/docs/api/java/net/ProxySelector.html?is-external=true" title="class or interface in java.net">ProxySelector</a>&nbsp;proxySelector)</pre>
<div class="block">Sets the proxy selection policy to be used if no <a href="../../../com/squareup/okhttp/OkHttpClient.html#setProxy(java.net.Proxy)"><code>proxy</code></a>
is specified explicitly. The proxy selector may return multiple proxies;
in that case they will be tried in sequence until a successful connection
is established.
<p>If unset, the <a href="http://java.sun.com/javase/6/docs/api/java/net/ProxySelector.html?is-external=true#getDefault()" title="class or interface in java.net"><code>system-wide default</code></a>
proxy selector will be used.</div>
</li>
</ul>
<a name="getProxySelector()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProxySelector</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/ProxySelector.html?is-external=true" title="class or interface in java.net">ProxySelector</a>&nbsp;getProxySelector()</pre>
</li>
</ul>
<a name="setCookieHandler(java.net.CookieHandler)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCookieHandler</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setCookieHandler(<a href="http://java.sun.com/javase/6/docs/api/java/net/CookieHandler.html?is-external=true" title="class or interface in java.net">CookieHandler</a>&nbsp;cookieHandler)</pre>
<div class="block">Sets the cookie handler to be used to read outgoing cookies and write
incoming cookies.
<p>If unset, the <a href="http://java.sun.com/javase/6/docs/api/java/net/CookieHandler.html?is-external=true#getDefault()" title="class or interface in java.net"><code>system-wide default</code></a>
cookie handler will be used.</div>
</li>
</ul>
<a name="getCookieHandler()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCookieHandler</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/CookieHandler.html?is-external=true" title="class or interface in java.net">CookieHandler</a>&nbsp;getCookieHandler()</pre>
</li>
</ul>
<a name="setResponseCache(java.net.ResponseCache)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResponseCache</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setResponseCache(<a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net">ResponseCache</a>&nbsp;responseCache)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>replaced by <a href="../../../com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)"><code>setCache(com.squareup.okhttp.Cache)</code></a> which doesn't support custom
cache implementations.</i></div>
<div class="block">Sets the response cache to be used to read and write cached responses.</div>
</li>
</ul>
<a name="getResponseCache()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResponseCache</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net">ResponseCache</a>&nbsp;getResponseCache()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>replaced by <a href="../../../com/squareup/okhttp/OkHttpClient.html#getCache()"><code>getCache()</code></a> which doesn't support custom
cache implementations.</i></div>
</li>
</ul>
<a name="setOkResponseCache(com.squareup.okhttp.OkResponseCache)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOkResponseCache</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setOkResponseCache(<a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a>&nbsp;responseCache)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>replaced by <a href="../../../com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)"><code>setCache(com.squareup.okhttp.Cache)</code></a> which doesn't support custom
cache implementations.</i></div>
</li>
</ul>
<a name="getOkResponseCache()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOkResponseCache</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a>&nbsp;getOkResponseCache()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>replaced by <a href="../../../com/squareup/okhttp/OkHttpClient.html#getCache()"><code>getCache()</code></a> which doesn't support custom
cache implementations.</i></div>
</li>
</ul>
<a name="setCache(com.squareup.okhttp.Cache)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCache</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setCache(<a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a>&nbsp;cache)</pre>
</li>
</ul>
<a name="getCache()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCache</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a>&nbsp;getCache()</pre>
</li>
</ul>
<a name="setSslSocketFactory(javax.net.ssl.SSLSocketFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSslSocketFactory</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setSslSocketFactory(<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSocketFactory.html?is-external=true" title="class or interface in javax.net.ssl">SSLSocketFactory</a>&nbsp;sslSocketFactory)</pre>
<div class="block">Sets the socket factory used to secure HTTPS connections.
<p>If unset, a lazily created SSL socket factory will be used.</div>
</li>
</ul>
<a name="getSslSocketFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSslSocketFactory</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSocketFactory.html?is-external=true" title="class or interface in javax.net.ssl">SSLSocketFactory</a>&nbsp;getSslSocketFactory()</pre>
</li>
</ul>
<a name="setHostnameVerifier(javax.net.ssl.HostnameVerifier)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHostnameVerifier</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setHostnameVerifier(<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a>&nbsp;hostnameVerifier)</pre>
<div class="block">Sets the verifier used to confirm that response certificates apply to
requested hostnames for HTTPS connections.
<p>If unset, the
<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/HttpsURLConnection.html?is-external=true#getDefaultHostnameVerifier()" title="class or interface in javax.net.ssl"><code>system-wide default</code></a> hostname verifier will be used.</div>
</li>
</ul>
<a name="getHostnameVerifier()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHostnameVerifier</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a>&nbsp;getHostnameVerifier()</pre>
</li>
</ul>
<a name="setAuthenticator(com.squareup.okhttp.OkAuthenticator)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAuthenticator</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setAuthenticator(<a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a>&nbsp;authenticator)</pre>
<div class="block">Sets the authenticator used to respond to challenges from the remote web
server or proxy server.
<p>If unset, the <a href="http://java.sun.com/javase/6/docs/api/java/net/Authenticator.html?is-external=true#setDefault(java.net.Authenticator)" title="class or interface in java.net"><code>system-wide default</code></a>
authenticator will be used.</div>
</li>
</ul>
<a name="getAuthenticator()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAuthenticator</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a>&nbsp;getAuthenticator()</pre>
</li>
</ul>
<a name="setConnectionPool(com.squareup.okhttp.ConnectionPool)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConnectionPool</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setConnectionPool(<a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a>&nbsp;connectionPool)</pre>
<div class="block">Sets the connection pool used to recycle HTTP and HTTPS connections.
<p>If unset, the <a href="../../../com/squareup/okhttp/ConnectionPool.html#getDefault()"><code>system-wide
default</code></a> connection pool will be used.</div>
</li>
</ul>
<a name="getConnectionPool()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnectionPool</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a>&nbsp;getConnectionPool()</pre>
</li>
</ul>
<a name="setFollowProtocolRedirects(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFollowProtocolRedirects</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setFollowProtocolRedirects(boolean&nbsp;followProtocolRedirects)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>moved to <a href="../../../com/squareup/okhttp/OkHttpClient.html#setFollowSslRedirects(boolean)"><code>setFollowSslRedirects(boolean)</code></a>.</i></div>
</li>
</ul>
<a name="getFollowProtocolRedirects()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFollowProtocolRedirects</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;boolean&nbsp;getFollowProtocolRedirects()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>moved to <a href="../../../com/squareup/okhttp/OkHttpClient.html#getFollowSslRedirects()"><code>getFollowSslRedirects()</code></a>.</i></div>
</li>
</ul>
<a name="setFollowSslRedirects(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFollowSslRedirects</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setFollowSslRedirects(boolean&nbsp;followProtocolRedirects)</pre>
<div class="block">Configure this client to follow redirects from HTTPS to HTTP and from HTTP
to HTTPS.
<p>If unset, protocol redirects will be followed. This is different than
the built-in <code>HttpURLConnection</code>'s default.</div>
</li>
</ul>
<a name="getFollowSslRedirects()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFollowSslRedirects</h4>
<pre>public&nbsp;boolean&nbsp;getFollowSslRedirects()</pre>
</li>
</ul>
<a name="getRoutesDatabase()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoutesDatabase</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">RouteDatabase</a>&nbsp;getRoutesDatabase()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>removed from the public API in OkHttp 2.0.</i></div>
</li>
</ul>
<a name="setTransports(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTransports</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setTransports(<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;transports)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>OkHttp 1.5 enforces an enumeration of <a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><code>protocols</code></a>
that can be selected. Please switch to <a href="../../../com/squareup/okhttp/OkHttpClient.html#setProtocols(java.util.List)"><code>setProtocols(java.util.List)</code></a>.</i></div>
</li>
</ul>
<a name="setProtocols(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setProtocols</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;setProtocols(<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;&nbsp;protocols)</pre>
<div class="block">Configure the protocols used by this client to communicate with remote
servers. By default this client will prefer the most efficient transport
available, falling back to more ubiquitous protocols. Applications should
only call this method to avoid specific compatibility problems, such as web
servers that behave incorrectly when SPDY is enabled.
<p>The following protocols are currently supported:
<ul>
<li><a href="http://www.w3.org/Protocols/rfc2616/rfc2616.html">http/1.1</a>
<li><a href="http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3-1">spdy/3.1</a>
<li><a href="http://tools.ietf.org/html/draft-ietf-httpbis-http2-09">HTTP-draft-09/2.0</a>
</ul>
<p><strong>This is an evolving set.</strong> Future releases may drop
support for transitional protocols (like spdy/3.1), in favor of their
successors (spdy/4 or http/2.0). The http/1.1 transport will never be
dropped.
<p>If multiple protocols are specified, <a
href="https://technotes.googlecode.com/git/nextprotoneg.html">NPN</a> will
be used to negotiate a transport. Future releases may use another mechanism
(such as <a href="http://tools.ietf.org/html/draft-friedl-tls-applayerprotoneg-02">ALPN</a>)
to negotiate a transport.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>protocols</code> - the protocols to use, in order of preference. The list
must contain "http/1.1". It must not contain null.</dd></dl>
</li>
</ul>
<a name="getTransports()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransports</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getTransports()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>OkHttp 1.5 enforces an enumeration of <a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><code>protocols</code></a> that can be selected. Please switch to <a href="../../../com/squareup/okhttp/OkHttpClient.html#getProtocols()"><code>getProtocols()</code></a>.</i></div>
</li>
</ul>
<a name="getProtocols()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProtocols</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;&nbsp;getProtocols()</pre>
</li>
</ul>
<a name="open(java.net.URL)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>open</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/HttpURLConnection.html?is-external=true" title="class or interface in java.net">HttpURLConnection</a>&nbsp;open(<a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>moved to <code>OkUrlFactory.open</code>.</i></div>
</li>
</ul>
<a name="clone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a>&nbsp;clone()</pre>
<div class="block">Returns a shallow copy of this OkHttpClient.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="createURLStreamHandler(java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>createURLStreamHandler</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/URLStreamHandler.html?is-external=true" title="class or interface in java.net">URLStreamHandler</a>&nbsp;createURLStreamHandler(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;protocol)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>moved to <code>OkUrlFactory.createURLStreamHandler</code>.</i></div>
<div class="block">Creates a URLStreamHandler as a <a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true#setURLStreamHandlerFactory(java.net.URLStreamHandlerFactory)" title="class or interface in java.net"><code>URL.setURLStreamHandlerFactory(java.net.URLStreamHandlerFactory)</code></a>.
<p>This code configures OkHttp to handle all HTTP and HTTPS connections
created with <a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true#openConnection()" title="class or interface in java.net"><code>URL.openConnection()</code></a>: <pre> <code>OkHttpClient okHttpClient = new OkHttpClient();
URL.setURLStreamHandlerFactory(okHttpClient);
</code></pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/net/URLStreamHandlerFactory.html?is-external=true#createURLStreamHandler(java.lang.String)" title="class or interface in java.net">createURLStreamHandler</a></code>&nbsp;in interface&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/net/URLStreamHandlerFactory.html?is-external=true" title="class or interface in java.net">URLStreamHandlerFactory</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OkHttpClient.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/OkHttpClient.html" target="_top">Frames</a></li>
<li><a href="OkHttpClient.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,330 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>OkResponseCache (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="OkResponseCache (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OkResponseCache.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/OkResponseCache.html" target="_top">Frames</a></li>
<li><a href="OkResponseCache.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Interface OkResponseCache" class="title">Interface OkResponseCache</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a>, <a href="../../../com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp">HttpResponseCache</a></dd>
</dl>
<hr>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
<br>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public interface <span class="strong">OkResponseCache</span></pre>
<div class="block">An extended response cache API. Unlike <a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net"><code>ResponseCache</code></a>, this
interface supports conditional caching and statistics.
<h3>Warning: Experimental OkHttp 2.0 API</h3>
This class is in beta. APIs are subject to change!</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>com.squareup.okhttp.internal.http.Response</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkResponseCache.html#get(com.squareup.okhttp.internal.http.Request)">get</a></strong>(com.squareup.okhttp.internal.http.Request&nbsp;request)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkResponseCache.html#maybeRemove(com.squareup.okhttp.internal.http.Request)">maybeRemove</a></strong>(com.squareup.okhttp.internal.http.Request&nbsp;request)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Remove any cache entries for the supplied <code>uri</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/CacheRequest.html?is-external=true" title="class or interface in java.net">CacheRequest</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkResponseCache.html#put(com.squareup.okhttp.internal.http.Response)">put</a></strong>(com.squareup.okhttp.internal.http.Response&nbsp;response)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkResponseCache.html#trackConditionalCacheHit()">trackConditionalCacheHit</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Track an conditional GET that was satisfied by this cache.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkResponseCache.html#trackResponse(com.squareup.okhttp.ResponseSource)">trackResponse</a></strong>(<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a>&nbsp;source)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Track an HTTP response being satisfied by <code>source</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/OkResponseCache.html#update(com.squareup.okhttp.internal.http.Response, com.squareup.okhttp.internal.http.Response)">update</a></strong>(com.squareup.okhttp.internal.http.Response&nbsp;cached,
com.squareup.okhttp.internal.http.Response&nbsp;network)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Handles a conditional request hit by updating the stored cache response
with the headers from <code>network</code>.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="get(com.squareup.okhttp.internal.http.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>com.squareup.okhttp.internal.http.Response&nbsp;get(com.squareup.okhttp.internal.http.Request&nbsp;request)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="put(com.squareup.okhttp.internal.http.Response)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/net/CacheRequest.html?is-external=true" title="class or interface in java.net">CacheRequest</a>&nbsp;put(com.squareup.okhttp.internal.http.Response&nbsp;response)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="maybeRemove(com.squareup.okhttp.internal.http.Request)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maybeRemove</h4>
<pre>boolean&nbsp;maybeRemove(com.squareup.okhttp.internal.http.Request&nbsp;request)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Remove any cache entries for the supplied <code>uri</code>. Returns true if the
supplied <code>requestMethod</code> potentially invalidates an entry in the
cache.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="update(com.squareup.okhttp.internal.http.Response, com.squareup.okhttp.internal.http.Response)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>update</h4>
<pre>void&nbsp;update(com.squareup.okhttp.internal.http.Response&nbsp;cached,
com.squareup.okhttp.internal.http.Response&nbsp;network)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Handles a conditional request hit by updating the stored cache response
with the headers from <code>network</code>. The cached response body is not
updated. If the stored response has changed since <code>cached</code> was
returned, this does nothing.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="trackConditionalCacheHit()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trackConditionalCacheHit</h4>
<pre>void&nbsp;trackConditionalCacheHit()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Track an conditional GET that was satisfied by this cache.</div>
</li>
</ul>
<a name="trackResponse(com.squareup.okhttp.ResponseSource)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>trackResponse</h4>
<pre>void&nbsp;trackResponse(<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a>&nbsp;source)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Track an HTTP response being satisfied by <code>source</code>.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OkResponseCache.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/OkResponseCache.html" target="_top">Frames</a></li>
<li><a href="OkResponseCache.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,407 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Protocol (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Protocol (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Protocol.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/Protocol.html" target="_top">Frames</a></li>
<li><a href="Protocol.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum_constant_summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum_constant_detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Enum Protocol" class="title">Enum Protocol</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a>&lt;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;</li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.Protocol</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public enum <span class="strong">Protocol</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;</pre>
<div class="block">Contains protocols that OkHttp supports
<a href="http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04">NPN</a> or
<a href="http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg">ALPN</a> selection.
<p>
<h3>Protocol vs Scheme</h3>
Despite its name, <a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true#getProtocol()" title="class or interface in java.net"><code>URL.getProtocol()</code></a> returns the
<a href="http://java.sun.com/javase/6/docs/api/java/net/URI.html?is-external=true#getScheme()" title="class or interface in java.net"><code>scheme</code></a> (http, https, etc.) of the URL, not
the protocol (http/1.1, spdy/3.1, etc.). OkHttp uses the word protocol to
indicate how HTTP messages are framed.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum_constant_summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum Constant and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/Protocol.html#HTTP_11">HTTP_11</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/Protocol.html#HTTP_2">HTTP_2</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/Protocol.html#SPDY_3">SPDY_3</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>com.squareup.okhttp.internal.okio.ByteString</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Protocol.html#name">name</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Protocol.html#spdyVariant">spdyVariant</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Protocol.html#valueOf(java.lang.String)">valueOf</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Protocol.html#values()">values</a></strong>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum_constant_detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a name="HTTP_2">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HTTP_2</h4>
<pre>public static final&nbsp;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a> HTTP_2</pre>
</li>
</ul>
<a name="SPDY_3">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SPDY_3</h4>
<pre>public static final&nbsp;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a> SPDY_3</pre>
</li>
</ul>
<a name="HTTP_11">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HTTP_11</h4>
<pre>public static final&nbsp;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a> HTTP_11</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="name">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>name</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public final&nbsp;com.squareup.okhttp.internal.okio.ByteString name</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>removed from the public API in OkHttp 2.0.</i></div>
<div class="block">Identifier string used in NPN or ALPN selection.</div>
</li>
</ul>
<a name="spdyVariant">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>spdyVariant</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public final&nbsp;boolean spdyVariant</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>removed from the public API in OkHttp 2.0.</i></div>
<div class="block">When true the protocol is binary framed and derived from SPDY.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><code>Variant</code></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="values()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public static&nbsp;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>[]&nbsp;values()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (Protocol c : Protocol.values())
&nbsp; System.out.println(c);
</pre></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in
the order they are declared</dd></dl>
</li>
</ul>
<a name="valueOf(java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&nbsp;valueOf(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant
with the specified name</dd>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Protocol.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/Protocol.html" target="_top">Frames</a></li>
<li><a href="Protocol.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum_constant_summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum_constant_detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,413 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>ResponseSource (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ResponseSource (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ResponseSource.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/ResponseSource.html" target="_top">Frames</a></li>
<li><a href="ResponseSource.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum_constant_summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum_constant_detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Enum ResponseSource" class="title">Enum ResponseSource</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a>&lt;<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a>&gt;</li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.ResponseSource</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a>&gt;</dd>
</dl>
<hr>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>removed from the public API in OkHttp 2.0. Use the response's
<code>networkResponse()</code> and <code>cacheResponse()</code> to compute how the
request was satisfied.</i></div>
</div>
<br>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public enum <span class="strong">ResponseSource</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a>&gt;</pre>
<div class="block">The source of an HTTP response.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum_constant_summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum Constant and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/ResponseSource.html#CACHE">CACHE</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The response was returned from the local cache.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/ResponseSource.html#CONDITIONAL_CACHE">CONDITIONAL_CACHE</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The response is available in the cache but must be validated with the
network.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/ResponseSource.html#NETWORK">NETWORK</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The response was returned from the network.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/ResponseSource.html#NONE">NONE</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The request demanded a cached response that the cache couldn't satisfy.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/ResponseSource.html#requiresConnection()">requiresConnection</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/ResponseSource.html#usesCache()">usesCache</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/ResponseSource.html#valueOf(java.lang.String)">valueOf</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/ResponseSource.html#values()">values</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum_constant_detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a name="CACHE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CACHE</h4>
<pre>public static final&nbsp;<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a> CACHE</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The response was returned from the local cache.</div>
</li>
</ul>
<a name="CONDITIONAL_CACHE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONDITIONAL_CACHE</h4>
<pre>public static final&nbsp;<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a> CONDITIONAL_CACHE</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The response is available in the cache but must be validated with the
network. The cache result will be used if it is still valid; otherwise
the network's response will be used.</div>
</li>
</ul>
<a name="NETWORK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NETWORK</h4>
<pre>public static final&nbsp;<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a> NETWORK</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The response was returned from the network.</div>
</li>
</ul>
<a name="NONE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>NONE</h4>
<pre>public static final&nbsp;<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a> NONE</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The request demanded a cached response that the cache couldn't satisfy.
This yields a 504 (Gateway Timeout) response as specified by
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.4.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="values()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public static&nbsp;<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a>[]&nbsp;values()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (ResponseSource c : ResponseSource.values())
&nbsp; System.out.println(c);
</pre></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in
the order they are declared</dd></dl>
</li>
</ul>
<a name="valueOf(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a>&nbsp;valueOf(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant
with the specified name</dd>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd></dl>
</li>
</ul>
<a name="requiresConnection()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requiresConnection</h4>
<pre>public&nbsp;boolean&nbsp;requiresConnection()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
</li>
</ul>
<a name="usesCache()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>usesCache</h4>
<pre>public&nbsp;boolean&nbsp;usesCache()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ResponseSource.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/ResponseSource.html" target="_top">Frames</a></li>
<li><a href="ResponseSource.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum_constant_summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum_constant_detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,379 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Route (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Route (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Route.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/Route.html" target="_top">Frames</a></li>
<li><a href="Route.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class Route" class="title">Class Route</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.Route</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">Route</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">The concrete route used by a connection to reach an abstract origin server.
When creating a connection the client has many options:
<ul>
<li><strong>HTTP proxy:</strong> a proxy server may be explicitly
configured for the client. Otherwise the <a href="http://java.sun.com/javase/6/docs/api/java/net/ProxySelector.html?is-external=true" title="class or interface in java.net"><code>proxy selector</code></a> is used. It may return multiple proxies to attempt.
<li><strong>IP address:</strong> whether connecting directly to an origin
server or a proxy, opening a socket requires an IP address. The DNS
server may return multiple IP addresses to attempt.
<li><strong>Modern TLS:</strong> whether to include advanced TLS options
when attempting a HTTPS connection.
</ul>
Each route is a specific selection of these options.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/Route.html#Route(com.squareup.okhttp.Address, java.net.Proxy, java.net.InetSocketAddress, boolean)">Route</a></strong>(<a href="../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a>&nbsp;address,
<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;inetSocketAddress,
boolean&nbsp;modernTls)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Route.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Route.html#getAddress()">getAddress</a></strong>()</code>
<div class="block">Returns the <a href="../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp"><code>Address</code></a> of this route.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Route.html#getProxy()">getProxy</a></strong>()</code>
<div class="block">Returns the <a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net"><code>Proxy</code></a> of this route.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Route.html#getSocketAddress()">getSocketAddress</a></strong>()</code>
<div class="block">Returns the <a href="http://java.sun.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net"><code>InetSocketAddress</code></a> of this route.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Route.html#getTlsVersion()">getTlsVersion</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Route.html#hashCode()">hashCode</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/Route.html#isModernTls()">isModernTls</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>replaced with <a href="../../../com/squareup/okhttp/Route.html#getTlsVersion()"><code>getTlsVersion()</code></a> in OkHttp 2.0.</i></div>
</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Route(com.squareup.okhttp.Address, java.net.Proxy, java.net.InetSocketAddress, boolean)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Route</h4>
<pre>public&nbsp;Route(<a href="../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a>&nbsp;address,
<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;inetSocketAddress,
boolean&nbsp;modernTls)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getAddress()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAddress</h4>
<pre>public&nbsp;<a href="../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a>&nbsp;getAddress()</pre>
<div class="block">Returns the <a href="../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp"><code>Address</code></a> of this route.</div>
</li>
</ul>
<a name="getProxy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProxy</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;getProxy()</pre>
<div class="block">Returns the <a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net"><code>Proxy</code></a> of this route.
<strong>Warning:</strong> This may disagree with <a href="../../../com/squareup/okhttp/Address.html#getProxy()"><code>Address.getProxy()</code></a>
is null. When the address's proxy is null, the proxy selector will be used.</div>
</li>
</ul>
<a name="getSocketAddress()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSocketAddress</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;getSocketAddress()</pre>
<div class="block">Returns the <a href="http://java.sun.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net"><code>InetSocketAddress</code></a> of this route.</div>
</li>
</ul>
<a name="isModernTls()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isModernTls</h4>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;boolean&nbsp;isModernTls()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>replaced with <a href="../../../com/squareup/okhttp/Route.html#getTlsVersion()"><code>getTlsVersion()</code></a> in OkHttp 2.0.</i></div>
<div class="block">Returns true if this route uses modern TLS.</div>
</li>
</ul>
<a name="getTlsVersion()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTlsVersion</h4>
<pre>public&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getTlsVersion()</pre>
</li>
</ul>
<a name="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="hashCode()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Route.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/Route.html" target="_top">Frames</a></li>
<li><a href="Route.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,325 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>RouteDatabase (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RouteDatabase (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RouteDatabase.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/RouteDatabase.html" target="_top">Frames</a></li>
<li><a href="RouteDatabase.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class RouteDatabase" class="title">Class RouteDatabase</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.RouteDatabase</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
<br>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public final class <span class="strong">RouteDatabase</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">A blacklist of failed routes to avoid when creating a new connection to a
target address. This is used so that OkHttp can learn from its mistakes: if
there was a failure attempting to connect to a specific IP address, proxy
server or TLS mode, that failure is remembered and alternate routes are
preferred.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/RouteDatabase.html#RouteDatabase()">RouteDatabase</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/RouteDatabase.html#connected(com.squareup.okhttp.Route)">connected</a></strong>(<a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;route)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Records success connecting to <code>failedRoute</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/RouteDatabase.html#failed(com.squareup.okhttp.Route)">failed</a></strong>(<a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;failedRoute)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Records a failure connecting to <code>failedRoute</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/RouteDatabase.html#failedRoutesCount()">failedRoutesCount</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/squareup/okhttp/RouteDatabase.html#shouldPostpone(com.squareup.okhttp.Route)">shouldPostpone</a></strong>(<a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;route)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Returns true if <code>route</code> has failed recently and should be avoided.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="RouteDatabase()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RouteDatabase</h4>
<pre>public&nbsp;RouteDatabase()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="failed(com.squareup.okhttp.Route)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>failed</h4>
<pre>public&nbsp;void&nbsp;failed(<a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;failedRoute)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Records a failure connecting to <code>failedRoute</code>.</div>
</li>
</ul>
<a name="connected(com.squareup.okhttp.Route)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connected</h4>
<pre>public&nbsp;void&nbsp;connected(<a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;route)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Records success connecting to <code>failedRoute</code>.</div>
</li>
</ul>
<a name="shouldPostpone(com.squareup.okhttp.Route)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shouldPostpone</h4>
<pre>public&nbsp;boolean&nbsp;shouldPostpone(<a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;route)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Returns true if <code>route</code> has failed recently and should be avoided.</div>
</li>
</ul>
<a name="failedRoutesCount()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>failedRoutesCount</h4>
<pre>public&nbsp;int&nbsp;failedRoutesCount()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RouteDatabase.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/RouteDatabase.html" target="_top">Frames</a></li>
<li><a href="RouteDatabase.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,249 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>TunnelRequest (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="TunnelRequest (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/TunnelRequest.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/TunnelRequest.html" target="_top">Frames</a></li>
<li><a href="TunnelRequest.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#methods_inherited_from_class_java.lang.Object">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp</div>
<h2 title="Class TunnelRequest" class="title">Class TunnelRequest</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.TunnelRequest</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
<br>
<pre><a href="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public final class <span class="strong">TunnelRequest</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Routing and authentication information sent to an HTTP proxy to create a
HTTPS to an origin server. Everything in the tunnel request is sent
unencrypted to the proxy server.
<p>See <a href="http://www.ietf.org/rfc/rfc2817.txt">RFC 2817, Section
5.2</a>.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/squareup/okhttp/TunnelRequest.html#TunnelRequest(java.lang.String, int, java.lang.String, java.lang.String)">TunnelRequest</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;host,
int&nbsp;port,
<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userAgent,
<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;proxyAuthorization)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="TunnelRequest(java.lang.String, int, java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>TunnelRequest</h4>
<pre>public&nbsp;TunnelRequest(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;host,
int&nbsp;port,
<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userAgent,
<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;proxyAuthorization)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>host</code> - the origin server's hostname. Not null.</dd><dd><code>port</code> - the origin server's port, like 80 or 443.</dd><dd><code>userAgent</code> - the client's user-agent. Not null.</dd><dd><code>proxyAuthorization</code> - proxy authorization, or null if the proxy is
used without an authorization header.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/TunnelRequest.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/TunnelRequest.html" target="_top">Frames</a></li>
<li><a href="TunnelRequest.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#methods_inherited_from_class_java.lang.Object">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -1,528 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:18:02 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>OkApacheClient (OkHttp Apache HttpClient 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="OkApacheClient (OkHttp Apache HttpClient 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OkApacheClient.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/apache/OkApacheClient.html" target="_top">Frames</a></li>
<li><a href="OkApacheClient.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.squareup.okhttp.apache</div>
<h2 title="Class OkApacheClient" class="title">Class OkApacheClient</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>com.squareup.okhttp.apache.OkApacheClient</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>org.apache.http.client.HttpClient</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">OkApacheClient</span>
extends <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements org.apache.http.client.HttpClient</pre>
<div class="block">Implements Apache's <code>HttpClient</code> API using <a href="https://github.com/square/okhttp/okhttp/apidocs/com/squareup/okhttp/OkHttpClient.html?is-external=true" title="class or interface in com.squareup.okhttp"><code>OkHttpClient</code></a>.
<p>
<strong>Warning:</strong> Many core features of Apache HTTP client are not implemented by this
API. This includes the keep-alive strategy, cookie store, credentials provider, route planner
and others.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://github.com/square/okhttp/okhttp/apidocs/com/squareup/okhttp/OkHttpClient.html?is-external=true" title="class or interface in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#client">client</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#OkApacheClient()">OkApacheClient</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#OkApacheClient(com.squareup.okhttp.OkHttpClient)">OkApacheClient</a></strong>(<a href="https://github.com/square/okhttp/okhttp/apidocs/com/squareup/okhttp/OkHttpClient.html?is-external=true" title="class or interface in com.squareup.okhttp">OkHttpClient</a>&nbsp;client)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.apache.http.HttpResponse</code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.HttpHost, org.apache.http.HttpRequest)">execute</a></strong>(org.apache.http.HttpHost&nbsp;host,
org.apache.http.HttpRequest&nbsp;request)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.apache.http.HttpResponse</code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext)">execute</a></strong>(org.apache.http.HttpHost&nbsp;host,
org.apache.http.HttpRequest&nbsp;request,
org.apache.http.protocol.HttpContext&nbsp;context)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler)">execute</a></strong>(org.apache.http.HttpHost&nbsp;host,
org.apache.http.HttpRequest&nbsp;request,
org.apache.http.client.ResponseHandler&lt;? extends T&gt;&nbsp;handler)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler, org.apache.http.protocol.HttpContext)">execute</a></strong>(org.apache.http.HttpHost&nbsp;host,
org.apache.http.HttpRequest&nbsp;request,
org.apache.http.client.ResponseHandler&lt;? extends T&gt;&nbsp;handler,
org.apache.http.protocol.HttpContext&nbsp;context)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.apache.http.HttpResponse</code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.client.methods.HttpUriRequest)">execute</a></strong>(org.apache.http.client.methods.HttpUriRequest&nbsp;request)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.apache.http.HttpResponse</code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext)">execute</a></strong>(org.apache.http.client.methods.HttpUriRequest&nbsp;request,
org.apache.http.protocol.HttpContext&nbsp;context)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler)">execute</a></strong>(org.apache.http.client.methods.HttpUriRequest&nbsp;request,
org.apache.http.client.ResponseHandler&lt;? extends T&gt;&nbsp;handler)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler, org.apache.http.protocol.HttpContext)">execute</a></strong>(org.apache.http.client.methods.HttpUriRequest&nbsp;request,
org.apache.http.client.ResponseHandler&lt;? extends T&gt;&nbsp;handler,
org.apache.http.protocol.HttpContext&nbsp;context)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.apache.http.conn.ClientConnectionManager</code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#getConnectionManager()">getConnectionManager</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.apache.http.params.HttpParams</code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#getParams()">getParams</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="http://java.sun.com/javase/6/docs/api/java/net/HttpURLConnection.html?is-external=true" title="class or interface in java.net">HttpURLConnection</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html#openConnection(java.net.URL)">openConnection</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url)</code>
<div class="block">Returns a new HttpURLConnection customized for this application.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="client">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>client</h4>
<pre>protected final&nbsp;<a href="https://github.com/square/okhttp/okhttp/apidocs/com/squareup/okhttp/OkHttpClient.html?is-external=true" title="class or interface in com.squareup.okhttp">OkHttpClient</a> client</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="OkApacheClient()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OkApacheClient</h4>
<pre>public&nbsp;OkApacheClient()</pre>
</li>
</ul>
<a name="OkApacheClient(com.squareup.okhttp.OkHttpClient)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>OkApacheClient</h4>
<pre>public&nbsp;OkApacheClient(<a href="https://github.com/square/okhttp/okhttp/apidocs/com/squareup/okhttp/OkHttpClient.html?is-external=true" title="class or interface in com.squareup.okhttp">OkHttpClient</a>&nbsp;client)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="openConnection(java.net.URL)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>openConnection</h4>
<pre>protected&nbsp;<a href="http://java.sun.com/javase/6/docs/api/java/net/HttpURLConnection.html?is-external=true" title="class or interface in java.net">HttpURLConnection</a>&nbsp;openConnection(<a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url)</pre>
<div class="block">Returns a new HttpURLConnection customized for this application. Subclasses should override
this to customize the connection.</div>
</li>
</ul>
<a name="getParams()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParams</h4>
<pre>public&nbsp;org.apache.http.params.HttpParams&nbsp;getParams()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getParams</code>&nbsp;in interface&nbsp;<code>org.apache.http.client.HttpClient</code></dd>
</dl>
</li>
</ul>
<a name="getConnectionManager()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnectionManager</h4>
<pre>public&nbsp;org.apache.http.conn.ClientConnectionManager&nbsp;getConnectionManager()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getConnectionManager</code>&nbsp;in interface&nbsp;<code>org.apache.http.client.HttpClient</code></dd>
</dl>
</li>
</ul>
<a name="execute(org.apache.http.client.methods.HttpUriRequest)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public&nbsp;org.apache.http.HttpResponse&nbsp;execute(org.apache.http.client.methods.HttpUriRequest&nbsp;request)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>execute</code>&nbsp;in interface&nbsp;<code>org.apache.http.client.HttpClient</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public&nbsp;org.apache.http.HttpResponse&nbsp;execute(org.apache.http.client.methods.HttpUriRequest&nbsp;request,
org.apache.http.protocol.HttpContext&nbsp;context)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>execute</code>&nbsp;in interface&nbsp;<code>org.apache.http.client.HttpClient</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="execute(org.apache.http.HttpHost, org.apache.http.HttpRequest)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public&nbsp;org.apache.http.HttpResponse&nbsp;execute(org.apache.http.HttpHost&nbsp;host,
org.apache.http.HttpRequest&nbsp;request)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>execute</code>&nbsp;in interface&nbsp;<code>org.apache.http.client.HttpClient</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public&nbsp;org.apache.http.HttpResponse&nbsp;execute(org.apache.http.HttpHost&nbsp;host,
org.apache.http.HttpRequest&nbsp;request,
org.apache.http.protocol.HttpContext&nbsp;context)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>execute</code>&nbsp;in interface&nbsp;<code>org.apache.http.client.HttpClient</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;execute(org.apache.http.client.methods.HttpUriRequest&nbsp;request,
org.apache.http.client.ResponseHandler&lt;? extends T&gt;&nbsp;handler)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>execute</code>&nbsp;in interface&nbsp;<code>org.apache.http.client.HttpClient</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler, org.apache.http.protocol.HttpContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;execute(org.apache.http.client.methods.HttpUriRequest&nbsp;request,
org.apache.http.client.ResponseHandler&lt;? extends T&gt;&nbsp;handler,
org.apache.http.protocol.HttpContext&nbsp;context)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>execute</code>&nbsp;in interface&nbsp;<code>org.apache.http.client.HttpClient</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;execute(org.apache.http.HttpHost&nbsp;host,
org.apache.http.HttpRequest&nbsp;request,
org.apache.http.client.ResponseHandler&lt;? extends T&gt;&nbsp;handler)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>execute</code>&nbsp;in interface&nbsp;<code>org.apache.http.client.HttpClient</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler, org.apache.http.protocol.HttpContext)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>execute</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;execute(org.apache.http.HttpHost&nbsp;host,
org.apache.http.HttpRequest&nbsp;request,
org.apache.http.client.ResponseHandler&lt;? extends T&gt;&nbsp;handler,
org.apache.http.protocol.HttpContext&nbsp;context)
throws <a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>execute</code>&nbsp;in interface&nbsp;<code>org.apache.http.client.HttpClient</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/OkApacheClient.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/apache/OkApacheClient.html" target="_top">Frames</a></li>
<li><a href="OkApacheClient.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -1,115 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:18:02 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.apache.OkApacheClient (OkHttp Apache HttpClient 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.apache.OkApacheClient (OkHttp Apache HttpClient 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li><a href="../../../../../com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/squareup/okhttp/apache/class-use/OkApacheClient.html" target="_top">Frames</a></li>
<li><a href="OkApacheClient.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.apache.OkApacheClient" class="title">Uses of Class<br>com.squareup.okhttp.apache.OkApacheClient</h2>
</div>
<div class="classUseContainer">No usage of com.squareup.okhttp.apache.OkApacheClient</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li><a href="../../../../../com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/squareup/okhttp/apache/class-use/OkApacheClient.html" target="_top">Frames</a></li>
<li><a href="OkApacheClient.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -1,20 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:18:02 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>com.squareup.okhttp.apache (OkHttp Apache HttpClient 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<h1 class="bar"><a href="../../../../com/squareup/okhttp/apache/package-summary.html" target="classFrame">com.squareup.okhttp.apache</a></h1>
<div class="indexContainer">
<h2 title="Classes">Classes</h2>
<ul title="Classes">
<li><a href="OkApacheClient.html" title="class in com.squareup.okhttp.apache" target="classFrame">OkApacheClient</a></li>
</ul>
</div>
</body>
</html>

View File

@@ -1,124 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:18:02 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>com.squareup.okhttp.apache Class Hierarchy (OkHttp Apache HttpClient 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.squareup.okhttp.apache Class Hierarchy (OkHttp Apache HttpClient 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/apache/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">Hierarchy For Package com.squareup.okhttp.apache</h1>
</div>
<div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li type="circle">java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="strong">Object</span></a>
<ul>
<li type="circle">com.squareup.okhttp.apache.<a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache"><span class="strong">OkApacheClient</span></a> (implements org.apache.http.client.HttpClient)</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/apache/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,171 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.Address (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.Address (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/Address.html" target="_top">Frames</a></li>
<li><a href="Address.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.Address" class="title">Uses of Class<br>com.squareup.okhttp.Address</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></code></td>
<td class="colLast"><span class="strong">Route.</span><code><strong><a href="../../../../com/squareup/okhttp/Route.html#getAddress()">getAddress</a></strong>()</code>
<div class="block">Returns the <a href="../../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp"><code>Address</code></a> of this route.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with parameters of type <a href="../../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></code></td>
<td class="colLast"><span class="strong">ConnectionPool.</span><code><strong><a href="../../../../com/squareup/okhttp/ConnectionPool.html#get(com.squareup.okhttp.Address)">get</a></strong>(<a href="../../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a>&nbsp;address)</code>
<div class="block">Returns a recycled connection to <code>address</code>, or null if no such connection exists.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with parameters of type <a href="../../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/Route.html#Route(com.squareup.okhttp.Address, java.net.Proxy, java.net.InetSocketAddress, boolean)">Route</a></strong>(<a href="../../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a>&nbsp;address,
<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;inetSocketAddress,
boolean&nbsp;modernTls)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/Address.html" target="_top">Frames</a></li>
<li><a href="Address.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,170 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.Cache (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.Cache (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/Cache.html" target="_top">Frames</a></li>
<li><a href="Cache.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.Cache" class="title">Uses of Class<br>com.squareup.okhttp.Cache</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
<caption><span>Subclasses of <a href="../../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp">HttpResponseCache</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>renamed to <a href="../../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp"><code>Cache</code></a>.</i></div>
</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#getCache()">getCache</a></strong>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with parameters of type <a href="../../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)">setCache</a></strong>(<a href="../../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a>&nbsp;cache)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/Cache.html" target="_top">Frames</a></li>
<li><a href="Cache.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,142 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.CacheControl (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.CacheControl (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/CacheControl.html" target="_top">Frames</a></li>
<li><a href="CacheControl.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.CacheControl" class="title">Uses of Class<br>com.squareup.okhttp.CacheControl</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></code></td>
<td class="colLast"><span class="strong">CacheControl.</span><code><strong><a href="../../../../com/squareup/okhttp/CacheControl.html#parse(com.squareup.okhttp.internal.http.Headers)">parse</a></strong>(com.squareup.okhttp.internal.http.Headers&nbsp;headers)</code>
<div class="block">Returns the cache directives of <code>headers</code>.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/CacheControl.html" target="_top">Frames</a></li>
<li><a href="CacheControl.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,163 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.Connection (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.Connection (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/Connection.html" target="_top">Frames</a></li>
<li><a href="Connection.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.Connection" class="title">Uses of Class<br>com.squareup.okhttp.Connection</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></code></td>
<td class="colLast"><span class="strong">ConnectionPool.</span><code><strong><a href="../../../../com/squareup/okhttp/ConnectionPool.html#get(com.squareup.okhttp.Address)">get</a></strong>(<a href="../../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a>&nbsp;address)</code>
<div class="block">Returns a recycled connection to <code>address</code>, or null if no such connection exists.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with parameters of type <a href="../../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">ConnectionPool.</span><code><strong><a href="../../../../com/squareup/okhttp/ConnectionPool.html#recycle(com.squareup.okhttp.Connection)">recycle</a></strong>(<a href="../../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a>&nbsp;connection)</code>
<div class="block">Gives <code>connection</code> to the pool.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">ConnectionPool.</span><code><strong><a href="../../../../com/squareup/okhttp/ConnectionPool.html#share(com.squareup.okhttp.Connection)">share</a></strong>(<a href="../../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a>&nbsp;connection)</code>
<div class="block">Shares the SPDY connection with the pool.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/Connection.html" target="_top">Frames</a></li>
<li><a href="Connection.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,171 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.ConnectionPool (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.ConnectionPool (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/ConnectionPool.html" target="_top">Frames</a></li>
<li><a href="ConnectionPool.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.ConnectionPool" class="title">Uses of Class<br>com.squareup.okhttp.ConnectionPool</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#getConnectionPool()">getConnectionPool</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></code></td>
<td class="colLast"><span class="strong">ConnectionPool.</span><code><strong><a href="../../../../com/squareup/okhttp/ConnectionPool.html#getDefault()">getDefault</a></strong>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with parameters of type <a href="../../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setConnectionPool(com.squareup.okhttp.ConnectionPool)">setConnectionPool</a></strong>(<a href="../../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a>&nbsp;connectionPool)</code>
<div class="block">Sets the connection pool used to recycle HTTP and HTTPS connections.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with parameters of type <a href="../../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/Connection.html#Connection(com.squareup.okhttp.ConnectionPool, com.squareup.okhttp.Route)">Connection</a></strong>(<a href="../../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a>&nbsp;pool,
<a href="../../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;route)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/ConnectionPool.html" target="_top">Frames</a></li>
<li><a href="ConnectionPool.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,150 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.Handshake (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.Handshake (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/Handshake.html" target="_top">Frames</a></li>
<li><a href="Handshake.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.Handshake" class="title">Uses of Class<br>com.squareup.okhttp.Handshake</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></code></td>
<td class="colLast"><span class="strong">Handshake.</span><code><strong><a href="../../../../com/squareup/okhttp/Handshake.html#get(javax.net.ssl.SSLSession)">get</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSession.html?is-external=true" title="class or interface in javax.net.ssl">SSLSession</a>&nbsp;session)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></code></td>
<td class="colLast"><span class="strong">Handshake.</span><code><strong><a href="../../../../com/squareup/okhttp/Handshake.html#get(java.lang.String, java.util.List, java.util.List)">get</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;cipherSuite,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html?is-external=true" title="class or interface in java.security.cert">Certificate</a>&gt;&nbsp;peerCertificates,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/security/cert/Certificate.html?is-external=true" title="class or interface in java.security.cert">Certificate</a>&gt;&nbsp;localCertificates)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></code></td>
<td class="colLast"><span class="strong">Connection.</span><code><strong><a href="../../../../com/squareup/okhttp/Connection.html#getHandshake()">getHandshake</a></strong>()</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/Handshake.html" target="_top">Frames</a></li>
<li><a href="Handshake.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -2,16 +2,16 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:18:02 EDT 2014 -->
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Package com.squareup.okhttp.apache (OkHttp Apache HttpClient 1.6.0 API)</title>
<title>Uses of Class com.squareup.okhttp.HttpResponseCache (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Package com.squareup.okhttp.apache (OkHttp Apache HttpClient 1.6.0 API)";
parent.document.title="Uses of Class com.squareup.okhttp.HttpResponseCache (OkHttp 1.6.0 API)";
}
//-->
</script>
@@ -25,10 +25,10 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
@@ -40,8 +40,8 @@
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/apache/package-use.html" target="_top">Frames</a></li>
<li><a href="package-use.html" target="_top">No Frames</a></li>
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/HttpResponseCache.html" target="_top">Frames</a></li>
<li><a href="HttpResponseCache.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
@@ -63,9 +63,9 @@
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Uses of Package com.squareup.okhttp.apache" class="title">Uses of Package<br>com.squareup.okhttp.apache</h1>
<h2 title="Uses of Class com.squareup.okhttp.HttpResponseCache" class="title">Uses of Class<br>com.squareup.okhttp.HttpResponseCache</h2>
</div>
<div class="contentContainer">No usage of com.squareup.okhttp.apache</div>
<div class="classUseContainer">No usage of com.squareup.okhttp.HttpResponseCache</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
@@ -73,10 +73,10 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
@@ -88,8 +88,8 @@
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/apache/package-use.html" target="_top">Frames</a></li>
<li><a href="package-use.html" target="_top">No Frames</a></li>
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/HttpResponseCache.html" target="_top">Frames</a></li>
<li><a href="HttpResponseCache.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>

View File

@@ -0,0 +1,143 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.MediaType (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.MediaType (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/MediaType.html" target="_top">Frames</a></li>
<li><a href="MediaType.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.MediaType" class="title">Uses of Class<br>com.squareup.okhttp.MediaType</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a></code></td>
<td class="colLast"><span class="strong">MediaType.</span><code><strong><a href="../../../../com/squareup/okhttp/MediaType.html#parse(java.lang.String)">parse</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;string)</code>
<div class="block">Returns a media type for <code>string</code>, or null if <code>string</code> is not a
well-formed media type.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/MediaType.html" target="_top">Frames</a></li>
<li><a href="MediaType.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,156 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.OkAuthenticator.Challenge (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.OkAuthenticator.Challenge (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/OkAuthenticator.Challenge.html" target="_top">Frames</a></li>
<li><a href="OkAuthenticator.Challenge.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.OkAuthenticator.Challenge" class="title">Uses of Class<br>com.squareup.okhttp.OkAuthenticator.Challenge</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Method parameters in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with type arguments of type <a href="../../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></code></td>
<td class="colLast"><span class="strong">OkAuthenticator.</span><code><strong><a href="../../../../com/squareup/okhttp/OkAuthenticator.html#authenticate(java.net.Proxy, java.net.URL, java.util.List)">authenticate</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a>&gt;&nbsp;challenges)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Returns a credential that satisfies the authentication challenge made by
<code>url</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></code></td>
<td class="colLast"><span class="strong">OkAuthenticator.</span><code><strong><a href="../../../../com/squareup/okhttp/OkAuthenticator.html#authenticateProxy(java.net.Proxy, java.net.URL, java.util.List)">authenticateProxy</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a>&gt;&nbsp;challenges)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Returns a credential that satisfies the authentication challenge made by
<code>proxy</code>.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/OkAuthenticator.Challenge.html" target="_top">Frames</a></li>
<li><a href="OkAuthenticator.Challenge.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,163 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.OkAuthenticator.Credential (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.OkAuthenticator.Credential (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/OkAuthenticator.Credential.html" target="_top">Frames</a></li>
<li><a href="OkAuthenticator.Credential.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.OkAuthenticator.Credential" class="title">Uses of Class<br>com.squareup.okhttp.OkAuthenticator.Credential</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></code></td>
<td class="colLast"><span class="strong">OkAuthenticator.</span><code><strong><a href="../../../../com/squareup/okhttp/OkAuthenticator.html#authenticate(java.net.Proxy, java.net.URL, java.util.List)">authenticate</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a>&gt;&nbsp;challenges)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Returns a credential that satisfies the authentication challenge made by
<code>url</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></code></td>
<td class="colLast"><span class="strong">OkAuthenticator.</span><code><strong><a href="../../../../com/squareup/okhttp/OkAuthenticator.html#authenticateProxy(java.net.Proxy, java.net.URL, java.util.List)">authenticateProxy</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a>&gt;&nbsp;challenges)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Returns a credential that satisfies the authentication challenge made by
<code>proxy</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></code></td>
<td class="colLast"><span class="strong">OkAuthenticator.Credential.</span><code><strong><a href="../../../../com/squareup/okhttp/OkAuthenticator.Credential.html#basic(java.lang.String, java.lang.String)">basic</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userName,
<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;password)</code>
<div class="block">Returns an auth credential for the Basic scheme.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/OkAuthenticator.Credential.html" target="_top">Frames</a></li>
<li><a href="OkAuthenticator.Credential.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,179 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Interface com.squareup.okhttp.OkAuthenticator (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Interface com.squareup.okhttp.OkAuthenticator (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/OkAuthenticator.html" target="_top">Frames</a></li>
<li><a href="OkAuthenticator.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Interface com.squareup.okhttp.OkAuthenticator" class="title">Uses of Interface<br>com.squareup.okhttp.OkAuthenticator</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#getAuthenticator()">getAuthenticator</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a></code></td>
<td class="colLast"><span class="strong">Address.</span><code><strong><a href="../../../../com/squareup/okhttp/Address.html#getAuthenticator()">getAuthenticator</a></strong>()</code>
<div class="block">Returns the client's authenticator.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with parameters of type <a href="../../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setAuthenticator(com.squareup.okhttp.OkAuthenticator)">setAuthenticator</a></strong>(<a href="../../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a>&nbsp;authenticator)</code>
<div class="block">Sets the authenticator used to respond to challenges from the remote web
server or proxy server.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with parameters of type <a href="../../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/Address.html#Address(java.lang.String, int, javax.net.ssl.SSLSocketFactory, javax.net.ssl.HostnameVerifier, com.squareup.okhttp.OkAuthenticator, java.net.Proxy, java.util.List)">Address</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;uriHost,
int&nbsp;uriPort,
<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSocketFactory.html?is-external=true" title="class or interface in javax.net.ssl">SSLSocketFactory</a>&nbsp;sslSocketFactory,
<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a>&nbsp;hostnameVerifier,
<a href="../../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a>&nbsp;authenticator,
<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;&nbsp;protocols)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/OkAuthenticator.html" target="_top">Frames</a></li>
<li><a href="OkAuthenticator.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,242 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.OkHttpClient (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.OkHttpClient (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/OkHttpClient.html" target="_top">Frames</a></li>
<li><a href="OkHttpClient.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.OkHttpClient" class="title">Uses of Class<br>com.squareup.okhttp.OkHttpClient</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#clone()">clone</a></strong>()</code>
<div class="block">Returns a shallow copy of this OkHttpClient.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setAuthenticator(com.squareup.okhttp.OkAuthenticator)">setAuthenticator</a></strong>(<a href="../../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a>&nbsp;authenticator)</code>
<div class="block">Sets the authenticator used to respond to challenges from the remote web
server or proxy server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)">setCache</a></strong>(<a href="../../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a>&nbsp;cache)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setConnectionPool(com.squareup.okhttp.ConnectionPool)">setConnectionPool</a></strong>(<a href="../../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a>&nbsp;connectionPool)</code>
<div class="block">Sets the connection pool used to recycle HTTP and HTTPS connections.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setCookieHandler(java.net.CookieHandler)">setCookieHandler</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/CookieHandler.html?is-external=true" title="class or interface in java.net">CookieHandler</a>&nbsp;cookieHandler)</code>
<div class="block">Sets the cookie handler to be used to read outgoing cookies and write
incoming cookies.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setFollowProtocolRedirects(boolean)">setFollowProtocolRedirects</a></strong>(boolean&nbsp;followProtocolRedirects)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>moved to <a href="../../../../com/squareup/okhttp/OkHttpClient.html#setFollowSslRedirects(boolean)"><code>setFollowSslRedirects(boolean)</code></a>.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setFollowSslRedirects(boolean)">setFollowSslRedirects</a></strong>(boolean&nbsp;followProtocolRedirects)</code>
<div class="block">Configure this client to follow redirects from HTTPS to HTTP and from HTTP
to HTTPS.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setHostnameVerifier(javax.net.ssl.HostnameVerifier)">setHostnameVerifier</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a>&nbsp;hostnameVerifier)</code>
<div class="block">Sets the verifier used to confirm that response certificates apply to
requested hostnames for HTTPS connections.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setOkResponseCache(com.squareup.okhttp.OkResponseCache)">setOkResponseCache</a></strong>(<a href="../../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a>&nbsp;responseCache)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>replaced by <a href="../../../../com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)"><code>setCache(com.squareup.okhttp.Cache)</code></a> which doesn't support custom
cache implementations.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setProtocols(java.util.List)">setProtocols</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;&nbsp;protocols)</code>
<div class="block">Configure the protocols used by this client to communicate with remote
servers.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setProxy(java.net.Proxy)">setProxy</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy)</code>
<div class="block">Sets the HTTP proxy that will be used by connections created by this
client.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setProxySelector(java.net.ProxySelector)">setProxySelector</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/ProxySelector.html?is-external=true" title="class or interface in java.net">ProxySelector</a>&nbsp;proxySelector)</code>
<div class="block">Sets the proxy selection policy to be used if no <a href="../../../../com/squareup/okhttp/OkHttpClient.html#setProxy(java.net.Proxy)"><code>proxy</code></a>
is specified explicitly.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setResponseCache(java.net.ResponseCache)">setResponseCache</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net">ResponseCache</a>&nbsp;responseCache)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>replaced by <a href="../../../../com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)"><code>setCache(com.squareup.okhttp.Cache)</code></a> which doesn't support custom
cache implementations.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setSslSocketFactory(javax.net.ssl.SSLSocketFactory)">setSslSocketFactory</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSocketFactory.html?is-external=true" title="class or interface in javax.net.ssl">SSLSocketFactory</a>&nbsp;sslSocketFactory)</code>
<div class="block">Sets the socket factory used to secure HTTPS connections.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setTransports(java.util.List)">setTransports</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;transports)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>OkHttp 1.5 enforces an enumeration of <a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><code>protocols</code></a>
that can be selected. Please switch to <a href="../../../../com/squareup/okhttp/OkHttpClient.html#setProtocols(java.util.List)"><code>setProtocols(java.util.List)</code></a>.</i></div>
</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/OkHttpClient.html" target="_top">Frames</a></li>
<li><a href="OkHttpClient.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,187 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Interface com.squareup.okhttp.OkResponseCache (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Interface com.squareup.okhttp.OkResponseCache (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/OkResponseCache.html" target="_top">Frames</a></li>
<li><a href="OkResponseCache.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Interface com.squareup.okhttp.OkResponseCache" class="title">Uses of Interface<br>com.squareup.okhttp.OkResponseCache</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that implement <a href="../../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></strong></code>
<div class="block">Caches HTTP and HTTPS responses to the filesystem so they may be reused,
saving time and bandwidth.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp">HttpResponseCache</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>renamed to <a href="../../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp"><code>Cache</code></a>.</i></div>
</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#getOkResponseCache()">getOkResponseCache</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>replaced by <a href="../../../../com/squareup/okhttp/OkHttpClient.html#getCache()"><code>OkHttpClient.getCache()</code></a> which doesn't support custom
cache implementations.</i></div>
</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with parameters of type <a href="../../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setOkResponseCache(com.squareup.okhttp.OkResponseCache)">setOkResponseCache</a></strong>(<a href="../../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a>&nbsp;responseCache)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>replaced by <a href="../../../../com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)"><code>OkHttpClient.setCache(com.squareup.okhttp.Cache)</code></a> which doesn't support custom
cache implementations.</i></div>
</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/OkResponseCache.html" target="_top">Frames</a></li>
<li><a href="OkResponseCache.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,201 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.Protocol (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.Protocol (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/Protocol.html" target="_top">Frames</a></li>
<li><a href="Protocol.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.Protocol" class="title">Uses of Class<br>com.squareup.okhttp.Protocol</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a></code></td>
<td class="colLast"><span class="strong">Protocol.</span><code><strong><a href="../../../../com/squareup/okhttp/Protocol.html#valueOf(java.lang.String)">valueOf</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>[]</code></td>
<td class="colLast"><span class="strong">Protocol.</span><code><strong><a href="../../../../com/squareup/okhttp/Protocol.html#values()">values</a></strong>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return types with arguments of type <a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;</code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#getProtocols()">getProtocols</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;</code></td>
<td class="colLast"><span class="strong">Address.</span><code><strong><a href="../../../../com/squareup/okhttp/Address.html#getProtocols()">getProtocols</a></strong>()</code>
<div class="block">Returns the protocols the client supports.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Method parameters in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with type arguments of type <a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#setProtocols(java.util.List)">setProtocols</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;&nbsp;protocols)</code>
<div class="block">Configure the protocols used by this client to communicate with remote
servers.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructor parameters in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with type arguments of type <a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/Address.html#Address(java.lang.String, int, javax.net.ssl.SSLSocketFactory, javax.net.ssl.HostnameVerifier, com.squareup.okhttp.OkAuthenticator, java.net.Proxy, java.util.List)">Address</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;uriHost,
int&nbsp;uriPort,
<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/SSLSocketFactory.html?is-external=true" title="class or interface in javax.net.ssl">SSLSocketFactory</a>&nbsp;sslSocketFactory,
<a href="http://java.sun.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a>&nbsp;hostnameVerifier,
<a href="../../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a>&nbsp;authenticator,
<a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net">Proxy</a>&nbsp;proxy,
<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a>&gt;&nbsp;protocols)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/Protocol.html" target="_top">Frames</a></li>
<li><a href="Protocol.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,171 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.ResponseSource (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.ResponseSource (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/ResponseSource.html" target="_top">Frames</a></li>
<li><a href="ResponseSource.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.ResponseSource" class="title">Uses of Class<br>com.squareup.okhttp.ResponseSource</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a></code></td>
<td class="colLast"><span class="strong">ResponseSource.</span><code><strong><a href="../../../../com/squareup/okhttp/ResponseSource.html#valueOf(java.lang.String)">valueOf</a></strong>(<a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a>[]</code></td>
<td class="colLast"><span class="strong">ResponseSource.</span><code><strong><a href="../../../../com/squareup/okhttp/ResponseSource.html#values()">values</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with parameters of type <a href="../../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">OkResponseCache.</span><code><strong><a href="../../../../com/squareup/okhttp/OkResponseCache.html#trackResponse(com.squareup.okhttp.ResponseSource)">trackResponse</a></strong>(<a href="../../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a>&nbsp;source)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Track an HTTP response being satisfied by <code>source</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">Cache.</span><code><strong><a href="../../../../com/squareup/okhttp/Cache.html#trackResponse(com.squareup.okhttp.ResponseSource)">trackResponse</a></strong>(<a href="../../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a>&nbsp;source)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/ResponseSource.html" target="_top">Frames</a></li>
<li><a href="ResponseSource.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,184 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.Route (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.Route (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/Route.html" target="_top">Frames</a></li>
<li><a href="Route.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.Route" class="title">Uses of Class<br>com.squareup.okhttp.Route</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></code></td>
<td class="colLast"><span class="strong">Connection.</span><code><strong><a href="../../../../com/squareup/okhttp/Connection.html#getRoute()">getRoute</a></strong>()</code>
<div class="block">Returns the route used by this connection.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with parameters of type <a href="../../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">RouteDatabase.</span><code><strong><a href="../../../../com/squareup/okhttp/RouteDatabase.html#connected(com.squareup.okhttp.Route)">connected</a></strong>(<a href="../../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;route)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Records success connecting to <code>failedRoute</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">RouteDatabase.</span><code><strong><a href="../../../../com/squareup/okhttp/RouteDatabase.html#failed(com.squareup.okhttp.Route)">failed</a></strong>(<a href="../../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;failedRoute)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Records a failure connecting to <code>failedRoute</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><span class="strong">RouteDatabase.</span><code><strong><a href="../../../../com/squareup/okhttp/RouteDatabase.html#shouldPostpone(com.squareup.okhttp.Route)">shouldPostpone</a></strong>(<a href="../../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;route)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Returns true if <code>route</code> has failed recently and should be avoided.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with parameters of type <a href="../../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../com/squareup/okhttp/Connection.html#Connection(com.squareup.okhttp.ConnectionPool, com.squareup.okhttp.Route)">Connection</a></strong>(<a href="../../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a>&nbsp;pool,
<a href="../../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a>&nbsp;route)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/Route.html" target="_top">Frames</a></li>
<li><a href="Route.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,144 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.squareup.okhttp.RouteDatabase (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.squareup.okhttp.RouteDatabase (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/RouteDatabase.html" target="_top">Frames</a></li>
<li><a href="RouteDatabase.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.squareup.okhttp.RouteDatabase" class="title">Uses of Class<br>com.squareup.okhttp.RouteDatabase</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">RouteDatabase</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> that return <a href="../../../../com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">RouteDatabase</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">RouteDatabase</a></code></td>
<td class="colLast"><span class="strong">OkHttpClient.</span><code><strong><a href="../../../../com/squareup/okhttp/OkHttpClient.html#getRoutesDatabase()">getRoutesDatabase</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/RouteDatabase.html" target="_top">Frames</a></li>
<li><a href="RouteDatabase.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -2,16 +2,16 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:18:02 EDT 2014 -->
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>com.squareup.okhttp.apache (OkHttp Apache HttpClient 1.6.0 API)</title>
<title>Uses of Class com.squareup.okhttp.TunnelRequest (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.squareup.okhttp.apache (OkHttp Apache HttpClient 1.6.0 API)";
parent.document.title="Uses of Class com.squareup.okhttp.TunnelRequest (OkHttp 1.6.0 API)";
}
//-->
</script>
@@ -25,10 +25,10 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
@@ -36,12 +36,12 @@
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Package</li>
<li>Next Package</li>
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/apache/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/TunnelRequest.html" target="_top">Frames</a></li>
<li><a href="TunnelRequest.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
@@ -63,28 +63,35 @@
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package&nbsp;com.squareup.okhttp.apache</h1>
<h2 title="Uses of Class com.squareup.okhttp.TunnelRequest" class="title">Uses of Class<br>com.squareup.okhttp.TunnelRequest</h2>
</div>
<div class="contentContainer">
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp">TunnelRequest</a> in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> with parameters of type <a href="../../../../com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp">TunnelRequest</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></td>
<td class="colLast">
<div class="block">Implements Apache's <code>HttpClient</code> API using <a href="https://github.com/square/okhttp/okhttp/apidocs/com/squareup/okhttp/OkHttpClient.html?is-external=true" title="class or interface in com.squareup.okhttp"><code>OkHttpClient</code></a>.</div>
</td>
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">Connection.</span><code><strong><a href="../../../../com/squareup/okhttp/Connection.html#connect(int, int, com.squareup.okhttp.TunnelRequest)">connect</a></strong>(int&nbsp;connectTimeout,
int&nbsp;readTimeout,
<a href="../../../../com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp">TunnelRequest</a>&nbsp;tunnelRequest)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
@@ -93,10 +100,10 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li><a href="../../../../com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
@@ -104,12 +111,12 @@
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Package</li>
<li>Next Package</li>
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/squareup/okhttp/apache/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
<li><a href="../../../../index.html?com/squareup/okhttp/class-use/TunnelRequest.html" target="_top">Frames</a></li>
<li><a href="TunnelRequest.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>

View File

@@ -0,0 +1,43 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>com.squareup.okhttp (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<h1 class="bar"><a href="../../../com/squareup/okhttp/package-summary.html" target="classFrame">com.squareup.okhttp</a></h1>
<div class="indexContainer">
<h2 title="Interfaces">Interfaces</h2>
<ul title="Interfaces">
<li><a href="OkAuthenticator.html" title="interface in com.squareup.okhttp" target="classFrame"><i>OkAuthenticator</i></a></li>
<li><a href="OkResponseCache.html" title="interface in com.squareup.okhttp" target="classFrame"><i>OkResponseCache</i></a></li>
</ul>
<h2 title="Classes">Classes</h2>
<ul title="Classes">
<li><a href="Address.html" title="class in com.squareup.okhttp" target="classFrame">Address</a></li>
<li><a href="Cache.html" title="class in com.squareup.okhttp" target="classFrame">Cache</a></li>
<li><a href="CacheControl.html" title="class in com.squareup.okhttp" target="classFrame">CacheControl</a></li>
<li><a href="Connection.html" title="class in com.squareup.okhttp" target="classFrame">Connection</a></li>
<li><a href="ConnectionPool.html" title="class in com.squareup.okhttp" target="classFrame">ConnectionPool</a></li>
<li><a href="Handshake.html" title="class in com.squareup.okhttp" target="classFrame">Handshake</a></li>
<li><a href="HttpResponseCache.html" title="class in com.squareup.okhttp" target="classFrame">HttpResponseCache</a></li>
<li><a href="MediaType.html" title="class in com.squareup.okhttp" target="classFrame">MediaType</a></li>
<li><a href="OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp" target="classFrame">OkAuthenticator.Challenge</a></li>
<li><a href="OkAuthenticator.Credential.html" title="class in com.squareup.okhttp" target="classFrame">OkAuthenticator.Credential</a></li>
<li><a href="OkHttpClient.html" title="class in com.squareup.okhttp" target="classFrame">OkHttpClient</a></li>
<li><a href="Route.html" title="class in com.squareup.okhttp" target="classFrame">Route</a></li>
<li><a href="RouteDatabase.html" title="class in com.squareup.okhttp" target="classFrame">RouteDatabase</a></li>
<li><a href="TunnelRequest.html" title="class in com.squareup.okhttp" target="classFrame">TunnelRequest</a></li>
</ul>
<h2 title="Enums">Enums</h2>
<ul title="Enums">
<li><a href="Protocol.html" title="enum in com.squareup.okhttp" target="classFrame">Protocol</a></li>
<li><a href="ResponseSource.html" title="enum in com.squareup.okhttp" target="classFrame">ResponseSource</a></li>
</ul>
</div>
</body>
</html>

View File

@@ -0,0 +1,263 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>com.squareup.okhttp (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.squareup.okhttp (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Package</li>
<li>Next Package</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package&nbsp;com.squareup.okhttp</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a></td>
<td class="colLast">Deprecated
<div class="block"><i>replaced with <code>Authenticator</code> in OkHttp 2.0.</i></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></td>
<td class="colLast">Deprecated
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></td>
<td class="colLast">
<div class="block">A specification for a connection to an origin server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></td>
<td class="colLast">
<div class="block">Caches HTTP and HTTPS responses to the filesystem so they may be reused,
saving time and bandwidth.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></td>
<td class="colLast">
<div class="block">A Cache-Control header with cache directives from a server or client.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></td>
<td class="colLast">
<div class="block">The sockets and streams of an HTTP, HTTPS, or HTTPS+SPDY connection.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></td>
<td class="colLast">
<div class="block">Manages reuse of HTTP and SPDY connections for reduced network latency.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></td>
<td class="colLast">
<div class="block">A record of a TLS handshake.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp">HttpResponseCache</a></td>
<td class="colLast">Deprecated
<div class="block"><i>renamed to <a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp"><code>Cache</code></a>.</i></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a></td>
<td class="colLast">
<div class="block">An <a href="http://tools.ietf.org/html/rfc2045">RFC 2045</a> Media Type,
appropriate to describe the content type of an HTTP request or response body.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a></td>
<td class="colLast">
<div class="block">An RFC 2617 challenge.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></td>
<td class="colLast">
<div class="block">An RFC 2617 credential.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></td>
<td class="colLast">
<div class="block">Configures and creates HTTP connections.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></td>
<td class="colLast">
<div class="block">The concrete route used by a connection to reach an abstract origin server.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">RouteDatabase</a></td>
<td class="colLast">Deprecated
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp">TunnelRequest</a></td>
<td class="colLast">Deprecated
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
<caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Enum</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a></td>
<td class="colLast">
<div class="block">Contains protocols that OkHttp supports
<a href="http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04">NPN</a> or
<a href="http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg">ALPN</a> selection.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a></td>
<td class="colLast">Deprecated
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Package</li>
<li>Next Package</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,162 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>com.squareup.okhttp Class Hierarchy (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.squareup.okhttp Class Hierarchy (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">Hierarchy For Package com.squareup.okhttp</h1>
</div>
<div class="contentContainer">
<h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li type="circle">java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="strong">Object</span></a>
<ul>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp"><span class="strong">Address</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp"><span class="strong">CacheControl</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp"><span class="strong">Connection</span></a> (implements java.io.<a href="http://java.sun.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>)</li>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp"><span class="strong">ConnectionPool</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp"><span class="strong">Handshake</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp"><span class="strong">MediaType</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp"><span class="strong">OkAuthenticator.Challenge</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp"><span class="strong">OkAuthenticator.Credential</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp"><span class="strong">OkHttpClient</span></a> (implements java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, java.net.<a href="http://java.sun.com/javase/6/docs/api/java/net/URLStreamHandlerFactory.html?is-external=true" title="class or interface in java.net">URLStreamHandlerFactory</a>)</li>
<li type="circle">java.net.<a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net"><span class="strong">ResponseCache</span></a>
<ul>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp"><span class="strong">Cache</span></a> (implements com.squareup.okhttp.<a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a>)
<ul>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp"><span class="strong">HttpResponseCache</span></a></li>
</ul>
</li>
</ul>
</li>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp"><span class="strong">Route</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp"><span class="strong">RouteDatabase</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp"><span class="strong">TunnelRequest</span></a></li>
</ul>
</li>
</ul>
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
<ul>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp"><span class="strong">OkAuthenticator</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp"><span class="strong">OkResponseCache</span></a></li>
</ul>
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
<ul>
<li type="circle">java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="strong">Object</span></a>
<ul>
<li type="circle">java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="strong">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
<ul>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp"><span class="strong">ResponseSource</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="../../../com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><span class="strong">Protocol</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/package-tree.html" target="_top">Frames</a></li>
<li><a href="package-tree.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -0,0 +1,233 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Package com.squareup.okhttp (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Package com.squareup.okhttp (OkHttp 1.6.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Use</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/package-use.html" target="_top">Frames</a></li>
<li><a href="package-use.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Uses of Package com.squareup.okhttp" class="title">Uses of Package<br>com.squareup.okhttp</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList"><a name="com.squareup.okhttp">
<!-- -->
</a>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> used by <a href="../../../com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/Address.html#com.squareup.okhttp">Address</a>
<div class="block">A specification for a connection to an origin server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/Cache.html#com.squareup.okhttp">Cache</a>
<div class="block">Caches HTTP and HTTPS responses to the filesystem so they may be reused,
saving time and bandwidth.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/CacheControl.html#com.squareup.okhttp">CacheControl</a>
<div class="block">A Cache-Control header with cache directives from a server or client.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/Connection.html#com.squareup.okhttp">Connection</a>
<div class="block">The sockets and streams of an HTTP, HTTPS, or HTTPS+SPDY connection.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/ConnectionPool.html#com.squareup.okhttp">ConnectionPool</a>
<div class="block">Manages reuse of HTTP and SPDY connections for reduced network latency.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/Handshake.html#com.squareup.okhttp">Handshake</a>
<div class="block">A record of a TLS handshake.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/MediaType.html#com.squareup.okhttp">MediaType</a>
<div class="block">An <a href="http://tools.ietf.org/html/rfc2045">RFC 2045</a> Media Type,
appropriate to describe the content type of an HTTP request or response body.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/OkAuthenticator.html#com.squareup.okhttp">OkAuthenticator</a>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>replaced with <code>Authenticator</code> in OkHttp 2.0.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/OkAuthenticator.Challenge.html#com.squareup.okhttp">OkAuthenticator.Challenge</a>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">An RFC 2617 challenge.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/OkAuthenticator.Credential.html#com.squareup.okhttp">OkAuthenticator.Credential</a>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">An RFC 2617 credential.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/OkHttpClient.html#com.squareup.okhttp">OkHttpClient</a>
<div class="block">Configures and creates HTTP connections.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/OkResponseCache.html#com.squareup.okhttp">OkResponseCache</a>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/Protocol.html#com.squareup.okhttp">Protocol</a>
<div class="block">Contains protocols that OkHttp supports
<a href="http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04">NPN</a> or
<a href="http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg">ALPN</a> selection.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/ResponseSource.html#com.squareup.okhttp">ResponseSource</a>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>removed from the public API in OkHttp 2.0. Use the response's
<code>networkResponse()</code> and <code>cacheResponse()</code> to compute how the
request was satisfied.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/Route.html#com.squareup.okhttp">Route</a>
<div class="block">The concrete route used by a connection to reach an abstract origin server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/RouteDatabase.html#com.squareup.okhttp">RouteDatabase</a>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="../../../com/squareup/okhttp/class-use/TunnelRequest.html#com.squareup.okhttp">TunnelRequest</a>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Use</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/squareup/okhttp/package-use.html" target="_top">Frames</a></li>
<li><a href="package-use.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>

View File

@@ -2,16 +2,16 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:18:02 EDT 2014 -->
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Constant Field Values (OkHttp Apache HttpClient 1.6.0 API)</title>
<title>Constant Field Values (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values (OkHttp Apache HttpClient 1.6.0 API)";
parent.document.title="Constant Field Values (OkHttp 1.6.0 API)";
}
//-->
</script>
@@ -25,10 +25,10 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li><a href="com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="com/squareup/okhttp/apache/package-tree.html">Tree</a></li>
<li><a href="com/squareup/okhttp/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
@@ -73,10 +73,10 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li><a href="com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="com/squareup/okhttp/apache/package-tree.html">Tree</a></li>
<li><a href="com/squareup/okhttp/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>

View File

@@ -2,16 +2,16 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:18:02 EDT 2014 -->
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Deprecated List (OkHttp Apache HttpClient 1.6.0 API)</title>
<title>Deprecated List (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated List (OkHttp Apache HttpClient 1.6.0 API)";
parent.document.title="Deprecated List (OkHttp 1.6.0 API)";
}
//-->
</script>
@@ -25,10 +25,10 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li><a href="com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="com/squareup/okhttp/apache/package-tree.html">Tree</a></li>
<li><a href="com/squareup/okhttp/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Deprecated</li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
@@ -65,6 +65,196 @@
<div class="header">
<h1 title="Deprecated API" class="title">Deprecated API</h1>
<h2 title="Contents">Contents</h2>
<ul>
<li><a href="#interface">Deprecated Interfaces</a></li>
<li><a href="#class">Deprecated Classes</a></li>
<li><a href="#enum">Deprecated Enums</a></li>
<li><a href="#field">Deprecated Fields</a></li>
<li><a href="#method">Deprecated Methods</a></li>
</ul>
</div>
<div class="contentContainer"><a name="interface">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Deprecated Interfaces table, listing deprecated interfaces, and an explanation">
<caption><span>Deprecated Interfaces</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Interface and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">com.squareup.okhttp.OkAuthenticator</a>
<div class="block"><i>replaced with <code>Authenticator</code> in OkHttp 2.0.</i></div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">com.squareup.okhttp.OkResponseCache</a>
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
<a name="class">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Deprecated Classes table, listing deprecated classes, and an explanation">
<caption><span>Deprecated Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp">com.squareup.okhttp.HttpResponseCache</a>
<div class="block"><i>renamed to <a href="com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp"><code>Cache</code></a>.</i></div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">com.squareup.okhttp.RouteDatabase</a>
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp">com.squareup.okhttp.TunnelRequest</a>
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
<a name="enum">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Deprecated Enums table, listing deprecated enums, and an explanation">
<caption><span>Deprecated Enums</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">com.squareup.okhttp.ResponseSource</a>
<div class="block"><i>removed from the public API in OkHttp 2.0. Use the response's
<code>networkResponse()</code> and <code>cacheResponse()</code> to compute how the
request was satisfied.</i></div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
<a name="field">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Deprecated Fields table, listing deprecated fields, and an explanation">
<caption><span>Deprecated Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Field and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="com/squareup/okhttp/Protocol.html#name">com.squareup.okhttp.Protocol.name</a>
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="com/squareup/okhttp/Protocol.html#spdyVariant">com.squareup.okhttp.Protocol.spdyVariant</a>
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
<a name="method">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Deprecated Methods table, listing deprecated methods, and an explanation">
<caption><span>Deprecated Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="com/squareup/okhttp/OkHttpClient.html#createURLStreamHandler(java.lang.String)">com.squareup.okhttp.OkHttpClient.createURLStreamHandler(String)</a>
<div class="block"><i>moved to <code>OkUrlFactory.createURLStreamHandler</code>.</i></div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="com/squareup/okhttp/OkHttpClient.html#getFollowProtocolRedirects()">com.squareup.okhttp.OkHttpClient.getFollowProtocolRedirects()</a>
<div class="block"><i>moved to <a href="com/squareup/okhttp/OkHttpClient.html#getFollowSslRedirects()"><code>OkHttpClient.getFollowSslRedirects()</code></a>.</i></div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="com/squareup/okhttp/OkHttpClient.html#getOkResponseCache()">com.squareup.okhttp.OkHttpClient.getOkResponseCache()</a>
<div class="block"><i>replaced by <a href="com/squareup/okhttp/OkHttpClient.html#getCache()"><code>OkHttpClient.getCache()</code></a> which doesn't support custom
cache implementations.</i></div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="com/squareup/okhttp/OkHttpClient.html#getResponseCache()">com.squareup.okhttp.OkHttpClient.getResponseCache()</a>
<div class="block"><i>replaced by <a href="com/squareup/okhttp/OkHttpClient.html#getCache()"><code>OkHttpClient.getCache()</code></a> which doesn't support custom
cache implementations.</i></div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="com/squareup/okhttp/OkHttpClient.html#getRoutesDatabase()">com.squareup.okhttp.OkHttpClient.getRoutesDatabase()</a>
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="com/squareup/okhttp/OkHttpClient.html#getTransports()">com.squareup.okhttp.OkHttpClient.getTransports()</a>
<div class="block"><i>OkHttp 1.5 enforces an enumeration of <a href="com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><code>protocols</code></a> that can be selected. Please switch to <a href="com/squareup/okhttp/OkHttpClient.html#getProtocols()"><code>OkHttpClient.getProtocols()</code></a>.</i></div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="com/squareup/okhttp/Route.html#isModernTls()">com.squareup.okhttp.Route.isModernTls()</a>
<div class="block"><i>replaced with <a href="com/squareup/okhttp/Route.html#getTlsVersion()"><code>Route.getTlsVersion()</code></a> in OkHttp 2.0.</i></div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="com/squareup/okhttp/OkHttpClient.html#open(java.net.URL)">com.squareup.okhttp.OkHttpClient.open(URL)</a>
<div class="block"><i>moved to <code>OkUrlFactory.open</code>.</i></div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="com/squareup/okhttp/OkHttpClient.html#setFollowProtocolRedirects(boolean)">com.squareup.okhttp.OkHttpClient.setFollowProtocolRedirects(boolean)</a>
<div class="block"><i>moved to <a href="com/squareup/okhttp/OkHttpClient.html#setFollowSslRedirects(boolean)"><code>OkHttpClient.setFollowSslRedirects(boolean)</code></a>.</i></div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="com/squareup/okhttp/OkHttpClient.html#setOkResponseCache(com.squareup.okhttp.OkResponseCache)">com.squareup.okhttp.OkHttpClient.setOkResponseCache(OkResponseCache)</a>
<div class="block"><i>replaced by <a href="com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)"><code>OkHttpClient.setCache(com.squareup.okhttp.Cache)</code></a> which doesn't support custom
cache implementations.</i></div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="com/squareup/okhttp/OkHttpClient.html#setResponseCache(java.net.ResponseCache)">com.squareup.okhttp.OkHttpClient.setResponseCache(ResponseCache)</a>
<div class="block"><i>replaced by <a href="com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)"><code>OkHttpClient.setCache(com.squareup.okhttp.Cache)</code></a> which doesn't support custom
cache implementations.</i></div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="com/squareup/okhttp/OkHttpClient.html#setTransports(java.util.List)">com.squareup.okhttp.OkHttpClient.setTransports(List<String>)</a>
<div class="block"><i>OkHttp 1.5 enforces an enumeration of <a href="com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><code>protocols</code></a>
that can be selected. Please switch to <a href="com/squareup/okhttp/OkHttpClient.html#setProtocols(java.util.List)"><code>OkHttpClient.setProtocols(java.util.List)</code></a>.</i></div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
@@ -73,10 +263,10 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li><a href="com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="com/squareup/okhttp/apache/package-tree.html">Tree</a></li>
<li><a href="com/squareup/okhttp/package-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Deprecated</li>
<li><a href="index-all.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>

View File

@@ -2,16 +2,16 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:18:02 EDT 2014 -->
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>API Help (OkHttp Apache HttpClient 1.6.0 API)</title>
<title>API Help (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help (OkHttp Apache HttpClient 1.6.0 API)";
parent.document.title="API Help (OkHttp 1.6.0 API)";
}
//-->
</script>
@@ -25,10 +25,10 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li><a href="com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="com/squareup/okhttp/apache/package-tree.html">Tree</a></li>
<li><a href="com/squareup/okhttp/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li class="navBarCell1Rev">Help</li>
@@ -174,10 +174,10 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li><a href="com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="com/squareup/okhttp/apache/package-tree.html">Tree</a></li>
<li><a href="com/squareup/okhttp/package-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
<li><a href="index-all.html">Index</a></li>
<li class="navBarCell1Rev">Help</li>

View File

@@ -2,16 +2,16 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:18:02 EDT 2014 -->
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Index (OkHttp Apache HttpClient 1.6.0 API)</title>
<title>Index (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="./stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Index (OkHttp Apache HttpClient 1.6.0 API)";
parent.document.title="Index (OkHttp 1.6.0 API)";
}
//-->
</script>
@@ -25,10 +25,10 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="./com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li><a href="./com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="./com/squareup/okhttp/apache/package-tree.html">Tree</a></li>
<li><a href="./com/squareup/okhttp/package-tree.html">Tree</a></li>
<li><a href="./deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="./help-doc.html">Help</a></li>
@@ -62,36 +62,166 @@
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="#_C_">C</a>&nbsp;<a href="#_E_">E</a>&nbsp;<a href="#_G_">G</a>&nbsp;<a href="#_O_">O</a>&nbsp;<a name="_C_">
<div class="contentContainer"><a href="#_A_">A</a>&nbsp;<a href="#_B_">B</a>&nbsp;<a href="#_C_">C</a>&nbsp;<a href="#_D_">D</a>&nbsp;<a href="#_E_">E</a>&nbsp;<a href="#_F_">F</a>&nbsp;<a href="#_G_">G</a>&nbsp;<a href="#_H_">H</a>&nbsp;<a href="#_I_">I</a>&nbsp;<a href="#_L_">L</a>&nbsp;<a href="#_M_">M</a>&nbsp;<a href="#_N_">N</a>&nbsp;<a href="#_O_">O</a>&nbsp;<a href="#_P_">P</a>&nbsp;<a href="#_R_">R</a>&nbsp;<a href="#_S_">S</a>&nbsp;<a href="#_T_">T</a>&nbsp;<a href="#_U_">U</a>&nbsp;<a href="#_V_">V</a>&nbsp;<a name="_A_">
<!-- -->
</a>
<h2 class="title">A</h2>
<dl>
<dt><a href="./com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp"><span class="strong">Address</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block">A specification for a connection to an origin server.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Address.html#Address(java.lang.String, int, javax.net.ssl.SSLSocketFactory, javax.net.ssl.HostnameVerifier, com.squareup.okhttp.OkAuthenticator, java.net.Proxy, java.util.List)">Address(String, int, SSLSocketFactory, HostnameVerifier, OkAuthenticator, Proxy, List&lt;Protocol&gt;)</a></span> - Constructor for class com.squareup.okhttp.<a href="./com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkAuthenticator.html#authenticate(java.net.Proxy, java.net.URL, java.util.List)">authenticate(Proxy, URL, List&lt;OkAuthenticator.Challenge&gt;)</a></span> - Method in interface com.squareup.okhttp.<a href="./com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Returns a credential that satisfies the authentication challenge made by
<code>url</code>.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkAuthenticator.html#authenticateProxy(java.net.Proxy, java.net.URL, java.util.List)">authenticateProxy(Proxy, URL, List&lt;OkAuthenticator.Challenge&gt;)</a></span> - Method in interface com.squareup.okhttp.<a href="./com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp">OkAuthenticator</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Returns a credential that satisfies the authentication challenge made by
<code>proxy</code>.</div>
</dd>
</dl>
<a name="_B_">
<!-- -->
</a>
<h2 class="title">B</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkAuthenticator.Credential.html#basic(java.lang.String, java.lang.String)">basic(String, String)</a></span> - Static method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Returns an auth credential for the Basic scheme.</div>
</dd>
</dl>
<a name="_C_">
<!-- -->
</a>
<h2 class="title">C</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#client">client</a></span> - Variable in class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dt><a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp"><span class="strong">Cache</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block">Caches HTTP and HTTPS responses to the filesystem so they may be reused,
saving time and bandwidth.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#Cache(java.io.File, long)">Cache(File, long)</a></span> - Constructor for class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><a href="./com/squareup/okhttp/apache/package-summary.html">com.squareup.okhttp.apache</a> - package com.squareup.okhttp.apache</dt>
<dt><a href="./com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp"><span class="strong">CacheControl</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block">A Cache-Control header with cache directives from a server or client.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/MediaType.html#charset()">charset()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a></dt>
<dd>
<div class="block">Returns the charset of this media type, or null if this media type doesn't
specify a charset.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/MediaType.html#charset(java.nio.charset.Charset)">charset(Charset)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a></dt>
<dd>
<div class="block">Returns the charset of this media type, or <code>defaultValue</code> if this
media type doesn't specify a charset.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Handshake.html#cipherSuite()">cipherSuite()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></dt>
<dd>
<div class="block">Returns a cipher suite name like "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA".</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#clearOwner()">clearOwner()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Attempts to clears the owner of this connection.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#clone()">clone()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Returns a shallow copy of this OkHttpClient.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#close()">close()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#close()">close()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#closeIfOwnedBy(java.lang.Object)">closeIfOwnedBy(Object)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Closes this connection if it is currently owned by <code>owner</code>.</div>
</dd>
<dt><a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a> - package com.squareup.okhttp</dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#connect(int, int, com.squareup.okhttp.TunnelRequest)">connect(int, int, TunnelRequest)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/RouteDatabase.html#connected(com.squareup.okhttp.Route)">connected(Route)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">RouteDatabase</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Records success connecting to <code>failedRoute</code>.</div>
</dd>
<dt><a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp"><span class="strong">Connection</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block">The sockets and streams of an HTTP, HTTPS, or HTTPS+SPDY connection.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#Connection(com.squareup.okhttp.ConnectionPool, com.squareup.okhttp.Route)">Connection(ConnectionPool, Route)</a></span> - Constructor for class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>&nbsp;</dd>
<dt><a href="./com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp"><span class="strong">ConnectionPool</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block">Manages reuse of HTTP and SPDY connections for reduced network latency.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/ConnectionPool.html#ConnectionPool(int, long)">ConnectionPool(int, long)</a></span> - Constructor for class com.squareup.okhttp.<a href="./com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#createURLStreamHandler(java.lang.String)">createURLStreamHandler(String)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>moved to <code>OkUrlFactory.createURLStreamHandler</code>.</i></div>
</div>
</dd>
</dl>
<a name="_D_">
<!-- -->
</a>
<h2 class="title">D</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#delete()">delete()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>
<div class="block">Closes the cache and deletes all of its stored values.</div>
</dd>
</dl>
<a name="_E_">
<!-- -->
</a>
<h2 class="title">E</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.client.methods.HttpUriRequest)">execute(HttpUriRequest)</a></span> - Method in class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dt><span class="strong"><a href="./com/squareup/okhttp/Address.html#equals(java.lang.Object)">equals(Object)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext)">execute(HttpUriRequest, HttpContext)</a></span> - Method in class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dt><span class="strong"><a href="./com/squareup/okhttp/Handshake.html#equals(java.lang.Object)">equals(Object)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.HttpHost, org.apache.http.HttpRequest)">execute(HttpHost, HttpRequest)</a></span> - Method in class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dt><span class="strong"><a href="./com/squareup/okhttp/MediaType.html#equals(java.lang.Object)">equals(Object)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext)">execute(HttpHost, HttpRequest, HttpContext)</a></span> - Method in class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkAuthenticator.Challenge.html#equals(java.lang.Object)">equals(Object)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkAuthenticator.Credential.html#equals(java.lang.Object)">equals(Object)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Route.html#equals(java.lang.Object)">equals(Object)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler)">execute(HttpUriRequest, ResponseHandler&lt;? extends T&gt;)</a></span> - Method in class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler, org.apache.http.protocol.HttpContext)">execute(HttpUriRequest, ResponseHandler&lt;? extends T&gt;, HttpContext)</a></span> - Method in class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler)">execute(HttpHost, HttpRequest, ResponseHandler&lt;? extends T&gt;)</a></span> - Method in class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler, org.apache.http.protocol.HttpContext)">execute(HttpHost, HttpRequest, ResponseHandler&lt;? extends T&gt;, HttpContext)</a></span> - Method in class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dt><span class="strong"><a href="./com/squareup/okhttp/ConnectionPool.html#evictAll()">evictAll()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></dt>
<dd>
<div class="block">Close and remove all connections in the pool.</div>
</dd>
</dl>
<a name="_F_">
<!-- -->
</a>
<h2 class="title">F</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/RouteDatabase.html#failed(com.squareup.okhttp.Route)">failed(Route)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">RouteDatabase</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Records a failure connecting to <code>failedRoute</code>.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/RouteDatabase.html#failedRoutesCount()">failedRoutesCount()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">RouteDatabase</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#flush()">flush()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
</dl>
<a name="_G_">
@@ -99,30 +229,685 @@
</a>
<h2 class="title">G</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#getConnectionManager()">getConnectionManager()</a></span> - Method in class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#get(java.net.URI, java.lang.String, java.util.Map)">get(URI, String, Map&lt;String, List&lt;String&gt;&gt;)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#getParams()">getParams()</a></span> - Method in class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#get(com.squareup.okhttp.internal.http.Request)">get(Request)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/ConnectionPool.html#get(com.squareup.okhttp.Address)">get(Address)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></dt>
<dd>
<div class="block">Returns a recycled connection to <code>address</code>, or null if no such connection exists.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Handshake.html#get(javax.net.ssl.SSLSession)">get(SSLSession)</a></span> - Static method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Handshake.html#get(java.lang.String, java.util.List, java.util.List)">get(String, List&lt;Certificate&gt;, List&lt;Certificate&gt;)</a></span> - Static method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkResponseCache.html#get(com.squareup.okhttp.internal.http.Request)">get(Request)</a></span> - Method in interface com.squareup.okhttp.<a href="./com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Route.html#getAddress()">getAddress()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></dt>
<dd>
<div class="block">Returns the <a href="./com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp"><code>Address</code></a> of this route.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Address.html#getAuthenticator()">getAuthenticator()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></dt>
<dd>
<div class="block">Returns the client's authenticator.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getAuthenticator()">getAuthenticator()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getCache()">getCache()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/ConnectionPool.html#getConnectionCount()">getConnectionCount()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></dt>
<dd>
<div class="block">Returns total number of connections in the pool.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getConnectionPool()">getConnectionPool()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getConnectTimeout()">getConnectTimeout()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Default connect timeout (in milliseconds).</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getCookieHandler()">getCookieHandler()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/ConnectionPool.html#getDefault()">getDefault()</a></span> - Static method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#getDirectory()">getDirectory()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getFollowProtocolRedirects()">getFollowProtocolRedirects()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>moved to <a href="./com/squareup/okhttp/OkHttpClient.html#getFollowSslRedirects()"><code>OkHttpClient.getFollowSslRedirects()</code></a>.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getFollowSslRedirects()">getFollowSslRedirects()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#getHandshake()">getHandshake()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkAuthenticator.Credential.html#getHeaderValue()">getHeaderValue()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#getHitCount()">getHitCount()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Address.html#getHostnameVerifier()">getHostnameVerifier()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></dt>
<dd>
<div class="block">Returns the hostname verifier, or null if this is not an HTTPS
address.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getHostnameVerifier()">getHostnameVerifier()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/ConnectionPool.html#getHttpConnectionCount()">getHttpConnectionCount()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></dt>
<dd>
<div class="block">Returns total number of http connections in the pool.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#getHttpMinorVersion()">getHttpMinorVersion()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Returns the minor HTTP version that should be used for future requests on
this connection.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#getIdleStartTimeNs()">getIdleStartTimeNs()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Returns the time in ns when this connection became idle.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#getMaxSize()">getMaxSize()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#getNetworkCount()">getNetworkCount()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getOkResponseCache()">getOkResponseCache()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>replaced by <a href="./com/squareup/okhttp/OkHttpClient.html#getCache()"><code>OkHttpClient.getCache()</code></a> which doesn't support custom
cache implementations.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#getOwner()">getOwner()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Address.html#getProtocols()">getProtocols()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></dt>
<dd>
<div class="block">Returns the protocols the client supports.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getProtocols()">getProtocols()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Address.html#getProxy()">getProxy()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></dt>
<dd>
<div class="block">Returns this address's explicitly-specified HTTP proxy, or null to
delegate to the HTTP client's proxy selector.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getProxy()">getProxy()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Route.html#getProxy()">getProxy()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></dt>
<dd>
<div class="block">Returns the <a href="http://java.sun.com/javase/6/docs/api/java/net/Proxy.html?is-external=true" title="class or interface in java.net"><code>Proxy</code></a> of this route.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getProxySelector()">getProxySelector()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getReadTimeout()">getReadTimeout()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Default read timeout (in milliseconds).</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkAuthenticator.Challenge.html#getRealm()">getRealm()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Returns the protection space.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#getRequestCount()">getRequestCount()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getResponseCache()">getResponseCache()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>replaced by <a href="./com/squareup/okhttp/OkHttpClient.html#getCache()"><code>OkHttpClient.getCache()</code></a> which doesn't support custom
cache implementations.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#getRoute()">getRoute()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Returns the route used by this connection.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getRoutesDatabase()">getRoutesDatabase()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkAuthenticator.Challenge.html#getScheme()">getScheme()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Returns the authentication scheme, like <code>Basic</code>.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#getSize()">getSize()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#getSocket()">getSocket()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Returns the socket that this connection uses, or null if the connection
is not currently connected.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Route.html#getSocketAddress()">getSocketAddress()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></dt>
<dd>
<div class="block">Returns the <a href="http://java.sun.com/javase/6/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net"><code>InetSocketAddress</code></a> of this route.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/ConnectionPool.html#getSpdyConnectionCount()">getSpdyConnectionCount()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></dt>
<dd>
<div class="block">Returns total number of spdy connections in the pool.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Address.html#getSslSocketFactory()">getSslSocketFactory()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></dt>
<dd>
<div class="block">Returns the SSL socket factory, or null if this is not an HTTPS
address.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getSslSocketFactory()">getSslSocketFactory()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Route.html#getTlsVersion()">getTlsVersion()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#getTransports()">getTransports()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>OkHttp 1.5 enforces an enumeration of <a href="./com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><code>protocols</code></a> that can be selected. Please switch to <a href="./com/squareup/okhttp/OkHttpClient.html#getProtocols()"><code>OkHttpClient.getProtocols()</code></a>.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Address.html#getUriHost()">getUriHost()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></dt>
<dd>
<div class="block">Returns the hostname of the origin server.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Address.html#getUriPort()">getUriPort()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></dt>
<dd>
<div class="block">Returns the port of the origin server; typically 80 or 443.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#getWriteAbortCount()">getWriteAbortCount()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#getWriteSuccessCount()">getWriteSuccessCount()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
</dl>
<a name="_H_">
<!-- -->
</a>
<h2 class="title">H</h2>
<dl>
<dt><a href="./com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp"><span class="strong">Handshake</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block">A record of a TLS handshake.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Address.html#hashCode()">hashCode()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp">Address</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Handshake.html#hashCode()">hashCode()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/MediaType.html#hashCode()">hashCode()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkAuthenticator.Challenge.html#hashCode()">hashCode()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkAuthenticator.Credential.html#hashCode()">hashCode()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Route.html#hashCode()">hashCode()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></dt>
<dd>&nbsp;</dd>
<dt><a href="./com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp"><span class="strong">HttpResponseCache</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>renamed to <a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp"><code>Cache</code></a>.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/HttpResponseCache.html#HttpResponseCache(java.io.File, long)">HttpResponseCache(File, long)</a></span> - Constructor for class com.squareup.okhttp.<a href="./com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp">HttpResponseCache</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
</dl>
<a name="_I_">
<!-- -->
</a>
<h2 class="title">I</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#incrementRecycleCount()">incrementRecycleCount()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#isAlive()">isAlive()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Returns true if this connection is alive.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#isClosed()">isClosed()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#isConnected()">isConnected()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Returns true if <a href="./com/squareup/okhttp/Connection.html#connect(int, int, com.squareup.okhttp.TunnelRequest)"><code>Connection.connect(int, int, com.squareup.okhttp.TunnelRequest)</code></a> has been attempted on this connection.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#isExpired(long)">isExpired(long)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Returns true if this connection has been idle for longer than
<code>keepAliveDurationNs</code>.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#isIdle()">isIdle()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Returns true if this connection is idle.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Route.html#isModernTls()">isModernTls()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>replaced with <a href="./com/squareup/okhttp/Route.html#getTlsVersion()"><code>Route.getTlsVersion()</code></a> in OkHttp 2.0.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/CacheControl.html#isPublic()">isPublic()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#isReadable()">isReadable()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Returns true if we are confident that we can read data from this
connection.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#isSpdy()">isSpdy()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Returns true if this is a SPDY connection.</div>
</dd>
</dl>
<a name="_L_">
<!-- -->
</a>
<h2 class="title">L</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/Handshake.html#localCertificates()">localCertificates()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></dt>
<dd>
<div class="block">Returns a possibly-empty list of certificates that identify this peer.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Handshake.html#localPrincipal()">localPrincipal()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></dt>
<dd>
<div class="block">Returns the local principle, or null if this peer is anonymous.</div>
</dd>
</dl>
<a name="_M_">
<!-- -->
</a>
<h2 class="title">M</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/CacheControl.html#maxAgeSeconds()">maxAgeSeconds()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></dt>
<dd>
<div class="block">The duration past the response's served date that it can be served without
validation.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/CacheControl.html#maxStaleSeconds()">maxStaleSeconds()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#maybeRemove(com.squareup.okhttp.internal.http.Request)">maybeRemove(Request)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkResponseCache.html#maybeRemove(com.squareup.okhttp.internal.http.Request)">maybeRemove(Request)</a></span> - Method in interface com.squareup.okhttp.<a href="./com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Remove any cache entries for the supplied <code>uri</code>.</div>
</dd>
<dt><a href="./com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp"><span class="strong">MediaType</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block">An <a href="http://tools.ietf.org/html/rfc2045">RFC 2045</a> Media Type,
appropriate to describe the content type of an HTTP request or response body.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/CacheControl.html#minFreshSeconds()">minFreshSeconds()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/CacheControl.html#mustRevalidate()">mustRevalidate()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></dt>
<dd>&nbsp;</dd>
</dl>
<a name="_N_">
<!-- -->
</a>
<h2 class="title">N</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/Protocol.html#name">name</a></span> - Variable in enum com.squareup.okhttp.<a href="./com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#newTransport(com.squareup.okhttp.internal.http.HttpEngine)">newTransport(HttpEngine)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Returns the transport appropriate for this connection.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/CacheControl.html#noCache()">noCache()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></dt>
<dd>
<div class="block">In a response, this field's name "no-cache" is misleading.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/CacheControl.html#noStore()">noStore()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></dt>
<dd>
<div class="block">If true, this response should not be cached.</div>
</dd>
</dl>
<a name="_O_">
<!-- -->
</a>
<h2 class="title">O</h2>
<dl>
<dt><a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache"><span class="strong">OkApacheClient</span></a> - Class in <a href="./com/squareup/okhttp/apache/package-summary.html">com.squareup.okhttp.apache</a></dt>
<dt><a href="./com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp"><span class="strong">OkAuthenticator</span></a> - Interface in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block">Implements Apache's <code>HttpClient</code> API using <a href="https://github.com/square/okhttp/okhttp/apidocs/com/squareup/okhttp/OkHttpClient.html?is-external=true" title="class or interface in com.squareup.okhttp"><code>OkHttpClient</code></a>.</div>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>replaced with <code>Authenticator</code> in OkHttp 2.0.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#OkApacheClient()">OkApacheClient()</a></span> - Constructor for class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#OkApacheClient(com.squareup.okhttp.OkHttpClient)">OkApacheClient(OkHttpClient)</a></span> - Constructor for class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/apache/OkApacheClient.html#openConnection(java.net.URL)">openConnection(URL)</a></span> - Method in class com.squareup.okhttp.apache.<a href="./com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache">OkApacheClient</a></dt>
<dt><a href="./com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp"><span class="strong">OkAuthenticator.Challenge</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block">Returns a new HttpURLConnection customized for this application.</div>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">An RFC 2617 challenge.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkAuthenticator.Challenge.html#OkAuthenticator.Challenge(java.lang.String, java.lang.String)">OkAuthenticator.Challenge(String, String)</a></span> - Constructor for class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
<dt><a href="./com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp"><span class="strong">OkAuthenticator.Credential</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">An RFC 2617 credential.</div>
</dd>
<dt><a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp"><span class="strong">OkHttpClient</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block">Configures and creates HTTP connections.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#OkHttpClient()">OkHttpClient()</a></span> - Constructor for class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>&nbsp;</dd>
<dt><a href="./com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp"><span class="strong">OkResponseCache</span></a> - Interface in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/CacheControl.html#onlyIfCached()">onlyIfCached()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></dt>
<dd>
<div class="block">This field's name "only-if-cached" is misleading.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#open(java.net.URL)">open(URL)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>moved to <code>OkUrlFactory.open</code>.</i></div>
</div>
</dd>
</dl>
<a href="#_C_">C</a>&nbsp;<a href="#_E_">E</a>&nbsp;<a href="#_G_">G</a>&nbsp;<a href="#_O_">O</a>&nbsp;</div>
<a name="_P_">
<!-- -->
</a>
<h2 class="title">P</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/CacheControl.html#parse(com.squareup.okhttp.internal.http.Headers)">parse(Headers)</a></span> - Static method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></dt>
<dd>
<div class="block">Returns the cache directives of <code>headers</code>.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/MediaType.html#parse(java.lang.String)">parse(String)</a></span> - Static method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a></dt>
<dd>
<div class="block">Returns a media type for <code>string</code>, or null if <code>string</code> is not a
well-formed media type.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Handshake.html#peerCertificates()">peerCertificates()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></dt>
<dd>
<div class="block">Returns a possibly-empty list of certificates that identify the remote peer.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Handshake.html#peerPrincipal()">peerPrincipal()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp">Handshake</a></dt>
<dd>
<div class="block">Returns the remote peer's principle, or null if that peer is anonymous.</div>
</dd>
<dt><a href="./com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><span class="strong">Protocol</span></a> - Enum in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block">Contains protocols that OkHttp supports
<a href="http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04">NPN</a> or
<a href="http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg">ALPN</a> selection.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#put(java.net.URI, java.net.URLConnection)">put(URI, URLConnection)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#put(com.squareup.okhttp.internal.http.Response)">put(Response)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkResponseCache.html#put(com.squareup.okhttp.internal.http.Response)">put(Response)</a></span> - Method in interface com.squareup.okhttp.<a href="./com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
</dl>
<a name="_R_">
<!-- -->
</a>
<h2 class="title">R</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/ConnectionPool.html#recycle(com.squareup.okhttp.Connection)">recycle(Connection)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></dt>
<dd>
<div class="block">Gives <code>connection</code> to the pool.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#recycleCount()">recycleCount()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Returns the number of times this connection has been returned to the
connection pool.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/ResponseSource.html#requiresConnection()">requiresConnection()</a></span> - Method in enum com.squareup.okhttp.<a href="./com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#requiresTunnel()">requiresTunnel()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>
<div class="block">Returns true if the HTTP connection needs to tunnel one protocol over
another, such as when using HTTPS through an HTTP proxy.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#resetIdleStartTime()">resetIdleStartTime()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>&nbsp;</dd>
<dt><a href="./com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp"><span class="strong">ResponseSource</span></a> - Enum in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>removed from the public API in OkHttp 2.0. Use the response's
<code>networkResponse()</code> and <code>cacheResponse()</code> to compute how the
request was satisfied.</i></div>
</div>
</dd>
<dt><a href="./com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp"><span class="strong">Route</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block">The concrete route used by a connection to reach an abstract origin server.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Route.html#Route(com.squareup.okhttp.Address, java.net.Proxy, java.net.InetSocketAddress, boolean)">Route(Address, Proxy, InetSocketAddress, boolean)</a></span> - Constructor for class com.squareup.okhttp.<a href="./com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp">Route</a></dt>
<dd>&nbsp;</dd>
<dt><a href="./com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp"><span class="strong">RouteDatabase</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/RouteDatabase.html#RouteDatabase()">RouteDatabase()</a></span> - Constructor for class com.squareup.okhttp.<a href="./com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">RouteDatabase</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
</dl>
<a name="_S_">
<!-- -->
</a>
<h2 class="title">S</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setAuthenticator(com.squareup.okhttp.OkAuthenticator)">setAuthenticator(OkAuthenticator)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Sets the authenticator used to respond to challenges from the remote web
server or proxy server.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)">setCache(Cache)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setConnectionPool(com.squareup.okhttp.ConnectionPool)">setConnectionPool(ConnectionPool)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Sets the connection pool used to recycle HTTP and HTTPS connections.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setConnectTimeout(long, java.util.concurrent.TimeUnit)">setConnectTimeout(long, TimeUnit)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Sets the default connect timeout for new connections.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setCookieHandler(java.net.CookieHandler)">setCookieHandler(CookieHandler)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Sets the cookie handler to be used to read outgoing cookies and write
incoming cookies.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setFollowProtocolRedirects(boolean)">setFollowProtocolRedirects(boolean)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>moved to <a href="./com/squareup/okhttp/OkHttpClient.html#setFollowSslRedirects(boolean)"><code>OkHttpClient.setFollowSslRedirects(boolean)</code></a>.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setFollowSslRedirects(boolean)">setFollowSslRedirects(boolean)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Configure this client to follow redirects from HTTPS to HTTP and from HTTP
to HTTPS.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setHostnameVerifier(javax.net.ssl.HostnameVerifier)">setHostnameVerifier(HostnameVerifier)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Sets the verifier used to confirm that response certificates apply to
requested hostnames for HTTPS connections.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#setHttpMinorVersion(int)">setHttpMinorVersion(int)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setOkResponseCache(com.squareup.okhttp.OkResponseCache)">setOkResponseCache(OkResponseCache)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>replaced by <a href="./com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)"><code>OkHttpClient.setCache(com.squareup.okhttp.Cache)</code></a> which doesn't support custom
cache implementations.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#setOwner(java.lang.Object)">setOwner(Object)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setProtocols(java.util.List)">setProtocols(List&lt;Protocol&gt;)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Configure the protocols used by this client to communicate with remote
servers.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setProxy(java.net.Proxy)">setProxy(Proxy)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Sets the HTTP proxy that will be used by connections created by this
client.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setProxySelector(java.net.ProxySelector)">setProxySelector(ProxySelector)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Sets the proxy selection policy to be used if no <a href="./com/squareup/okhttp/OkHttpClient.html#setProxy(java.net.Proxy)"><code>proxy</code></a>
is specified explicitly.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setReadTimeout(long, java.util.concurrent.TimeUnit)">setReadTimeout(long, TimeUnit)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Sets the default read timeout for new connections.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setResponseCache(java.net.ResponseCache)">setResponseCache(ResponseCache)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>replaced by <a href="./com/squareup/okhttp/OkHttpClient.html#setCache(com.squareup.okhttp.Cache)"><code>OkHttpClient.setCache(com.squareup.okhttp.Cache)</code></a> which doesn't support custom
cache implementations.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setSslSocketFactory(javax.net.ssl.SSLSocketFactory)">setSslSocketFactory(SSLSocketFactory)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block">Sets the socket factory used to secure HTTPS connections.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkHttpClient.html#setTransports(java.util.List)">setTransports(List&lt;String&gt;)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp">OkHttpClient</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>OkHttp 1.5 enforces an enumeration of <a href="./com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><code>protocols</code></a>
that can be selected. Please switch to <a href="./com/squareup/okhttp/OkHttpClient.html#setProtocols(java.util.List)"><code>OkHttpClient.setProtocols(java.util.List)</code></a>.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/ConnectionPool.html#share(com.squareup.okhttp.Connection)">share(Connection)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp">ConnectionPool</a></dt>
<dd>
<div class="block">Shares the SPDY connection with the pool.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/RouteDatabase.html#shouldPostpone(com.squareup.okhttp.Route)">shouldPostpone(Route)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp">RouteDatabase</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Returns true if <code>route</code> has failed recently and should be avoided.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/CacheControl.html#sMaxAgeSeconds()">sMaxAgeSeconds()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp">CacheControl</a></dt>
<dd>
<div class="block">The "s-maxage" directive is the max age for shared caches.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Protocol.html#spdyVariant">spdyVariant</a></span> - Variable in enum com.squareup.okhttp.<a href="./com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/MediaType.html#subtype()">subtype()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a></dt>
<dd>
<div class="block">Returns a specific media subtype, such as "plain" or "png", "mpeg",
"mp4" or "xml".</div>
</dd>
</dl>
<a name="_T_">
<!-- -->
</a>
<h2 class="title">T</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/MediaType.html#toString()">toString()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a></dt>
<dd>
<div class="block">Returns the encoded media type, like "text/plain; charset=utf-8",
appropriate for use in a Content-Type header.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkAuthenticator.Challenge.html#toString()">toString()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp">OkAuthenticator.Challenge</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkAuthenticator.Credential.html#toString()">toString()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp">OkAuthenticator.Credential</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#trackConditionalCacheHit()">trackConditionalCacheHit()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkResponseCache.html#trackConditionalCacheHit()">trackConditionalCacheHit()</a></span> - Method in interface com.squareup.okhttp.<a href="./com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Track an conditional GET that was satisfied by this cache.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#trackResponse(com.squareup.okhttp.ResponseSource)">trackResponse(ResponseSource)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkResponseCache.html#trackResponse(com.squareup.okhttp.ResponseSource)">trackResponse(ResponseSource)</a></span> - Method in interface com.squareup.okhttp.<a href="./com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Track an HTTP response being satisfied by <code>source</code>.</div>
</dd>
<dt><a href="./com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp"><span class="strong">TunnelRequest</span></a> - Class in <a href="./com/squareup/okhttp/package-summary.html">com.squareup.okhttp</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
<div class="block"><i>removed from the public API in OkHttp 2.0.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/TunnelRequest.html#TunnelRequest(java.lang.String, int, java.lang.String, java.lang.String)">TunnelRequest(String, int, String, String)</a></span> - Constructor for class com.squareup.okhttp.<a href="./com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp">TunnelRequest</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/MediaType.html#type()">type()</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp">MediaType</a></dt>
<dd>
<div class="block">Returns the high-level media type, such as "text", "image", "audio",
"video", or "application".</div>
</dd>
</dl>
<a name="_U_">
<!-- -->
</a>
<h2 class="title">U</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/Cache.html#update(com.squareup.okhttp.internal.http.Response, com.squareup.okhttp.internal.http.Response)">update(Response, Response)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp">Cache</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/OkResponseCache.html#update(com.squareup.okhttp.internal.http.Response, com.squareup.okhttp.internal.http.Response)">update(Response, Response)</a></span> - Method in interface com.squareup.okhttp.<a href="./com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Handles a conditional request hit by updating the stored cache response
with the headers from <code>network</code>.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Connection.html#updateReadTimeout(int)">updateReadTimeout(int)</a></span> - Method in class com.squareup.okhttp.<a href="./com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp">Connection</a></dt>
<dd>&nbsp;</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/ResponseSource.html#usesCache()">usesCache()</a></span> - Method in enum com.squareup.okhttp.<a href="./com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
&nbsp;</dd>
</dl>
<a name="_V_">
<!-- -->
</a>
<h2 class="title">V</h2>
<dl>
<dt><span class="strong"><a href="./com/squareup/okhttp/Protocol.html#valueOf(java.lang.String)">valueOf(String)</a></span> - Static method in enum com.squareup.okhttp.<a href="./com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a></dt>
<dd>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/ResponseSource.html#valueOf(java.lang.String)">valueOf(String)</a></span> - Static method in enum com.squareup.okhttp.<a href="./com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/Protocol.html#values()">values()</a></span> - Static method in enum com.squareup.okhttp.<a href="./com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp">Protocol</a></dt>
<dd>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</dd>
<dt><span class="strong"><a href="./com/squareup/okhttp/ResponseSource.html#values()">values()</a></span> - Static method in enum com.squareup.okhttp.<a href="./com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp">ResponseSource</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span></div>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</dd>
</dl>
<a href="#_A_">A</a>&nbsp;<a href="#_B_">B</a>&nbsp;<a href="#_C_">C</a>&nbsp;<a href="#_D_">D</a>&nbsp;<a href="#_E_">E</a>&nbsp;<a href="#_F_">F</a>&nbsp;<a href="#_G_">G</a>&nbsp;<a href="#_H_">H</a>&nbsp;<a href="#_I_">I</a>&nbsp;<a href="#_L_">L</a>&nbsp;<a href="#_M_">M</a>&nbsp;<a href="#_N_">N</a>&nbsp;<a href="#_O_">O</a>&nbsp;<a href="#_P_">P</a>&nbsp;<a href="#_R_">R</a>&nbsp;<a href="#_S_">S</a>&nbsp;<a href="#_T_">T</a>&nbsp;<a href="#_U_">U</a>&nbsp;<a href="#_V_">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
@@ -130,10 +915,10 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="./com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li><a href="./com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="./com/squareup/okhttp/apache/package-tree.html">Tree</a></li>
<li><a href="./com/squareup/okhttp/package-tree.html">Tree</a></li>
<li><a href="./deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="./help-doc.html">Help</a></li>

View File

@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc on Sat May 24 00:18:02 EDT 2014 -->
<!-- Generated by javadoc on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>OkHttp Apache HttpClient 1.6.0 API</title>
<title>OkHttp 1.6.0 API</title>
<script type="text/javascript">
targetPage = "" + window.location.search;
if (targetPage != "" && targetPage != "undefined")
@@ -53,13 +53,13 @@
</head>
<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
<frame src="com/squareup/okhttp/apache/package-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
<frame src="com/squareup/okhttp/package-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
<noframes>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<h2>Frame Alert</h2>
<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="com/squareup/okhttp/apache/package-summary.html">Non-frame version</a>.</p>
<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="com/squareup/okhttp/package-summary.html">Non-frame version</a>.</p>
</noframes>
</frameset>
</html>

View File

@@ -2,16 +2,16 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:18:02 EDT 2014 -->
<!-- Generated by javadoc (version 1.7.0_51) on Sat May 24 00:17:31 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Class Hierarchy (OkHttp Apache HttpClient 1.6.0 API)</title>
<title>Class Hierarchy (OkHttp 1.6.0 API)</title>
<meta name="date" content="2014-05-24">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Class Hierarchy (OkHttp Apache HttpClient 1.6.0 API)";
parent.document.title="Class Hierarchy (OkHttp 1.6.0 API)";
}
//-->
</script>
@@ -25,7 +25,7 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li><a href="com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>
@@ -66,7 +66,7 @@
<h1 class="title">Hierarchy For All Packages</h1>
<span class="strong">Package Hierarchies:</span>
<ul class="horizontal">
<li><a href="com/squareup/okhttp/apache/package-tree.html">com.squareup.okhttp.apache</a></li>
<li><a href="com/squareup/okhttp/package-tree.html">com.squareup.okhttp</a></li>
</ul>
</div>
<div class="contentContainer">
@@ -74,7 +74,45 @@
<ul>
<li type="circle">java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="strong">Object</span></a>
<ul>
<li type="circle">com.squareup.okhttp.apache.<a href="com/squareup/okhttp/apache/OkApacheClient.html" title="class in com.squareup.okhttp.apache"><span class="strong">OkApacheClient</span></a> (implements org.apache.http.client.HttpClient)</li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/Address.html" title="class in com.squareup.okhttp"><span class="strong">Address</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/CacheControl.html" title="class in com.squareup.okhttp"><span class="strong">CacheControl</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/Connection.html" title="class in com.squareup.okhttp"><span class="strong">Connection</span></a> (implements java.io.<a href="http://java.sun.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>)</li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/ConnectionPool.html" title="class in com.squareup.okhttp"><span class="strong">ConnectionPool</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/Handshake.html" title="class in com.squareup.okhttp"><span class="strong">Handshake</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/MediaType.html" title="class in com.squareup.okhttp"><span class="strong">MediaType</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/OkAuthenticator.Challenge.html" title="class in com.squareup.okhttp"><span class="strong">OkAuthenticator.Challenge</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/OkAuthenticator.Credential.html" title="class in com.squareup.okhttp"><span class="strong">OkAuthenticator.Credential</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/OkHttpClient.html" title="class in com.squareup.okhttp"><span class="strong">OkHttpClient</span></a> (implements java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, java.net.<a href="http://java.sun.com/javase/6/docs/api/java/net/URLStreamHandlerFactory.html?is-external=true" title="class or interface in java.net">URLStreamHandlerFactory</a>)</li>
<li type="circle">java.net.<a href="http://java.sun.com/javase/6/docs/api/java/net/ResponseCache.html?is-external=true" title="class or interface in java.net"><span class="strong">ResponseCache</span></a>
<ul>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/Cache.html" title="class in com.squareup.okhttp"><span class="strong">Cache</span></a> (implements com.squareup.okhttp.<a href="com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp">OkResponseCache</a>)
<ul>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/HttpResponseCache.html" title="class in com.squareup.okhttp"><span class="strong">HttpResponseCache</span></a></li>
</ul>
</li>
</ul>
</li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/Route.html" title="class in com.squareup.okhttp"><span class="strong">Route</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/RouteDatabase.html" title="class in com.squareup.okhttp"><span class="strong">RouteDatabase</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/TunnelRequest.html" title="class in com.squareup.okhttp"><span class="strong">TunnelRequest</span></a></li>
</ul>
</li>
</ul>
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
<ul>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/OkAuthenticator.html" title="interface in com.squareup.okhttp"><span class="strong">OkAuthenticator</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/OkResponseCache.html" title="interface in com.squareup.okhttp"><span class="strong">OkResponseCache</span></a></li>
</ul>
<h2 title="Enum Hierarchy">Enum Hierarchy</h2>
<ul>
<li type="circle">java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="strong">Object</span></a>
<ul>
<li type="circle">java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="strong">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
<ul>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/ResponseSource.html" title="enum in com.squareup.okhttp"><span class="strong">ResponseSource</span></a></li>
<li type="circle">com.squareup.okhttp.<a href="com/squareup/okhttp/Protocol.html" title="enum in com.squareup.okhttp"><span class="strong">Protocol</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
@@ -86,7 +124,7 @@
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="com/squareup/okhttp/apache/package-summary.html">Package</a></li>
<li><a href="com/squareup/okhttp/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li class="navBarCell1Rev">Tree</li>

View File

@@ -1 +1 @@
com.squareup.okhttp.apache
com.squareup.okhttp