From e6fa8c98bbd3ce0b3b83b219c3f56a5b57f82faa Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Fri, 5 Dec 2025 11:57:46 -0500 Subject: [PATCH] Deployed 5aaf6446c with MkDocs version: 1.6.1 --- 1.x/benchmarks/META-INF/MANIFEST.MF | 6 - 1.x/benchmarks/allclasses-frame.html | 19 - 1.x/benchmarks/allclasses-noframe.html | 19 - .../squareup/okhttp/benchmarks/Benchmark.html | 304 -- .../benchmarks/class-use/Benchmark.html | 115 - .../okhttp/benchmarks/package-frame.html | 20 - .../okhttp/benchmarks/package-summary.html | 135 - .../okhttp/benchmarks/package-tree.html | 128 - .../okhttp/benchmarks/package-use.html | 115 - 1.x/benchmarks/constant-values.html | 115 - 1.x/benchmarks/deprecated-list.html | 115 - 1.x/benchmarks/help-doc.html | 216 -- 1.x/benchmarks/index-all.html | 156 -- 1.x/benchmarks/index.html | 65 - 1.x/benchmarks/overview-tree.html | 132 - 1.x/benchmarks/package-list | 1 - 1.x/benchmarks/resources/background.gif | Bin 2313 -> 0 bytes 1.x/benchmarks/resources/tab.gif | Bin 291 -> 0 bytes 1.x/benchmarks/resources/titlebar.gif | Bin 10701 -> 0 bytes 1.x/benchmarks/resources/titlebar_end.gif | Bin 849 -> 0 bytes 1.x/benchmarks/stylesheet.css | 474 ---- 1.x/benchmarks/version.txt | 1 - 1.x/mockwebserver/META-INF/MANIFEST.MF | 6 - 1.x/mockwebserver/allclasses-frame.html | 27 - 1.x/mockwebserver/allclasses-noframe.html | 27 - .../okhttp/internal/SslContextBuilder.html | 284 -- .../internal/class-use/SslContextBuilder.html | 117 - .../okhttp/internal/package-frame.html | 20 - .../okhttp/internal/package-summary.html | 137 - .../okhttp/internal/package-tree.html | 130 - .../squareup/okhttp/internal/package-use.html | 117 - .../okhttp/internal/spdy/SpdyServer.html | 314 --- .../internal/spdy/class-use/SpdyServer.html | 117 - .../okhttp/internal/spdy/package-frame.html | 20 - .../okhttp/internal/spdy/package-summary.html | 137 - .../okhttp/internal/spdy/package-tree.html | 130 - .../okhttp/internal/spdy/package-use.html | 117 - .../okhttp/mockwebserver/Dispatcher.html | 289 -- .../okhttp/mockwebserver/MockResponse.html | 689 ----- .../okhttp/mockwebserver/MockWebServer.html | 533 ---- .../okhttp/mockwebserver/PushPromise.html | 304 -- .../okhttp/mockwebserver/QueueDispatcher.html | 375 --- .../okhttp/mockwebserver/RecordedRequest.html | 469 ---- .../okhttp/mockwebserver/SocketPolicy.html | 429 --- .../mockwebserver/class-use/Dispatcher.html | 174 -- .../mockwebserver/class-use/MockResponse.html | 320 --- .../class-use/MockWebServer.html | 117 - .../mockwebserver/class-use/PushPromise.html | 175 -- .../class-use/QueueDispatcher.html | 117 - .../class-use/RecordedRequest.html | 178 -- .../mockwebserver/class-use/SocketPolicy.html | 193 -- .../okhttp/mockwebserver/package-frame.html | 29 - .../okhttp/mockwebserver/package-summary.html | 184 -- .../okhttp/mockwebserver/package-tree.html | 150 - .../okhttp/mockwebserver/package-use.html | 172 -- 1.x/mockwebserver/constant-values.html | 117 - 1.x/mockwebserver/deprecated-list.html | 117 - 1.x/mockwebserver/help-doc.html | 222 -- 1.x/mockwebserver/index-all.html | 515 ---- 1.x/mockwebserver/index.html | 68 - 1.x/mockwebserver/overview-frame.html | 23 - 1.x/mockwebserver/overview-summary.html | 139 - 1.x/mockwebserver/overview-tree.html | 154 - 1.x/mockwebserver/package-list | 3 - 1.x/mockwebserver/resources/background.gif | Bin 2313 -> 0 bytes 1.x/mockwebserver/resources/tab.gif | Bin 291 -> 0 bytes 1.x/mockwebserver/resources/titlebar.gif | Bin 10701 -> 0 bytes 1.x/mockwebserver/resources/titlebar_end.gif | Bin 849 -> 0 bytes 1.x/mockwebserver/stylesheet.css | 474 ---- 1.x/mockwebserver/version.txt | 1 - 1.x/okhttp-apache/META-INF/MANIFEST.MF | 6 - 1.x/okhttp-apache/allclasses-frame.html | 19 - 1.x/okhttp-apache/allclasses-noframe.html | 19 - .../okhttp/apache/OkApacheClient.html | 529 ---- .../apache/class-use/OkApacheClient.html | 115 - .../squareup/okhttp/apache/package-frame.html | 20 - .../okhttp/apache/package-summary.html | 135 - .../squareup/okhttp/apache/package-tree.html | 124 - .../squareup/okhttp/apache/package-use.html | 115 - 1.x/okhttp-apache/constant-values.html | 115 - 1.x/okhttp-apache/deprecated-list.html | 115 - 1.x/okhttp-apache/help-doc.html | 216 -- 1.x/okhttp-apache/index-all.html | 172 -- 1.x/okhttp-apache/index.html | 65 - 1.x/okhttp-apache/overview-tree.html | 128 - 1.x/okhttp-apache/package-list | 1 - 1.x/okhttp-apache/resources/background.gif | Bin 2313 -> 0 bytes 1.x/okhttp-apache/resources/tab.gif | Bin 291 -> 0 bytes 1.x/okhttp-apache/resources/titlebar.gif | Bin 10701 -> 0 bytes 1.x/okhttp-apache/resources/titlebar_end.gif | Bin 849 -> 0 bytes 1.x/okhttp-apache/stylesheet.css | 474 ---- 1.x/okhttp-apache/version.txt | 1 - 1.x/okhttp-protocols/META-INF/MANIFEST.MF | 6 - 1.x/okhttp-protocols/allclasses-frame.html | 31 - 1.x/okhttp-protocols/allclasses-noframe.html | 31 - .../com/squareup/okhttp/internal/Base64.html | 254 -- .../okhttp/internal/NamedRunnable.html | 283 -- .../squareup/okhttp/internal/Platform.html | 458 --- .../com/squareup/okhttp/internal/Util.html | 744 ----- .../okhttp/internal/class-use/Base64.html | 117 - .../internal/class-use/NamedRunnable.html | 117 - .../okhttp/internal/class-use/Platform.html | 157 -- .../okhttp/internal/class-use/Util.html | 117 - .../okhttp/internal/package-frame.html | 23 - .../okhttp/internal/package-summary.html | 155 - .../okhttp/internal/package-tree.html | 133 - .../squareup/okhttp/internal/package-use.html | 152 - .../okhttp/internal/spdy/ErrorCode.html | 583 ---- .../internal/spdy/FrameReader.Handler.html | 363 --- .../okhttp/internal/spdy/FrameReader.html | 259 -- .../okhttp/internal/spdy/FrameWriter.html | 462 --- .../internal/spdy/IncomingStreamHandler.html | 254 -- .../squareup/okhttp/internal/spdy/Ping.html | 259 -- .../internal/spdy/SpdyConnection.Builder.html | 363 --- .../okhttp/internal/spdy/SpdyConnection.html | 488 ---- .../okhttp/internal/spdy/SpdyStream.html | 486 ---- .../internal/spdy/class-use/ErrorCode.html | 233 -- .../spdy/class-use/FrameReader.Handler.html | 157 -- .../internal/spdy/class-use/FrameReader.html | 117 - .../internal/spdy/class-use/FrameWriter.html | 117 - .../spdy/class-use/IncomingStreamHandler.html | 170 -- .../okhttp/internal/spdy/class-use/Ping.html | 159 -- .../class-use/SpdyConnection.Builder.html | 165 -- .../spdy/class-use/SpdyConnection.html | 161 -- .../internal/spdy/class-use/SpdyStream.html | 176 -- .../okhttp/internal/spdy/package-frame.html | 34 - .../okhttp/internal/spdy/package-summary.html | 201 -- .../okhttp/internal/spdy/package-tree.html | 160 -- .../okhttp/internal/spdy/package-use.html | 176 -- 1.x/okhttp-protocols/constant-values.html | 146 - 1.x/okhttp-protocols/deprecated-list.html | 117 - 1.x/okhttp-protocols/help-doc.html | 222 -- 1.x/okhttp-protocols/index-all.html | 631 ----- 1.x/okhttp-protocols/index.html | 34 - 1.x/okhttp-protocols/overview-frame.html | 22 - 1.x/okhttp-protocols/overview-summary.html | 135 - 1.x/okhttp-protocols/overview-tree.html | 167 -- 1.x/okhttp-protocols/package-list | 2 - 1.x/okhttp-protocols/resources/background.gif | Bin 2313 -> 0 bytes 1.x/okhttp-protocols/resources/tab.gif | Bin 291 -> 0 bytes 1.x/okhttp-protocols/resources/titlebar.gif | Bin 10701 -> 0 bytes .../resources/titlebar_end.gif | Bin 849 -> 0 bytes 1.x/okhttp-protocols/stylesheet.css | 474 ---- 1.x/okhttp-protocols/version.txt | 1 - 1.x/okhttp-tests/META-INF/MANIFEST.MF | 6 - 1.x/okhttp-tests/version.txt | 1 - 1.x/okhttp-urlconnection/META-INF/MANIFEST.MF | 6 - .../allclasses-frame.html | 19 - .../allclasses-noframe.html | 19 - .../com/squareup/okhttp/OkUrlFactory.html | 322 --- .../okhttp/class-use/OkUrlFactory.html | 143 - .../com/squareup/okhttp/package-frame.html | 20 - .../com/squareup/okhttp/package-summary.html | 133 - .../com/squareup/okhttp/package-tree.html | 124 - .../com/squareup/okhttp/package-use.html | 133 - 1.x/okhttp-urlconnection/constant-values.html | 115 - 1.x/okhttp-urlconnection/deprecated-list.html | 115 - 1.x/okhttp-urlconnection/help-doc.html | 216 -- 1.x/okhttp-urlconnection/index-all.html | 143 - 1.x/okhttp-urlconnection/index.html | 65 - 1.x/okhttp-urlconnection/overview-tree.html | 128 - 1.x/okhttp-urlconnection/package-list | 1 - .../resources/background.gif | Bin 2313 -> 0 bytes 1.x/okhttp-urlconnection/resources/tab.gif | Bin 291 -> 0 bytes .../resources/titlebar.gif | Bin 10701 -> 0 bytes .../resources/titlebar_end.gif | Bin 849 -> 0 bytes 1.x/okhttp-urlconnection/stylesheet.css | 474 ---- 1.x/okhttp-urlconnection/version.txt | 1 - 1.x/okhttp/META-INF/MANIFEST.MF | 6 - 1.x/okhttp/allclasses-frame.html | 36 - 1.x/okhttp/allclasses-noframe.html | 36 - 1.x/okhttp/com/squareup/okhttp/Address.html | 422 --- 1.x/okhttp/com/squareup/okhttp/Cache.html | 661 ----- .../com/squareup/okhttp/CacheControl.html | 378 --- .../com/squareup/okhttp/Connection.html | 676 ----- .../com/squareup/okhttp/ConnectionPool.html | 396 --- 1.x/okhttp/com/squareup/okhttp/Handshake.html | 358 --- .../squareup/okhttp/HttpResponseCache.html | 268 -- 1.x/okhttp/com/squareup/okhttp/MediaType.html | 358 --- .../okhttp/OkAuthenticator.Challenge.html | 333 --- .../okhttp/OkAuthenticator.Credential.html | 296 -- .../com/squareup/okhttp/OkAuthenticator.html | 290 -- .../com/squareup/okhttp/OkHttpClient.html | 926 ------ .../com/squareup/okhttp/OkResponseCache.html | 330 --- 1.x/okhttp/com/squareup/okhttp/Protocol.html | 408 --- .../com/squareup/okhttp/ResponseSource.html | 413 --- 1.x/okhttp/com/squareup/okhttp/Route.html | 380 --- .../com/squareup/okhttp/RouteDatabase.html | 325 --- .../com/squareup/okhttp/TunnelRequest.html | 249 -- .../squareup/okhttp/class-use/Address.html | 171 -- .../com/squareup/okhttp/class-use/Cache.html | 170 -- .../okhttp/class-use/CacheControl.html | 142 - .../squareup/okhttp/class-use/Connection.html | 163 -- .../okhttp/class-use/ConnectionPool.html | 171 -- .../squareup/okhttp/class-use/Handshake.html | 150 - .../okhttp/class-use/HttpResponseCache.html | 115 - .../squareup/okhttp/class-use/MediaType.html | 143 - .../class-use/OkAuthenticator.Challenge.html | 156 -- .../class-use/OkAuthenticator.Credential.html | 163 -- .../okhttp/class-use/OkAuthenticator.html | 179 -- .../okhttp/class-use/OkHttpClient.html | 242 -- .../okhttp/class-use/OkResponseCache.html | 187 -- .../squareup/okhttp/class-use/Protocol.html | 201 -- .../okhttp/class-use/ResponseSource.html | 171 -- .../com/squareup/okhttp/class-use/Route.html | 184 -- .../okhttp/class-use/RouteDatabase.html | 144 - .../okhttp/class-use/TunnelRequest.html | 142 - .../com/squareup/okhttp/package-frame.html | 43 - .../com/squareup/okhttp/package-summary.html | 263 -- .../com/squareup/okhttp/package-tree.html | 162 -- .../com/squareup/okhttp/package-use.html | 233 -- 1.x/okhttp/constant-values.html | 115 - 1.x/okhttp/deprecated-list.html | 305 -- 1.x/okhttp/help-doc.html | 216 -- 1.x/okhttp/index-all.html | 957 ------- 1.x/okhttp/index.html | 66 - 1.x/okhttp/overview-tree.html | 166 -- 1.x/okhttp/package-list | 1 - 1.x/okhttp/resources/background.gif | Bin 2313 -> 0 bytes 1.x/okhttp/resources/tab.gif | Bin 291 -> 0 bytes 1.x/okhttp/resources/titlebar.gif | Bin 10701 -> 0 bytes 1.x/okhttp/resources/titlebar_end.gif | Bin 849 -> 0 bytes 1.x/okhttp/stylesheet.css | 474 ---- 1.x/okhttp/version.txt | 1 - 2.x/benchmarks/META-INF/MANIFEST.MF | 6 - 2.x/benchmarks/allclasses-frame.html | 20 - 2.x/benchmarks/allclasses-noframe.html | 20 - .../squareup/okhttp/benchmarks/Benchmark.html | 321 --- .../benchmarks/class-use/Benchmark.html | 124 - .../okhttp/benchmarks/package-frame.html | 21 - .../okhttp/benchmarks/package-summary.html | 144 - .../okhttp/benchmarks/package-tree.html | 137 - .../okhttp/benchmarks/package-use.html | 124 - 2.x/benchmarks/constant-values.html | 124 - 2.x/benchmarks/deprecated-list.html | 124 - 2.x/benchmarks/help-doc.html | 225 -- 2.x/benchmarks/index-all.html | 165 -- 2.x/benchmarks/index.html | 72 - 2.x/benchmarks/overview-tree.html | 141 - 2.x/benchmarks/package-list | 1 - 2.x/benchmarks/resources/background.gif | Bin 2313 -> 0 bytes 2.x/benchmarks/resources/tab.gif | Bin 291 -> 0 bytes 2.x/benchmarks/resources/titlebar.gif | Bin 10701 -> 0 bytes 2.x/benchmarks/resources/titlebar_end.gif | Bin 849 -> 0 bytes 2.x/benchmarks/script.js | 30 - 2.x/benchmarks/stylesheet.css | 574 ---- 2.x/benchmarks/version.txt | 1 - 2.x/logging-interceptor/META-INF/MANIFEST.MF | 6 - 2.x/logging-interceptor/allclasses-frame.html | 22 - .../allclasses-noframe.html | 22 - .../logging/HttpLoggingInterceptor.Level.html | 420 --- .../HttpLoggingInterceptor.Logger.html | 264 -- .../logging/HttpLoggingInterceptor.html | 361 --- .../HttpLoggingInterceptor.Level.html | 177 -- .../HttpLoggingInterceptor.Logger.html | 162 -- .../class-use/HttpLoggingInterceptor.html | 151 - .../okhttp/logging/package-frame.html | 29 - .../okhttp/logging/package-summary.html | 174 -- .../squareup/okhttp/logging/package-tree.html | 149 - .../squareup/okhttp/logging/package-use.html | 150 - 2.x/logging-interceptor/constant-values.html | 124 - 2.x/logging-interceptor/deprecated-list.html | 124 - 2.x/logging-interceptor/help-doc.html | 225 -- 2.x/logging-interceptor/index-all.html | 206 -- 2.x/logging-interceptor/index.html | 72 - 2.x/logging-interceptor/overview-tree.html | 153 - 2.x/logging-interceptor/package-list | 1 - .../resources/background.gif | Bin 2313 -> 0 bytes 2.x/logging-interceptor/resources/tab.gif | Bin 291 -> 0 bytes .../resources/titlebar.gif | Bin 10701 -> 0 bytes .../resources/titlebar_end.gif | Bin 849 -> 0 bytes 2.x/logging-interceptor/script.js | 30 - 2.x/logging-interceptor/stylesheet.css | 574 ---- 2.x/logging-interceptor/version.txt | 1 - 2.x/mockwebserver/META-INF/MANIFEST.MF | 6 - 2.x/mockwebserver/allclasses-frame.html | 30 - 2.x/mockwebserver/allclasses-noframe.html | 30 - .../internal/HeldCertificate.Builder.html | 378 --- .../okhttp/internal/HeldCertificate.html | 312 --- .../okhttp/internal/SslContextBuilder.html | 334 --- .../class-use/HeldCertificate.Builder.html | 189 -- .../internal/class-use/HeldCertificate.html | 187 -- .../internal/class-use/SslContextBuilder.html | 174 -- .../okhttp/internal/framed/FramedServer.html | 328 --- .../framed/class-use/FramedServer.html | 126 - .../okhttp/internal/framed/package-frame.html | 21 - .../internal/framed/package-summary.html | 146 - .../okhttp/internal/framed/package-tree.html | 143 - .../okhttp/internal/framed/package-use.html | 126 - .../okhttp/internal/package-frame.html | 23 - .../okhttp/internal/package-summary.html | 156 -- .../okhttp/internal/package-tree.html | 141 - .../squareup/okhttp/internal/package-use.html | 169 -- .../okhttp/mockwebserver/Dispatcher.html | 309 -- .../okhttp/mockwebserver/MockResponse.html | 779 ----- .../okhttp/mockwebserver/MockWebServer.html | 710 ----- .../okhttp/mockwebserver/PushPromise.html | 320 --- .../okhttp/mockwebserver/QueueDispatcher.html | 394 --- .../okhttp/mockwebserver/RecordedRequest.html | 466 --- .../okhttp/mockwebserver/SocketPolicy.html | 495 ---- .../mockwebserver/class-use/Dispatcher.html | 183 -- .../mockwebserver/class-use/MockResponse.html | 364 --- .../class-use/MockWebServer.html | 126 - .../mockwebserver/class-use/PushPromise.html | 185 -- .../class-use/QueueDispatcher.html | 126 - .../class-use/RecordedRequest.html | 195 -- .../mockwebserver/class-use/SocketPolicy.html | 192 -- .../okhttp/mockwebserver/package-frame.html | 30 - .../okhttp/mockwebserver/package-summary.html | 193 -- .../okhttp/mockwebserver/package-tree.html | 159 -- .../okhttp/mockwebserver/package-use.html | 181 -- 2.x/mockwebserver/constant-values.html | 126 - 2.x/mockwebserver/deprecated-list.html | 153 - 2.x/mockwebserver/help-doc.html | 231 -- 2.x/mockwebserver/index-all.html | 631 ----- 2.x/mockwebserver/index.html | 75 - 2.x/mockwebserver/overview-frame.html | 24 - 2.x/mockwebserver/overview-summary.html | 148 - 2.x/mockwebserver/overview-tree.html | 169 -- 2.x/mockwebserver/package-list | 3 - 2.x/mockwebserver/resources/background.gif | Bin 2313 -> 0 bytes 2.x/mockwebserver/resources/tab.gif | Bin 291 -> 0 bytes 2.x/mockwebserver/resources/titlebar.gif | Bin 10701 -> 0 bytes 2.x/mockwebserver/resources/titlebar_end.gif | Bin 849 -> 0 bytes 2.x/mockwebserver/script.js | 30 - 2.x/mockwebserver/stylesheet.css | 574 ---- 2.x/mockwebserver/version.txt | 1 - 2.x/okcurl/META-INF/MANIFEST.MF | 6 - 2.x/okcurl/allclasses-frame.html | 20 - 2.x/okcurl/allclasses-noframe.html | 20 - 2.x/okcurl/com/squareup/okhttp/curl/Main.html | 506 ---- .../squareup/okhttp/curl/class-use/Main.html | 124 - .../squareup/okhttp/curl/package-frame.html | 21 - .../squareup/okhttp/curl/package-summary.html | 142 - .../squareup/okhttp/curl/package-tree.html | 137 - .../com/squareup/okhttp/curl/package-use.html | 124 - 2.x/okcurl/constant-values.html | 124 - 2.x/okcurl/deprecated-list.html | 124 - 2.x/okcurl/help-doc.html | 225 -- 2.x/okcurl/index-all.html | 217 -- 2.x/okcurl/index.html | 72 - 2.x/okcurl/overview-tree.html | 141 - 2.x/okcurl/package-list | 1 - 2.x/okcurl/resources/background.gif | Bin 2313 -> 0 bytes 2.x/okcurl/resources/tab.gif | Bin 291 -> 0 bytes 2.x/okcurl/resources/titlebar.gif | Bin 10701 -> 0 bytes 2.x/okcurl/resources/titlebar_end.gif | Bin 849 -> 0 bytes 2.x/okcurl/script.js | 30 - 2.x/okcurl/stylesheet.css | 574 ---- 2.x/okcurl/version.txt | 1 - .../META-INF/MANIFEST.MF | 6 - .../allclasses-frame.html | 22 - .../allclasses-noframe.html | 22 - .../com/squareup/okhttp/AndroidInternal.html | 245 -- .../okhttp/AndroidShimResponseCache.html | 495 ---- .../com/squareup/okhttp/OkCacheContainer.html | 223 -- .../okhttp/class-use/AndroidInternal.html | 124 - .../class-use/AndroidShimResponseCache.html | 150 - .../okhttp/class-use/OkCacheContainer.html | 124 - .../com/squareup/okhttp/package-frame.html | 26 - .../com/squareup/okhttp/package-summary.html | 169 -- .../com/squareup/okhttp/package-tree.html | 142 - .../com/squareup/okhttp/package-use.html | 145 - .../constant-values.html | 124 - .../deprecated-list.html | 124 - 2.x/okhttp-android-support/help-doc.html | 225 -- 2.x/okhttp-android-support/index-all.html | 249 -- 2.x/okhttp-android-support/index.html | 72 - 2.x/okhttp-android-support/overview-tree.html | 146 - 2.x/okhttp-android-support/package-list | 1 - .../resources/background.gif | Bin 2313 -> 0 bytes 2.x/okhttp-android-support/resources/tab.gif | Bin 291 -> 0 bytes .../resources/titlebar.gif | Bin 10701 -> 0 bytes .../resources/titlebar_end.gif | Bin 849 -> 0 bytes 2.x/okhttp-android-support/script.js | 30 - 2.x/okhttp-android-support/stylesheet.css | 574 ---- 2.x/okhttp-android-support/version.txt | 1 - 2.x/okhttp-apache/META-INF/MANIFEST.MF | 6 - 2.x/okhttp-apache/allclasses-frame.html | 20 - 2.x/okhttp-apache/allclasses-noframe.html | 20 - .../okhttp/apache/OkApacheClient.html | 499 ---- .../apache/class-use/OkApacheClient.html | 124 - .../squareup/okhttp/apache/package-frame.html | 21 - .../okhttp/apache/package-summary.html | 144 - .../squareup/okhttp/apache/package-tree.html | 133 - .../squareup/okhttp/apache/package-use.html | 124 - 2.x/okhttp-apache/constant-values.html | 124 - 2.x/okhttp-apache/deprecated-list.html | 124 - 2.x/okhttp-apache/help-doc.html | 225 -- 2.x/okhttp-apache/index-all.html | 175 -- 2.x/okhttp-apache/index.html | 72 - 2.x/okhttp-apache/overview-tree.html | 137 - 2.x/okhttp-apache/package-list | 1 - 2.x/okhttp-apache/resources/background.gif | Bin 2313 -> 0 bytes 2.x/okhttp-apache/resources/tab.gif | Bin 291 -> 0 bytes 2.x/okhttp-apache/resources/titlebar.gif | Bin 10701 -> 0 bytes 2.x/okhttp-apache/resources/titlebar_end.gif | Bin 849 -> 0 bytes 2.x/okhttp-apache/script.js | 30 - 2.x/okhttp-apache/stylesheet.css | 574 ---- 2.x/okhttp-apache/version.txt | 1 - .../META-INF/MANIFEST.MF | 6 - .../allclasses-frame.html | 22 - .../allclasses-noframe.html | 22 - .../internal/io/InMemoryFileSystem.html | 472 ---- .../io/class-use/InMemoryFileSystem.html | 126 - .../okhttp/internal/io/package-frame.html | 21 - .../okhttp/internal/io/package-summary.html | 146 - .../okhttp/internal/io/package-tree.html | 139 - .../okhttp/internal/io/package-use.html | 126 - ...stallUncaughtExceptionHandlerListener.html | 336 --- .../testing/RecordingHostnameVerifier.html | 320 --- ...stallUncaughtExceptionHandlerListener.html | 126 - .../class-use/RecordingHostnameVerifier.html | 126 - .../okhttp/testing/package-frame.html | 22 - .../okhttp/testing/package-summary.html | 151 - .../squareup/okhttp/testing/package-tree.html | 144 - .../squareup/okhttp/testing/package-use.html | 126 - .../constant-values.html | 126 - .../deprecated-list.html | 126 - 2.x/okhttp-testing-support/help-doc.html | 231 -- 2.x/okhttp-testing-support/index-all.html | 228 -- 2.x/okhttp-testing-support/index.html | 75 - .../overview-frame.html | 23 - .../overview-summary.html | 144 - 2.x/okhttp-testing-support/overview-tree.html | 146 - 2.x/okhttp-testing-support/package-list | 2 - .../resources/background.gif | Bin 2313 -> 0 bytes 2.x/okhttp-testing-support/resources/tab.gif | Bin 291 -> 0 bytes .../resources/titlebar.gif | Bin 10701 -> 0 bytes .../resources/titlebar_end.gif | Bin 849 -> 0 bytes 2.x/okhttp-testing-support/script.js | 30 - 2.x/okhttp-testing-support/stylesheet.css | 574 ---- 2.x/okhttp-testing-support/version.txt | 1 - 2.x/okhttp-urlconnection/META-INF/MANIFEST.MF | 6 - .../allclasses-frame.html | 20 - .../allclasses-noframe.html | 20 - .../com/squareup/okhttp/OkUrlFactory.html | 339 --- .../okhttp/class-use/OkUrlFactory.html | 152 - .../com/squareup/okhttp/package-frame.html | 21 - .../com/squareup/okhttp/package-summary.html | 142 - .../com/squareup/okhttp/package-tree.html | 133 - .../com/squareup/okhttp/package-use.html | 142 - 2.x/okhttp-urlconnection/constant-values.html | 124 - 2.x/okhttp-urlconnection/deprecated-list.html | 124 - 2.x/okhttp-urlconnection/help-doc.html | 225 -- 2.x/okhttp-urlconnection/index-all.html | 152 - 2.x/okhttp-urlconnection/index.html | 72 - 2.x/okhttp-urlconnection/overview-tree.html | 137 - 2.x/okhttp-urlconnection/package-list | 1 - .../resources/background.gif | Bin 2313 -> 0 bytes 2.x/okhttp-urlconnection/resources/tab.gif | Bin 291 -> 0 bytes .../resources/titlebar.gif | Bin 10701 -> 0 bytes .../resources/titlebar_end.gif | Bin 849 -> 0 bytes 2.x/okhttp-urlconnection/script.js | 30 - 2.x/okhttp-urlconnection/stylesheet.css | 574 ---- 2.x/okhttp-urlconnection/version.txt | 1 - 2.x/okhttp-ws/META-INF/MANIFEST.MF | 6 - 2.x/okhttp-ws/allclasses-frame.html | 22 - 2.x/okhttp-ws/allclasses-noframe.html | 22 - .../okhttp/ws/WebSocket.PayloadType.html | 352 --- .../com/squareup/okhttp/ws/WebSocket.html | 343 --- .../com/squareup/okhttp/ws/WebSocketCall.html | 285 -- .../squareup/okhttp/ws/WebSocketListener.html | 327 --- .../ws/class-use/WebSocket.PayloadType.html | 187 -- .../okhttp/ws/class-use/WebSocket.html | 152 - .../okhttp/ws/class-use/WebSocketCall.html | 152 - .../ws/class-use/WebSocketListener.html | 151 - .../com/squareup/okhttp/ws/package-frame.html | 26 - .../squareup/okhttp/ws/package-summary.html | 165 -- .../com/squareup/okhttp/ws/package-tree.html | 138 - .../com/squareup/okhttp/ws/package-use.html | 152 - 2.x/okhttp-ws/constant-values.html | 124 - 2.x/okhttp-ws/deprecated-list.html | 124 - 2.x/okhttp-ws/help-doc.html | 225 -- 2.x/okhttp-ws/index-all.html | 227 -- 2.x/okhttp-ws/index.html | 72 - 2.x/okhttp-ws/overview-tree.html | 142 - 2.x/okhttp-ws/package-list | 1 - 2.x/okhttp-ws/resources/background.gif | Bin 2313 -> 0 bytes 2.x/okhttp-ws/resources/tab.gif | Bin 291 -> 0 bytes 2.x/okhttp-ws/resources/titlebar.gif | Bin 10701 -> 0 bytes 2.x/okhttp-ws/resources/titlebar_end.gif | Bin 849 -> 0 bytes 2.x/okhttp-ws/script.js | 30 - 2.x/okhttp-ws/stylesheet.css | 574 ---- 2.x/okhttp-ws/version.txt | 1 - 2.x/okhttp/META-INF/MANIFEST.MF | 6 - 2.x/okhttp/allclasses-frame.html | 57 - 2.x/okhttp/allclasses-noframe.html | 57 - 2.x/okhttp/com/squareup/okhttp/Address.html | 542 ---- .../com/squareup/okhttp/Authenticator.html | 284 -- 2.x/okhttp/com/squareup/okhttp/Cache.html | 599 ---- .../squareup/okhttp/CacheControl.Builder.html | 422 --- .../com/squareup/okhttp/CacheControl.html | 519 ---- 2.x/okhttp/com/squareup/okhttp/Call.html | 376 --- 2.x/okhttp/com/squareup/okhttp/Callback.html | 261 -- .../okhttp/CertificatePinner.Builder.html | 302 -- .../squareup/okhttp/CertificatePinner.html | 453 --- 2.x/okhttp/com/squareup/okhttp/Challenge.html | 345 --- .../com/squareup/okhttp/CipherSuite.html | 1493 ---------- .../com/squareup/okhttp/Connection.html | 318 --- .../com/squareup/okhttp/ConnectionPool.html | 413 --- .../okhttp/ConnectionSpec.Builder.html | 367 --- .../com/squareup/okhttp/ConnectionSpec.html | 459 --- .../com/squareup/okhttp/Credentials.html | 244 -- .../com/squareup/okhttp/Dispatcher.html | 399 --- 2.x/okhttp/com/squareup/okhttp/Dns.html | 280 -- .../squareup/okhttp/FormEncodingBuilder.html | 309 -- 2.x/okhttp/com/squareup/okhttp/Handshake.html | 373 --- .../com/squareup/okhttp/Headers.Builder.html | 358 --- 2.x/okhttp/com/squareup/okhttp/Headers.html | 453 --- .../com/squareup/okhttp/HttpUrl.Builder.html | 615 ---- 2.x/okhttp/com/squareup/okhttp/HttpUrl.html | 971 ------- .../squareup/okhttp/Interceptor.Chain.html | 257 -- .../com/squareup/okhttp/Interceptor.html | 249 -- 2.x/okhttp/com/squareup/okhttp/MediaType.html | 373 --- .../com/squareup/okhttp/MultipartBuilder.html | 507 ---- .../com/squareup/okhttp/OkHttpClient.html | 1054 ------- 2.x/okhttp/com/squareup/okhttp/Protocol.html | 452 --- .../com/squareup/okhttp/Request.Builder.html | 543 ---- 2.x/okhttp/com/squareup/okhttp/Request.html | 441 --- .../com/squareup/okhttp/RequestBody.html | 413 --- .../com/squareup/okhttp/Response.Builder.html | 460 --- 2.x/okhttp/com/squareup/okhttp/Response.html | 563 ---- .../com/squareup/okhttp/ResponseBody.html | 480 ---- 2.x/okhttp/com/squareup/okhttp/Route.html | 370 --- .../com/squareup/okhttp/TlsVersion.html | 394 --- .../squareup/okhttp/class-use/Address.html | 162 -- .../okhttp/class-use/Authenticator.html | 193 -- .../com/squareup/okhttp/class-use/Cache.html | 162 -- .../class-use/CacheControl.Builder.html | 192 -- .../okhttp/class-use/CacheControl.html | 206 -- .../com/squareup/okhttp/class-use/Call.html | 151 - .../squareup/okhttp/class-use/Callback.html | 151 - .../class-use/CertificatePinner.Builder.html | 152 - .../okhttp/class-use/CertificatePinner.html | 209 -- .../squareup/okhttp/class-use/Challenge.html | 151 - .../okhttp/class-use/CipherSuite.html | 190 -- .../squareup/okhttp/class-use/Connection.html | 149 - .../okhttp/class-use/ConnectionPool.html | 168 -- .../class-use/ConnectionSpec.Builder.html | 173 -- .../okhttp/class-use/ConnectionSpec.html | 239 -- .../okhttp/class-use/Credentials.html | 124 - .../squareup/okhttp/class-use/Dispatcher.html | 164 -- .../com/squareup/okhttp/class-use/Dns.html | 208 -- .../okhttp/class-use/FormEncodingBuilder.html | 159 -- .../squareup/okhttp/class-use/Handshake.html | 179 -- .../okhttp/class-use/Headers.Builder.html | 173 -- .../squareup/okhttp/class-use/Headers.html | 203 -- .../okhttp/class-use/HttpUrl.Builder.html | 251 -- .../squareup/okhttp/class-use/HttpUrl.html | 196 -- .../okhttp/class-use/Interceptor.Chain.html | 149 - .../okhttp/class-use/Interceptor.html | 159 -- .../squareup/okhttp/class-use/MediaType.html | 280 -- .../okhttp/class-use/MultipartBuilder.html | 179 -- .../okhttp/class-use/OkHttpClient.html | 262 -- .../squareup/okhttp/class-use/Protocol.html | 247 -- .../okhttp/class-use/Request.Builder.html | 235 -- .../squareup/okhttp/class-use/Request.html | 218 -- .../okhttp/class-use/RequestBody.html | 247 -- .../okhttp/class-use/Response.Builder.html | 209 -- .../squareup/okhttp/class-use/Response.html | 228 -- .../okhttp/class-use/ResponseBody.html | 184 -- .../com/squareup/okhttp/class-use/Route.html | 151 - .../squareup/okhttp/class-use/TlsVersion.html | 190 -- .../com/squareup/okhttp/package-frame.html | 64 - .../com/squareup/okhttp/package-summary.html | 378 --- .../com/squareup/okhttp/package-tree.html | 184 -- .../com/squareup/okhttp/package-use.html | 314 --- 2.x/okhttp/constant-values.html | 124 - 2.x/okhttp/deprecated-list.html | 163 -- 2.x/okhttp/help-doc.html | 225 -- 2.x/okhttp/index-all.html | 1637 ----------- 2.x/okhttp/index.html | 73 - 2.x/okhttp/overview-tree.html | 188 -- 2.x/okhttp/package-list | 1 - 2.x/okhttp/resources/background.gif | Bin 2313 -> 0 bytes 2.x/okhttp/resources/tab.gif | Bin 291 -> 0 bytes 2.x/okhttp/resources/titlebar.gif | Bin 10701 -> 0 bytes 2.x/okhttp/resources/titlebar_end.gif | Bin 849 -> 0 bytes 2.x/okhttp/script.js | 30 - 2.x/okhttp/stylesheet.css | 574 ---- 2.x/okhttp/version.txt | 1 - 3.x/benchmarks/META-INF/MANIFEST.MF | 6 - 3.x/benchmarks/allclasses-frame.html | 20 - 3.x/benchmarks/allclasses-noframe.html | 20 - 3.x/benchmarks/constant-values.html | 124 - 3.x/benchmarks/deprecated-list.html | 124 - 3.x/benchmarks/help-doc.html | 225 -- 3.x/benchmarks/index-all.html | 165 -- 3.x/benchmarks/index.html | 73 - .../okhttp3/benchmarks/Benchmark.html | 321 --- .../benchmarks/class-use/Benchmark.html | 124 - .../okhttp3/benchmarks/package-frame.html | 21 - .../okhttp3/benchmarks/package-summary.html | 144 - .../okhttp3/benchmarks/package-tree.html | 137 - .../okhttp3/benchmarks/package-use.html | 124 - 3.x/benchmarks/overview-tree.html | 141 - 3.x/benchmarks/package-list | 1 - 3.x/benchmarks/script.js | 30 - 3.x/benchmarks/stylesheet.css | 574 ---- 3.x/benchmarks/version.txt | 1 - 3.x/index.html | 12 - 3.x/logging-interceptor/META-INF/MANIFEST.MF | 6 - 3.x/logging-interceptor/allclasses-frame.html | 24 - .../allclasses-noframe.html | 24 - 3.x/logging-interceptor/constant-values.html | 124 - 3.x/logging-interceptor/deprecated-list.html | 124 - 3.x/logging-interceptor/help-doc.html | 225 -- 3.x/logging-interceptor/index-all.html | 284 -- 3.x/logging-interceptor/index.html | 73 - .../logging/HttpLoggingInterceptor.Level.html | 421 --- .../HttpLoggingInterceptor.Logger.html | 265 -- .../logging/HttpLoggingInterceptor.html | 372 --- .../logging/LoggingEventListener.Factory.html | 297 -- .../okhttp3/logging/LoggingEventListener.html | 690 ----- .../HttpLoggingInterceptor.Level.html | 177 -- .../HttpLoggingInterceptor.Logger.html | 165 -- .../class-use/HttpLoggingInterceptor.html | 151 - .../LoggingEventListener.Factory.html | 124 - .../class-use/LoggingEventListener.html | 124 - .../okhttp3/logging/package-frame.html | 31 - .../okhttp3/logging/package-summary.html | 195 -- .../okhttp3/logging/package-tree.html | 155 - .../okhttp3/logging/package-use.html | 150 - 3.x/logging-interceptor/overview-tree.html | 159 -- 3.x/logging-interceptor/package-list | 1 - 3.x/logging-interceptor/script.js | 30 - 3.x/logging-interceptor/stylesheet.css | 574 ---- 3.x/logging-interceptor/version.txt | 1 - 3.x/mockwebserver/META-INF/MANIFEST.MF | 5 - 3.x/mockwebserver/allclasses-frame.html | 29 - 3.x/mockwebserver/allclasses-noframe.html | 29 - 3.x/mockwebserver/constant-values.html | 126 - 3.x/mockwebserver/deprecated-list.html | 150 - 3.x/mockwebserver/help-doc.html | 231 -- 3.x/mockwebserver/index-all.html | 626 ----- 3.x/mockwebserver/index.html | 76 - .../internal/HeldCertificate.Builder.html | 378 --- .../okhttp3/internal/HeldCertificate.html | 312 --- .../okhttp3/internal/SslContextBuilder.html | 334 --- .../class-use/HeldCertificate.Builder.html | 189 -- .../internal/class-use/HeldCertificate.html | 187 -- .../internal/class-use/SslContextBuilder.html | 174 -- .../internal/duplex/MwsDuplexAccess.html | 313 --- .../duplex/class-use/MwsDuplexAccess.html | 166 -- .../internal/duplex/package-frame.html | 21 - .../internal/duplex/package-summary.html | 146 - .../okhttp3/internal/duplex/package-tree.html | 139 - .../okhttp3/internal/duplex/package-use.html | 161 -- .../okhttp3/internal/framed/FramedServer.html | 328 --- .../framed/class-use/FramedServer.html | 126 - .../internal/framed/package-frame.html | 21 - .../internal/framed/package-summary.html | 146 - .../okhttp3/internal/framed/package-tree.html | 143 - .../okhttp3/internal/framed/package-use.html | 126 - .../okhttp3/internal/http2/Http2Server.html | 328 --- .../internal/http2/class-use/Http2Server.html | 126 - .../okhttp3/internal/http2/package-frame.html | 21 - .../internal/http2/package-summary.html | 146 - .../okhttp3/internal/http2/package-tree.html | 143 - .../okhttp3/internal/http2/package-use.html | 126 - .../okhttp3/internal/package-frame.html | 23 - .../okhttp3/internal/package-summary.html | 156 -- .../okhttp3/internal/package-tree.html | 141 - .../okhttp3/internal/package-use.html | 169 -- .../internal/tls/HeldCertificate.Builder.html | 395 --- .../okhttp3/internal/tls/HeldCertificate.html | 312 --- .../internal/tls/SslClient.Builder.html | 344 --- .../okhttp3/internal/tls/SslClient.html | 325 --- .../class-use/HeldCertificate.Builder.html | 195 -- .../tls/class-use/HeldCertificate.html | 195 -- .../tls/class-use/SslClient.Builder.html | 185 -- .../internal/tls/class-use/SslClient.html | 172 -- .../okhttp3/internal/tls/package-frame.html | 24 - .../okhttp3/internal/tls/package-summary.html | 161 -- .../okhttp3/internal/tls/package-tree.html | 142 - .../okhttp3/internal/tls/package-use.html | 173 -- .../okhttp3/mockwebserver/Dispatcher.html | 326 --- .../okhttp3/mockwebserver/MockResponse.html | 852 ------ .../okhttp3/mockwebserver/MockWebServer.html | 792 ------ .../okhttp3/mockwebserver/PushPromise.html | 320 --- .../mockwebserver/QueueDispatcher.html | 415 --- .../mockwebserver/RecordedRequest.html | 494 ---- .../okhttp3/mockwebserver/SocketPolicy.html | 589 ---- .../mockwebserver/class-use/Dispatcher.html | 198 -- .../mockwebserver/class-use/MockResponse.html | 398 --- .../class-use/MockWebServer.html | 126 - .../mockwebserver/class-use/PushPromise.html | 183 -- .../class-use/QueueDispatcher.html | 126 - .../class-use/RecordedRequest.html | 225 -- .../mockwebserver/class-use/SocketPolicy.html | 192 -- .../internal/duplex/DuplexResponseBody.html | 236 -- .../duplex/MockDuplexResponseBody.html | 388 --- .../duplex/class-use/DuplexResponseBody.html | 191 -- .../class-use/MockDuplexResponseBody.html | 187 -- .../internal/duplex/package-frame.html | 25 - .../internal/duplex/package-summary.html | 161 -- .../internal/duplex/package-tree.html | 143 - .../internal/duplex/package-use.html | 183 -- .../internal/http2/Http2Server.html | 328 --- .../internal/http2/class-use/Http2Server.html | 126 - .../internal/http2/package-frame.html | 21 - .../internal/http2/package-summary.html | 146 - .../internal/http2/package-tree.html | 143 - .../internal/http2/package-use.html | 126 - .../internal/tls/HeldCertificate.Builder.html | 395 --- .../internal/tls/HeldCertificate.html | 312 --- .../internal/tls/SslClient.Builder.html | 357 --- .../mockwebserver/internal/tls/SslClient.html | 325 --- .../class-use/HeldCertificate.Builder.html | 195 -- .../tls/class-use/HeldCertificate.html | 195 -- .../tls/class-use/SslClient.Builder.html | 189 -- .../internal/tls/class-use/SslClient.html | 172 -- .../internal/tls/package-frame.html | 24 - .../internal/tls/package-summary.html | 161 -- .../internal/tls/package-tree.html | 142 - .../internal/tls/package-use.html | 173 -- .../okhttp3/mockwebserver/package-frame.html | 30 - .../mockwebserver/package-summary.html | 193 -- .../okhttp3/mockwebserver/package-tree.html | 163 -- .../okhttp3/mockwebserver/package-use.html | 223 -- 3.x/mockwebserver/overview-frame.html | 24 - 3.x/mockwebserver/overview-summary.html | 148 - 3.x/mockwebserver/overview-tree.html | 171 -- 3.x/mockwebserver/package-list | 3 - 3.x/mockwebserver/script.js | 30 - 3.x/mockwebserver/stylesheet.css | 574 ---- 3.x/mockwebserver/version.txt | 1 - 3.x/okcurl/META-INF/MANIFEST.MF | 6 - 3.x/okcurl/allclasses-frame.html | 20 - 3.x/okcurl/allclasses-noframe.html | 20 - 3.x/okcurl/constant-values.html | 124 - 3.x/okcurl/deprecated-list.html | 124 - 3.x/okcurl/help-doc.html | 225 -- 3.x/okcurl/index-all.html | 227 -- 3.x/okcurl/index.html | 73 - 3.x/okcurl/okhttp3/curl/Main.html | 532 ---- 3.x/okcurl/okhttp3/curl/class-use/Main.html | 124 - 3.x/okcurl/okhttp3/curl/package-frame.html | 21 - 3.x/okcurl/okhttp3/curl/package-summary.html | 142 - 3.x/okcurl/okhttp3/curl/package-tree.html | 137 - 3.x/okcurl/okhttp3/curl/package-use.html | 124 - 3.x/okcurl/overview-tree.html | 141 - 3.x/okcurl/package-list | 1 - 3.x/okcurl/script.js | 30 - 3.x/okcurl/stylesheet.css | 574 ---- 3.x/okcurl/version.txt | 1 - .../META-INF/MANIFEST.MF | 5 - .../allclasses-frame.html | 22 - .../allclasses-noframe.html | 22 - .../constant-values.html | 124 - .../deprecated-list.html | 124 - 3.x/okhttp-android-support/help-doc.html | 225 -- 3.x/okhttp-android-support/index-all.html | 245 -- 3.x/okhttp-android-support/index.html | 73 - .../okhttp3/AndroidInternal.html | 245 -- .../okhttp3/AndroidShimResponseCache.html | 488 ---- .../okhttp3/OkCacheContainer.html | 222 -- .../okhttp3/class-use/AndroidInternal.html | 124 - .../class-use/AndroidShimResponseCache.html | 150 - .../okhttp3/class-use/OkCacheContainer.html | 124 - .../okhttp3/package-frame.html | 26 - .../okhttp3/package-summary.html | 170 -- .../okhttp3/package-tree.html | 142 - .../okhttp3/package-use.html | 145 - 3.x/okhttp-android-support/overview-tree.html | 146 - 3.x/okhttp-android-support/package-list | 1 - 3.x/okhttp-android-support/script.js | 30 - 3.x/okhttp-android-support/stylesheet.css | 574 ---- 3.x/okhttp-android-support/version.txt | 1 - 3.x/okhttp-apache/META-INF/MANIFEST.MF | 5 - 3.x/okhttp-apache/allclasses-frame.html | 20 - 3.x/okhttp-apache/allclasses-noframe.html | 20 - 3.x/okhttp-apache/constant-values.html | 124 - 3.x/okhttp-apache/deprecated-list.html | 150 - 3.x/okhttp-apache/help-doc.html | 225 -- 3.x/okhttp-apache/index-all.html | 197 -- 3.x/okhttp-apache/index.html | 73 - .../okhttp3/apache/OkApacheClient.html | 534 ---- .../apache/class-use/OkApacheClient.html | 124 - .../okhttp3/apache/package-frame.html | 21 - .../okhttp3/apache/package-summary.html | 145 - .../okhttp3/apache/package-tree.html | 133 - .../okhttp3/apache/package-use.html | 124 - 3.x/okhttp-apache/overview-tree.html | 137 - 3.x/okhttp-apache/package-list | 1 - 3.x/okhttp-apache/script.js | 30 - 3.x/okhttp-apache/stylesheet.css | 574 ---- 3.x/okhttp-apache/version.txt | 1 - 3.x/okhttp-dnsoverhttps/META-INF/MANIFEST.MF | 6 - 3.x/okhttp-dnsoverhttps/allclasses-frame.html | 21 - .../allclasses-noframe.html | 21 - 3.x/okhttp-dnsoverhttps/constant-values.html | 153 - 3.x/okhttp-dnsoverhttps/deprecated-list.html | 124 - 3.x/okhttp-dnsoverhttps/help-doc.html | 225 -- 3.x/okhttp-dnsoverhttps/index-all.html | 237 -- 3.x/okhttp-dnsoverhttps/index.html | 73 - .../dnsoverhttps/DnsOverHttps.Builder.html | 394 --- .../okhttp3/dnsoverhttps/DnsOverHttps.html | 421 --- .../class-use/DnsOverHttps.Builder.html | 181 -- .../dnsoverhttps/class-use/DnsOverHttps.html | 149 - .../okhttp3/dnsoverhttps/package-frame.html | 22 - .../okhttp3/dnsoverhttps/package-summary.html | 159 -- .../okhttp3/dnsoverhttps/package-tree.html | 134 - .../okhttp3/dnsoverhttps/package-use.html | 147 - 3.x/okhttp-dnsoverhttps/overview-tree.html | 138 - 3.x/okhttp-dnsoverhttps/package-list | 1 - 3.x/okhttp-dnsoverhttps/script.js | 30 - 3.x/okhttp-dnsoverhttps/stylesheet.css | 574 ---- 3.x/okhttp-dnsoverhttps/version.txt | 1 - 3.x/okhttp-sse/META-INF/MANIFEST.MF | 5 - 3.x/okhttp-sse/allclasses-frame.html | 23 - 3.x/okhttp-sse/allclasses-noframe.html | 23 - 3.x/okhttp-sse/constant-values.html | 124 - 3.x/okhttp-sse/deprecated-list.html | 124 - 3.x/okhttp-sse/help-doc.html | 225 -- 3.x/okhttp-sse/index-all.html | 205 -- 3.x/okhttp-sse/index.html | 73 - .../okhttp3/internal/sse/RealEventSource.html | 429 --- .../sse/ServerSentEventReader.Callback.html | 250 -- .../internal/sse/ServerSentEventReader.html | 260 -- .../sse/class-use/RealEventSource.html | 126 - .../ServerSentEventReader.Callback.html | 180 -- .../sse/class-use/ServerSentEventReader.html | 126 - .../okhttp3/internal/sse/package-frame.html | 26 - .../okhttp3/internal/sse/package-summary.html | 174 -- .../okhttp3/internal/sse/package-tree.html | 144 - .../okhttp3/internal/sse/package-use.html | 161 -- .../okhttp3/sse/EventSource.Factory.html | 234 -- 3.x/okhttp-sse/okhttp3/sse/EventSource.html | 261 -- .../okhttp3/sse/EventSourceListener.html | 344 --- 3.x/okhttp-sse/okhttp3/sse/EventSources.html | 253 -- .../sse/class-use/EventSource.Factory.html | 149 - .../okhttp3/sse/class-use/EventSource.html | 193 -- .../sse/class-use/EventSourceListener.html | 157 -- .../okhttp3/sse/class-use/EventSources.html | 124 - 3.x/okhttp-sse/okhttp3/sse/package-frame.html | 27 - .../okhttp3/sse/package-summary.html | 176 -- 3.x/okhttp-sse/okhttp3/sse/package-tree.html | 139 - 3.x/okhttp-sse/okhttp3/sse/package-use.html | 148 - 3.x/okhttp-sse/overview-frame.html | 23 - 3.x/okhttp-sse/overview-summary.html | 148 - 3.x/okhttp-sse/overview-tree.html | 143 - 3.x/okhttp-sse/package-list | 1 - 3.x/okhttp-sse/script.js | 30 - 3.x/okhttp-sse/stylesheet.css | 574 ---- 3.x/okhttp-sse/version.txt | 1 - .../META-INF/MANIFEST.MF | 6 - .../allclasses-frame.html | 33 - .../allclasses-noframe.html | 33 - .../constant-values.html | 126 - .../deprecated-list.html | 126 - 3.x/okhttp-testing-support/help-doc.html | 231 -- 3.x/okhttp-testing-support/index-all.html | 461 --- 3.x/okhttp-testing-support/index.html | 76 - .../okhttp3/FakeDns.html | 383 --- .../okhttp3/FakeProxySelector.html | 359 --- .../okhttp3/FakeSSLSession.html | 638 ----- .../okhttp3/ForwardingRequestBody.html | 377 --- .../okhttp3/ForwardingResponseBody.html | 358 --- .../okhttp3/OkHttpClientTestRule.html | 320 --- .../okhttp3/RecordingCookieJar.html | 355 --- .../okhttp3/RecordingHostnameVerifier.html | 320 --- .../okhttp3/TestUtil.html | 348 --- .../okhttp3/UppercaseRequestInterceptor.html | 301 -- .../okhttp3/UppercaseResponseInterceptor.html | 301 -- .../okhttp3/class-use/FakeDns.html | 175 -- .../okhttp3/class-use/FakeProxySelector.html | 166 -- .../okhttp3/class-use/FakeSSLSession.html | 126 - .../class-use/ForwardingRequestBody.html | 126 - .../class-use/ForwardingResponseBody.html | 126 - .../class-use/OkHttpClientTestRule.html | 126 - .../okhttp3/class-use/RecordingCookieJar.html | 126 - .../class-use/RecordingHostnameVerifier.html | 126 - .../okhttp3/class-use/TestUtil.html | 126 - .../UppercaseRequestInterceptor.html | 126 - .../UppercaseResponseInterceptor.html | 126 - .../internal/duplex/AsyncRequestBody.html | 356 --- .../duplex/class-use/AsyncRequestBody.html | 126 - .../internal/duplex/package-frame.html | 21 - .../internal/duplex/package-summary.html | 146 - .../okhttp3/internal/duplex/package-tree.html | 143 - .../okhttp3/internal/duplex/package-use.html | 126 - .../internal/io/InMemoryFileSystem.html | 469 ---- .../io/class-use/InMemoryFileSystem.html | 126 - .../okhttp3/internal/io/package-frame.html | 21 - .../okhttp3/internal/io/package-summary.html | 146 - .../okhttp3/internal/io/package-tree.html | 139 - .../okhttp3/internal/io/package-use.html | 126 - .../okhttp3/package-frame.html | 31 - .../okhttp3/package-summary.html | 190 -- .../okhttp3/package-tree.html | 161 -- .../okhttp3/package-use.html | 162 -- ...stallUncaughtExceptionHandlerListener.html | 343 --- .../testing/RecordingHostnameVerifier.html | 320 --- ...stallUncaughtExceptionHandlerListener.html | 126 - .../class-use/RecordingHostnameVerifier.html | 126 - .../okhttp3/testing/package-frame.html | 21 - .../okhttp3/testing/package-summary.html | 146 - .../okhttp3/testing/package-tree.html | 143 - .../okhttp3/testing/package-use.html | 126 - .../overview-frame.html | 25 - .../overview-summary.html | 152 - 3.x/okhttp-testing-support/overview-tree.html | 171 -- 3.x/okhttp-testing-support/package-list | 4 - 3.x/okhttp-testing-support/script.js | 30 - 3.x/okhttp-testing-support/stylesheet.css | 574 ---- 3.x/okhttp-testing-support/version.txt | 1 - 3.x/okhttp-tls/META-INF/MANIFEST.MF | 5 - 3.x/okhttp-tls/allclasses-frame.html | 23 - 3.x/okhttp-tls/allclasses-noframe.html | 23 - 3.x/okhttp-tls/constant-values.html | 124 - 3.x/okhttp-tls/deprecated-list.html | 124 - 3.x/okhttp-tls/help-doc.html | 225 -- 3.x/okhttp-tls/index-all.html | 321 --- 3.x/okhttp-tls/index.html | 73 - .../tls/HandshakeCertificates.Builder.html | 342 --- .../okhttp3/tls/HandshakeCertificates.html | 336 --- .../okhttp3/tls/HeldCertificate.Builder.html | 516 ---- .../okhttp3/tls/HeldCertificate.html | 428 --- .../HandshakeCertificates.Builder.html | 164 -- .../tls/class-use/HandshakeCertificates.html | 149 - .../class-use/HeldCertificate.Builder.html | 229 -- .../tls/class-use/HeldCertificate.html | 171 -- .../okhttp3/tls/internal/TlsUtil.html | 327 --- .../tls/internal/class-use/TlsUtil.html | 126 - .../okhttp3/tls/internal/package-frame.html | 21 - .../okhttp3/tls/internal/package-summary.html | 144 - .../okhttp3/tls/internal/package-tree.html | 139 - .../okhttp3/tls/internal/package-use.html | 126 - 3.x/okhttp-tls/okhttp3/tls/package-frame.html | 24 - .../okhttp3/tls/package-summary.html | 171 -- 3.x/okhttp-tls/okhttp3/tls/package-tree.html | 136 - 3.x/okhttp-tls/okhttp3/tls/package-use.html | 157 -- 3.x/okhttp-tls/overview-frame.html | 23 - 3.x/okhttp-tls/overview-summary.html | 146 - 3.x/okhttp-tls/overview-tree.html | 140 - 3.x/okhttp-tls/package-list | 1 - 3.x/okhttp-tls/script.js | 30 - 3.x/okhttp-tls/stylesheet.css | 574 ---- 3.x/okhttp-tls/version.txt | 1 - 3.x/okhttp-urlconnection/META-INF/MANIFEST.MF | 5 - .../allclasses-frame.html | 21 - .../allclasses-noframe.html | 21 - 3.x/okhttp-urlconnection/constant-values.html | 124 - 3.x/okhttp-urlconnection/deprecated-list.html | 124 - 3.x/okhttp-urlconnection/help-doc.html | 225 -- 3.x/okhttp-urlconnection/index-all.html | 171 -- 3.x/okhttp-urlconnection/index.html | 73 - .../okhttp3/JavaNetAuthenticator.html | 303 -- .../okhttp3/JavaNetCookieJar.html | 317 --- .../okhttp3/OkUrlFactory.html | 373 --- .../class-use/JavaNetAuthenticator.html | 124 - .../okhttp3/class-use/JavaNetCookieJar.html | 124 - .../okhttp3/class-use/OkUrlFactory.html | 159 -- .../okhttp3/internal/JavaNetCookieJar.html | 317 --- .../okhttp3/internal/JavaNetHeaders.html | 249 -- .../SystemPropertiesConnectionPool.html | 255 -- .../internal/class-use/JavaNetCookieJar.html | 126 - .../internal/class-use/JavaNetHeaders.html | 126 - .../SystemPropertiesConnectionPool.html | 126 - .../okhttp3/internal/package-frame.html | 23 - .../okhttp3/internal/package-summary.html | 159 -- .../okhttp3/internal/package-tree.html | 141 - .../okhttp3/internal/package-use.html | 126 - .../okhttp3/package-frame.html | 22 - .../okhttp3/package-summary.html | 152 - .../okhttp3/package-tree.html | 134 - .../okhttp3/package-use.html | 124 - 3.x/okhttp-urlconnection/overview-frame.html | 23 - .../overview-summary.html | 144 - 3.x/okhttp-urlconnection/overview-tree.html | 138 - 3.x/okhttp-urlconnection/package-list | 1 - 3.x/okhttp-urlconnection/script.js | 30 - 3.x/okhttp-urlconnection/stylesheet.css | 574 ---- 3.x/okhttp-urlconnection/version.txt | 1 - 3.x/okhttp-ws/META-INF/MANIFEST.MF | 6 - 3.x/okhttp-ws/allclasses-frame.html | 22 - 3.x/okhttp-ws/allclasses-noframe.html | 22 - 3.x/okhttp-ws/constant-values.html | 124 - 3.x/okhttp-ws/deprecated-list.html | 124 - 3.x/okhttp-ws/help-doc.html | 225 -- 3.x/okhttp-ws/index-all.html | 227 -- 3.x/okhttp-ws/index.html | 72 - 3.x/okhttp-ws/okhttp3/ws/WebSocket.html | 342 --- 3.x/okhttp-ws/okhttp3/ws/WebSocketCall.html | 285 -- .../okhttp3/ws/WebSocketListener.html | 323 --- .../okhttp3/ws/class-use/WebSocket.html | 152 - .../okhttp3/ws/class-use/WebSocketCall.html | 152 - .../ws/class-use/WebSocketListener.html | 151 - 3.x/okhttp-ws/okhttp3/ws/package-frame.html | 26 - 3.x/okhttp-ws/okhttp3/ws/package-summary.html | 165 -- 3.x/okhttp-ws/okhttp3/ws/package-tree.html | 138 - 3.x/okhttp-ws/okhttp3/ws/package-use.html | 152 - 3.x/okhttp-ws/overview-tree.html | 142 - 3.x/okhttp-ws/package-list | 1 - 3.x/okhttp-ws/script.js | 30 - 3.x/okhttp-ws/stylesheet.css | 574 ---- 3.x/okhttp-ws/version.txt | 1 - 3.x/okhttp/META-INF/MANIFEST.MF | 5 - 3.x/okhttp/allclasses-frame.html | 70 - 3.x/okhttp/allclasses-noframe.html | 70 - 3.x/okhttp/constant-values.html | 124 - 3.x/okhttp/deprecated-list.html | 183 -- 3.x/okhttp/help-doc.html | 225 -- 3.x/okhttp/index-all.html | 2495 ----------------- 3.x/okhttp/index.html | 74 - 3.x/okhttp/okhttp3/Address.html | 524 ---- 3.x/okhttp/okhttp3/Authenticator.html | 350 --- 3.x/okhttp/okhttp3/Cache.html | 629 ----- 3.x/okhttp/okhttp3/CacheControl.Builder.html | 423 --- 3.x/okhttp/okhttp3/CacheControl.html | 522 ---- 3.x/okhttp/okhttp3/Call.Factory.html | 230 -- 3.x/okhttp/okhttp3/Call.html | 407 --- 3.x/okhttp/okhttp3/Callback.html | 260 -- .../okhttp3/CertificatePinner.Builder.html | 301 -- 3.x/okhttp/okhttp3/CertificatePinner.html | 481 ---- 3.x/okhttp/okhttp3/Challenge.html | 410 --- 3.x/okhttp/okhttp3/CipherSuite.html | 1865 ------------ 3.x/okhttp/okhttp3/Connection.html | 327 --- 3.x/okhttp/okhttp3/ConnectionPool.html | 331 --- .../okhttp3/ConnectionSpec.Builder.html | 376 --- 3.x/okhttp/okhttp3/ConnectionSpec.html | 488 ---- 3.x/okhttp/okhttp3/Cookie.Builder.html | 389 --- 3.x/okhttp/okhttp3/Cookie.html | 517 ---- 3.x/okhttp/okhttp3/CookieJar.html | 301 -- 3.x/okhttp/okhttp3/Credentials.html | 261 -- 3.x/okhttp/okhttp3/Dispatcher.html | 460 --- 3.x/okhttp/okhttp3/Dns.html | 279 -- 3.x/okhttp/okhttp3/EventListener.Factory.html | 236 -- 3.x/okhttp/okhttp3/EventListener.html | 841 ------ 3.x/okhttp/okhttp3/FormBody.Builder.html | 319 --- 3.x/okhttp/okhttp3/FormBody.html | 392 --- 3.x/okhttp/okhttp3/Handshake.html | 418 --- 3.x/okhttp/okhttp3/Headers.Builder.html | 472 ---- 3.x/okhttp/okhttp3/Headers.html | 550 ---- 3.x/okhttp/okhttp3/HttpUrl.Builder.html | 658 ----- 3.x/okhttp/okhttp3/HttpUrl.html | 1319 --------- 3.x/okhttp/okhttp3/Interceptor.Chain.html | 359 --- 3.x/okhttp/okhttp3/Interceptor.html | 249 -- 3.x/okhttp/okhttp3/MediaType.html | 394 --- 3.x/okhttp/okhttp3/MultipartBody.Builder.html | 397 --- 3.x/okhttp/okhttp3/MultipartBody.Part.html | 318 --- 3.x/okhttp/okhttp3/MultipartBody.html | 514 ---- 3.x/okhttp/okhttp3/OkHttpClient.Builder.html | 1051 ------- 3.x/okhttp/okhttp3/OkHttpClient.html | 774 ----- 3.x/okhttp/okhttp3/Protocol.html | 487 ---- 3.x/okhttp/okhttp3/Request.Builder.html | 572 ---- 3.x/okhttp/okhttp3/Request.html | 427 --- 3.x/okhttp/okhttp3/RequestBody.html | 494 ---- 3.x/okhttp/okhttp3/Response.Builder.html | 494 ---- 3.x/okhttp/okhttp3/Response.html | 703 ----- 3.x/okhttp/okhttp3/ResponseBody.html | 569 ---- 3.x/okhttp/okhttp3/Route.html | 390 --- 3.x/okhttp/okhttp3/TlsVersion.html | 405 --- 3.x/okhttp/okhttp3/WebSocket.Factory.html | 238 -- 3.x/okhttp/okhttp3/WebSocket.html | 395 --- 3.x/okhttp/okhttp3/WebSocketListener.html | 383 --- 3.x/okhttp/okhttp3/class-use/Address.html | 162 -- .../okhttp3/class-use/Authenticator.html | 217 -- 3.x/okhttp/okhttp3/class-use/Cache.html | 164 -- .../class-use/CacheControl.Builder.html | 194 -- .../okhttp3/class-use/CacheControl.html | 205 -- .../okhttp3/class-use/Call.Factory.html | 152 - 3.x/okhttp/okhttp3/class-use/Call.html | 371 --- 3.x/okhttp/okhttp3/class-use/Callback.html | 151 - .../class-use/CertificatePinner.Builder.html | 152 - .../okhttp3/class-use/CertificatePinner.html | 209 -- 3.x/okhttp/okhttp3/class-use/Challenge.html | 166 -- 3.x/okhttp/okhttp3/class-use/CipherSuite.html | 675 ----- 3.x/okhttp/okhttp3/class-use/Connection.html | 174 -- .../okhttp3/class-use/ConnectionPool.html | 164 -- .../class-use/ConnectionSpec.Builder.html | 179 -- .../okhttp3/class-use/ConnectionSpec.html | 246 -- .../okhttp3/class-use/Cookie.Builder.html | 181 -- 3.x/okhttp/okhttp3/class-use/Cookie.html | 194 -- 3.x/okhttp/okhttp3/class-use/CookieJar.html | 180 -- 3.x/okhttp/okhttp3/class-use/Credentials.html | 124 - 3.x/okhttp/okhttp3/class-use/Dispatcher.html | 164 -- 3.x/okhttp/okhttp3/class-use/Dns.html | 208 -- .../class-use/EventListener.Factory.html | 165 -- .../okhttp3/class-use/EventListener.html | 180 -- .../okhttp3/class-use/FormBody.Builder.html | 155 - 3.x/okhttp/okhttp3/class-use/FormBody.html | 149 - 3.x/okhttp/okhttp3/class-use/Handshake.html | 190 -- .../okhttp3/class-use/Headers.Builder.html | 214 -- 3.x/okhttp/okhttp3/class-use/Headers.html | 231 -- .../okhttp3/class-use/HttpUrl.Builder.html | 270 -- 3.x/okhttp/okhttp3/class-use/HttpUrl.html | 240 -- .../okhttp3/class-use/Interceptor.Chain.html | 173 -- 3.x/okhttp/okhttp3/class-use/Interceptor.html | 190 -- 3.x/okhttp/okhttp3/class-use/MediaType.html | 305 -- .../class-use/MultipartBody.Builder.html | 185 -- .../okhttp3/class-use/MultipartBody.Part.html | 197 -- .../okhttp3/class-use/MultipartBody.html | 151 - .../class-use/OkHttpClient.Builder.html | 356 --- .../okhttp3/class-use/OkHttpClient.html | 149 - 3.x/okhttp/okhttp3/class-use/Protocol.html | 265 -- .../okhttp3/class-use/Request.Builder.html | 244 -- 3.x/okhttp/okhttp3/class-use/Request.html | 226 -- 3.x/okhttp/okhttp3/class-use/RequestBody.html | 275 -- .../okhttp3/class-use/Response.Builder.html | 219 -- 3.x/okhttp/okhttp3/class-use/Response.html | 242 -- .../okhttp3/class-use/ResponseBody.html | 201 -- 3.x/okhttp/okhttp3/class-use/Route.html | 167 -- 3.x/okhttp/okhttp3/class-use/TlsVersion.html | 203 -- .../okhttp3/class-use/WebSocket.Factory.html | 152 - 3.x/okhttp/okhttp3/class-use/WebSocket.html | 217 -- .../okhttp3/class-use/WebSocketListener.html | 159 -- 3.x/okhttp/okhttp3/package-frame.html | 77 - 3.x/okhttp/okhttp3/package-summary.html | 452 --- 3.x/okhttp/okhttp3/package-tree.html | 204 -- 3.x/okhttp/okhttp3/package-use.html | 364 --- 3.x/okhttp/overview-tree.html | 208 -- 3.x/okhttp/package-list | 1 - 3.x/okhttp/script.js | 30 - 3.x/okhttp/stylesheet.css | 574 ---- 3.x/okhttp/version.txt | 1 - .../okhttp3/-http-url/encoded-fragment.html | 2 +- .../okhttp3/-http-url/encoded-password.html | 2 +- .../-http-url/encoded-path-segments.html | 2 +- .../okhttp3/-http-url/encoded-path.html | 2 +- .../okhttp3/-http-url/encoded-query.html | 2 +- .../okhttp3/-http-url/encoded-username.html | 2 +- 5.x/okhttp/okhttp3/-http-url/fragment.html | 2 +- 5.x/okhttp/okhttp3/-http-url/host.html | 2 +- 5.x/okhttp/okhttp3/-http-url/password.html | 2 +- .../okhttp3/-http-url/path-segments.html | 2 +- 5.x/okhttp/okhttp3/-http-url/path-size.html | 2 +- 5.x/okhttp/okhttp3/-http-url/port.html | 2 +- .../-http-url/query-parameter-name.html | 2 +- .../-http-url/query-parameter-names.html | 2 +- .../-http-url/query-parameter-value.html | 2 +- .../-http-url/query-parameter-values.html | 2 +- .../okhttp3/-http-url/query-parameter.html | 2 +- 5.x/okhttp/okhttp3/-http-url/query-size.html | 2 +- 5.x/okhttp/okhttp3/-http-url/query.html | 2 +- .../okhttp3/-http-url/top-private-domain.html | 2 +- 5.x/okhttp/okhttp3/-http-url/username.html | 2 +- changelogs/changelog/index.html | 70 +- releasing/index.html | 85 +- search/search_index.json | 2 +- sitemap.xml | 48 +- sitemap.xml.gz | Bin 398 -> 398 bytes works_with_okhttp/index.html | 1 - 1145 files changed, 128 insertions(+), 215783 deletions(-) delete mode 100644 1.x/benchmarks/META-INF/MANIFEST.MF delete mode 100644 1.x/benchmarks/allclasses-frame.html delete mode 100644 1.x/benchmarks/allclasses-noframe.html delete mode 100644 1.x/benchmarks/com/squareup/okhttp/benchmarks/Benchmark.html delete mode 100644 1.x/benchmarks/com/squareup/okhttp/benchmarks/class-use/Benchmark.html delete mode 100644 1.x/benchmarks/com/squareup/okhttp/benchmarks/package-frame.html delete mode 100644 1.x/benchmarks/com/squareup/okhttp/benchmarks/package-summary.html delete mode 100644 1.x/benchmarks/com/squareup/okhttp/benchmarks/package-tree.html delete mode 100644 1.x/benchmarks/com/squareup/okhttp/benchmarks/package-use.html delete mode 100644 1.x/benchmarks/constant-values.html delete mode 100644 1.x/benchmarks/deprecated-list.html delete mode 100644 1.x/benchmarks/help-doc.html delete mode 100644 1.x/benchmarks/index-all.html delete mode 100644 1.x/benchmarks/index.html delete mode 100644 1.x/benchmarks/overview-tree.html delete mode 100644 1.x/benchmarks/package-list delete mode 100644 1.x/benchmarks/resources/background.gif delete mode 100644 1.x/benchmarks/resources/tab.gif delete mode 100644 1.x/benchmarks/resources/titlebar.gif delete mode 100644 1.x/benchmarks/resources/titlebar_end.gif delete mode 100644 1.x/benchmarks/stylesheet.css delete mode 100644 1.x/benchmarks/version.txt delete mode 100644 1.x/mockwebserver/META-INF/MANIFEST.MF delete mode 100644 1.x/mockwebserver/allclasses-frame.html delete mode 100644 1.x/mockwebserver/allclasses-noframe.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/internal/SslContextBuilder.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/internal/class-use/SslContextBuilder.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/internal/package-frame.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/internal/package-summary.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/internal/package-tree.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/internal/package-use.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/internal/spdy/SpdyServer.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/internal/spdy/class-use/SpdyServer.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-frame.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-summary.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-tree.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-use.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/Dispatcher.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockResponse.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockWebServer.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/PushPromise.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/QueueDispatcher.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/RecordedRequest.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/SocketPolicy.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/Dispatcher.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockResponse.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockWebServer.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/PushPromise.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/QueueDispatcher.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/RecordedRequest.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/SocketPolicy.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-frame.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-summary.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-tree.html delete mode 100644 1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-use.html delete mode 100644 1.x/mockwebserver/constant-values.html delete mode 100644 1.x/mockwebserver/deprecated-list.html delete mode 100644 1.x/mockwebserver/help-doc.html delete mode 100644 1.x/mockwebserver/index-all.html delete mode 100644 1.x/mockwebserver/index.html delete mode 100644 1.x/mockwebserver/overview-frame.html delete mode 100644 1.x/mockwebserver/overview-summary.html delete mode 100644 1.x/mockwebserver/overview-tree.html delete mode 100644 1.x/mockwebserver/package-list delete mode 100644 1.x/mockwebserver/resources/background.gif delete mode 100644 1.x/mockwebserver/resources/tab.gif delete mode 100644 1.x/mockwebserver/resources/titlebar.gif delete mode 100644 1.x/mockwebserver/resources/titlebar_end.gif delete mode 100644 1.x/mockwebserver/stylesheet.css delete mode 100644 1.x/mockwebserver/version.txt delete mode 100644 1.x/okhttp-apache/META-INF/MANIFEST.MF delete mode 100644 1.x/okhttp-apache/allclasses-frame.html delete mode 100644 1.x/okhttp-apache/allclasses-noframe.html delete mode 100644 1.x/okhttp-apache/com/squareup/okhttp/apache/OkApacheClient.html delete mode 100644 1.x/okhttp-apache/com/squareup/okhttp/apache/class-use/OkApacheClient.html delete mode 100644 1.x/okhttp-apache/com/squareup/okhttp/apache/package-frame.html delete mode 100644 1.x/okhttp-apache/com/squareup/okhttp/apache/package-summary.html delete mode 100644 1.x/okhttp-apache/com/squareup/okhttp/apache/package-tree.html delete mode 100644 1.x/okhttp-apache/com/squareup/okhttp/apache/package-use.html delete mode 100644 1.x/okhttp-apache/constant-values.html delete mode 100644 1.x/okhttp-apache/deprecated-list.html delete mode 100644 1.x/okhttp-apache/help-doc.html delete mode 100644 1.x/okhttp-apache/index-all.html delete mode 100644 1.x/okhttp-apache/index.html delete mode 100644 1.x/okhttp-apache/overview-tree.html delete mode 100644 1.x/okhttp-apache/package-list delete mode 100644 1.x/okhttp-apache/resources/background.gif delete mode 100644 1.x/okhttp-apache/resources/tab.gif delete mode 100644 1.x/okhttp-apache/resources/titlebar.gif delete mode 100644 1.x/okhttp-apache/resources/titlebar_end.gif delete mode 100644 1.x/okhttp-apache/stylesheet.css delete mode 100644 1.x/okhttp-apache/version.txt delete mode 100644 1.x/okhttp-protocols/META-INF/MANIFEST.MF delete mode 100644 1.x/okhttp-protocols/allclasses-frame.html delete mode 100644 1.x/okhttp-protocols/allclasses-noframe.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/Base64.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/NamedRunnable.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/Platform.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/Util.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/Base64.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/NamedRunnable.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/Platform.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/Util.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/package-frame.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/package-summary.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/package-tree.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/package-use.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/ErrorCode.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/FrameReader.Handler.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/FrameReader.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/FrameWriter.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/IncomingStreamHandler.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/Ping.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/SpdyConnection.Builder.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/SpdyConnection.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/SpdyStream.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/ErrorCode.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/FrameReader.Handler.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/FrameReader.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/FrameWriter.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/IncomingStreamHandler.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/Ping.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/SpdyConnection.Builder.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/SpdyConnection.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/SpdyStream.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-frame.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-summary.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-tree.html delete mode 100644 1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-use.html delete mode 100644 1.x/okhttp-protocols/constant-values.html delete mode 100644 1.x/okhttp-protocols/deprecated-list.html delete mode 100644 1.x/okhttp-protocols/help-doc.html delete mode 100644 1.x/okhttp-protocols/index-all.html delete mode 100644 1.x/okhttp-protocols/index.html delete mode 100644 1.x/okhttp-protocols/overview-frame.html delete mode 100644 1.x/okhttp-protocols/overview-summary.html delete mode 100644 1.x/okhttp-protocols/overview-tree.html delete mode 100644 1.x/okhttp-protocols/package-list delete mode 100644 1.x/okhttp-protocols/resources/background.gif delete mode 100644 1.x/okhttp-protocols/resources/tab.gif delete mode 100644 1.x/okhttp-protocols/resources/titlebar.gif delete mode 100644 1.x/okhttp-protocols/resources/titlebar_end.gif delete mode 100644 1.x/okhttp-protocols/stylesheet.css delete mode 100644 1.x/okhttp-protocols/version.txt delete mode 100644 1.x/okhttp-tests/META-INF/MANIFEST.MF delete mode 100644 1.x/okhttp-tests/version.txt delete mode 100644 1.x/okhttp-urlconnection/META-INF/MANIFEST.MF delete mode 100644 1.x/okhttp-urlconnection/allclasses-frame.html delete mode 100644 1.x/okhttp-urlconnection/allclasses-noframe.html delete mode 100644 1.x/okhttp-urlconnection/com/squareup/okhttp/OkUrlFactory.html delete mode 100644 1.x/okhttp-urlconnection/com/squareup/okhttp/class-use/OkUrlFactory.html delete mode 100644 1.x/okhttp-urlconnection/com/squareup/okhttp/package-frame.html delete mode 100644 1.x/okhttp-urlconnection/com/squareup/okhttp/package-summary.html delete mode 100644 1.x/okhttp-urlconnection/com/squareup/okhttp/package-tree.html delete mode 100644 1.x/okhttp-urlconnection/com/squareup/okhttp/package-use.html delete mode 100644 1.x/okhttp-urlconnection/constant-values.html delete mode 100644 1.x/okhttp-urlconnection/deprecated-list.html delete mode 100644 1.x/okhttp-urlconnection/help-doc.html delete mode 100644 1.x/okhttp-urlconnection/index-all.html delete mode 100644 1.x/okhttp-urlconnection/index.html delete mode 100644 1.x/okhttp-urlconnection/overview-tree.html delete mode 100644 1.x/okhttp-urlconnection/package-list delete mode 100644 1.x/okhttp-urlconnection/resources/background.gif delete mode 100644 1.x/okhttp-urlconnection/resources/tab.gif delete mode 100644 1.x/okhttp-urlconnection/resources/titlebar.gif delete mode 100644 1.x/okhttp-urlconnection/resources/titlebar_end.gif delete mode 100644 1.x/okhttp-urlconnection/stylesheet.css delete mode 100644 1.x/okhttp-urlconnection/version.txt delete mode 100644 1.x/okhttp/META-INF/MANIFEST.MF delete mode 100644 1.x/okhttp/allclasses-frame.html delete mode 100644 1.x/okhttp/allclasses-noframe.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/Address.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/Cache.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/CacheControl.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/Connection.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/ConnectionPool.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/Handshake.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/HttpResponseCache.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/MediaType.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/OkAuthenticator.Challenge.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/OkAuthenticator.Credential.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/OkAuthenticator.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/OkHttpClient.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/OkResponseCache.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/Protocol.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/ResponseSource.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/Route.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/RouteDatabase.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/TunnelRequest.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/Address.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/Cache.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/CacheControl.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/Connection.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/ConnectionPool.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/Handshake.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/HttpResponseCache.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/MediaType.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/OkAuthenticator.Challenge.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/OkAuthenticator.Credential.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/OkAuthenticator.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/OkHttpClient.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/OkResponseCache.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/Protocol.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/ResponseSource.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/Route.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/RouteDatabase.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/class-use/TunnelRequest.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/package-frame.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/package-summary.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/package-tree.html delete mode 100644 1.x/okhttp/com/squareup/okhttp/package-use.html delete mode 100644 1.x/okhttp/constant-values.html delete mode 100644 1.x/okhttp/deprecated-list.html delete mode 100644 1.x/okhttp/help-doc.html delete mode 100644 1.x/okhttp/index-all.html delete mode 100644 1.x/okhttp/index.html delete mode 100644 1.x/okhttp/overview-tree.html delete mode 100644 1.x/okhttp/package-list delete mode 100644 1.x/okhttp/resources/background.gif delete mode 100644 1.x/okhttp/resources/tab.gif delete mode 100644 1.x/okhttp/resources/titlebar.gif delete mode 100644 1.x/okhttp/resources/titlebar_end.gif delete mode 100644 1.x/okhttp/stylesheet.css delete mode 100644 1.x/okhttp/version.txt delete mode 100644 2.x/benchmarks/META-INF/MANIFEST.MF delete mode 100644 2.x/benchmarks/allclasses-frame.html delete mode 100644 2.x/benchmarks/allclasses-noframe.html delete mode 100644 2.x/benchmarks/com/squareup/okhttp/benchmarks/Benchmark.html delete mode 100644 2.x/benchmarks/com/squareup/okhttp/benchmarks/class-use/Benchmark.html delete mode 100644 2.x/benchmarks/com/squareup/okhttp/benchmarks/package-frame.html delete mode 100644 2.x/benchmarks/com/squareup/okhttp/benchmarks/package-summary.html delete mode 100644 2.x/benchmarks/com/squareup/okhttp/benchmarks/package-tree.html delete mode 100644 2.x/benchmarks/com/squareup/okhttp/benchmarks/package-use.html delete mode 100644 2.x/benchmarks/constant-values.html delete mode 100644 2.x/benchmarks/deprecated-list.html delete mode 100644 2.x/benchmarks/help-doc.html delete mode 100644 2.x/benchmarks/index-all.html delete mode 100644 2.x/benchmarks/index.html delete mode 100644 2.x/benchmarks/overview-tree.html delete mode 100644 2.x/benchmarks/package-list delete mode 100644 2.x/benchmarks/resources/background.gif delete mode 100644 2.x/benchmarks/resources/tab.gif delete mode 100644 2.x/benchmarks/resources/titlebar.gif delete mode 100644 2.x/benchmarks/resources/titlebar_end.gif delete mode 100644 2.x/benchmarks/script.js delete mode 100644 2.x/benchmarks/stylesheet.css delete mode 100644 2.x/benchmarks/version.txt delete mode 100644 2.x/logging-interceptor/META-INF/MANIFEST.MF delete mode 100644 2.x/logging-interceptor/allclasses-frame.html delete mode 100644 2.x/logging-interceptor/allclasses-noframe.html delete mode 100644 2.x/logging-interceptor/com/squareup/okhttp/logging/HttpLoggingInterceptor.Level.html delete mode 100644 2.x/logging-interceptor/com/squareup/okhttp/logging/HttpLoggingInterceptor.Logger.html delete mode 100644 2.x/logging-interceptor/com/squareup/okhttp/logging/HttpLoggingInterceptor.html delete mode 100644 2.x/logging-interceptor/com/squareup/okhttp/logging/class-use/HttpLoggingInterceptor.Level.html delete mode 100644 2.x/logging-interceptor/com/squareup/okhttp/logging/class-use/HttpLoggingInterceptor.Logger.html delete mode 100644 2.x/logging-interceptor/com/squareup/okhttp/logging/class-use/HttpLoggingInterceptor.html delete mode 100644 2.x/logging-interceptor/com/squareup/okhttp/logging/package-frame.html delete mode 100644 2.x/logging-interceptor/com/squareup/okhttp/logging/package-summary.html delete mode 100644 2.x/logging-interceptor/com/squareup/okhttp/logging/package-tree.html delete mode 100644 2.x/logging-interceptor/com/squareup/okhttp/logging/package-use.html delete mode 100644 2.x/logging-interceptor/constant-values.html delete mode 100644 2.x/logging-interceptor/deprecated-list.html delete mode 100644 2.x/logging-interceptor/help-doc.html delete mode 100644 2.x/logging-interceptor/index-all.html delete mode 100644 2.x/logging-interceptor/index.html delete mode 100644 2.x/logging-interceptor/overview-tree.html delete mode 100644 2.x/logging-interceptor/package-list delete mode 100644 2.x/logging-interceptor/resources/background.gif delete mode 100644 2.x/logging-interceptor/resources/tab.gif delete mode 100644 2.x/logging-interceptor/resources/titlebar.gif delete mode 100644 2.x/logging-interceptor/resources/titlebar_end.gif delete mode 100644 2.x/logging-interceptor/script.js delete mode 100644 2.x/logging-interceptor/stylesheet.css delete mode 100644 2.x/logging-interceptor/version.txt delete mode 100644 2.x/mockwebserver/META-INF/MANIFEST.MF delete mode 100644 2.x/mockwebserver/allclasses-frame.html delete mode 100644 2.x/mockwebserver/allclasses-noframe.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/HeldCertificate.Builder.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/HeldCertificate.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/SslContextBuilder.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/class-use/HeldCertificate.Builder.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/class-use/HeldCertificate.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/class-use/SslContextBuilder.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/framed/FramedServer.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/framed/class-use/FramedServer.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-frame.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-summary.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-tree.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-use.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/package-frame.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/package-summary.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/package-tree.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/internal/package-use.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/Dispatcher.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockResponse.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockWebServer.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/PushPromise.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/QueueDispatcher.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/RecordedRequest.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/SocketPolicy.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/Dispatcher.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockResponse.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockWebServer.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/PushPromise.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/QueueDispatcher.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/RecordedRequest.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/SocketPolicy.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-frame.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-summary.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-tree.html delete mode 100644 2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-use.html delete mode 100644 2.x/mockwebserver/constant-values.html delete mode 100644 2.x/mockwebserver/deprecated-list.html delete mode 100644 2.x/mockwebserver/help-doc.html delete mode 100644 2.x/mockwebserver/index-all.html delete mode 100644 2.x/mockwebserver/index.html delete mode 100644 2.x/mockwebserver/overview-frame.html delete mode 100644 2.x/mockwebserver/overview-summary.html delete mode 100644 2.x/mockwebserver/overview-tree.html delete mode 100644 2.x/mockwebserver/package-list delete mode 100644 2.x/mockwebserver/resources/background.gif delete mode 100644 2.x/mockwebserver/resources/tab.gif delete mode 100644 2.x/mockwebserver/resources/titlebar.gif delete mode 100644 2.x/mockwebserver/resources/titlebar_end.gif delete mode 100644 2.x/mockwebserver/script.js delete mode 100644 2.x/mockwebserver/stylesheet.css delete mode 100644 2.x/mockwebserver/version.txt delete mode 100644 2.x/okcurl/META-INF/MANIFEST.MF delete mode 100644 2.x/okcurl/allclasses-frame.html delete mode 100644 2.x/okcurl/allclasses-noframe.html delete mode 100644 2.x/okcurl/com/squareup/okhttp/curl/Main.html delete mode 100644 2.x/okcurl/com/squareup/okhttp/curl/class-use/Main.html delete mode 100644 2.x/okcurl/com/squareup/okhttp/curl/package-frame.html delete mode 100644 2.x/okcurl/com/squareup/okhttp/curl/package-summary.html delete mode 100644 2.x/okcurl/com/squareup/okhttp/curl/package-tree.html delete mode 100644 2.x/okcurl/com/squareup/okhttp/curl/package-use.html delete mode 100644 2.x/okcurl/constant-values.html delete mode 100644 2.x/okcurl/deprecated-list.html delete mode 100644 2.x/okcurl/help-doc.html delete mode 100644 2.x/okcurl/index-all.html delete mode 100644 2.x/okcurl/index.html delete mode 100644 2.x/okcurl/overview-tree.html delete mode 100644 2.x/okcurl/package-list delete mode 100644 2.x/okcurl/resources/background.gif delete mode 100644 2.x/okcurl/resources/tab.gif delete mode 100644 2.x/okcurl/resources/titlebar.gif delete mode 100644 2.x/okcurl/resources/titlebar_end.gif delete mode 100644 2.x/okcurl/script.js delete mode 100644 2.x/okcurl/stylesheet.css delete mode 100644 2.x/okcurl/version.txt delete mode 100644 2.x/okhttp-android-support/META-INF/MANIFEST.MF delete mode 100644 2.x/okhttp-android-support/allclasses-frame.html delete mode 100644 2.x/okhttp-android-support/allclasses-noframe.html delete mode 100644 2.x/okhttp-android-support/com/squareup/okhttp/AndroidInternal.html delete mode 100644 2.x/okhttp-android-support/com/squareup/okhttp/AndroidShimResponseCache.html delete mode 100644 2.x/okhttp-android-support/com/squareup/okhttp/OkCacheContainer.html delete mode 100644 2.x/okhttp-android-support/com/squareup/okhttp/class-use/AndroidInternal.html delete mode 100644 2.x/okhttp-android-support/com/squareup/okhttp/class-use/AndroidShimResponseCache.html delete mode 100644 2.x/okhttp-android-support/com/squareup/okhttp/class-use/OkCacheContainer.html delete mode 100644 2.x/okhttp-android-support/com/squareup/okhttp/package-frame.html delete mode 100644 2.x/okhttp-android-support/com/squareup/okhttp/package-summary.html delete mode 100644 2.x/okhttp-android-support/com/squareup/okhttp/package-tree.html delete mode 100644 2.x/okhttp-android-support/com/squareup/okhttp/package-use.html delete mode 100644 2.x/okhttp-android-support/constant-values.html delete mode 100644 2.x/okhttp-android-support/deprecated-list.html delete mode 100644 2.x/okhttp-android-support/help-doc.html delete mode 100644 2.x/okhttp-android-support/index-all.html delete mode 100644 2.x/okhttp-android-support/index.html delete mode 100644 2.x/okhttp-android-support/overview-tree.html delete mode 100644 2.x/okhttp-android-support/package-list delete mode 100644 2.x/okhttp-android-support/resources/background.gif delete mode 100644 2.x/okhttp-android-support/resources/tab.gif delete mode 100644 2.x/okhttp-android-support/resources/titlebar.gif delete mode 100644 2.x/okhttp-android-support/resources/titlebar_end.gif delete mode 100644 2.x/okhttp-android-support/script.js delete mode 100644 2.x/okhttp-android-support/stylesheet.css delete mode 100644 2.x/okhttp-android-support/version.txt delete mode 100644 2.x/okhttp-apache/META-INF/MANIFEST.MF delete mode 100644 2.x/okhttp-apache/allclasses-frame.html delete mode 100644 2.x/okhttp-apache/allclasses-noframe.html delete mode 100644 2.x/okhttp-apache/com/squareup/okhttp/apache/OkApacheClient.html delete mode 100644 2.x/okhttp-apache/com/squareup/okhttp/apache/class-use/OkApacheClient.html delete mode 100644 2.x/okhttp-apache/com/squareup/okhttp/apache/package-frame.html delete mode 100644 2.x/okhttp-apache/com/squareup/okhttp/apache/package-summary.html delete mode 100644 2.x/okhttp-apache/com/squareup/okhttp/apache/package-tree.html delete mode 100644 2.x/okhttp-apache/com/squareup/okhttp/apache/package-use.html delete mode 100644 2.x/okhttp-apache/constant-values.html delete mode 100644 2.x/okhttp-apache/deprecated-list.html delete mode 100644 2.x/okhttp-apache/help-doc.html delete mode 100644 2.x/okhttp-apache/index-all.html delete mode 100644 2.x/okhttp-apache/index.html delete mode 100644 2.x/okhttp-apache/overview-tree.html delete mode 100644 2.x/okhttp-apache/package-list delete mode 100644 2.x/okhttp-apache/resources/background.gif delete mode 100644 2.x/okhttp-apache/resources/tab.gif delete mode 100644 2.x/okhttp-apache/resources/titlebar.gif delete mode 100644 2.x/okhttp-apache/resources/titlebar_end.gif delete mode 100644 2.x/okhttp-apache/script.js delete mode 100644 2.x/okhttp-apache/stylesheet.css delete mode 100644 2.x/okhttp-apache/version.txt delete mode 100644 2.x/okhttp-testing-support/META-INF/MANIFEST.MF delete mode 100644 2.x/okhttp-testing-support/allclasses-frame.html delete mode 100644 2.x/okhttp-testing-support/allclasses-noframe.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/InMemoryFileSystem.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/class-use/InMemoryFileSystem.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-frame.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-summary.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-tree.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-use.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/testing/InstallUncaughtExceptionHandlerListener.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/testing/RecordingHostnameVerifier.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/testing/class-use/InstallUncaughtExceptionHandlerListener.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/testing/class-use/RecordingHostnameVerifier.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-frame.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-summary.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-tree.html delete mode 100644 2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-use.html delete mode 100644 2.x/okhttp-testing-support/constant-values.html delete mode 100644 2.x/okhttp-testing-support/deprecated-list.html delete mode 100644 2.x/okhttp-testing-support/help-doc.html delete mode 100644 2.x/okhttp-testing-support/index-all.html delete mode 100644 2.x/okhttp-testing-support/index.html delete mode 100644 2.x/okhttp-testing-support/overview-frame.html delete mode 100644 2.x/okhttp-testing-support/overview-summary.html delete mode 100644 2.x/okhttp-testing-support/overview-tree.html delete mode 100644 2.x/okhttp-testing-support/package-list delete mode 100644 2.x/okhttp-testing-support/resources/background.gif delete mode 100644 2.x/okhttp-testing-support/resources/tab.gif delete mode 100644 2.x/okhttp-testing-support/resources/titlebar.gif delete mode 100644 2.x/okhttp-testing-support/resources/titlebar_end.gif delete mode 100644 2.x/okhttp-testing-support/script.js delete mode 100644 2.x/okhttp-testing-support/stylesheet.css delete mode 100644 2.x/okhttp-testing-support/version.txt delete mode 100644 2.x/okhttp-urlconnection/META-INF/MANIFEST.MF delete mode 100644 2.x/okhttp-urlconnection/allclasses-frame.html delete mode 100644 2.x/okhttp-urlconnection/allclasses-noframe.html delete mode 100644 2.x/okhttp-urlconnection/com/squareup/okhttp/OkUrlFactory.html delete mode 100644 2.x/okhttp-urlconnection/com/squareup/okhttp/class-use/OkUrlFactory.html delete mode 100644 2.x/okhttp-urlconnection/com/squareup/okhttp/package-frame.html delete mode 100644 2.x/okhttp-urlconnection/com/squareup/okhttp/package-summary.html delete mode 100644 2.x/okhttp-urlconnection/com/squareup/okhttp/package-tree.html delete mode 100644 2.x/okhttp-urlconnection/com/squareup/okhttp/package-use.html delete mode 100644 2.x/okhttp-urlconnection/constant-values.html delete mode 100644 2.x/okhttp-urlconnection/deprecated-list.html delete mode 100644 2.x/okhttp-urlconnection/help-doc.html delete mode 100644 2.x/okhttp-urlconnection/index-all.html delete mode 100644 2.x/okhttp-urlconnection/index.html delete mode 100644 2.x/okhttp-urlconnection/overview-tree.html delete mode 100644 2.x/okhttp-urlconnection/package-list delete mode 100644 2.x/okhttp-urlconnection/resources/background.gif delete mode 100644 2.x/okhttp-urlconnection/resources/tab.gif delete mode 100644 2.x/okhttp-urlconnection/resources/titlebar.gif delete mode 100644 2.x/okhttp-urlconnection/resources/titlebar_end.gif delete mode 100644 2.x/okhttp-urlconnection/script.js delete mode 100644 2.x/okhttp-urlconnection/stylesheet.css delete mode 100644 2.x/okhttp-urlconnection/version.txt delete mode 100644 2.x/okhttp-ws/META-INF/MANIFEST.MF delete mode 100644 2.x/okhttp-ws/allclasses-frame.html delete mode 100644 2.x/okhttp-ws/allclasses-noframe.html delete mode 100644 2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocket.PayloadType.html delete mode 100644 2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocket.html delete mode 100644 2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocketCall.html delete mode 100644 2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocketListener.html delete mode 100644 2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocket.PayloadType.html delete mode 100644 2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocket.html delete mode 100644 2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocketCall.html delete mode 100644 2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocketListener.html delete mode 100644 2.x/okhttp-ws/com/squareup/okhttp/ws/package-frame.html delete mode 100644 2.x/okhttp-ws/com/squareup/okhttp/ws/package-summary.html delete mode 100644 2.x/okhttp-ws/com/squareup/okhttp/ws/package-tree.html delete mode 100644 2.x/okhttp-ws/com/squareup/okhttp/ws/package-use.html delete mode 100644 2.x/okhttp-ws/constant-values.html delete mode 100644 2.x/okhttp-ws/deprecated-list.html delete mode 100644 2.x/okhttp-ws/help-doc.html delete mode 100644 2.x/okhttp-ws/index-all.html delete mode 100644 2.x/okhttp-ws/index.html delete mode 100644 2.x/okhttp-ws/overview-tree.html delete mode 100644 2.x/okhttp-ws/package-list delete mode 100644 2.x/okhttp-ws/resources/background.gif delete mode 100644 2.x/okhttp-ws/resources/tab.gif delete mode 100644 2.x/okhttp-ws/resources/titlebar.gif delete mode 100644 2.x/okhttp-ws/resources/titlebar_end.gif delete mode 100644 2.x/okhttp-ws/script.js delete mode 100644 2.x/okhttp-ws/stylesheet.css delete mode 100644 2.x/okhttp-ws/version.txt delete mode 100644 2.x/okhttp/META-INF/MANIFEST.MF delete mode 100644 2.x/okhttp/allclasses-frame.html delete mode 100644 2.x/okhttp/allclasses-noframe.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Address.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Authenticator.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Cache.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/CacheControl.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/CacheControl.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Call.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Callback.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/CertificatePinner.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/CertificatePinner.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Challenge.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/CipherSuite.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Connection.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/ConnectionPool.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/ConnectionSpec.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/ConnectionSpec.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Credentials.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Dispatcher.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Dns.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/FormEncodingBuilder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Handshake.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Headers.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Headers.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/HttpUrl.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/HttpUrl.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Interceptor.Chain.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Interceptor.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/MediaType.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/MultipartBuilder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/OkHttpClient.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Protocol.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Request.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Request.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/RequestBody.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Response.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Response.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/ResponseBody.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/Route.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/TlsVersion.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Address.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Authenticator.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Cache.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/CacheControl.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/CacheControl.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Call.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Callback.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/CertificatePinner.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/CertificatePinner.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Challenge.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/CipherSuite.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Connection.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/ConnectionPool.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/ConnectionSpec.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/ConnectionSpec.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Credentials.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Dispatcher.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Dns.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/FormEncodingBuilder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Handshake.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Headers.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Headers.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/HttpUrl.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/HttpUrl.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Interceptor.Chain.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Interceptor.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/MediaType.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/MultipartBuilder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/OkHttpClient.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Protocol.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Request.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Request.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/RequestBody.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Response.Builder.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Response.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/ResponseBody.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/Route.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/class-use/TlsVersion.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/package-frame.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/package-summary.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/package-tree.html delete mode 100644 2.x/okhttp/com/squareup/okhttp/package-use.html delete mode 100644 2.x/okhttp/constant-values.html delete mode 100644 2.x/okhttp/deprecated-list.html delete mode 100644 2.x/okhttp/help-doc.html delete mode 100644 2.x/okhttp/index-all.html delete mode 100644 2.x/okhttp/index.html delete mode 100644 2.x/okhttp/overview-tree.html delete mode 100644 2.x/okhttp/package-list delete mode 100644 2.x/okhttp/resources/background.gif delete mode 100644 2.x/okhttp/resources/tab.gif delete mode 100644 2.x/okhttp/resources/titlebar.gif delete mode 100644 2.x/okhttp/resources/titlebar_end.gif delete mode 100644 2.x/okhttp/script.js delete mode 100644 2.x/okhttp/stylesheet.css delete mode 100644 2.x/okhttp/version.txt delete mode 100644 3.x/benchmarks/META-INF/MANIFEST.MF delete mode 100644 3.x/benchmarks/allclasses-frame.html delete mode 100644 3.x/benchmarks/allclasses-noframe.html delete mode 100644 3.x/benchmarks/constant-values.html delete mode 100644 3.x/benchmarks/deprecated-list.html delete mode 100644 3.x/benchmarks/help-doc.html delete mode 100644 3.x/benchmarks/index-all.html delete mode 100644 3.x/benchmarks/index.html delete mode 100644 3.x/benchmarks/okhttp3/benchmarks/Benchmark.html delete mode 100644 3.x/benchmarks/okhttp3/benchmarks/class-use/Benchmark.html delete mode 100644 3.x/benchmarks/okhttp3/benchmarks/package-frame.html delete mode 100644 3.x/benchmarks/okhttp3/benchmarks/package-summary.html delete mode 100644 3.x/benchmarks/okhttp3/benchmarks/package-tree.html delete mode 100644 3.x/benchmarks/okhttp3/benchmarks/package-use.html delete mode 100644 3.x/benchmarks/overview-tree.html delete mode 100644 3.x/benchmarks/package-list delete mode 100644 3.x/benchmarks/script.js delete mode 100644 3.x/benchmarks/stylesheet.css delete mode 100644 3.x/benchmarks/version.txt delete mode 100644 3.x/index.html delete mode 100644 3.x/logging-interceptor/META-INF/MANIFEST.MF delete mode 100644 3.x/logging-interceptor/allclasses-frame.html delete mode 100644 3.x/logging-interceptor/allclasses-noframe.html delete mode 100644 3.x/logging-interceptor/constant-values.html delete mode 100644 3.x/logging-interceptor/deprecated-list.html delete mode 100644 3.x/logging-interceptor/help-doc.html delete mode 100644 3.x/logging-interceptor/index-all.html delete mode 100644 3.x/logging-interceptor/index.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Level.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Logger.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/LoggingEventListener.Factory.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/LoggingEventListener.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Level.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Logger.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/class-use/LoggingEventListener.Factory.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/class-use/LoggingEventListener.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/package-frame.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/package-summary.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/package-tree.html delete mode 100644 3.x/logging-interceptor/okhttp3/logging/package-use.html delete mode 100644 3.x/logging-interceptor/overview-tree.html delete mode 100644 3.x/logging-interceptor/package-list delete mode 100644 3.x/logging-interceptor/script.js delete mode 100644 3.x/logging-interceptor/stylesheet.css delete mode 100644 3.x/logging-interceptor/version.txt delete mode 100644 3.x/mockwebserver/META-INF/MANIFEST.MF delete mode 100644 3.x/mockwebserver/allclasses-frame.html delete mode 100644 3.x/mockwebserver/allclasses-noframe.html delete mode 100644 3.x/mockwebserver/constant-values.html delete mode 100644 3.x/mockwebserver/deprecated-list.html delete mode 100644 3.x/mockwebserver/help-doc.html delete mode 100644 3.x/mockwebserver/index-all.html delete mode 100644 3.x/mockwebserver/index.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/HeldCertificate.Builder.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/HeldCertificate.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/SslContextBuilder.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/class-use/HeldCertificate.Builder.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/class-use/HeldCertificate.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/class-use/SslContextBuilder.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/duplex/MwsDuplexAccess.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/duplex/class-use/MwsDuplexAccess.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/duplex/package-frame.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/duplex/package-summary.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/duplex/package-tree.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/duplex/package-use.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/framed/FramedServer.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/framed/class-use/FramedServer.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/framed/package-frame.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/framed/package-summary.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/framed/package-tree.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/framed/package-use.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/http2/Http2Server.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/http2/class-use/Http2Server.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/http2/package-frame.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/http2/package-summary.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/http2/package-tree.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/http2/package-use.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/package-frame.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/package-summary.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/package-tree.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/package-use.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/tls/HeldCertificate.Builder.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/tls/HeldCertificate.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/tls/SslClient.Builder.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/tls/SslClient.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/tls/class-use/HeldCertificate.Builder.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/tls/class-use/HeldCertificate.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/tls/class-use/SslClient.Builder.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/tls/class-use/SslClient.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/tls/package-frame.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/tls/package-summary.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/tls/package-tree.html delete mode 100644 3.x/mockwebserver/okhttp3/internal/tls/package-use.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/Dispatcher.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/MockResponse.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/MockWebServer.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/PushPromise.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/QueueDispatcher.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/RecordedRequest.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/SocketPolicy.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/Dispatcher.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/MockResponse.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/MockWebServer.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/PushPromise.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/QueueDispatcher.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/RecordedRequest.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/SocketPolicy.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/DuplexResponseBody.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/MockDuplexResponseBody.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/class-use/DuplexResponseBody.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/class-use/MockDuplexResponseBody.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-frame.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-summary.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-tree.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-use.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/Http2Server.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/class-use/Http2Server.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-frame.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-summary.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-tree.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-use.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/HeldCertificate.Builder.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/HeldCertificate.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/SslClient.Builder.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/SslClient.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/HeldCertificate.Builder.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/HeldCertificate.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/SslClient.Builder.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/SslClient.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-frame.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-summary.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-tree.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-use.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/package-frame.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/package-summary.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/package-tree.html delete mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/package-use.html delete mode 100644 3.x/mockwebserver/overview-frame.html delete mode 100644 3.x/mockwebserver/overview-summary.html delete mode 100644 3.x/mockwebserver/overview-tree.html delete mode 100644 3.x/mockwebserver/package-list delete mode 100644 3.x/mockwebserver/script.js delete mode 100644 3.x/mockwebserver/stylesheet.css delete mode 100644 3.x/mockwebserver/version.txt delete mode 100644 3.x/okcurl/META-INF/MANIFEST.MF delete mode 100644 3.x/okcurl/allclasses-frame.html delete mode 100644 3.x/okcurl/allclasses-noframe.html delete mode 100644 3.x/okcurl/constant-values.html delete mode 100644 3.x/okcurl/deprecated-list.html delete mode 100644 3.x/okcurl/help-doc.html delete mode 100644 3.x/okcurl/index-all.html delete mode 100644 3.x/okcurl/index.html delete mode 100644 3.x/okcurl/okhttp3/curl/Main.html delete mode 100644 3.x/okcurl/okhttp3/curl/class-use/Main.html delete mode 100644 3.x/okcurl/okhttp3/curl/package-frame.html delete mode 100644 3.x/okcurl/okhttp3/curl/package-summary.html delete mode 100644 3.x/okcurl/okhttp3/curl/package-tree.html delete mode 100644 3.x/okcurl/okhttp3/curl/package-use.html delete mode 100644 3.x/okcurl/overview-tree.html delete mode 100644 3.x/okcurl/package-list delete mode 100644 3.x/okcurl/script.js delete mode 100644 3.x/okcurl/stylesheet.css delete mode 100644 3.x/okcurl/version.txt delete mode 100644 3.x/okhttp-android-support/META-INF/MANIFEST.MF delete mode 100644 3.x/okhttp-android-support/allclasses-frame.html delete mode 100644 3.x/okhttp-android-support/allclasses-noframe.html delete mode 100644 3.x/okhttp-android-support/constant-values.html delete mode 100644 3.x/okhttp-android-support/deprecated-list.html delete mode 100644 3.x/okhttp-android-support/help-doc.html delete mode 100644 3.x/okhttp-android-support/index-all.html delete mode 100644 3.x/okhttp-android-support/index.html delete mode 100644 3.x/okhttp-android-support/okhttp3/AndroidInternal.html delete mode 100644 3.x/okhttp-android-support/okhttp3/AndroidShimResponseCache.html delete mode 100644 3.x/okhttp-android-support/okhttp3/OkCacheContainer.html delete mode 100644 3.x/okhttp-android-support/okhttp3/class-use/AndroidInternal.html delete mode 100644 3.x/okhttp-android-support/okhttp3/class-use/AndroidShimResponseCache.html delete mode 100644 3.x/okhttp-android-support/okhttp3/class-use/OkCacheContainer.html delete mode 100644 3.x/okhttp-android-support/okhttp3/package-frame.html delete mode 100644 3.x/okhttp-android-support/okhttp3/package-summary.html delete mode 100644 3.x/okhttp-android-support/okhttp3/package-tree.html delete mode 100644 3.x/okhttp-android-support/okhttp3/package-use.html delete mode 100644 3.x/okhttp-android-support/overview-tree.html delete mode 100644 3.x/okhttp-android-support/package-list delete mode 100644 3.x/okhttp-android-support/script.js delete mode 100644 3.x/okhttp-android-support/stylesheet.css delete mode 100644 3.x/okhttp-android-support/version.txt delete mode 100644 3.x/okhttp-apache/META-INF/MANIFEST.MF delete mode 100644 3.x/okhttp-apache/allclasses-frame.html delete mode 100644 3.x/okhttp-apache/allclasses-noframe.html delete mode 100644 3.x/okhttp-apache/constant-values.html delete mode 100644 3.x/okhttp-apache/deprecated-list.html delete mode 100644 3.x/okhttp-apache/help-doc.html delete mode 100644 3.x/okhttp-apache/index-all.html delete mode 100644 3.x/okhttp-apache/index.html delete mode 100644 3.x/okhttp-apache/okhttp3/apache/OkApacheClient.html delete mode 100644 3.x/okhttp-apache/okhttp3/apache/class-use/OkApacheClient.html delete mode 100644 3.x/okhttp-apache/okhttp3/apache/package-frame.html delete mode 100644 3.x/okhttp-apache/okhttp3/apache/package-summary.html delete mode 100644 3.x/okhttp-apache/okhttp3/apache/package-tree.html delete mode 100644 3.x/okhttp-apache/okhttp3/apache/package-use.html delete mode 100644 3.x/okhttp-apache/overview-tree.html delete mode 100644 3.x/okhttp-apache/package-list delete mode 100644 3.x/okhttp-apache/script.js delete mode 100644 3.x/okhttp-apache/stylesheet.css delete mode 100644 3.x/okhttp-apache/version.txt delete mode 100644 3.x/okhttp-dnsoverhttps/META-INF/MANIFEST.MF delete mode 100644 3.x/okhttp-dnsoverhttps/allclasses-frame.html delete mode 100644 3.x/okhttp-dnsoverhttps/allclasses-noframe.html delete mode 100644 3.x/okhttp-dnsoverhttps/constant-values.html delete mode 100644 3.x/okhttp-dnsoverhttps/deprecated-list.html delete mode 100644 3.x/okhttp-dnsoverhttps/help-doc.html delete mode 100644 3.x/okhttp-dnsoverhttps/index-all.html delete mode 100644 3.x/okhttp-dnsoverhttps/index.html delete mode 100644 3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/DnsOverHttps.Builder.html delete mode 100644 3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/DnsOverHttps.html delete mode 100644 3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/class-use/DnsOverHttps.Builder.html delete mode 100644 3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/class-use/DnsOverHttps.html delete mode 100644 3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-frame.html delete mode 100644 3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-summary.html delete mode 100644 3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-tree.html delete mode 100644 3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-use.html delete mode 100644 3.x/okhttp-dnsoverhttps/overview-tree.html delete mode 100644 3.x/okhttp-dnsoverhttps/package-list delete mode 100644 3.x/okhttp-dnsoverhttps/script.js delete mode 100644 3.x/okhttp-dnsoverhttps/stylesheet.css delete mode 100644 3.x/okhttp-dnsoverhttps/version.txt delete mode 100644 3.x/okhttp-sse/META-INF/MANIFEST.MF delete mode 100644 3.x/okhttp-sse/allclasses-frame.html delete mode 100644 3.x/okhttp-sse/allclasses-noframe.html delete mode 100644 3.x/okhttp-sse/constant-values.html delete mode 100644 3.x/okhttp-sse/deprecated-list.html delete mode 100644 3.x/okhttp-sse/help-doc.html delete mode 100644 3.x/okhttp-sse/index-all.html delete mode 100644 3.x/okhttp-sse/index.html delete mode 100644 3.x/okhttp-sse/okhttp3/internal/sse/RealEventSource.html delete mode 100644 3.x/okhttp-sse/okhttp3/internal/sse/ServerSentEventReader.Callback.html delete mode 100644 3.x/okhttp-sse/okhttp3/internal/sse/ServerSentEventReader.html delete mode 100644 3.x/okhttp-sse/okhttp3/internal/sse/class-use/RealEventSource.html delete mode 100644 3.x/okhttp-sse/okhttp3/internal/sse/class-use/ServerSentEventReader.Callback.html delete mode 100644 3.x/okhttp-sse/okhttp3/internal/sse/class-use/ServerSentEventReader.html delete mode 100644 3.x/okhttp-sse/okhttp3/internal/sse/package-frame.html delete mode 100644 3.x/okhttp-sse/okhttp3/internal/sse/package-summary.html delete mode 100644 3.x/okhttp-sse/okhttp3/internal/sse/package-tree.html delete mode 100644 3.x/okhttp-sse/okhttp3/internal/sse/package-use.html delete mode 100644 3.x/okhttp-sse/okhttp3/sse/EventSource.Factory.html delete mode 100644 3.x/okhttp-sse/okhttp3/sse/EventSource.html delete mode 100644 3.x/okhttp-sse/okhttp3/sse/EventSourceListener.html delete mode 100644 3.x/okhttp-sse/okhttp3/sse/EventSources.html delete mode 100644 3.x/okhttp-sse/okhttp3/sse/class-use/EventSource.Factory.html delete mode 100644 3.x/okhttp-sse/okhttp3/sse/class-use/EventSource.html delete mode 100644 3.x/okhttp-sse/okhttp3/sse/class-use/EventSourceListener.html delete mode 100644 3.x/okhttp-sse/okhttp3/sse/class-use/EventSources.html delete mode 100644 3.x/okhttp-sse/okhttp3/sse/package-frame.html delete mode 100644 3.x/okhttp-sse/okhttp3/sse/package-summary.html delete mode 100644 3.x/okhttp-sse/okhttp3/sse/package-tree.html delete mode 100644 3.x/okhttp-sse/okhttp3/sse/package-use.html delete mode 100644 3.x/okhttp-sse/overview-frame.html delete mode 100644 3.x/okhttp-sse/overview-summary.html delete mode 100644 3.x/okhttp-sse/overview-tree.html delete mode 100644 3.x/okhttp-sse/package-list delete mode 100644 3.x/okhttp-sse/script.js delete mode 100644 3.x/okhttp-sse/stylesheet.css delete mode 100644 3.x/okhttp-sse/version.txt delete mode 100644 3.x/okhttp-testing-support/META-INF/MANIFEST.MF delete mode 100644 3.x/okhttp-testing-support/allclasses-frame.html delete mode 100644 3.x/okhttp-testing-support/allclasses-noframe.html delete mode 100644 3.x/okhttp-testing-support/constant-values.html delete mode 100644 3.x/okhttp-testing-support/deprecated-list.html delete mode 100644 3.x/okhttp-testing-support/help-doc.html delete mode 100644 3.x/okhttp-testing-support/index-all.html delete mode 100644 3.x/okhttp-testing-support/index.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/FakeDns.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/FakeProxySelector.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/FakeSSLSession.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/ForwardingRequestBody.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/ForwardingResponseBody.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/OkHttpClientTestRule.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/RecordingCookieJar.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/RecordingHostnameVerifier.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/TestUtil.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/UppercaseRequestInterceptor.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/UppercaseResponseInterceptor.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/class-use/FakeDns.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/class-use/FakeProxySelector.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/class-use/FakeSSLSession.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/class-use/ForwardingRequestBody.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/class-use/ForwardingResponseBody.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/class-use/OkHttpClientTestRule.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/class-use/RecordingCookieJar.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/class-use/RecordingHostnameVerifier.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/class-use/TestUtil.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/class-use/UppercaseRequestInterceptor.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/class-use/UppercaseResponseInterceptor.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/internal/duplex/AsyncRequestBody.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/internal/duplex/class-use/AsyncRequestBody.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/internal/duplex/package-frame.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/internal/duplex/package-summary.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/internal/duplex/package-tree.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/internal/duplex/package-use.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/internal/io/InMemoryFileSystem.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/internal/io/class-use/InMemoryFileSystem.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/internal/io/package-frame.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/internal/io/package-summary.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/internal/io/package-tree.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/internal/io/package-use.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/package-frame.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/package-summary.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/package-tree.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/package-use.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/testing/InstallUncaughtExceptionHandlerListener.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/testing/RecordingHostnameVerifier.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/testing/class-use/InstallUncaughtExceptionHandlerListener.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/testing/class-use/RecordingHostnameVerifier.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/testing/package-frame.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/testing/package-summary.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/testing/package-tree.html delete mode 100644 3.x/okhttp-testing-support/okhttp3/testing/package-use.html delete mode 100644 3.x/okhttp-testing-support/overview-frame.html delete mode 100644 3.x/okhttp-testing-support/overview-summary.html delete mode 100644 3.x/okhttp-testing-support/overview-tree.html delete mode 100644 3.x/okhttp-testing-support/package-list delete mode 100644 3.x/okhttp-testing-support/script.js delete mode 100644 3.x/okhttp-testing-support/stylesheet.css delete mode 100644 3.x/okhttp-testing-support/version.txt delete mode 100644 3.x/okhttp-tls/META-INF/MANIFEST.MF delete mode 100644 3.x/okhttp-tls/allclasses-frame.html delete mode 100644 3.x/okhttp-tls/allclasses-noframe.html delete mode 100644 3.x/okhttp-tls/constant-values.html delete mode 100644 3.x/okhttp-tls/deprecated-list.html delete mode 100644 3.x/okhttp-tls/help-doc.html delete mode 100644 3.x/okhttp-tls/index-all.html delete mode 100644 3.x/okhttp-tls/index.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/HandshakeCertificates.Builder.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/HandshakeCertificates.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/HeldCertificate.Builder.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/HeldCertificate.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/class-use/HandshakeCertificates.Builder.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/class-use/HandshakeCertificates.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/class-use/HeldCertificate.Builder.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/class-use/HeldCertificate.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/internal/TlsUtil.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/internal/class-use/TlsUtil.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/internal/package-frame.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/internal/package-summary.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/internal/package-tree.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/internal/package-use.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/package-frame.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/package-summary.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/package-tree.html delete mode 100644 3.x/okhttp-tls/okhttp3/tls/package-use.html delete mode 100644 3.x/okhttp-tls/overview-frame.html delete mode 100644 3.x/okhttp-tls/overview-summary.html delete mode 100644 3.x/okhttp-tls/overview-tree.html delete mode 100644 3.x/okhttp-tls/package-list delete mode 100644 3.x/okhttp-tls/script.js delete mode 100644 3.x/okhttp-tls/stylesheet.css delete mode 100644 3.x/okhttp-tls/version.txt delete mode 100644 3.x/okhttp-urlconnection/META-INF/MANIFEST.MF delete mode 100644 3.x/okhttp-urlconnection/allclasses-frame.html delete mode 100644 3.x/okhttp-urlconnection/allclasses-noframe.html delete mode 100644 3.x/okhttp-urlconnection/constant-values.html delete mode 100644 3.x/okhttp-urlconnection/deprecated-list.html delete mode 100644 3.x/okhttp-urlconnection/help-doc.html delete mode 100644 3.x/okhttp-urlconnection/index-all.html delete mode 100644 3.x/okhttp-urlconnection/index.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/JavaNetAuthenticator.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/JavaNetCookieJar.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/OkUrlFactory.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/class-use/JavaNetAuthenticator.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/class-use/JavaNetCookieJar.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/class-use/OkUrlFactory.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/JavaNetCookieJar.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/JavaNetHeaders.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/SystemPropertiesConnectionPool.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/class-use/JavaNetCookieJar.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/class-use/JavaNetHeaders.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/class-use/SystemPropertiesConnectionPool.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/package-frame.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/package-summary.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/package-tree.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/package-use.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/package-frame.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/package-summary.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/package-tree.html delete mode 100644 3.x/okhttp-urlconnection/okhttp3/package-use.html delete mode 100644 3.x/okhttp-urlconnection/overview-frame.html delete mode 100644 3.x/okhttp-urlconnection/overview-summary.html delete mode 100644 3.x/okhttp-urlconnection/overview-tree.html delete mode 100644 3.x/okhttp-urlconnection/package-list delete mode 100644 3.x/okhttp-urlconnection/script.js delete mode 100644 3.x/okhttp-urlconnection/stylesheet.css delete mode 100644 3.x/okhttp-urlconnection/version.txt delete mode 100644 3.x/okhttp-ws/META-INF/MANIFEST.MF delete mode 100644 3.x/okhttp-ws/allclasses-frame.html delete mode 100644 3.x/okhttp-ws/allclasses-noframe.html delete mode 100644 3.x/okhttp-ws/constant-values.html delete mode 100644 3.x/okhttp-ws/deprecated-list.html delete mode 100644 3.x/okhttp-ws/help-doc.html delete mode 100644 3.x/okhttp-ws/index-all.html delete mode 100644 3.x/okhttp-ws/index.html delete mode 100644 3.x/okhttp-ws/okhttp3/ws/WebSocket.html delete mode 100644 3.x/okhttp-ws/okhttp3/ws/WebSocketCall.html delete mode 100644 3.x/okhttp-ws/okhttp3/ws/WebSocketListener.html delete mode 100644 3.x/okhttp-ws/okhttp3/ws/class-use/WebSocket.html delete mode 100644 3.x/okhttp-ws/okhttp3/ws/class-use/WebSocketCall.html delete mode 100644 3.x/okhttp-ws/okhttp3/ws/class-use/WebSocketListener.html delete mode 100644 3.x/okhttp-ws/okhttp3/ws/package-frame.html delete mode 100644 3.x/okhttp-ws/okhttp3/ws/package-summary.html delete mode 100644 3.x/okhttp-ws/okhttp3/ws/package-tree.html delete mode 100644 3.x/okhttp-ws/okhttp3/ws/package-use.html delete mode 100644 3.x/okhttp-ws/overview-tree.html delete mode 100644 3.x/okhttp-ws/package-list delete mode 100644 3.x/okhttp-ws/script.js delete mode 100644 3.x/okhttp-ws/stylesheet.css delete mode 100644 3.x/okhttp-ws/version.txt delete mode 100644 3.x/okhttp/META-INF/MANIFEST.MF delete mode 100644 3.x/okhttp/allclasses-frame.html delete mode 100644 3.x/okhttp/allclasses-noframe.html delete mode 100644 3.x/okhttp/constant-values.html delete mode 100644 3.x/okhttp/deprecated-list.html delete mode 100644 3.x/okhttp/help-doc.html delete mode 100644 3.x/okhttp/index-all.html delete mode 100644 3.x/okhttp/index.html delete mode 100644 3.x/okhttp/okhttp3/Address.html delete mode 100644 3.x/okhttp/okhttp3/Authenticator.html delete mode 100644 3.x/okhttp/okhttp3/Cache.html delete mode 100644 3.x/okhttp/okhttp3/CacheControl.Builder.html delete mode 100644 3.x/okhttp/okhttp3/CacheControl.html delete mode 100644 3.x/okhttp/okhttp3/Call.Factory.html delete mode 100644 3.x/okhttp/okhttp3/Call.html delete mode 100644 3.x/okhttp/okhttp3/Callback.html delete mode 100644 3.x/okhttp/okhttp3/CertificatePinner.Builder.html delete mode 100644 3.x/okhttp/okhttp3/CertificatePinner.html delete mode 100644 3.x/okhttp/okhttp3/Challenge.html delete mode 100644 3.x/okhttp/okhttp3/CipherSuite.html delete mode 100644 3.x/okhttp/okhttp3/Connection.html delete mode 100644 3.x/okhttp/okhttp3/ConnectionPool.html delete mode 100644 3.x/okhttp/okhttp3/ConnectionSpec.Builder.html delete mode 100644 3.x/okhttp/okhttp3/ConnectionSpec.html delete mode 100644 3.x/okhttp/okhttp3/Cookie.Builder.html delete mode 100644 3.x/okhttp/okhttp3/Cookie.html delete mode 100644 3.x/okhttp/okhttp3/CookieJar.html delete mode 100644 3.x/okhttp/okhttp3/Credentials.html delete mode 100644 3.x/okhttp/okhttp3/Dispatcher.html delete mode 100644 3.x/okhttp/okhttp3/Dns.html delete mode 100644 3.x/okhttp/okhttp3/EventListener.Factory.html delete mode 100644 3.x/okhttp/okhttp3/EventListener.html delete mode 100644 3.x/okhttp/okhttp3/FormBody.Builder.html delete mode 100644 3.x/okhttp/okhttp3/FormBody.html delete mode 100644 3.x/okhttp/okhttp3/Handshake.html delete mode 100644 3.x/okhttp/okhttp3/Headers.Builder.html delete mode 100644 3.x/okhttp/okhttp3/Headers.html delete mode 100644 3.x/okhttp/okhttp3/HttpUrl.Builder.html delete mode 100644 3.x/okhttp/okhttp3/HttpUrl.html delete mode 100644 3.x/okhttp/okhttp3/Interceptor.Chain.html delete mode 100644 3.x/okhttp/okhttp3/Interceptor.html delete mode 100644 3.x/okhttp/okhttp3/MediaType.html delete mode 100644 3.x/okhttp/okhttp3/MultipartBody.Builder.html delete mode 100644 3.x/okhttp/okhttp3/MultipartBody.Part.html delete mode 100644 3.x/okhttp/okhttp3/MultipartBody.html delete mode 100644 3.x/okhttp/okhttp3/OkHttpClient.Builder.html delete mode 100644 3.x/okhttp/okhttp3/OkHttpClient.html delete mode 100644 3.x/okhttp/okhttp3/Protocol.html delete mode 100644 3.x/okhttp/okhttp3/Request.Builder.html delete mode 100644 3.x/okhttp/okhttp3/Request.html delete mode 100644 3.x/okhttp/okhttp3/RequestBody.html delete mode 100644 3.x/okhttp/okhttp3/Response.Builder.html delete mode 100644 3.x/okhttp/okhttp3/Response.html delete mode 100644 3.x/okhttp/okhttp3/ResponseBody.html delete mode 100644 3.x/okhttp/okhttp3/Route.html delete mode 100644 3.x/okhttp/okhttp3/TlsVersion.html delete mode 100644 3.x/okhttp/okhttp3/WebSocket.Factory.html delete mode 100644 3.x/okhttp/okhttp3/WebSocket.html delete mode 100644 3.x/okhttp/okhttp3/WebSocketListener.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Address.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Authenticator.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Cache.html delete mode 100644 3.x/okhttp/okhttp3/class-use/CacheControl.Builder.html delete mode 100644 3.x/okhttp/okhttp3/class-use/CacheControl.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Call.Factory.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Call.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Callback.html delete mode 100644 3.x/okhttp/okhttp3/class-use/CertificatePinner.Builder.html delete mode 100644 3.x/okhttp/okhttp3/class-use/CertificatePinner.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Challenge.html delete mode 100644 3.x/okhttp/okhttp3/class-use/CipherSuite.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Connection.html delete mode 100644 3.x/okhttp/okhttp3/class-use/ConnectionPool.html delete mode 100644 3.x/okhttp/okhttp3/class-use/ConnectionSpec.Builder.html delete mode 100644 3.x/okhttp/okhttp3/class-use/ConnectionSpec.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Cookie.Builder.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Cookie.html delete mode 100644 3.x/okhttp/okhttp3/class-use/CookieJar.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Credentials.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Dispatcher.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Dns.html delete mode 100644 3.x/okhttp/okhttp3/class-use/EventListener.Factory.html delete mode 100644 3.x/okhttp/okhttp3/class-use/EventListener.html delete mode 100644 3.x/okhttp/okhttp3/class-use/FormBody.Builder.html delete mode 100644 3.x/okhttp/okhttp3/class-use/FormBody.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Handshake.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Headers.Builder.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Headers.html delete mode 100644 3.x/okhttp/okhttp3/class-use/HttpUrl.Builder.html delete mode 100644 3.x/okhttp/okhttp3/class-use/HttpUrl.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Interceptor.Chain.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Interceptor.html delete mode 100644 3.x/okhttp/okhttp3/class-use/MediaType.html delete mode 100644 3.x/okhttp/okhttp3/class-use/MultipartBody.Builder.html delete mode 100644 3.x/okhttp/okhttp3/class-use/MultipartBody.Part.html delete mode 100644 3.x/okhttp/okhttp3/class-use/MultipartBody.html delete mode 100644 3.x/okhttp/okhttp3/class-use/OkHttpClient.Builder.html delete mode 100644 3.x/okhttp/okhttp3/class-use/OkHttpClient.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Protocol.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Request.Builder.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Request.html delete mode 100644 3.x/okhttp/okhttp3/class-use/RequestBody.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Response.Builder.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Response.html delete mode 100644 3.x/okhttp/okhttp3/class-use/ResponseBody.html delete mode 100644 3.x/okhttp/okhttp3/class-use/Route.html delete mode 100644 3.x/okhttp/okhttp3/class-use/TlsVersion.html delete mode 100644 3.x/okhttp/okhttp3/class-use/WebSocket.Factory.html delete mode 100644 3.x/okhttp/okhttp3/class-use/WebSocket.html delete mode 100644 3.x/okhttp/okhttp3/class-use/WebSocketListener.html delete mode 100644 3.x/okhttp/okhttp3/package-frame.html delete mode 100644 3.x/okhttp/okhttp3/package-summary.html delete mode 100644 3.x/okhttp/okhttp3/package-tree.html delete mode 100644 3.x/okhttp/okhttp3/package-use.html delete mode 100644 3.x/okhttp/overview-tree.html delete mode 100644 3.x/okhttp/package-list delete mode 100644 3.x/okhttp/script.js delete mode 100644 3.x/okhttp/stylesheet.css delete mode 100644 3.x/okhttp/version.txt diff --git a/1.x/benchmarks/META-INF/MANIFEST.MF b/1.x/benchmarks/META-INF/MANIFEST.MF deleted file mode 100644 index 7469129bc..000000000 --- a/1.x/benchmarks/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.7.0_51 - diff --git a/1.x/benchmarks/allclasses-frame.html b/1.x/benchmarks/allclasses-frame.html deleted file mode 100644 index c2a082ce0..000000000 --- a/1.x/benchmarks/allclasses-frame.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -All Classes (Benchmarks 1.6.0 API) - - - - -

All Classes

-
- -
- - diff --git a/1.x/benchmarks/allclasses-noframe.html b/1.x/benchmarks/allclasses-noframe.html deleted file mode 100644 index b3950a693..000000000 --- a/1.x/benchmarks/allclasses-noframe.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -All Classes (Benchmarks 1.6.0 API) - - - - -

All Classes

-
- -
- - diff --git a/1.x/benchmarks/com/squareup/okhttp/benchmarks/Benchmark.html b/1.x/benchmarks/com/squareup/okhttp/benchmarks/Benchmark.html deleted file mode 100644 index dcb461b98..000000000 --- a/1.x/benchmarks/com/squareup/okhttp/benchmarks/Benchmark.html +++ /dev/null @@ -1,304 +0,0 @@ - - - - - - -Benchmark (Benchmarks 1.6.0 API) - - - - - - - -
- - - - - -
- - - -
-
com.squareup.okhttp.benchmarks
-

Class Benchmark

-
-
- -
-
    -
  • -
    -
    -
    public class Benchmark
    -extends com.google.caliper.Benchmark
    -
    This benchmark is fake, but may be useful for certain relative comparisons. - It uses a local connection to a MockWebServer to measure how many identical - requests per second can be carried over a fixed number of threads.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Benchmark

        -
        public Benchmark()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/benchmarks/com/squareup/okhttp/benchmarks/class-use/Benchmark.html b/1.x/benchmarks/com/squareup/okhttp/benchmarks/class-use/Benchmark.html deleted file mode 100644 index ec1e5e18c..000000000 --- a/1.x/benchmarks/com/squareup/okhttp/benchmarks/class-use/Benchmark.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.benchmarks.Benchmark (Benchmarks 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.squareup.okhttp.benchmarks.Benchmark

-
-
No usage of com.squareup.okhttp.benchmarks.Benchmark
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/benchmarks/com/squareup/okhttp/benchmarks/package-frame.html b/1.x/benchmarks/com/squareup/okhttp/benchmarks/package-frame.html deleted file mode 100644 index 165d99597..000000000 --- a/1.x/benchmarks/com/squareup/okhttp/benchmarks/package-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -com.squareup.okhttp.benchmarks (Benchmarks 1.6.0 API) - - - - -

com.squareup.okhttp.benchmarks

-
-

Classes

- -
- - diff --git a/1.x/benchmarks/com/squareup/okhttp/benchmarks/package-summary.html b/1.x/benchmarks/com/squareup/okhttp/benchmarks/package-summary.html deleted file mode 100644 index 11eb174a6..000000000 --- a/1.x/benchmarks/com/squareup/okhttp/benchmarks/package-summary.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - -com.squareup.okhttp.benchmarks (Benchmarks 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Package com.squareup.okhttp.benchmarks

-
-
- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/benchmarks/com/squareup/okhttp/benchmarks/package-tree.html b/1.x/benchmarks/com/squareup/okhttp/benchmarks/package-tree.html deleted file mode 100644 index e9b78479b..000000000 --- a/1.x/benchmarks/com/squareup/okhttp/benchmarks/package-tree.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -com.squareup.okhttp.benchmarks Class Hierarchy (Benchmarks 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.squareup.okhttp.benchmarks

-
-
-

Class Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/benchmarks/com/squareup/okhttp/benchmarks/package-use.html b/1.x/benchmarks/com/squareup/okhttp/benchmarks/package-use.html deleted file mode 100644 index 7371f31a6..000000000 --- a/1.x/benchmarks/com/squareup/okhttp/benchmarks/package-use.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.benchmarks (Benchmarks 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.squareup.okhttp.benchmarks

-
-
No usage of com.squareup.okhttp.benchmarks
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/benchmarks/constant-values.html b/1.x/benchmarks/constant-values.html deleted file mode 100644 index 724233bd7..000000000 --- a/1.x/benchmarks/constant-values.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Constant Field Values (Benchmarks 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Constant Field Values

-

Contents

-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/benchmarks/deprecated-list.html b/1.x/benchmarks/deprecated-list.html deleted file mode 100644 index 23b708089..000000000 --- a/1.x/benchmarks/deprecated-list.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Deprecated List (Benchmarks 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/benchmarks/help-doc.html b/1.x/benchmarks/help-doc.html deleted file mode 100644 index 9e0c82978..000000000 --- a/1.x/benchmarks/help-doc.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - -API Help (Benchmarks 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
- -This help file applies to API documentation generated using the standard doclet.
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/benchmarks/index-all.html b/1.x/benchmarks/index-all.html deleted file mode 100644 index dc475c564..000000000 --- a/1.x/benchmarks/index-all.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - -Index (Benchmarks 1.6.0 API) - - - - - - - -
- - - - - -
- - -
B C M R T  - - -

B

-
-
Benchmark - Class in com.squareup.okhttp.benchmarks
-
-
This benchmark is fake, but may be useful for certain relative comparisons.
-
-
Benchmark() - Constructor for class com.squareup.okhttp.benchmarks.Benchmark
-
 
-
- - - -

C

-
-
com.squareup.okhttp.benchmarks - package com.squareup.okhttp.benchmarks
-
 
-
- - - -

M

-
-
main(String[]) - Static method in class com.squareup.okhttp.benchmarks.Benchmark
-
 
-
- - - -

R

-
-
run() - Method in class com.squareup.okhttp.benchmarks.Benchmark
-
 
-
- - - -

T

-
-
toString() - Method in class com.squareup.okhttp.benchmarks.Benchmark
-
 
-
-B C M R T 
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/benchmarks/index.html b/1.x/benchmarks/index.html deleted file mode 100644 index 0f94102df..000000000 --- a/1.x/benchmarks/index.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - -Benchmarks 1.6.0 API - - - - - - -<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/benchmarks/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/1.x/benchmarks/overview-tree.html b/1.x/benchmarks/overview-tree.html deleted file mode 100644 index a6c0ccc7c..000000000 --- a/1.x/benchmarks/overview-tree.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - -Class Hierarchy (Benchmarks 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/benchmarks/package-list b/1.x/benchmarks/package-list deleted file mode 100644 index 8caffeb9a..000000000 --- a/1.x/benchmarks/package-list +++ /dev/null @@ -1 +0,0 @@ -com.squareup.okhttp.benchmarks diff --git a/1.x/benchmarks/resources/background.gif b/1.x/benchmarks/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}n_%Pq%(e+H~mGqhq5kv4Mo|-n~g|7!F*xZ{xv< zCpXS~dGg^IGK?4@J-T%b(XnUHFul6n<@2&4)zzyO2) z3Q8`i0+UKY*`$}e9mmp;tg*))`|PsK1|hAo%u0K$vDwm4gaSkm0j{`26k#qAKmbuhxZ#cquDR>B zD{s8+&TH-uNg$C#68QG}1HMBHfrP&L@@w$F_!itRzXdCN@V|LDAu%3!IDtq1#1UV7 z#1RxvT=B(DWbCoU5l=ia$Pp`Hgb_?Mp@hmtxZDI2N-)v#$}PXVvdm1d>@v(v`0TUJ zF)Pu89(q`zv=w^nVTIF3@3BYIPA}c`(@ZCAwbNBEt@PDUKe5CTR8aB66IE1!w%Amt zy+jpcn~k>GZpVFg+H6x{_uOksvBlq0OyT$6TyQZ37k(cOxZr|JEx1sGm<(M9gH z-~PMqyn|tT=))UN`|-FFFUA#KToK0fUOaz=7}Z~KeHhVC&%O27cTfHQ^WBU8z4p&T zp#>D|V}XShTD;Hx745Iz{`>K-Z$A|7!*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niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/1.x/benchmarks/stylesheet.css b/1.x/benchmarks/stylesheet.css deleted file mode 100644 index 0aeaa97fe..000000000 --- a/1.x/benchmarks/stylesheet.css +++ /dev/null @@ -1,474 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ -body { - background-color:#ffffff; - color:#353833; - font-family:Arial, Helvetica, sans-serif; - font-size:76%; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4c6b87; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4c6b87; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-size:1.3em; -} -h1 { - font-size:1.8em; -} -h2 { - font-size:1.5em; -} -h3 { - font-size:1.4em; -} -h4 { - font-size:1.3em; -} -h5 { - font-size:1.2em; -} -h6 { - font-size:1.1em; -} -ul { - list-style-type:disc; -} -code, tt { - font-size:1.2em; -} -dt code { - font-size:1.2em; -} -table tr td dt code { - font-size:1.2em; - vertical-align:top; -} -sup { - font-size:.6em; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:.8em; - z-index:200; - margin-top:-7px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - background-image:url(resources/titlebar.gif); - background-position:left top; - background-repeat:no-repeat; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:1em; - margin:0; -} -.topNav { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.bottomNav { - margin-top:10px; - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.subNav { - background-color:#dee3e9; - border-bottom:1px solid #9eadc0; - float:left; - width:100%; - overflow:hidden; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding:3px 6px; -} -ul.subNavList li{ - list-style:none; - float:left; - font-size:90%; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; -} -.navBarCell1Rev { - background-image:url(resources/tab.gif); - background-color:#a88834; - color:#FFFFFF; - margin: auto 5px; - border:1px solid #c9aa44; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader h1 { - font-size:1.3em; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 25px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:1.2em; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:1.0em; -} -.indexContainer h2 { - font-size:1.1em; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:1.1em; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:10px 0 10px 20px; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:25px; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #9eadc0; - background-color:#f9f9f9; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:1px solid #9eadc0; - border-top:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; - border-bottom:1px solid #9eadc0; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.contentContainer table, .classUseContainer table, .constantValuesContainer table { - border-bottom:1px solid #9eadc0; - width:100%; -} -.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { - width:100%; -} -.contentContainer .description table, .contentContainer .details table { - border-bottom:none; -} -.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ - vertical-align:top; - padding-right:20px; -} -.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, -.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, -.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, -.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { - padding-right:3px; -} -.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#FFFFFF; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - margin:0px; -} -caption a:link, caption a:hover, caption a:active, caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { - white-space:nowrap; - padding-top:8px; - padding-left:8px; - display:block; - float:left; - background-image:url(resources/titlebar.gif); - height:18px; -} -.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { - width:10px; - background-image:url(resources/titlebar_end.gif); - background-repeat:no-repeat; - background-position:top right; - position:relative; - float:left; -} -ul.blockList ul.blockList li.blockList table { - margin:0 0 12px 0px; - width:100%; -} -.tableSubHeadingColor { - background-color: #EEEEFF; -} -.altColor { - background-color:#eeeeef; -} -.rowColor { - background-color:#ffffff; -} -.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { - text-align:left; - padding:3px 3px 3px 7px; -} -th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { - background:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - text-align:left; - padding:3px 3px 3px 7px; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -td.colFirst, th.colFirst { - border-left:1px solid #9eadc0; - white-space:nowrap; -} -td.colLast, th.colLast { - border-right:1px solid #9eadc0; -} -td.colOne, th.colOne { - border-right:1px solid #9eadc0; - border-left:1px solid #9eadc0; -} -table.overviewSummary { - padding:0px; - margin-left:0px; -} -table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, -table.overviewSummary td.colOne, table.overviewSummary th.colOne { - width:25%; - vertical-align:middle; -} -table.packageSummary td.colFirst, table.overviewSummary th.colFirst { - width:25%; - vertical-align:middle; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:.9em; -} -.block { - display:block; - margin:3px 0 0 0; -} -.strong { - font-weight:bold; -} diff --git a/1.x/benchmarks/version.txt b/1.x/benchmarks/version.txt deleted file mode 100644 index ce6a70b9d..000000000 --- a/1.x/benchmarks/version.txt +++ /dev/null @@ -1 +0,0 @@ -1.6.0 \ No newline at end of file diff --git a/1.x/mockwebserver/META-INF/MANIFEST.MF b/1.x/mockwebserver/META-INF/MANIFEST.MF deleted file mode 100644 index 7469129bc..000000000 --- a/1.x/mockwebserver/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.7.0_51 - diff --git a/1.x/mockwebserver/allclasses-frame.html b/1.x/mockwebserver/allclasses-frame.html deleted file mode 100644 index d495346c4..000000000 --- a/1.x/mockwebserver/allclasses-frame.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - -All Classes (MockWebServer 1.6.0 API) - - - - -

All Classes

- - - diff --git a/1.x/mockwebserver/allclasses-noframe.html b/1.x/mockwebserver/allclasses-noframe.html deleted file mode 100644 index cfdb62a9a..000000000 --- a/1.x/mockwebserver/allclasses-noframe.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - -All Classes (MockWebServer 1.6.0 API) - - - - -

All Classes

- - - diff --git a/1.x/mockwebserver/com/squareup/okhttp/internal/SslContextBuilder.html b/1.x/mockwebserver/com/squareup/okhttp/internal/SslContextBuilder.html deleted file mode 100644 index 18b5ffcf2..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/internal/SslContextBuilder.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - -SslContextBuilder (MockWebServer 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal
-

Class SslContextBuilder

-
-
- -
-
    -
  • -
    -
    -
    public final class SslContextBuilder
    -extends Object
    -
    Constructs an SSL context for testing. This uses Bouncy Castle to generate a - self-signed certificate for a single hostname such as "localhost". - -

    The crypto performed by this class is relatively slow. Clients should - reuse SSL context instances where possible.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SslContextBuilder

        -
        public SslContextBuilder(String hostName)
        -
        Parameters:
        hostName - the subject of the host. For TLS this should be the - domain name that the client uses to identify the server.
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/internal/class-use/SslContextBuilder.html b/1.x/mockwebserver/com/squareup/okhttp/internal/class-use/SslContextBuilder.html deleted file mode 100644 index 84171ee53..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/internal/class-use/SslContextBuilder.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.SslContextBuilder (MockWebServer 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.SslContextBuilder

-
-
No usage of com.squareup.okhttp.internal.SslContextBuilder
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/internal/package-frame.html b/1.x/mockwebserver/com/squareup/okhttp/internal/package-frame.html deleted file mode 100644 index cd11a15d0..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/internal/package-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -com.squareup.okhttp.internal (MockWebServer 1.6.0 API) - - - - -

com.squareup.okhttp.internal

-
-

Classes

- -
- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/internal/package-summary.html b/1.x/mockwebserver/com/squareup/okhttp/internal/package-summary.html deleted file mode 100644 index 6ebcd3d0c..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/internal/package-summary.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - -com.squareup.okhttp.internal (MockWebServer 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Package com.squareup.okhttp.internal

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    SslContextBuilder -
    Constructs an SSL context for testing.
    -
    -
  • -
-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/internal/package-tree.html b/1.x/mockwebserver/com/squareup/okhttp/internal/package-tree.html deleted file mode 100644 index 5852a5bfb..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/internal/package-tree.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - -com.squareup.okhttp.internal Class Hierarchy (MockWebServer 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.squareup.okhttp.internal

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/internal/package-use.html b/1.x/mockwebserver/com/squareup/okhttp/internal/package-use.html deleted file mode 100644 index ae3a76078..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/internal/package-use.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.internal (MockWebServer 1.6.0 API) - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.internal

-
-
No usage of com.squareup.okhttp.internal
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/SpdyServer.html b/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/SpdyServer.html deleted file mode 100644 index 84093c3f2..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/SpdyServer.html +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - -SpdyServer (MockWebServer 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal.spdy
-

Class SpdyServer

-
-
- -
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/class-use/SpdyServer.html b/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/class-use/SpdyServer.html deleted file mode 100644 index b1be0423f..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/class-use/SpdyServer.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.spdy.SpdyServer (MockWebServer 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.spdy.SpdyServer

-
-
No usage of com.squareup.okhttp.internal.spdy.SpdyServer
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-frame.html b/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-frame.html deleted file mode 100644 index 8242db67a..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -com.squareup.okhttp.internal.spdy (MockWebServer 1.6.0 API) - - - - -

com.squareup.okhttp.internal.spdy

-
-

Classes

- -
- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-summary.html b/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-summary.html deleted file mode 100644 index 0741ab50c..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-summary.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - -com.squareup.okhttp.internal.spdy (MockWebServer 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Package com.squareup.okhttp.internal.spdy

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    SpdyServer -
    A basic SPDY server that serves the contents of a local directory.
    -
    -
  • -
-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-tree.html b/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-tree.html deleted file mode 100644 index 2f190f13b..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-tree.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - -com.squareup.okhttp.internal.spdy Class Hierarchy (MockWebServer 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.squareup.okhttp.internal.spdy

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-use.html b/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-use.html deleted file mode 100644 index e3fa374f6..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/internal/spdy/package-use.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.internal.spdy (MockWebServer 1.6.0 API) - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.internal.spdy

-
-
No usage of com.squareup.okhttp.internal.spdy
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/Dispatcher.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/Dispatcher.html deleted file mode 100644 index ce83c9c72..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/Dispatcher.html +++ /dev/null @@ -1,289 +0,0 @@ - - - - - - - -Dispatcher (MockWebServer 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Class Dispatcher

-
-
- -
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    QueueDispatcher
    -
    -
    -
    -
    public abstract class Dispatcher
    -extends Object
    -
    Handler for mock server requests.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Dispatcher

        -
        public Dispatcher()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockResponse.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockResponse.html deleted file mode 100644 index 8f20eb7d8..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockResponse.html +++ /dev/null @@ -1,689 +0,0 @@ - - - - - - - -MockResponse (MockWebServer 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Class MockResponse

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Cloneable
    -
    -
    -
    -
    public final class MockResponse
    -extends Object
    -implements Cloneable
    -
    A scripted response to be replayed by the mock web server.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MockResponse

        -
        public MockResponse()
        -
        Creates a new mock response with an empty body.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        getStatus

        -
        public String getStatus()
        -
        Returns the HTTP response line, such as "HTTP/1.1 200 OK".
        -
      • -
      - - - -
        -
      • -

        setResponseCode

        -
        public MockResponse setResponseCode(int code)
        -
      • -
      - - - - - - - -
        -
      • -

        getHeaders

        -
        public List<String> getHeaders()
        -
        Returns the HTTP headers, such as "Content-Length: 0".
        -
      • -
      - - - -
        -
      • -

        clearHeaders

        -
        public MockResponse clearHeaders()
        -
        Removes all HTTP headers including any "Content-Length" and - "Transfer-encoding" headers that were added by default.
        -
      • -
      - - - -
        -
      • -

        addHeader

        -
        public MockResponse addHeader(String header)
        -
        Adds header as an HTTP header. For well-formed HTTP header - should contain a name followed by a colon and a value.
        -
      • -
      - - - -
        -
      • -

        addHeader

        -
        public MockResponse addHeader(String name,
        -                     Object value)
        -
        Adds a new header with the name and value. This may be used to add multiple - headers with the same name.
        -
      • -
      - - - -
        -
      • -

        setHeader

        -
        public MockResponse setHeader(String name,
        -                     Object value)
        -
        Removes all headers named name, then adds a new header with the - name and value.
        -
      • -
      - - - -
        -
      • -

        removeHeader

        -
        public MockResponse removeHeader(String name)
        -
        Removes all headers named name.
        -
      • -
      - - - -
        -
      • -

        getBody

        -
        public byte[] getBody()
        -
        Returns the raw HTTP payload, or null if this response is streamed.
        -
      • -
      - - - -
        -
      • -

        setBody

        -
        public MockResponse setBody(byte[] body)
        -
      • -
      - - - - - - - -
        -
      • -

        setBody

        -
        public MockResponse setBody(String body)
        -
        Sets the response body to the UTF-8 encoded bytes of body.
        -
      • -
      - - - -
        -
      • -

        setChunkedBody

        -
        public MockResponse setChunkedBody(byte[] body,
        -                          int maxChunkSize)
        -
        Sets the response body to body, chunked every maxChunkSize - bytes.
        -
      • -
      - - - -
        -
      • -

        setChunkedBody

        -
        public MockResponse setChunkedBody(String body,
        -                          int maxChunkSize)
        -
        Sets the response body to the UTF-8 encoded bytes of body, chunked - every maxChunkSize bytes.
        -
      • -
      - - - -
        -
      • -

        getSocketPolicy

        -
        public SocketPolicy getSocketPolicy()
        -
      • -
      - - - - - - - -
        -
      • -

        throttleBody

        -
        public MockResponse throttleBody(int bytesPerPeriod,
        -                        long period,
        -                        TimeUnit unit)
        -
        Throttles the response body writer to sleep for the given period after each - series of bytesPerPeriod bytes are written. Use this to simulate - network behavior.
        -
      • -
      - - - -
        -
      • -

        getThrottleBytesPerPeriod

        -
        public int getThrottleBytesPerPeriod()
        -
      • -
      - - - -
        -
      • -

        getThrottlePeriod

        -
        public long getThrottlePeriod()
        -
      • -
      - - - -
        -
      • -

        getThrottleUnit

        -
        public TimeUnit getThrottleUnit()
        -
      • -
      - - - -
        -
      • -

        setBodyDelayTimeMs

        -
        public MockResponse setBodyDelayTimeMs(int delay)
        -
        Set the delayed time of the response body to delay. This applies to the - response body only; response headers are not affected.
        -
      • -
      - - - -
        -
      • -

        getBodyDelayTimeMs

        -
        public int getBodyDelayTimeMs()
        -
      • -
      - - - -
        -
      • -

        withPush

        -
        public MockResponse withPush(PushPromise promise)
        -
        When protocols - include a SPDY variant, this attaches a pushed stream to this response.
        -
      • -
      - - - -
        -
      • -

        getPushPromises

        -
        public List<PushPromise> getPushPromises()
        -
        Returns the streams the server will push with this response.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockWebServer.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockWebServer.html deleted file mode 100644 index 94d34753f..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockWebServer.html +++ /dev/null @@ -1,533 +0,0 @@ - - - - - - - -MockWebServer (MockWebServer 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Class MockWebServer

-
-
- -
-
    -
  • -
    -
    -
    public final class MockWebServer
    -extends Object
    -
    A scriptable web server. Callers supply canned responses and the server - replays them upon request in sequence.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MockWebServer

        -
        public MockWebServer()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getPort

        -
        public int getPort()
        -
      • -
      - - - -
        -
      • -

        getHostName

        -
        public String getHostName()
        -
      • -
      - - - -
        -
      • -

        toProxyAddress

        -
        public Proxy toProxyAddress()
        -
      • -
      - - - -
        -
      • -

        getUrl

        -
        public URL getUrl(String path)
        -
        Returns a URL for connecting to this server.
        -
        Parameters:
        path - the request path, such as "/".
        -
      • -
      - - - -
        -
      • -

        getCookieDomain

        -
        public String getCookieDomain()
        -
        Returns a cookie domain for this server. This returns the server's - non-loopback host name if it is known. Otherwise this returns ".local" for - this server's loopback name.
        -
      • -
      - - - -
        -
      • -

        setBodyLimit

        -
        public void setBodyLimit(int maxBodyLength)
        -
        Sets the number of bytes of the POST body to keep in memory to the given - limit.
        -
      • -
      - - - -
        -
      • -

        setNpnEnabled

        -
        public void setNpnEnabled(boolean npnEnabled)
        -
        Sets whether NPN is used on incoming HTTPS connections to negotiate a - protocol like HTTP/1.1 or SPDY/3. Call this method to disable NPN and - SPDY.
        -
      • -
      - - - -
        -
      • -

        setNpnProtocols

        -
        public void setNpnProtocols(List<Protocol> protocols)
        -
        Indicates the protocols supported by NPN on incoming HTTPS connections. - This list is ignored when npn is disabled.
        -
        Parameters:
        protocols - the protocols to use, in order of preference. The list - must contain "http/1.1". It must not contain null.
        -
      • -
      - - - -
        -
      • -

        useHttps

        -
        public void useHttps(SSLSocketFactory sslSocketFactory,
        -            boolean tunnelProxy)
        -
        Serve requests with HTTPS rather than otherwise.
        -
        Parameters:
        tunnelProxy - true to expect the HTTP CONNECT method before - negotiating TLS.
        -
      • -
      - - - - - - - -
        -
      • -

        getRequestCount

        -
        public int getRequestCount()
        -
        Returns the number of HTTP requests received thus far by this server. This - may exceed the number of HTTP connections when connection reuse is in - practice.
        -
      • -
      - - - -
        -
      • -

        enqueue

        -
        public void enqueue(MockResponse response)
        -
        Scripts response to be returned to a request made in sequence. The - first request is served by the first enqueued response; the second request - by the second enqueued response; and so on.
        -
        Throws:
        -
        ClassCastException - if the default dispatcher has been replaced - with setDispatcher(Dispatcher).
        -
      • -
      - - - - - - - -
        -
      • -

        play

        -
        public void play(int port)
        -          throws IOException
        -
        Starts the server, serves all enqueued requests, and shuts the server down.
        -
        Parameters:
        port - the port to listen to, or 0 for any available port. Automated - tests should always use port 0 to avoid flakiness when a specific port - is unavailable.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - - - - - -
        -
      • -

        setDispatcher

        -
        public void setDispatcher(Dispatcher dispatcher)
        -
        Sets the dispatcher used to match incoming requests to mock responses. - The default dispatcher simply serves a fixed sequence of responses from - a queue; custom dispatchers can vary the - response based on timing or the content of the request.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/PushPromise.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/PushPromise.html deleted file mode 100644 index f6f56085a..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/PushPromise.html +++ /dev/null @@ -1,304 +0,0 @@ - - - - - - -PushPromise (MockWebServer 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Class PushPromise

-
-
- -
-
    -
  • -
    -
    -
    public final class PushPromise
    -extends Object
    -
    An HTTP request initiated by the server.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/QueueDispatcher.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/QueueDispatcher.html deleted file mode 100644 index 5c51821cb..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/QueueDispatcher.html +++ /dev/null @@ -1,375 +0,0 @@ - - - - - - - -QueueDispatcher (MockWebServer 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Class QueueDispatcher

-
-
- -
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/RecordedRequest.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/RecordedRequest.html deleted file mode 100644 index cbdc30dde..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/RecordedRequest.html +++ /dev/null @@ -1,469 +0,0 @@ - - - - - - - -RecordedRequest (MockWebServer 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Class RecordedRequest

-
-
- -
-
    -
  • -
    -
    -
    public final class RecordedRequest
    -extends Object
    -
    An HTTP request that came into the mock web server.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RecordedRequest

        -
        public RecordedRequest(String requestLine,
        -               List<String> headers,
        -               List<Integer> chunkSizes,
        -               long bodySize,
        -               byte[] body,
        -               int sequenceNumber,
        -               Socket socket)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRequestLine

        -
        public String getRequestLine()
        -
      • -
      - - - -
        -
      • -

        getMethod

        -
        public String getMethod()
        -
      • -
      - - - -
        -
      • -

        getPath

        -
        public String getPath()
        -
      • -
      - - - -
        -
      • -

        getHeaders

        -
        public List<String> getHeaders()
        -
        Returns all headers.
        -
      • -
      - - - -
        -
      • -

        getHeader

        -
        public String getHeader(String name)
        -
        Returns the first header named name, or null if no such header - exists.
        -
      • -
      - - - -
        -
      • -

        getHeaders

        -
        public List<String> getHeaders(String name)
        -
        Returns the headers named name.
        -
      • -
      - - - -
        -
      • -

        getChunkSizes

        -
        public List<Integer> getChunkSizes()
        -
        Returns the sizes of the chunks of this request's body, or an empty list - if the request's body was empty or unchunked.
        -
      • -
      - - - -
        -
      • -

        getBodySize

        -
        public long getBodySize()
        -
        Returns the total size of the body of this POST request (before - truncation).
        -
      • -
      - - - -
        -
      • -

        getBody

        -
        public byte[] getBody()
        -
        Returns the body of this POST request. This may be truncated.
        -
      • -
      - - - -
        -
      • -

        getUtf8Body

        -
        public String getUtf8Body()
        -
        Returns the body of this POST request decoded as a UTF-8 string.
        -
      • -
      - - - -
        -
      • -

        getSequenceNumber

        -
        public int getSequenceNumber()
        -
        Returns the index of this request on its HTTP connection. Since a single - HTTP connection may serve multiple requests, each request is assigned its - own sequence number.
        -
      • -
      - - - -
        -
      • -

        getSslProtocol

        -
        public String getSslProtocol()
        -
        Returns the connection's SSL protocol like TLSv1, SSLv3, - NONE or null if the connection doesn't use SSL.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/SocketPolicy.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/SocketPolicy.html deleted file mode 100644 index b4bf2727e..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/SocketPolicy.html +++ /dev/null @@ -1,429 +0,0 @@ - - - - - - - -SocketPolicy (MockWebServer 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Enum SocketPolicy

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        KEEP_OPEN

        -
        public static final SocketPolicy KEEP_OPEN
        -
        Keep the socket open after the response. This is the default HTTP/1.1 - behavior.
        -
      • -
      - - - -
        -
      • -

        DISCONNECT_AT_END

        -
        public static final SocketPolicy DISCONNECT_AT_END
        -
        Close the socket after the response. This is the default HTTP/1.0 - behavior.
        -
      • -
      - - - -
        -
      • -

        UPGRADE_TO_SSL_AT_END

        -
        public static final SocketPolicy UPGRADE_TO_SSL_AT_END
        -
        Wrap the socket with SSL at the completion of this request/response pair. - Used for CONNECT messages to tunnel SSL over an HTTP proxy.
        -
      • -
      - - - -
        -
      • -

        DISCONNECT_AT_START

        -
        public static final SocketPolicy DISCONNECT_AT_START
        -
        Request immediate close of connection without even reading the request. Use - to simulate buggy SSL servers closing connections in response to - unrecognized TLS extensions.
        -
      • -
      - - - -
        -
      • -

        FAIL_HANDSHAKE

        -
        public static final SocketPolicy FAIL_HANDSHAKE
        -
        Don't trust the client during the SSL handshake.
        -
      • -
      - - - -
        -
      • -

        SHUTDOWN_INPUT_AT_END

        -
        public static final SocketPolicy SHUTDOWN_INPUT_AT_END
        -
        Shutdown the socket input after sending the response. For testing bad - behavior.
        -
      • -
      - - - -
        -
      • -

        SHUTDOWN_OUTPUT_AT_END

        -
        public static final SocketPolicy SHUTDOWN_OUTPUT_AT_END
        -
        Shutdown the socket output after sending the response. For testing bad - behavior.
        -
      • -
      - - - -
        -
      • -

        NO_RESPONSE

        -
        public static final SocketPolicy NO_RESPONSE
        -
        Don't response to the request but keep the socket open. For testing - read response header timeout issue.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static SocketPolicy[] values()
        -
        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: -
        -for (SocketPolicy c : SocketPolicy.values())
        -    System.out.println(c);
        -
        -
        Returns:
        an array containing the constants of this enum type, in -the order they are declared
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static SocketPolicy valueOf(String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        Parameters:
        name - the name of the enum constant to be returned.
        -
        Returns:
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant -with the specified name
        -
        NullPointerException - if the argument is null
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/Dispatcher.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/Dispatcher.html deleted file mode 100644 index 5ac88a2a3..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/Dispatcher.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.Dispatcher (MockWebServer 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.Dispatcher

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockResponse.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockResponse.html deleted file mode 100644 index 0ba62b574..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockResponse.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.MockResponse (MockWebServer 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.MockResponse

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockWebServer.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockWebServer.html deleted file mode 100644 index cb54e6600..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockWebServer.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.MockWebServer (MockWebServer 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.MockWebServer

-
-
No usage of com.squareup.okhttp.mockwebserver.MockWebServer
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/PushPromise.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/PushPromise.html deleted file mode 100644 index cb32a5e1f..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/PushPromise.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.PushPromise (MockWebServer 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.PushPromise

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/QueueDispatcher.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/QueueDispatcher.html deleted file mode 100644 index ce733eed4..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/QueueDispatcher.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.QueueDispatcher (MockWebServer 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.QueueDispatcher

-
-
No usage of com.squareup.okhttp.mockwebserver.QueueDispatcher
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/RecordedRequest.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/RecordedRequest.html deleted file mode 100644 index 4e7aa9765..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/RecordedRequest.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.RecordedRequest (MockWebServer 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.RecordedRequest

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/SocketPolicy.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/SocketPolicy.html deleted file mode 100644 index b66110630..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/SocketPolicy.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.SocketPolicy (MockWebServer 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.SocketPolicy

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-frame.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-frame.html deleted file mode 100644 index 1e20b9fb5..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-frame.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - -com.squareup.okhttp.mockwebserver (MockWebServer 1.6.0 API) - - - - -

com.squareup.okhttp.mockwebserver

- - - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-summary.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-summary.html deleted file mode 100644 index 2bfb8c0a7..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-summary.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -com.squareup.okhttp.mockwebserver (MockWebServer 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Package com.squareup.okhttp.mockwebserver

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Dispatcher -
    Handler for mock server requests.
    -
    MockResponse -
    A scripted response to be replayed by the mock web server.
    -
    MockWebServer -
    A scriptable web server.
    -
    PushPromise -
    An HTTP request initiated by the server.
    -
    QueueDispatcher -
    Default dispatcher that processes a script of responses.
    -
    RecordedRequest -
    An HTTP request that came into the mock web server.
    -
    -
  • -
  • - - - - - - - - - - - - -
    Enum Summary 
    EnumDescription
    SocketPolicy -
    What should be done with the incoming socket.
    -
    -
  • -
-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-tree.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-tree.html deleted file mode 100644 index ca1fbe588..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-tree.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -com.squareup.okhttp.mockwebserver Class Hierarchy (MockWebServer 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.squareup.okhttp.mockwebserver

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-use.html b/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-use.html deleted file mode 100644 index b539ec84b..000000000 --- a/1.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-use.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.mockwebserver (MockWebServer 1.6.0 API) - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.mockwebserver

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/constant-values.html b/1.x/mockwebserver/constant-values.html deleted file mode 100644 index ad121be26..000000000 --- a/1.x/mockwebserver/constant-values.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Constant Field Values (MockWebServer 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Constant Field Values

-

Contents

-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/deprecated-list.html b/1.x/mockwebserver/deprecated-list.html deleted file mode 100644 index 3b05361ba..000000000 --- a/1.x/mockwebserver/deprecated-list.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Deprecated List (MockWebServer 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/help-doc.html b/1.x/mockwebserver/help-doc.html deleted file mode 100644 index 2ed33aa31..000000000 --- a/1.x/mockwebserver/help-doc.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - -API Help (MockWebServer 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Overview

    -

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    -
  • -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/index-all.html b/1.x/mockwebserver/index-all.html deleted file mode 100644 index 1fb572a1a..000000000 --- a/1.x/mockwebserver/index-all.html +++ /dev/null @@ -1,515 +0,0 @@ - - - - - - -Index (MockWebServer 1.6.0 API) - - - - - - - -
- - - - - -
- - -
A B C D E G L M P Q R S T U V W  - - -

A

-
-
addHeader(String) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Adds header as an HTTP header.
-
-
addHeader(String, Object) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Adds a new header with the name and value.
-
-
- - - -

B

-
-
build() - Method in class com.squareup.okhttp.internal.SslContextBuilder
-
 
-
- - - -

C

-
-
clearHeaders() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Removes all HTTP headers including any "Content-Length" and - "Transfer-encoding" headers that were added by default.
-
-
clone() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
com.squareup.okhttp.internal - package com.squareup.okhttp.internal
-
 
-
com.squareup.okhttp.internal.spdy - package com.squareup.okhttp.internal.spdy
-
 
-
com.squareup.okhttp.mockwebserver - package com.squareup.okhttp.mockwebserver
-
 
-
- - - -

D

-
-
dispatch(RecordedRequest) - Method in class com.squareup.okhttp.mockwebserver.Dispatcher
-
-
Returns a response to satisfy request.
-
-
dispatch(RecordedRequest) - Method in class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
Dispatcher - Class in com.squareup.okhttp.mockwebserver
-
-
Handler for mock server requests.
-
-
Dispatcher() - Constructor for class com.squareup.okhttp.mockwebserver.Dispatcher
-
 
-
- - - -

E

-
-
enqueue(MockResponse) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Scripts response to be returned to a request made in sequence.
-
-
enqueueResponse(MockResponse) - Method in class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
- - - -

G

-
-
getBody() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Returns the raw HTTP payload, or null if this response is streamed.
-
-
getBody() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the body of this POST request.
-
-
getBodyDelayTimeMs() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
getBodySize() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the total size of the body of this POST request (before - truncation).
-
-
getChunkSizes() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the sizes of the chunks of this request's body, or an empty list - if the request's body was empty or unchunked.
-
-
getCookieDomain() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Returns a cookie domain for this server.
-
-
getHeader(String) - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the first header named name, or null if no such header - exists.
-
-
getHeaders() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Returns the HTTP headers, such as "Content-Length: 0".
-
-
getHeaders() - Method in class com.squareup.okhttp.mockwebserver.PushPromise
-
 
-
getHeaders() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns all headers.
-
-
getHeaders(String) - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the headers named name.
-
-
getHostName() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
 
-
getMethod() - Method in class com.squareup.okhttp.mockwebserver.PushPromise
-
 
-
getMethod() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
 
-
getPath() - Method in class com.squareup.okhttp.mockwebserver.PushPromise
-
 
-
getPath() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
 
-
getPort() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
 
-
getPushPromises() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Returns the streams the server will push with this response.
-
-
getRequestCount() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Returns the number of HTTP requests received thus far by this server.
-
-
getRequestLine() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
 
-
getResponse() - Method in class com.squareup.okhttp.mockwebserver.PushPromise
-
 
-
getSequenceNumber() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the index of this request on its HTTP connection.
-
-
getSocketPolicy() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
getSslProtocol() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the connection's SSL protocol like TLSv1, SSLv3, - NONE or null if the connection doesn't use SSL.
-
-
getStatus() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Returns the HTTP response line, such as "HTTP/1.1 200 OK".
-
-
getThrottleBytesPerPeriod() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
getThrottlePeriod() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
getThrottleUnit() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
getUrl(String) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Returns a URL for connecting to this server.
-
-
getUtf8Body() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the body of this POST request decoded as a UTF-8 string.
-
-
- - - -

L

-
-
localhost() - Static method in class com.squareup.okhttp.internal.SslContextBuilder
-
-
Returns a new SSL context for this host's current localhost address.
-
-
- - - -

M

-
-
main(String...) - Static method in class com.squareup.okhttp.internal.spdy.SpdyServer
-
 
-
MockResponse - Class in com.squareup.okhttp.mockwebserver
-
-
A scripted response to be replayed by the mock web server.
-
-
MockResponse() - Constructor for class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Creates a new mock response with an empty body.
-
-
MockWebServer - Class in com.squareup.okhttp.mockwebserver
-
-
A scriptable web server.
-
-
MockWebServer() - Constructor for class com.squareup.okhttp.mockwebserver.MockWebServer
-
 
-
- - - -

P

-
-
peekSocketPolicy() - Method in class com.squareup.okhttp.mockwebserver.Dispatcher
-
-
Returns the socket policy of the next request.
-
-
peekSocketPolicy() - Method in class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
play() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Equivalent to play(0).
-
-
play(int) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Starts the server, serves all enqueued requests, and shuts the server down.
-
-
PushPromise - Class in com.squareup.okhttp.mockwebserver
-
-
An HTTP request initiated by the server.
-
-
PushPromise(String, String, List<String>, MockResponse) - Constructor for class com.squareup.okhttp.mockwebserver.PushPromise
-
 
-
- - - -

Q

-
-
QueueDispatcher - Class in com.squareup.okhttp.mockwebserver
-
-
Default dispatcher that processes a script of responses.
-
-
QueueDispatcher() - Constructor for class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
- - - -

R

-
-
receive(SpdyStream) - Method in class com.squareup.okhttp.internal.spdy.SpdyServer
-
 
-
RecordedRequest - Class in com.squareup.okhttp.mockwebserver
-
-
An HTTP request that came into the mock web server.
-
-
RecordedRequest(String, List<String>, List<Integer>, long, byte[], int, Socket) - Constructor for class com.squareup.okhttp.mockwebserver.RecordedRequest
-
 
-
removeHeader(String) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Removes all headers named name.
-
-
responseQueue - Variable in class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
- - - -

S

-
-
setBody(byte[]) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
setBody(InputStream, long) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
setBody(String) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Sets the response body to the UTF-8 encoded bytes of body.
-
-
setBodyDelayTimeMs(int) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Set the delayed time of the response body to delay.
-
-
setBodyLimit(int) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Sets the number of bytes of the POST body to keep in memory to the given - limit.
-
-
setChunkedBody(byte[], int) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Sets the response body to body, chunked every maxChunkSize - bytes.
-
-
setChunkedBody(String, int) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Sets the response body to the UTF-8 encoded bytes of body, chunked - every maxChunkSize bytes.
-
-
setDispatcher(Dispatcher) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Sets the dispatcher used to match incoming requests to mock responses.
-
-
setFailFast(boolean) - Method in class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
setFailFast(MockResponse) - Method in class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
setHeader(String, Object) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Removes all headers named name, then adds a new header with the - name and value.
-
-
setNpnEnabled(boolean) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Sets whether NPN is used on incoming HTTPS connections to negotiate a - protocol like HTTP/1.1 or SPDY/3.
-
-
setNpnProtocols(List<Protocol>) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Indicates the protocols supported by NPN on incoming HTTPS connections.
-
-
setResponseCode(int) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
setSocketPolicy(SocketPolicy) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
setStatus(String) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
shutdown() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
 
-
SocketPolicy - Enum in com.squareup.okhttp.mockwebserver
-
-
What should be done with the incoming socket.
-
-
SpdyServer - Class in com.squareup.okhttp.internal.spdy
-
-
A basic SPDY server that serves the contents of a local directory.
-
-
SpdyServer(File) - Constructor for class com.squareup.okhttp.internal.spdy.SpdyServer
-
 
-
SslContextBuilder - Class in com.squareup.okhttp.internal
-
-
Constructs an SSL context for testing.
-
-
SslContextBuilder(String) - Constructor for class com.squareup.okhttp.internal.SslContextBuilder
-
 
-
- - - -

T

-
-
takeRequest() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Awaits the next HTTP request, removes it, and returns it.
-
-
throttleBody(int, long, TimeUnit) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Throttles the response body writer to sleep for the given period after each - series of bytesPerPeriod bytes are written.
-
-
toProxyAddress() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
 
-
toString() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
toString() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
 
-
- - - -

U

-
-
useHttps(SSLSocketFactory) - Method in class com.squareup.okhttp.internal.spdy.SpdyServer
-
 
-
useHttps(SSLSocketFactory, boolean) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Serve requests with HTTPS rather than otherwise.
-
-
- - - -

V

-
-
valueOf(String) - Static method in enum com.squareup.okhttp.mockwebserver.SocketPolicy
-
-
Returns the enum constant of this type with the specified name.
-
-
values() - Static method in enum com.squareup.okhttp.mockwebserver.SocketPolicy
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
- - - -

W

-
-
withPush(PushPromise) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
When protocols - include a SPDY variant, this attaches a pushed stream to this response.
-
-
-A B C D E G L M P Q R S T U V W 
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/index.html b/1.x/mockwebserver/index.html deleted file mode 100644 index cf6a970bd..000000000 --- a/1.x/mockwebserver/index.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - -MockWebServer 1.6.0 API - - - - - - - - - -<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="overview-summary.html">Non-frame version</a>.</p> - - - diff --git a/1.x/mockwebserver/overview-frame.html b/1.x/mockwebserver/overview-frame.html deleted file mode 100644 index 86a4c06dc..000000000 --- a/1.x/mockwebserver/overview-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -Overview List (MockWebServer 1.6.0 API) - - - - - - -

 

- - diff --git a/1.x/mockwebserver/overview-summary.html b/1.x/mockwebserver/overview-summary.html deleted file mode 100644 index 68943ab0e..000000000 --- a/1.x/mockwebserver/overview-summary.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - -Overview (MockWebServer 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

MockWebServer 1.6.0 API

-
-
- - - - - - - - - - - - - - - - - - - - -
Packages 
PackageDescription
com.squareup.okhttp.internal 
com.squareup.okhttp.internal.spdy 
com.squareup.okhttp.mockwebserver 
-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/overview-tree.html b/1.x/mockwebserver/overview-tree.html deleted file mode 100644 index a4cafca05..000000000 --- a/1.x/mockwebserver/overview-tree.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - -Class Hierarchy (MockWebServer 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/mockwebserver/package-list b/1.x/mockwebserver/package-list deleted file mode 100644 index d6d5beaa0..000000000 --- a/1.x/mockwebserver/package-list +++ /dev/null @@ -1,3 +0,0 @@ -com.squareup.okhttp.internal -com.squareup.okhttp.internal.spdy -com.squareup.okhttp.mockwebserver diff --git a/1.x/mockwebserver/resources/background.gif b/1.x/mockwebserver/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}n_%Pq%(e+H~mGqhq5kv4Mo|-n~g|7!F*xZ{xv< zCpXS~dGg^IGK?4@J-T%b(XnUHFul6n<@2&4)zzyO2) z3Q8`i0+UKY*`$}e9mmp;tg*))`|PsK1|hAo%u0K$vDwm4gaSkm0j{`26k#qAKmbuhxZ#cquDR>B zD{s8+&TH-uNg$C#68QG}1HMBHfrP&L@@w$F_!itRzXdCN@V|LDAu%3!IDtq1#1UV7 z#1RxvT=B(DWbCoU5l=ia$Pp`Hgb_?Mp@hmtxZDI2N-)v#$}PXVvdm1d>@v(v`0TUJ zF)Pu89(q`zv=w^nVTIF3@3BYIPA}c`(@ZCAwbNBEt@PDUKe5CTR8aB66IE1!w%Amt zy+jpcn~k>GZpVFg+H6x{_uOksvBlq0OyT$6TyQZ37k(cOxZr|JEx1sGm<(M9gH z-~PMqyn|tT=))UN`|-FFFUA#KToK0fUOaz=7}Z~KeHhVC&%O27cTfHQ^WBU8z4p&T zp#>D|V}XShTD;Hx745Iz{`>K-Z$A|7!*Boo{mY;G21vjH8t{M!OrQc6$iN0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+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/1.x/mockwebserver/stylesheet.css b/1.x/mockwebserver/stylesheet.css deleted file mode 100644 index 0aeaa97fe..000000000 --- a/1.x/mockwebserver/stylesheet.css +++ /dev/null @@ -1,474 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ -body { - background-color:#ffffff; - color:#353833; - font-family:Arial, Helvetica, sans-serif; - font-size:76%; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4c6b87; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4c6b87; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-size:1.3em; -} -h1 { - font-size:1.8em; -} -h2 { - font-size:1.5em; -} -h3 { - font-size:1.4em; -} -h4 { - font-size:1.3em; -} -h5 { - font-size:1.2em; -} -h6 { - font-size:1.1em; -} -ul { - list-style-type:disc; -} -code, tt { - font-size:1.2em; -} -dt code { - font-size:1.2em; -} -table tr td dt code { - font-size:1.2em; - vertical-align:top; -} -sup { - font-size:.6em; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:.8em; - z-index:200; - margin-top:-7px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - background-image:url(resources/titlebar.gif); - background-position:left top; - background-repeat:no-repeat; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:1em; - margin:0; -} -.topNav { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.bottomNav { - margin-top:10px; - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.subNav { - background-color:#dee3e9; - border-bottom:1px solid #9eadc0; - float:left; - width:100%; - overflow:hidden; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding:3px 6px; -} -ul.subNavList li{ - list-style:none; - float:left; - font-size:90%; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; -} -.navBarCell1Rev { - background-image:url(resources/tab.gif); - background-color:#a88834; - color:#FFFFFF; - margin: auto 5px; - border:1px solid #c9aa44; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader h1 { - font-size:1.3em; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 25px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:1.2em; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:1.0em; -} -.indexContainer h2 { - font-size:1.1em; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:1.1em; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:10px 0 10px 20px; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:25px; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #9eadc0; - background-color:#f9f9f9; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:1px solid #9eadc0; - border-top:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; - border-bottom:1px solid #9eadc0; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.contentContainer table, .classUseContainer table, .constantValuesContainer table { - border-bottom:1px solid #9eadc0; - width:100%; -} -.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { - width:100%; -} -.contentContainer .description table, .contentContainer .details table { - border-bottom:none; -} -.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ - vertical-align:top; - padding-right:20px; -} -.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, -.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, -.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, -.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { - padding-right:3px; -} -.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#FFFFFF; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - margin:0px; -} -caption a:link, caption a:hover, caption a:active, caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { - white-space:nowrap; - padding-top:8px; - padding-left:8px; - display:block; - float:left; - background-image:url(resources/titlebar.gif); - height:18px; -} -.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { - width:10px; - background-image:url(resources/titlebar_end.gif); - background-repeat:no-repeat; - background-position:top right; - position:relative; - float:left; -} -ul.blockList ul.blockList li.blockList table { - margin:0 0 12px 0px; - width:100%; -} -.tableSubHeadingColor { - background-color: #EEEEFF; -} -.altColor { - background-color:#eeeeef; -} -.rowColor { - background-color:#ffffff; -} -.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { - text-align:left; - padding:3px 3px 3px 7px; -} -th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { - background:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - text-align:left; - padding:3px 3px 3px 7px; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -td.colFirst, th.colFirst { - border-left:1px solid #9eadc0; - white-space:nowrap; -} -td.colLast, th.colLast { - border-right:1px solid #9eadc0; -} -td.colOne, th.colOne { - border-right:1px solid #9eadc0; - border-left:1px solid #9eadc0; -} -table.overviewSummary { - padding:0px; - margin-left:0px; -} -table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, -table.overviewSummary td.colOne, table.overviewSummary th.colOne { - width:25%; - vertical-align:middle; -} -table.packageSummary td.colFirst, table.overviewSummary th.colFirst { - width:25%; - vertical-align:middle; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:.9em; -} -.block { - display:block; - margin:3px 0 0 0; -} -.strong { - font-weight:bold; -} diff --git a/1.x/mockwebserver/version.txt b/1.x/mockwebserver/version.txt deleted file mode 100644 index ce6a70b9d..000000000 --- a/1.x/mockwebserver/version.txt +++ /dev/null @@ -1 +0,0 @@ -1.6.0 \ No newline at end of file diff --git a/1.x/okhttp-apache/META-INF/MANIFEST.MF b/1.x/okhttp-apache/META-INF/MANIFEST.MF deleted file mode 100644 index 7469129bc..000000000 --- a/1.x/okhttp-apache/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.7.0_51 - diff --git a/1.x/okhttp-apache/allclasses-frame.html b/1.x/okhttp-apache/allclasses-frame.html deleted file mode 100644 index 3e0819b18..000000000 --- a/1.x/okhttp-apache/allclasses-frame.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -All Classes (OkHttp Apache HttpClient 1.6.0 API) - - - - -

All Classes

- - - diff --git a/1.x/okhttp-apache/allclasses-noframe.html b/1.x/okhttp-apache/allclasses-noframe.html deleted file mode 100644 index 4e4b160e1..000000000 --- a/1.x/okhttp-apache/allclasses-noframe.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -All Classes (OkHttp Apache HttpClient 1.6.0 API) - - - - -

All Classes

- - - diff --git a/1.x/okhttp-apache/com/squareup/okhttp/apache/OkApacheClient.html b/1.x/okhttp-apache/com/squareup/okhttp/apache/OkApacheClient.html deleted file mode 100644 index df4670a30..000000000 --- a/1.x/okhttp-apache/com/squareup/okhttp/apache/OkApacheClient.html +++ /dev/null @@ -1,529 +0,0 @@ - - - - - - - -OkApacheClient (OkHttp Apache HttpClient 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.apache
-

Class OkApacheClient

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    org.apache.http.client.HttpClient
    -
    -
    -
    -
    public class OkApacheClient
    -extends Object
    -implements org.apache.http.client.HttpClient
    -
    Implements Apache's HttpClient API using OkHttpClient. -

    - Warning: 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.

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      protected OkHttpClientclient 
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      org.apache.http.HttpResponseexecute(org.apache.http.HttpHost host, - org.apache.http.HttpRequest request) 
      org.apache.http.HttpResponseexecute(org.apache.http.HttpHost host, - org.apache.http.HttpRequest request, - org.apache.http.protocol.HttpContext context) 
      <T> Texecute(org.apache.http.HttpHost host, - org.apache.http.HttpRequest request, - org.apache.http.client.ResponseHandler<? extends T> handler) 
      <T> Texecute(org.apache.http.HttpHost host, - org.apache.http.HttpRequest request, - org.apache.http.client.ResponseHandler<? extends T> handler, - org.apache.http.protocol.HttpContext context) 
      org.apache.http.HttpResponseexecute(org.apache.http.client.methods.HttpUriRequest request) 
      org.apache.http.HttpResponseexecute(org.apache.http.client.methods.HttpUriRequest request, - org.apache.http.protocol.HttpContext context) 
      <T> Texecute(org.apache.http.client.methods.HttpUriRequest request, - org.apache.http.client.ResponseHandler<? extends T> handler) 
      <T> Texecute(org.apache.http.client.methods.HttpUriRequest request, - org.apache.http.client.ResponseHandler<? extends T> handler, - org.apache.http.protocol.HttpContext context) 
      org.apache.http.conn.ClientConnectionManagergetConnectionManager() 
      org.apache.http.params.HttpParamsgetParams() 
      protected HttpURLConnectionopenConnection(URL url) -
      Returns a new HttpURLConnection customized for this application.
      -
      - -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        OkApacheClient

        -
        public OkApacheClient()
        -
      • -
      - - - -
        -
      • -

        OkApacheClient

        -
        public OkApacheClient(OkHttpClient client)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        openConnection

        -
        protected HttpURLConnection openConnection(URL url)
        -
        Returns a new HttpURLConnection customized for this application. Subclasses should override - this to customize the connection.
        -
      • -
      - - - -
        -
      • -

        getParams

        -
        public org.apache.http.params.HttpParams getParams()
        -
        -
        Specified by:
        -
        getParams in interface org.apache.http.client.HttpClient
        -
        -
      • -
      - - - -
        -
      • -

        getConnectionManager

        -
        public org.apache.http.conn.ClientConnectionManager getConnectionManager()
        -
        -
        Specified by:
        -
        getConnectionManager in interface org.apache.http.client.HttpClient
        -
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest request)
        -                                     throws IOException
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest request,
        -                                   org.apache.http.protocol.HttpContext context)
        -                                     throws IOException
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public org.apache.http.HttpResponse execute(org.apache.http.HttpHost host,
        -                                   org.apache.http.HttpRequest request)
        -                                     throws IOException
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public org.apache.http.HttpResponse execute(org.apache.http.HttpHost host,
        -                                   org.apache.http.HttpRequest request,
        -                                   org.apache.http.protocol.HttpContext context)
        -                                     throws IOException
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public <T> T execute(org.apache.http.client.methods.HttpUriRequest request,
        -            org.apache.http.client.ResponseHandler<? extends T> handler)
        -          throws IOException
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public <T> T execute(org.apache.http.client.methods.HttpUriRequest request,
        -            org.apache.http.client.ResponseHandler<? extends T> handler,
        -            org.apache.http.protocol.HttpContext context)
        -          throws IOException
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public <T> T execute(org.apache.http.HttpHost host,
        -            org.apache.http.HttpRequest request,
        -            org.apache.http.client.ResponseHandler<? extends T> handler)
        -          throws IOException
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public <T> T execute(org.apache.http.HttpHost host,
        -            org.apache.http.HttpRequest request,
        -            org.apache.http.client.ResponseHandler<? extends T> handler,
        -            org.apache.http.protocol.HttpContext context)
        -          throws IOException
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-apache/com/squareup/okhttp/apache/class-use/OkApacheClient.html b/1.x/okhttp-apache/com/squareup/okhttp/apache/class-use/OkApacheClient.html deleted file mode 100644 index 69bfc2446..000000000 --- a/1.x/okhttp-apache/com/squareup/okhttp/apache/class-use/OkApacheClient.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.apache.OkApacheClient (OkHttp Apache HttpClient 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.apache.OkApacheClient

-
-
No usage of com.squareup.okhttp.apache.OkApacheClient
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-apache/com/squareup/okhttp/apache/package-frame.html b/1.x/okhttp-apache/com/squareup/okhttp/apache/package-frame.html deleted file mode 100644 index a10ed4cb8..000000000 --- a/1.x/okhttp-apache/com/squareup/okhttp/apache/package-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -com.squareup.okhttp.apache (OkHttp Apache HttpClient 1.6.0 API) - - - - -

com.squareup.okhttp.apache

-
-

Classes

- -
- - diff --git a/1.x/okhttp-apache/com/squareup/okhttp/apache/package-summary.html b/1.x/okhttp-apache/com/squareup/okhttp/apache/package-summary.html deleted file mode 100644 index aa641a56e..000000000 --- a/1.x/okhttp-apache/com/squareup/okhttp/apache/package-summary.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - -com.squareup.okhttp.apache (OkHttp Apache HttpClient 1.6.0 API) - - - - - - - - - - -
-

Package com.squareup.okhttp.apache

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    OkApacheClient -
    Implements Apache's HttpClient API using OkHttpClient.
    -
    -
  • -
-
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-apache/com/squareup/okhttp/apache/package-tree.html b/1.x/okhttp-apache/com/squareup/okhttp/apache/package-tree.html deleted file mode 100644 index 83a4bff61..000000000 --- a/1.x/okhttp-apache/com/squareup/okhttp/apache/package-tree.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -com.squareup.okhttp.apache Class Hierarchy (OkHttp Apache HttpClient 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.squareup.okhttp.apache

-
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • com.squareup.okhttp.apache.OkApacheClient (implements org.apache.http.client.HttpClient)
    • -
    -
  • -
-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-apache/com/squareup/okhttp/apache/package-use.html b/1.x/okhttp-apache/com/squareup/okhttp/apache/package-use.html deleted file mode 100644 index 850deeb8e..000000000 --- a/1.x/okhttp-apache/com/squareup/okhttp/apache/package-use.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.apache (OkHttp Apache HttpClient 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.squareup.okhttp.apache

-
-
No usage of com.squareup.okhttp.apache
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-apache/constant-values.html b/1.x/okhttp-apache/constant-values.html deleted file mode 100644 index 48768f528..000000000 --- a/1.x/okhttp-apache/constant-values.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Constant Field Values (OkHttp Apache HttpClient 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Constant Field Values

-

Contents

-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-apache/deprecated-list.html b/1.x/okhttp-apache/deprecated-list.html deleted file mode 100644 index 4fdf64575..000000000 --- a/1.x/okhttp-apache/deprecated-list.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Deprecated List (OkHttp Apache HttpClient 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-apache/help-doc.html b/1.x/okhttp-apache/help-doc.html deleted file mode 100644 index 89d7bf7a2..000000000 --- a/1.x/okhttp-apache/help-doc.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - -API Help (OkHttp Apache HttpClient 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-apache/index-all.html b/1.x/okhttp-apache/index-all.html deleted file mode 100644 index cadc623a5..000000000 --- a/1.x/okhttp-apache/index-all.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - -Index (OkHttp Apache HttpClient 1.6.0 API) - - - - - - - -
- - - - - -
- - -
C E G O  - - -

C

-
-
client - Variable in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
com.squareup.okhttp.apache - package com.squareup.okhttp.apache
-
 
-
- - - -

E

-
-
execute(HttpUriRequest) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpUriRequest, HttpContext) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpHost, HttpRequest) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpHost, HttpRequest, HttpContext) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpUriRequest, ResponseHandler<? extends T>) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpUriRequest, ResponseHandler<? extends T>, HttpContext) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpHost, HttpRequest, ResponseHandler<? extends T>) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpHost, HttpRequest, ResponseHandler<? extends T>, HttpContext) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
- - - -

G

-
-
getConnectionManager() - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
getParams() - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
- - - -

O

-
-
OkApacheClient - Class in com.squareup.okhttp.apache
-
-
Implements Apache's HttpClient API using OkHttpClient.
-
-
OkApacheClient() - Constructor for class com.squareup.okhttp.apache.OkApacheClient
-
 
-
OkApacheClient(OkHttpClient) - Constructor for class com.squareup.okhttp.apache.OkApacheClient
-
 
-
openConnection(URL) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
-
Returns a new HttpURLConnection customized for this application.
-
-
-C E G O 
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-apache/index.html b/1.x/okhttp-apache/index.html deleted file mode 100644 index f0d3a7e1c..000000000 --- a/1.x/okhttp-apache/index.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - -OkHttp Apache HttpClient 1.6.0 API - - - - - - -<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> - - - diff --git a/1.x/okhttp-apache/overview-tree.html b/1.x/okhttp-apache/overview-tree.html deleted file mode 100644 index d4dbdbeab..000000000 --- a/1.x/okhttp-apache/overview-tree.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp Apache HttpClient 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • com.squareup.okhttp.apache.OkApacheClient (implements org.apache.http.client.HttpClient)
    • -
    -
  • -
-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-apache/package-list b/1.x/okhttp-apache/package-list deleted file mode 100644 index 510faa8fd..000000000 --- a/1.x/okhttp-apache/package-list +++ /dev/null @@ -1 +0,0 @@ -com.squareup.okhttp.apache diff --git a/1.x/okhttp-apache/resources/background.gif b/1.x/okhttp-apache/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}n_%Pq%(e+H~mGqhq5kv4Mo|-n~g|7!F*xZ{xv< zCpXS~dGg^IGK?4@J-T%b(XnUHFul6n<@2&4)zzyO2) z3Q8`i0+UKY*`$}e9mmp;tg*))`|PsK1|hAo%u0K$vDwm4gaSkm0j{`26k#qAKmbuhxZ#cquDR>B zD{s8+&TH-uNg$C#68QG}1HMBHfrP&L@@w$F_!itRzXdCN@V|LDAu%3!IDtq1#1UV7 z#1RxvT=B(DWbCoU5l=ia$Pp`Hgb_?Mp@hmtxZDI2N-)v#$}PXVvdm1d>@v(v`0TU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5u&+jI zZ?)Fm8m-+`n!Bnrx0PvZE7!Q)Z+NTE@K(R!nO40sZF(n~bq_b_9H`UYU#q>pPJ3UC z_UeU>J7qcy%%`ks9)BNcS^GDOn z?oKkjHNoWO1e2?M#vd12e^_AscAnLnc~-CISiYWX`D%{k^H~<37unpMYJYdSv=Om2vbAM@`Qp{{SI=yP zj6WN*eEt0G$9EPX6FU%)-ho>hWTW!yzXBIo73<0umM-=@eG&niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/1.x/okhttp-apache/stylesheet.css b/1.x/okhttp-apache/stylesheet.css deleted file mode 100644 index 0aeaa97fe..000000000 --- a/1.x/okhttp-apache/stylesheet.css +++ /dev/null @@ -1,474 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ -body { - background-color:#ffffff; - color:#353833; - font-family:Arial, Helvetica, sans-serif; - font-size:76%; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4c6b87; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4c6b87; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-size:1.3em; -} -h1 { - font-size:1.8em; -} -h2 { - font-size:1.5em; -} -h3 { - font-size:1.4em; -} -h4 { - font-size:1.3em; -} -h5 { - font-size:1.2em; -} -h6 { - font-size:1.1em; -} -ul { - list-style-type:disc; -} -code, tt { - font-size:1.2em; -} -dt code { - font-size:1.2em; -} -table tr td dt code { - font-size:1.2em; - vertical-align:top; -} -sup { - font-size:.6em; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:.8em; - z-index:200; - margin-top:-7px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - background-image:url(resources/titlebar.gif); - background-position:left top; - background-repeat:no-repeat; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:1em; - margin:0; -} -.topNav { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.bottomNav { - margin-top:10px; - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.subNav { - background-color:#dee3e9; - border-bottom:1px solid #9eadc0; - float:left; - width:100%; - overflow:hidden; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding:3px 6px; -} -ul.subNavList li{ - list-style:none; - float:left; - font-size:90%; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; -} -.navBarCell1Rev { - background-image:url(resources/tab.gif); - background-color:#a88834; - color:#FFFFFF; - margin: auto 5px; - border:1px solid #c9aa44; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader h1 { - font-size:1.3em; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 25px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:1.2em; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:1.0em; -} -.indexContainer h2 { - font-size:1.1em; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:1.1em; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:10px 0 10px 20px; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:25px; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #9eadc0; - background-color:#f9f9f9; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:1px solid #9eadc0; - border-top:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; - border-bottom:1px solid #9eadc0; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.contentContainer table, .classUseContainer table, .constantValuesContainer table { - border-bottom:1px solid #9eadc0; - width:100%; -} -.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { - width:100%; -} -.contentContainer .description table, .contentContainer .details table { - border-bottom:none; -} -.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ - vertical-align:top; - padding-right:20px; -} -.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, -.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, -.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, -.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { - padding-right:3px; -} -.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#FFFFFF; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - margin:0px; -} -caption a:link, caption a:hover, caption a:active, caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { - white-space:nowrap; - padding-top:8px; - padding-left:8px; - display:block; - float:left; - background-image:url(resources/titlebar.gif); - height:18px; -} -.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { - width:10px; - background-image:url(resources/titlebar_end.gif); - background-repeat:no-repeat; - background-position:top right; - position:relative; - float:left; -} -ul.blockList ul.blockList li.blockList table { - margin:0 0 12px 0px; - width:100%; -} -.tableSubHeadingColor { - background-color: #EEEEFF; -} -.altColor { - background-color:#eeeeef; -} -.rowColor { - background-color:#ffffff; -} -.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { - text-align:left; - padding:3px 3px 3px 7px; -} -th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { - background:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - text-align:left; - padding:3px 3px 3px 7px; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -td.colFirst, th.colFirst { - border-left:1px solid #9eadc0; - white-space:nowrap; -} -td.colLast, th.colLast { - border-right:1px solid #9eadc0; -} -td.colOne, th.colOne { - border-right:1px solid #9eadc0; - border-left:1px solid #9eadc0; -} -table.overviewSummary { - padding:0px; - margin-left:0px; -} -table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, -table.overviewSummary td.colOne, table.overviewSummary th.colOne { - width:25%; - vertical-align:middle; -} -table.packageSummary td.colFirst, table.overviewSummary th.colFirst { - width:25%; - vertical-align:middle; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:.9em; -} -.block { - display:block; - margin:3px 0 0 0; -} -.strong { - font-weight:bold; -} diff --git a/1.x/okhttp-apache/version.txt b/1.x/okhttp-apache/version.txt deleted file mode 100644 index ce6a70b9d..000000000 --- a/1.x/okhttp-apache/version.txt +++ /dev/null @@ -1 +0,0 @@ -1.6.0 \ No newline at end of file diff --git a/1.x/okhttp-protocols/META-INF/MANIFEST.MF b/1.x/okhttp-protocols/META-INF/MANIFEST.MF deleted file mode 100644 index cfd797bd1..000000000 --- a/1.x/okhttp-protocols/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jw -Build-Jdk: 1.7.0_21 - diff --git a/1.x/okhttp-protocols/allclasses-frame.html b/1.x/okhttp-protocols/allclasses-frame.html deleted file mode 100644 index dcc2f4adf..000000000 --- a/1.x/okhttp-protocols/allclasses-frame.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - -All Classes (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - -

All Classes

- - - diff --git a/1.x/okhttp-protocols/allclasses-noframe.html b/1.x/okhttp-protocols/allclasses-noframe.html deleted file mode 100644 index 556fe4a47..000000000 --- a/1.x/okhttp-protocols/allclasses-noframe.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - -All Classes (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - -

All Classes

- - - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/Base64.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/Base64.html deleted file mode 100644 index ddfcebe41..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/Base64.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - - -Base64 (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal
-

Class Base64

-
-
- -
-
    -
  • -
    -
    -
    public final class Base64
    -extends Object
    -
    Base64 encoder/decoder. - In violation of the RFC, this encoder doesn't wrap lines at 76 columns.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        decode

        -
        public static byte[] decode(byte[] in)
        -
      • -
      - - - -
        -
      • -

        decode

        -
        public static byte[] decode(byte[] in,
        -            int len)
        -
      • -
      - - - -
        -
      • -

        encode

        -
        public static String encode(byte[] in)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/NamedRunnable.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/NamedRunnable.html deleted file mode 100644 index cee27cbac..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/NamedRunnable.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - -NamedRunnable (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal
-

Class NamedRunnable

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    -
    public abstract class NamedRunnable
    -extends Object
    -implements Runnable
    -
    Runnable implementation which always sets its thread name.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NamedRunnable

        -
        public NamedRunnable(String format,
        -             Object... args)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        run

        -
        public final void run()
        -
        -
        Specified by:
        -
        run in interface Runnable
        -
        -
      • -
      - - - -
        -
      • -

        execute

        -
        protected abstract void execute()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/Platform.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/Platform.html deleted file mode 100644 index 1b5c91247..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/Platform.html +++ /dev/null @@ -1,458 +0,0 @@ - - - - - - -Platform (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal
-

Class Platform

-
-
- -
-
    -
  • -
    -
    -
    public class Platform
    -extends Object
    -
    Access to Platform-specific features necessary for SPDY and advanced TLS. - -

    SPDY

    - SPDY requires a TLS extension called NPN (Next Protocol Negotiation) that's - available in Android 4.1+ and OpenJDK 7+ (with the npn-boot extension). It - also requires a recent version of DeflaterOutputStream that is - public API in Java 7 and callable via reflection in Android 4.1+.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Platform

        -
        public Platform()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        get

        -
        public static Platform get()
        -
      • -
      - - - -
        -
      • -

        getPrefix

        -
        public String getPrefix()
        -
        Prefix used on custom headers.
        -
      • -
      - - - -
        -
      • -

        logW

        -
        public void logW(String warning)
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        enableTlsExtensions

        -
        public void enableTlsExtensions(SSLSocket socket,
        -                       String uriHost)
        -
        Attempt a TLS connection with useful extensions enabled. This mode - supports more features, but is less likely to be compatible with older - HTTPS servers.
        -
      • -
      - - - -
        -
      • -

        supportTlsIntolerantServer

        -
        public void supportTlsIntolerantServer(SSLSocket socket)
        -
        Attempt a secure connection with basic functionality to maximize - compatibility. Currently this uses SSL 3.0.
        -
      • -
      - - - -
        -
      • -

        getNpnSelectedProtocol

        -
        public byte[] getNpnSelectedProtocol(SSLSocket socket)
        -
        Returns the negotiated protocol, or null if no protocol was negotiated.
        -
      • -
      - - - -
        -
      • -

        setNpnProtocols

        -
        public void setNpnProtocols(SSLSocket socket,
        -                   byte[] npnProtocols)
        -
        Sets client-supported protocols on a socket to send to a server. The - protocols are only sent if the socket implementation supports NPN.
        -
      • -
      - - - - - - - -
        -
      • -

        newDeflaterOutputStream

        -
        public OutputStream newDeflaterOutputStream(OutputStream out,
        -                                   Deflater deflater,
        -                                   boolean syncFlush)
        -
        Returns a deflater output stream that supports SYNC_FLUSH for SPDY name - value blocks. This throws an UnsupportedOperationException on - Java 6 and earlier where there is no built-in API to do SYNC_FLUSH.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/Util.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/Util.html deleted file mode 100644 index 1e1463971..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/Util.html +++ /dev/null @@ -1,744 +0,0 @@ - - - - - - -Util (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal
-

Class Util

-
-
- -
-
    -
  • -
    -
    -
    public final class Util
    -extends Object
    -
    Junk drawer of utility methods.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        EMPTY_BYTE_ARRAY

        -
        public static final byte[] EMPTY_BYTE_ARRAY
        -
      • -
      - - - -
        -
      • -

        EMPTY_STRING_ARRAY

        -
        public static final String[] EMPTY_STRING_ARRAY
        -
      • -
      - - - -
        -
      • -

        ISO_8859_1

        -
        public static final Charset ISO_8859_1
        -
        A cheap and type-safe constant for the ISO-8859-1 Charset.
        -
      • -
      - - - -
        -
      • -

        US_ASCII

        -
        public static final Charset US_ASCII
        -
        A cheap and type-safe constant for the US-ASCII Charset.
        -
      • -
      - - - -
        -
      • -

        UTF_8

        -
        public static final Charset UTF_8
        -
        A cheap and type-safe constant for the UTF-8 Charset.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getEffectivePort

        -
        public static int getEffectivePort(URI uri)
        -
      • -
      - - - -
        -
      • -

        getEffectivePort

        -
        public static int getEffectivePort(URL url)
        -
      • -
      - - - -
        -
      • -

        getDefaultPort

        -
        public static int getDefaultPort(String scheme)
        -
      • -
      - - - -
        -
      • -

        checkOffsetAndCount

        -
        public static void checkOffsetAndCount(int arrayLength,
        -                       int offset,
        -                       int count)
        -
      • -
      - - - -
        -
      • -

        pokeInt

        -
        public static void pokeInt(byte[] dst,
        -           int offset,
        -           int value,
        -           ByteOrder order)
        -
      • -
      - - - -
        -
      • -

        equal

        -
        public static boolean equal(Object a,
        -            Object b)
        -
        Returns true if two possibly-null objects are equal.
        -
      • -
      - - - -
        -
      • -

        closeQuietly

        -
        public static void closeQuietly(Closeable closeable)
        -
        Closes closeable, ignoring any checked exceptions. Does nothing - if closeable is null.
        -
      • -
      - - - -
        -
      • -

        closeQuietly

        -
        public static void closeQuietly(Socket socket)
        -
        Closes socket, ignoring any checked exceptions. Does nothing if - socket is null.
        -
      • -
      - - - -
        -
      • -

        closeQuietly

        -
        public static void closeQuietly(ServerSocket serverSocket)
        -
        Closes serverSocket, ignoring any checked exceptions. Does nothing if - serverSocket is null.
        -
      • -
      - - - -
        -
      • -

        closeAll

        -
        public static void closeAll(Closeable a,
        -            Closeable b)
        -                     throws IOException
        -
        Closes a and b. If either close fails, this completes - the other close and rethrows the first encountered exception.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        deleteContents

        -
        public static void deleteContents(File dir)
        -                           throws IOException
        -
        Deletes the contents of dir. Throws an IOException if any file - could not be deleted, or if dir is not a readable directory.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        readSingleByte

        -
        public static int readSingleByte(InputStream in)
        -                          throws IOException
        -
        Implements InputStream.read(int) in terms of InputStream.read(byte[], int, int). - InputStream assumes that you implement InputStream.read(int) and provides default - implementations of the others, but often the opposite is more efficient.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        writeSingleByte

        -
        public static void writeSingleByte(OutputStream out,
        -                   int b)
        -                            throws IOException
        -
        Implements OutputStream.write(int) in terms of OutputStream.write(byte[], int, int). - OutputStream assumes that you implement OutputStream.write(int) and provides default - implementations of the others, but often the opposite is more efficient.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        readFully

        -
        public static void readFully(InputStream in,
        -             byte[] dst)
        -                      throws IOException
        -
        Fills 'dst' with bytes from 'in', throwing EOFException if insufficient bytes are available.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - - - - - -
        -
      • -

        readFully

        -
        public static String readFully(Reader reader)
        -                        throws IOException
        -
        Returns the remainder of 'reader' as a string, closing it when done.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - - - - - -
        -
      • -

        skipByReading

        -
        public static long skipByReading(InputStream in,
        -                 long byteCount)
        -                          throws IOException
        -
        Call in.read() repeatedly until either the stream is exhausted or - byteCount bytes have been read. - -

        This method reuses the skip buffer but is careful to never use it at - the same time that another stream is using it. Otherwise streams that use - the caller's buffer for consistency checks like CRC could be clobbered by - other threads. A thread-local buffer is also insufficient because some - streams may call other streams in their skip() method, also clobbering the - buffer.

        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public static int copy(InputStream in,
        -       OutputStream out)
        -                throws IOException
        -
        Copies all of the bytes from in to out. Neither stream is closed. - Returns the total number of bytes transferred.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        readAsciiLine

        -
        public static String readAsciiLine(InputStream in)
        -                            throws IOException
        -
        Returns the ASCII characters up to but not including the next "\r\n", or - "\n".
        -
        Throws:
        -
        EOFException - if the stream is exhausted before the next newline - character.
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        hash

        -
        public static String hash(String s)
        -
        Returns a 32 character string containing a hash of s.
        -
      • -
      - - - -
        -
      • -

        immutableList

        -
        public static <T> List<T> immutableList(List<T> list)
        -
        Returns an immutable copy of list.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/Base64.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/Base64.html deleted file mode 100644 index 80feeede7..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/Base64.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.Base64 (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.Base64

-
-
No usage of com.squareup.okhttp.internal.Base64
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/NamedRunnable.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/NamedRunnable.html deleted file mode 100644 index bb4b9065c..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/NamedRunnable.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.NamedRunnable (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.NamedRunnable

-
-
No usage of com.squareup.okhttp.internal.NamedRunnable
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/Platform.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/Platform.html deleted file mode 100644 index 7928546fc..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/Platform.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.Platform (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.Platform

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/Util.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/Util.html deleted file mode 100644 index 881bf40f0..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/class-use/Util.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.Util (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.Util

-
-
No usage of com.squareup.okhttp.internal.Util
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/package-frame.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/package-frame.html deleted file mode 100644 index 06d7dba9a..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/package-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -com.squareup.okhttp.internal (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - -

com.squareup.okhttp.internal

-
-

Classes

- -
- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/package-summary.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/package-summary.html deleted file mode 100644 index 28b6baf9f..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/package-summary.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - -com.squareup.okhttp.internal (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - -
- - - - - -
- - -
-

Package com.squareup.okhttp.internal

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Base64 -
    Base64 encoder/decoder.
    -
    NamedRunnable -
    Runnable implementation which always sets its thread name.
    -
    Platform -
    Access to Platform-specific features necessary for SPDY and advanced TLS.
    -
    Util -
    Junk drawer of utility methods.
    -
    -
  • -
-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/package-tree.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/package-tree.html deleted file mode 100644 index 8ff01ca29..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/package-tree.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -com.squareup.okhttp.internal Class Hierarchy (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.squareup.okhttp.internal

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/package-use.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/package-use.html deleted file mode 100644 index 13cf7fce9..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/package-use.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.internal (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.internal

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/ErrorCode.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/ErrorCode.html deleted file mode 100644 index a4d540d5a..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/ErrorCode.html +++ /dev/null @@ -1,583 +0,0 @@ - - - - - - -ErrorCode (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal.spdy
-

Enum ErrorCode

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        NO_ERROR

        -
        public static final ErrorCode NO_ERROR
        -
        Not an error! For SPDY stream resets, prefer null over NO_ERROR.
        -
      • -
      - - - -
        -
      • -

        PROTOCOL_ERROR

        -
        public static final ErrorCode PROTOCOL_ERROR
        -
      • -
      - - - -
        -
      • -

        INVALID_STREAM

        -
        public static final ErrorCode INVALID_STREAM
        -
        A subtype of PROTOCOL_ERROR used by SPDY.
        -
      • -
      - - - -
        -
      • -

        UNSUPPORTED_VERSION

        -
        public static final ErrorCode UNSUPPORTED_VERSION
        -
        A subtype of PROTOCOL_ERROR used by SPDY.
        -
      • -
      - - - -
        -
      • -

        STREAM_IN_USE

        -
        public static final ErrorCode STREAM_IN_USE
        -
        A subtype of PROTOCOL_ERROR used by SPDY.
        -
      • -
      - - - -
        -
      • -

        STREAM_ALREADY_CLOSED

        -
        public static final ErrorCode STREAM_ALREADY_CLOSED
        -
        A subtype of PROTOCOL_ERROR used by SPDY.
        -
      • -
      - - - -
        -
      • -

        INTERNAL_ERROR

        -
        public static final ErrorCode INTERNAL_ERROR
        -
      • -
      - - - -
        -
      • -

        FLOW_CONTROL_ERROR

        -
        public static final ErrorCode FLOW_CONTROL_ERROR
        -
      • -
      - - - -
        -
      • -

        STREAM_CLOSED

        -
        public static final ErrorCode STREAM_CLOSED
        -
      • -
      - - - -
        -
      • -

        FRAME_TOO_LARGE

        -
        public static final ErrorCode FRAME_TOO_LARGE
        -
      • -
      - - - -
        -
      • -

        REFUSED_STREAM

        -
        public static final ErrorCode REFUSED_STREAM
        -
      • -
      - - - -
        -
      • -

        CANCEL

        -
        public static final ErrorCode CANCEL
        -
      • -
      - - - -
        -
      • -

        COMPRESSION_ERROR

        -
        public static final ErrorCode COMPRESSION_ERROR
        -
      • -
      - - - -
        -
      • -

        INVALID_CREDENTIALS

        -
        public static final ErrorCode INVALID_CREDENTIALS
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        httpCode

        -
        public final int httpCode
        -
      • -
      - - - -
        -
      • -

        spdyRstCode

        -
        public final int spdyRstCode
        -
      • -
      - - - -
        -
      • -

        spdyGoAwayCode

        -
        public final int spdyGoAwayCode
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static ErrorCode[] values()
        -
        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: -
        -for (ErrorCode c : ErrorCode.values())
        -    System.out.println(c);
        -
        -
        Returns:
        an array containing the constants of this enum type, in -the order they are declared
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static ErrorCode valueOf(String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        Parameters:
        name - the name of the enum constant to be returned.
        -
        Returns:
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant -with the specified name
        -
        NullPointerException - if the argument is null
        -
      • -
      - - - -
        -
      • -

        fromSpdy3Rst

        -
        public static ErrorCode fromSpdy3Rst(int code)
        -
      • -
      - - - -
        -
      • -

        fromHttp2

        -
        public static ErrorCode fromHttp2(int code)
        -
      • -
      - - - -
        -
      • -

        fromSpdyGoAway

        -
        public static ErrorCode fromSpdyGoAway(int code)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/FrameReader.Handler.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/FrameReader.Handler.html deleted file mode 100644 index adf7237a9..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/FrameReader.Handler.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - - -FrameReader.Handler (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal.spdy
-

Interface FrameReader.Handler

-
-
-
-
    -
  • -
    -
    Enclosing interface:
    -
    FrameReader
    -
    -
    -
    -
    public static interface FrameReader.Handler
    -
  • -
-
-
-
    -
  • - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        headers

        -
        void headers(boolean outFinished,
        -           boolean inFinished,
        -           int streamId,
        -           int associatedStreamId,
        -           int priority,
        -           List<String> nameValueBlock,
        -           com.squareup.okhttp.internal.spdy.HeadersMode headersMode)
        -
        Create or update incoming headers, creating the corresponding streams - if necessary. Frames that trigger this are SPDY SYN_STREAM, HEADERS, and - SYN_REPLY, and HTTP/2.0 HEADERS and PUSH_PROMISE.
        -
        Parameters:
        inFinished - true if the sender will not send further frames.
        outFinished - true if the receiver should not send further frames.
        streamId - the stream owning these headers.
        associatedStreamId - the stream that triggered the sender to create - this stream.
        priority - or -1 for no priority. For SPDY, priorities range from 0 - (highest) thru 7 (lowest). For HTTP/2.0, priorities range from 0 - (highest) thru 2**31-1 (lowest).
        -
      • -
      - - - -
        -
      • -

        rstStream

        -
        void rstStream(int streamId,
        -             ErrorCode errorCode)
        -
      • -
      - - - - - - - -
        -
      • -

        noop

        -
        void noop()
        -
      • -
      - - - -
        -
      • -

        ping

        -
        void ping(boolean reply,
        -        int payload1,
        -        int payload2)
        -
      • -
      - - - -
        -
      • -

        goAway

        -
        void goAway(int lastGoodStreamId,
        -          ErrorCode errorCode)
        -
      • -
      - - - -
        -
      • -

        windowUpdate

        -
        void windowUpdate(int streamId,
        -                int deltaWindowSize,
        -                boolean endFlowControl)
        -
      • -
      - - - -
        -
      • -

        priority

        -
        void priority(int streamId,
        -            int priority)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/FrameReader.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/FrameReader.html deleted file mode 100644 index 220ce87ce..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/FrameReader.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -FrameReader (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal.spdy
-

Interface FrameReader

-
-
-
-
    -
  • -
    -
    All Superinterfaces:
    -
    AutoCloseable, Closeable
    -
    -
    -
    -
    public interface FrameReader
    -extends Closeable
    -
    Reads transport frames for SPDY/3 or HTTP/2.0.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/FrameWriter.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/FrameWriter.html deleted file mode 100644 index dd30f01b6..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/FrameWriter.html +++ /dev/null @@ -1,462 +0,0 @@ - - - - - - -FrameWriter (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal.spdy
-

Interface FrameWriter

-
-
-
-
    -
  • -
    -
    All Superinterfaces:
    -
    AutoCloseable, Closeable
    -
    -
    -
    -
    public interface FrameWriter
    -extends Closeable
    -
    Writes transport frames for SPDY/3 or HTTP/2.0.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidconnectionHeader() -
      HTTP/2.0 only.
      -
      voiddata(boolean outFinished, - int streamId, - byte[] data) 
      voiddata(boolean outFinished, - int streamId, - byte[] data, - int offset, - int byteCount) 
      voidflush() -
      SPDY/3 only.
      -
      voidgoAway(int lastGoodStreamId, - ErrorCode errorCode) 
      voidheaders(int streamId, - List<String> nameValueBlock) 
      voidnoop() 
      voidping(boolean reply, - int payload1, - int payload2) 
      voidrstStream(int streamId, - ErrorCode errorCode) 
      voidsettings(com.squareup.okhttp.internal.spdy.Settings settings) 
      voidsynReply(boolean outFinished, - int streamId, - List<String> nameValueBlock) 
      voidsynStream(boolean outFinished, - boolean inFinished, - int streamId, - int associatedStreamId, - int priority, - int slot, - List<String> nameValueBlock) 
      voidwindowUpdate(int streamId, - int deltaWindowSize) 
      - -
    • -
    -
  • -
-
-
- -
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/IncomingStreamHandler.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/IncomingStreamHandler.html deleted file mode 100644 index de86a9fad..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/IncomingStreamHandler.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - - -IncomingStreamHandler (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal.spdy
-

Interface IncomingStreamHandler

-
-
-
-
    -
  • -
    -
    -
    public interface IncomingStreamHandler
    -
    Listener to be notified when a connected peer creates a new stream.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/Ping.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/Ping.html deleted file mode 100644 index aaab886ac..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/Ping.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -Ping (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal.spdy
-

Class Ping

-
-
- -
-
    -
  • -
    -
    -
    public final class Ping
    -extends Object
    -
    A locally-originated ping.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      longroundTripTime() -
      Returns the round trip time for this ping in nanoseconds, waiting for the - response to arrive if necessary.
      -
      longroundTripTime(long timeout, - TimeUnit unit) -
      Returns the round trip time for this ping in nanoseconds, or -1 if the - response was cancelled, or -2 if the timeout elapsed before the round - trip completed.
      -
      - -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        roundTripTime

        -
        public long roundTripTime()
        -                   throws InterruptedException
        -
        Returns the round trip time for this ping in nanoseconds, waiting for the - response to arrive if necessary. Returns -1 if the response was - cancelled.
        -
        Throws:
        -
        InterruptedException
        -
      • -
      - - - -
        -
      • -

        roundTripTime

        -
        public long roundTripTime(long timeout,
        -                 TimeUnit unit)
        -                   throws InterruptedException
        -
        Returns the round trip time for this ping in nanoseconds, or -1 if the - response was cancelled, or -2 if the timeout elapsed before the round - trip completed.
        -
        Throws:
        -
        InterruptedException
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/SpdyConnection.Builder.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/SpdyConnection.Builder.html deleted file mode 100644 index 7cdc04704..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/SpdyConnection.Builder.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - - -SpdyConnection.Builder (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal.spdy
-

Class SpdyConnection.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.squareup.okhttp.internal.spdy.SpdyConnection.Builder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    SpdyConnection
    -
    -
    -
    -
    public static class SpdyConnection.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/SpdyConnection.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/SpdyConnection.html deleted file mode 100644 index 63aa00697..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/SpdyConnection.html +++ /dev/null @@ -1,488 +0,0 @@ - - - - - - -SpdyConnection (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal.spdy
-

Class SpdyConnection

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Closeable, AutoCloseable
    -
    -
    -
    -
    public final class SpdyConnection
    -extends Object
    -implements Closeable
    -
    A socket connection to a remote peer. A connection hosts streams which can - send and receive data. - -

    Many methods in this API are synchronous: the call is - completed before the method returns. This is typical for Java but atypical - for SPDY. This is motivated by exception transparency: an IOException that - was triggered by a certain caller can be caught and handled by that caller.

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class SpdyConnection.Builder 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidclose() -
      Closes this connection.
      -
      voidflush() 
      longgetIdleStartTimeNs() -
      Returns the time in ns when this connection became idle or Long.MAX_VALUE - if connection is not idle.
      -
      booleanisIdle() -
      Returns true if this connection is idle.
      -
      SpdyStreamnewStream(List<String> requestHeaders, - boolean out, - boolean in) -
      Returns a new locally-initiated stream.
      -
      voidnoop() -
      Sends a noop frame to the peer.
      -
      intopenStreamCount() -
      Returns the number of open streams on this - connection.
      -
      Pingping() -
      Sends a ping frame to the peer.
      -
      voidreadConnectionHeader() -
      Reads a connection header if the current variant requires it.
      -
      voidsendConnectionHeader() -
      Sends a connection header if the current variant requires it.
      -
      voidshutdown(ErrorCode statusCode) -
      Degrades this connection such that new streams can neither be created - locally, nor accepted from the remote peer.
      -
      voidwriteData(int streamId, - boolean outFinished, - byte[] buffer, - int offset, - int byteCount) 
      - -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        openStreamCount

        -
        public int openStreamCount()
        -
        Returns the number of open streams on this - connection.
        -
      • -
      - - - -
        -
      • -

        isIdle

        -
        public boolean isIdle()
        -
        Returns true if this connection is idle.
        -
      • -
      - - - -
        -
      • -

        getIdleStartTimeNs

        -
        public long getIdleStartTimeNs()
        -
        Returns the time in ns when this connection became idle or Long.MAX_VALUE - if connection is not idle.
        -
      • -
      - - - -
        -
      • -

        newStream

        -
        public SpdyStream newStream(List<String> requestHeaders,
        -                   boolean out,
        -                   boolean in)
        -                     throws IOException
        -
        Returns a new locally-initiated stream.
        -
        Parameters:
        out - true to create an output stream that we can use to send data - to the remote peer. Corresponds to FLAG_FIN.
        in - true to create an input stream that the remote peer can use to - send data to us. Corresponds to FLAG_UNIDIRECTIONAL.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        writeData

        -
        public void writeData(int streamId,
        -             boolean outFinished,
        -             byte[] buffer,
        -             int offset,
        -             int byteCount)
        -               throws IOException
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        ping

        -
        public Ping ping()
        -          throws IOException
        -
        Sends a ping frame to the peer. Use the returned object to await the - ping's response and observe its round trip time.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        noop

        -
        public void noop()
        -          throws IOException
        -
        Sends a noop frame to the peer.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - - - - - -
        -
      • -

        shutdown

        -
        public void shutdown(ErrorCode statusCode)
        -              throws IOException
        -
        Degrades this connection such that new streams can neither be created - locally, nor accepted from the remote peer. Existing streams are not - impacted. This is intended to permit an endpoint to gracefully stop - accepting new requests without harming previously established streams.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        close

        -
        public void close()
        -           throws IOException
        -
        Closes this connection. This cancels all open streams and unanswered - pings. It closes the underlying input and output streams and shuts down - internal executor services.
        -
        -
        Specified by:
        -
        close in interface Closeable
        -
        Specified by:
        -
        close in interface AutoCloseable
        -
        Throws:
        -
        IOException
        -
      • -
      - - - - - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/SpdyStream.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/SpdyStream.html deleted file mode 100644 index 99bb6c99e..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/SpdyStream.html +++ /dev/null @@ -1,486 +0,0 @@ - - - - - - -SpdyStream (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp.internal.spdy
-

Class SpdyStream

-
-
- -
-
    -
  • -
    -
    -
    public final class SpdyStream
    -extends Object
    -
    A logical bidirectional stream.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        WINDOW_UPDATE_THRESHOLD

        -
        public static final int WINDOW_UPDATE_THRESHOLD
        -
        The number of unacknowledged bytes at which the input stream will send - the peer a WINDOW_UPDATE frame. Must be less than this client's - window size, otherwise the remote peer will stop sending data on this - stream. (Chrome 25 uses 5 MiB.)
        -
        See Also:
        Constant Field Values
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isOpen

        -
        public boolean isOpen()
        -
        Returns true if this stream is open. A stream is open until either: -
          -
        • A SYN_RESET frame abnormally terminates the stream. -
        • Both input and output streams have transmitted all data and - headers. -
        - Note that the input stream may continue to yield data even after a stream - reports itself as not open. This is because input data is buffered.
        -
      • -
      - - - -
        -
      • -

        isLocallyInitiated

        -
        public boolean isLocallyInitiated()
        -
        Returns true if this stream was created by this peer.
        -
      • -
      - - - - - - - -
        -
      • -

        getRequestHeaders

        -
        public List<String> getRequestHeaders()
        -
      • -
      - - - -
        -
      • -

        getResponseHeaders

        -
        public List<String> getResponseHeaders()
        -                                throws IOException
        -
        Returns the stream's response headers, blocking if necessary if they - have not been received yet.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        getErrorCode

        -
        public ErrorCode getErrorCode()
        -
        Returns the reason why this stream was closed, or null if it closed - normally or has not yet been closed.
        -
      • -
      - - - -
        -
      • -

        reply

        -
        public void reply(List<String> responseHeaders,
        -         boolean out)
        -           throws IOException
        -
        Sends a reply to an incoming stream.
        -
        Parameters:
        out - true to create an output stream that we can use to send data - to the remote peer. Corresponds to FLAG_FIN.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        setReadTimeout

        -
        public void setReadTimeout(long readTimeoutMillis)
        -
        Sets the maximum time to wait on input stream reads before failing with a - SocketTimeoutException, or 0 to wait indefinitely.
        -
      • -
      - - - -
        -
      • -

        getReadTimeoutMillis

        -
        public long getReadTimeoutMillis()
        -
      • -
      - - - -
        -
      • -

        getInputStream

        -
        public InputStream getInputStream()
        -
        Returns an input stream that can be used to read data from the peer.
        -
      • -
      - - - - - - - -
        -
      • -

        close

        -
        public void close(ErrorCode rstStatusCode)
        -           throws IOException
        -
        Abnormally terminate this stream. This blocks until the RST_STREAM - frame has been transmitted.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        closeLater

        -
        public void closeLater(ErrorCode errorCode)
        -
        Abnormally terminate this stream. This enqueues a RST_STREAM - frame and returns immediately.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/ErrorCode.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/ErrorCode.html deleted file mode 100644 index 2a779503f..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/ErrorCode.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.spdy.ErrorCode (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.spdy.ErrorCode

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/FrameReader.Handler.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/FrameReader.Handler.html deleted file mode 100644 index fa4d14ced..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/FrameReader.Handler.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.internal.spdy.FrameReader.Handler (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.internal.spdy.FrameReader.Handler

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/FrameReader.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/FrameReader.html deleted file mode 100644 index 336cb0892..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/FrameReader.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.internal.spdy.FrameReader (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.internal.spdy.FrameReader

-
-
No usage of com.squareup.okhttp.internal.spdy.FrameReader
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/FrameWriter.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/FrameWriter.html deleted file mode 100644 index 5bfe2c27b..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/FrameWriter.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.internal.spdy.FrameWriter (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.internal.spdy.FrameWriter

-
-
No usage of com.squareup.okhttp.internal.spdy.FrameWriter
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/IncomingStreamHandler.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/IncomingStreamHandler.html deleted file mode 100644 index ec17f9cac..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/IncomingStreamHandler.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.internal.spdy.IncomingStreamHandler (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.internal.spdy.IncomingStreamHandler

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/Ping.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/Ping.html deleted file mode 100644 index fef8fee29..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/Ping.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.spdy.Ping (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.spdy.Ping

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/SpdyConnection.Builder.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/SpdyConnection.Builder.html deleted file mode 100644 index 73a91343c..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/SpdyConnection.Builder.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.spdy.SpdyConnection.Builder (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.spdy.SpdyConnection.Builder

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/SpdyConnection.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/SpdyConnection.html deleted file mode 100644 index a6cf05402..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/SpdyConnection.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.spdy.SpdyConnection (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.spdy.SpdyConnection

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/SpdyStream.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/SpdyStream.html deleted file mode 100644 index b55b56a56..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/class-use/SpdyStream.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.spdy.SpdyStream (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.spdy.SpdyStream

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-frame.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-frame.html deleted file mode 100644 index b6b8e3b9c..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-frame.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -com.squareup.okhttp.internal.spdy (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - -

com.squareup.okhttp.internal.spdy

- - - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-summary.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-summary.html deleted file mode 100644 index fc0ce22a9..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-summary.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - -com.squareup.okhttp.internal.spdy (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - -
- - - - - -
- - -
-

Package com.squareup.okhttp.internal.spdy

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    FrameReader -
    Reads transport frames for SPDY/3 or HTTP/2.0.
    -
    FrameReader.Handler 
    FrameWriter -
    Writes transport frames for SPDY/3 or HTTP/2.0.
    -
    IncomingStreamHandler -
    Listener to be notified when a connected peer creates a new stream.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Ping -
    A locally-originated ping.
    -
    SpdyConnection -
    A socket connection to a remote peer.
    -
    SpdyConnection.Builder 
    SpdyStream -
    A logical bidirectional stream.
    -
    -
  • -
  • - - - - - - - - - - - - -
    Enum Summary 
    EnumDescription
    ErrorCode 
    -
  • -
-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-tree.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-tree.html deleted file mode 100644 index 9764375e0..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-tree.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - -com.squareup.okhttp.internal.spdy Class Hierarchy (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.squareup.okhttp.internal.spdy

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-use.html b/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-use.html deleted file mode 100644 index 7eafbb4ae..000000000 --- a/1.x/okhttp-protocols/com/squareup/okhttp/internal/spdy/package-use.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.internal.spdy (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.internal.spdy

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/constant-values.html b/1.x/okhttp-protocols/constant-values.html deleted file mode 100644 index ea497a859..000000000 --- a/1.x/okhttp-protocols/constant-values.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -Constant Field Values (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - -
- - - - - -
- - -
-

Constant Field Values

-

Contents

- -
-
- - -

com.squareup.*

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/deprecated-list.html b/1.x/okhttp-protocols/deprecated-list.html deleted file mode 100644 index ad43a4ae9..000000000 --- a/1.x/okhttp-protocols/deprecated-list.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -Deprecated List (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - -
- - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/help-doc.html b/1.x/okhttp-protocols/help-doc.html deleted file mode 100644 index 727eed89f..000000000 --- a/1.x/okhttp-protocols/help-doc.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - -API Help (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - -
- - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Overview

    -

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    -
  • -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/index-all.html b/1.x/okhttp-protocols/index-all.html deleted file mode 100644 index 210126a9a..000000000 --- a/1.x/okhttp-protocols/index-all.html +++ /dev/null @@ -1,631 +0,0 @@ - - - - - - -Index (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - -
- - - - - -
- - -
B C D E F G H I L N O P R S T U V W  - - -

B

-
-
Base64 - Class in com.squareup.okhttp.internal
-
-
Base64 encoder/decoder.
-
-
build() - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection.Builder
-
 
-
- - - -

C

-
-
checkOffsetAndCount(int, int, int) - Static method in class com.squareup.okhttp.internal.Util
-
 
-
close() - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection
-
-
Closes this connection.
-
-
close(ErrorCode) - Method in class com.squareup.okhttp.internal.spdy.SpdyStream
-
-
Abnormally terminate this stream.
-
-
closeAll(Closeable, Closeable) - Static method in class com.squareup.okhttp.internal.Util
-
-
Closes a and b.
-
-
closeLater(ErrorCode) - Method in class com.squareup.okhttp.internal.spdy.SpdyStream
-
-
Abnormally terminate this stream.
-
-
closeQuietly(Closeable) - Static method in class com.squareup.okhttp.internal.Util
-
-
Closes closeable, ignoring any checked exceptions.
-
-
closeQuietly(Socket) - Static method in class com.squareup.okhttp.internal.Util
-
-
Closes socket, ignoring any checked exceptions.
-
-
closeQuietly(ServerSocket) - Static method in class com.squareup.okhttp.internal.Util
-
-
Closes serverSocket, ignoring any checked exceptions.
-
-
com.squareup.okhttp.internal - package com.squareup.okhttp.internal
-
 
-
com.squareup.okhttp.internal.spdy - package com.squareup.okhttp.internal.spdy
-
 
-
connectionHeader() - Method in interface com.squareup.okhttp.internal.spdy.FrameWriter
-
-
HTTP/2.0 only.
-
-
connectSocket(Socket, InetSocketAddress, int) - Method in class com.squareup.okhttp.internal.Platform
-
 
-
copy(InputStream, OutputStream) - Static method in class com.squareup.okhttp.internal.Util
-
-
Copies all of the bytes from in to out.
-
-
- - - -

D

-
-
daemonThreadFactory(String) - Static method in class com.squareup.okhttp.internal.Util
-
 
-
data(boolean, int, InputStream, int) - Method in interface com.squareup.okhttp.internal.spdy.FrameReader.Handler
-
 
-
data(boolean, int, byte[]) - Method in interface com.squareup.okhttp.internal.spdy.FrameWriter
-
 
-
data(boolean, int, byte[], int, int) - Method in interface com.squareup.okhttp.internal.spdy.FrameWriter
-
 
-
decode(byte[]) - Static method in class com.squareup.okhttp.internal.Base64
-
 
-
decode(byte[], int) - Static method in class com.squareup.okhttp.internal.Base64
-
 
-
deleteContents(File) - Static method in class com.squareup.okhttp.internal.Util
-
-
Deletes the contents of dir.
-
-
- - - -

E

-
-
EMPTY_BYTE_ARRAY - Static variable in class com.squareup.okhttp.internal.Util
-
 
-
EMPTY_STRING_ARRAY - Static variable in class com.squareup.okhttp.internal.Util
-
 
-
enableTlsExtensions(SSLSocket, String) - Method in class com.squareup.okhttp.internal.Platform
-
-
Attempt a TLS connection with useful extensions enabled.
-
-
encode(byte[]) - Static method in class com.squareup.okhttp.internal.Base64
-
 
-
equal(Object, Object) - Static method in class com.squareup.okhttp.internal.Util
-
-
Returns true if two possibly-null objects are equal.
-
-
ErrorCode - Enum in com.squareup.okhttp.internal.spdy
-
 
-
execute() - Method in class com.squareup.okhttp.internal.NamedRunnable
-
 
-
- - - -

F

-
-
flush() - Method in interface com.squareup.okhttp.internal.spdy.FrameWriter
-
-
SPDY/3 only.
-
-
flush() - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection
-
 
-
FrameReader - Interface in com.squareup.okhttp.internal.spdy
-
-
Reads transport frames for SPDY/3 or HTTP/2.0.
-
-
FrameReader.Handler - Interface in com.squareup.okhttp.internal.spdy
-
 
-
FrameWriter - Interface in com.squareup.okhttp.internal.spdy
-
-
Writes transport frames for SPDY/3 or HTTP/2.0.
-
-
fromHttp2(int) - Static method in enum com.squareup.okhttp.internal.spdy.ErrorCode
-
 
-
fromSpdy3Rst(int) - Static method in enum com.squareup.okhttp.internal.spdy.ErrorCode
-
 
-
fromSpdyGoAway(int) - Static method in enum com.squareup.okhttp.internal.spdy.ErrorCode
-
 
-
- - - -

G

-
-
get() - Static method in class com.squareup.okhttp.internal.Platform
-
 
-
getConnection() - Method in class com.squareup.okhttp.internal.spdy.SpdyStream
-
 
-
getDefaultPort(String) - Static method in class com.squareup.okhttp.internal.Util
-
 
-
getEffectivePort(URI) - Static method in class com.squareup.okhttp.internal.Util
-
 
-
getEffectivePort(URL) - Static method in class com.squareup.okhttp.internal.Util
-
 
-
getErrorCode() - Method in class com.squareup.okhttp.internal.spdy.SpdyStream
-
-
Returns the reason why this stream was closed, or null if it closed - normally or has not yet been closed.
-
-
getIdleStartTimeNs() - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection
-
-
Returns the time in ns when this connection became idle or Long.MAX_VALUE - if connection is not idle.
-
-
getInputStream() - Method in class com.squareup.okhttp.internal.spdy.SpdyStream
-
-
Returns an input stream that can be used to read data from the peer.
-
-
getNpnSelectedProtocol(SSLSocket) - Method in class com.squareup.okhttp.internal.Platform
-
-
Returns the negotiated protocol, or null if no protocol was negotiated.
-
-
getOutputStream() - Method in class com.squareup.okhttp.internal.spdy.SpdyStream
-
-
Returns an output stream that can be used to write data to the peer.
-
-
getPrefix() - Method in class com.squareup.okhttp.internal.Platform
-
-
Prefix used on custom headers.
-
-
getReadTimeoutMillis() - Method in class com.squareup.okhttp.internal.spdy.SpdyStream
-
 
-
getRequestHeaders() - Method in class com.squareup.okhttp.internal.spdy.SpdyStream
-
 
-
getResponseHeaders() - Method in class com.squareup.okhttp.internal.spdy.SpdyStream
-
-
Returns the stream's response headers, blocking if necessary if they - have not been received yet.
-
-
goAway(int, ErrorCode) - Method in interface com.squareup.okhttp.internal.spdy.FrameReader.Handler
-
 
-
goAway(int, ErrorCode) - Method in interface com.squareup.okhttp.internal.spdy.FrameWriter
-
 
-
- - - -

H

-
-
handler(IncomingStreamHandler) - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection.Builder
-
 
-
hash(String) - Static method in class com.squareup.okhttp.internal.Util
-
-
Returns a 32 character string containing a hash of s.
-
-
headers(boolean, boolean, int, int, int, List<String>, HeadersMode) - Method in interface com.squareup.okhttp.internal.spdy.FrameReader.Handler
-
-
Create or update incoming headers, creating the corresponding streams - if necessary.
-
-
headers(int, List<String>) - Method in interface com.squareup.okhttp.internal.spdy.FrameWriter
-
 
-
http20Draft06() - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection.Builder
-
 
-
httpCode - Variable in enum com.squareup.okhttp.internal.spdy.ErrorCode
-
 
-
- - - -

I

-
-
immutableList(List<T>) - Static method in class com.squareup.okhttp.internal.Util
-
-
Returns an immutable copy of list.
-
-
IncomingStreamHandler - Interface in com.squareup.okhttp.internal.spdy
-
-
Listener to be notified when a connected peer creates a new stream.
-
-
isIdle() - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection
-
-
Returns true if this connection is idle.
-
-
isLocallyInitiated() - Method in class com.squareup.okhttp.internal.spdy.SpdyStream
-
-
Returns true if this stream was created by this peer.
-
-
ISO_8859_1 - Static variable in class com.squareup.okhttp.internal.Util
-
-
A cheap and type-safe constant for the ISO-8859-1 Charset.
-
-
isOpen() - Method in class com.squareup.okhttp.internal.spdy.SpdyStream
-
-
Returns true if this stream is open.
-
-
- - - -

L

-
-
logW(String) - Method in class com.squareup.okhttp.internal.Platform
-
 
-
- - - -

N

-
-
NamedRunnable - Class in com.squareup.okhttp.internal
-
-
Runnable implementation which always sets its thread name.
-
-
NamedRunnable(String, Object...) - Constructor for class com.squareup.okhttp.internal.NamedRunnable
-
 
-
newDeflaterOutputStream(OutputStream, Deflater, boolean) - Method in class com.squareup.okhttp.internal.Platform
-
-
Returns a deflater output stream that supports SYNC_FLUSH for SPDY name - value blocks.
-
-
newStream(List<String>, boolean, boolean) - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection
-
-
Returns a new locally-initiated stream.
-
-
nextFrame(FrameReader.Handler) - Method in interface com.squareup.okhttp.internal.spdy.FrameReader
-
 
-
noop() - Method in interface com.squareup.okhttp.internal.spdy.FrameReader.Handler
-
 
-
noop() - Method in interface com.squareup.okhttp.internal.spdy.FrameWriter
-
 
-
noop() - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection
-
-
Sends a noop frame to the peer.
-
-
- - - -

O

-
-
openStreamCount() - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection
-
-
Returns the number of open streams on this - connection.
-
-
- - - -

P

-
-
ping(boolean, int, int) - Method in interface com.squareup.okhttp.internal.spdy.FrameReader.Handler
-
 
-
ping(boolean, int, int) - Method in interface com.squareup.okhttp.internal.spdy.FrameWriter
-
 
-
Ping - Class in com.squareup.okhttp.internal.spdy
-
-
A locally-originated ping.
-
-
ping() - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection
-
-
Sends a ping frame to the peer.
-
-
Platform - Class in com.squareup.okhttp.internal
-
-
Access to Platform-specific features necessary for SPDY and advanced TLS.
-
-
Platform() - Constructor for class com.squareup.okhttp.internal.Platform
-
 
-
pokeInt(byte[], int, int, ByteOrder) - Static method in class com.squareup.okhttp.internal.Util
-
 
-
priority(int, int) - Method in interface com.squareup.okhttp.internal.spdy.FrameReader.Handler
-
 
-
- - - -

R

-
-
readAsciiLine(InputStream) - Static method in class com.squareup.okhttp.internal.Util
-
-
Returns the ASCII characters up to but not including the next "\r\n", or - "\n".
-
-
readConnectionHeader() - Method in interface com.squareup.okhttp.internal.spdy.FrameReader
-
 
-
readConnectionHeader() - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection
-
-
Reads a connection header if the current variant requires it.
-
-
readFully(InputStream, byte[]) - Static method in class com.squareup.okhttp.internal.Util
-
-
Fills 'dst' with bytes from 'in', throwing EOFException if insufficient bytes are available.
-
-
readFully(InputStream, byte[], int, int) - Static method in class com.squareup.okhttp.internal.Util
-
-
Reads exactly 'byteCount' bytes from 'in' (into 'dst' at offset 'offset'), and throws - EOFException if insufficient bytes are available.
-
-
readFully(Reader) - Static method in class com.squareup.okhttp.internal.Util
-
-
Returns the remainder of 'reader' as a string, closing it when done.
-
-
readSingleByte(InputStream) - Static method in class com.squareup.okhttp.internal.Util
-
-
Implements InputStream.read(int) in terms of InputStream.read(byte[], int, int).
-
-
receive(SpdyStream) - Method in interface com.squareup.okhttp.internal.spdy.IncomingStreamHandler
-
-
Handle a new stream from this connection's peer.
-
-
REFUSE_INCOMING_STREAMS - Static variable in interface com.squareup.okhttp.internal.spdy.IncomingStreamHandler
-
 
-
reply(List<String>, boolean) - Method in class com.squareup.okhttp.internal.spdy.SpdyStream
-
-
Sends a reply to an incoming stream.
-
-
roundTripTime() - Method in class com.squareup.okhttp.internal.spdy.Ping
-
-
Returns the round trip time for this ping in nanoseconds, waiting for the - response to arrive if necessary.
-
-
roundTripTime(long, TimeUnit) - Method in class com.squareup.okhttp.internal.spdy.Ping
-
-
Returns the round trip time for this ping in nanoseconds, or -1 if the - response was cancelled, or -2 if the timeout elapsed before the round - trip completed.
-
-
rstStream(int, ErrorCode) - Method in interface com.squareup.okhttp.internal.spdy.FrameReader.Handler
-
 
-
rstStream(int, ErrorCode) - Method in interface com.squareup.okhttp.internal.spdy.FrameWriter
-
 
-
run() - Method in class com.squareup.okhttp.internal.NamedRunnable
-
 
-
- - - -

S

-
-
sendConnectionHeader() - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection
-
-
Sends a connection header if the current variant requires it.
-
-
setNpnProtocols(SSLSocket, byte[]) - Method in class com.squareup.okhttp.internal.Platform
-
-
Sets client-supported protocols on a socket to send to a server.
-
-
setReadTimeout(long) - Method in class com.squareup.okhttp.internal.spdy.SpdyStream
-
-
Sets the maximum time to wait on input stream reads before failing with a - SocketTimeoutException, or 0 to wait indefinitely.
-
-
settings(boolean, Settings) - Method in interface com.squareup.okhttp.internal.spdy.FrameReader.Handler
-
 
-
settings(Settings) - Method in interface com.squareup.okhttp.internal.spdy.FrameWriter
-
 
-
shutdown(ErrorCode) - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection
-
-
Degrades this connection such that new streams can neither be created - locally, nor accepted from the remote peer.
-
-
skipAll(InputStream) - Static method in class com.squareup.okhttp.internal.Util
-
 
-
skipByReading(InputStream, long) - Static method in class com.squareup.okhttp.internal.Util
-
-
Call in.read() repeatedly until either the stream is exhausted or - byteCount bytes have been read.
-
-
spdy3() - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection.Builder
-
 
-
SpdyConnection - Class in com.squareup.okhttp.internal.spdy
-
-
A socket connection to a remote peer.
-
-
SpdyConnection.Builder - Class in com.squareup.okhttp.internal.spdy
-
 
-
SpdyConnection.Builder(boolean, Socket) - Constructor for class com.squareup.okhttp.internal.spdy.SpdyConnection.Builder
-
 
-
SpdyConnection.Builder(boolean, InputStream, OutputStream) - Constructor for class com.squareup.okhttp.internal.spdy.SpdyConnection.Builder
-
 
-
SpdyConnection.Builder(String, boolean, Socket) - Constructor for class com.squareup.okhttp.internal.spdy.SpdyConnection.Builder
-
 
-
SpdyConnection.Builder(String, boolean, InputStream, OutputStream) - Constructor for class com.squareup.okhttp.internal.spdy.SpdyConnection.Builder
-
 
-
spdyGoAwayCode - Variable in enum com.squareup.okhttp.internal.spdy.ErrorCode
-
 
-
spdyRstCode - Variable in enum com.squareup.okhttp.internal.spdy.ErrorCode
-
 
-
SpdyStream - Class in com.squareup.okhttp.internal.spdy
-
-
A logical bidirectional stream.
-
-
supportTlsIntolerantServer(SSLSocket) - Method in class com.squareup.okhttp.internal.Platform
-
-
Attempt a secure connection with basic functionality to maximize - compatibility.
-
-
synReply(boolean, int, List<String>) - Method in interface com.squareup.okhttp.internal.spdy.FrameWriter
-
 
-
synStream(boolean, boolean, int, int, int, int, List<String>) - Method in interface com.squareup.okhttp.internal.spdy.FrameWriter
-
 
-
- - - -

T

-
-
tagSocket(Socket) - Method in class com.squareup.okhttp.internal.Platform
-
 
-
toUriLenient(URL) - Method in class com.squareup.okhttp.internal.Platform
-
 
-
- - - -

U

-
-
untagSocket(Socket) - Method in class com.squareup.okhttp.internal.Platform
-
 
-
US_ASCII - Static variable in class com.squareup.okhttp.internal.Util
-
-
A cheap and type-safe constant for the US-ASCII Charset.
-
-
UTF_8 - Static variable in class com.squareup.okhttp.internal.Util
-
-
A cheap and type-safe constant for the UTF-8 Charset.
-
-
Util - Class in com.squareup.okhttp.internal
-
-
Junk drawer of utility methods.
-
-
- - - -

V

-
-
valueOf(String) - Static method in enum com.squareup.okhttp.internal.spdy.ErrorCode
-
-
Returns the enum constant of this type with the specified name.
-
-
values() - Static method in enum com.squareup.okhttp.internal.spdy.ErrorCode
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
- - - -

W

-
-
WINDOW_UPDATE_THRESHOLD - Static variable in class com.squareup.okhttp.internal.spdy.SpdyStream
-
-
The number of unacknowledged bytes at which the input stream will send - the peer a WINDOW_UPDATE frame.
-
-
windowUpdate(int, int, boolean) - Method in interface com.squareup.okhttp.internal.spdy.FrameReader.Handler
-
 
-
windowUpdate(int, int) - Method in interface com.squareup.okhttp.internal.spdy.FrameWriter
-
 
-
writeData(int, boolean, byte[], int, int) - Method in class com.squareup.okhttp.internal.spdy.SpdyConnection
-
 
-
writeSingleByte(OutputStream, int) - Static method in class com.squareup.okhttp.internal.Util
-
-
Implements OutputStream.write(int) in terms of OutputStream.write(byte[], int, int).
-
-
-B C D E F G H I L N O P R S T U V W 
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/index.html b/1.x/okhttp-protocols/index.html deleted file mode 100644 index 0855ea921..000000000 --- a/1.x/okhttp-protocols/index.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -OkHttp SPDY and HTTP/2.0 internals 1.3.0 API - - - - - - - - - -<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="overview-summary.html">Non-frame version</a>.</p> - - - diff --git a/1.x/okhttp-protocols/overview-frame.html b/1.x/okhttp-protocols/overview-frame.html deleted file mode 100644 index d840076a3..000000000 --- a/1.x/okhttp-protocols/overview-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -Overview List (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - -

 

- - diff --git a/1.x/okhttp-protocols/overview-summary.html b/1.x/okhttp-protocols/overview-summary.html deleted file mode 100644 index 0cb7c9b17..000000000 --- a/1.x/okhttp-protocols/overview-summary.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - -Overview (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - -
- - - - - -
- - -
-

OkHttp SPDY and HTTP/2.0 internals 1.3.0 API

-
-
- - - - - - - - - - - - - - - - -
Packages 
PackageDescription
com.squareup.okhttp.internal 
com.squareup.okhttp.internal.spdy 
-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/overview-tree.html b/1.x/okhttp-protocols/overview-tree.html deleted file mode 100644 index 8071345d0..000000000 --- a/1.x/okhttp-protocols/overview-tree.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp SPDY and HTTP/2.0 internals 1.3.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-protocols/package-list b/1.x/okhttp-protocols/package-list deleted file mode 100644 index 2b04f6721..000000000 --- a/1.x/okhttp-protocols/package-list +++ /dev/null @@ -1,2 +0,0 @@ -com.squareup.okhttp.internal -com.squareup.okhttp.internal.spdy diff --git a/1.x/okhttp-protocols/resources/background.gif b/1.x/okhttp-protocols/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xp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cZJI+QC-xU zoxz=5z0k%1;jBrGI%Th~FQElrAPr?E-Fv9|o09dPk=?>f)jFKL8PK|;w(cVDq>YWP zEfL7RGBv|<>f4IccND3wCi*V8`>#a$FPZu&a{V`W`me+Kuf_CJ)%IV%?5ByL^#3Q{ z&uBM5|34IKI>0_Tz{5OngXe#6w*N6;;5PH%9n%56%RaWA{wJ4%515Apdj`a62bp<> zM12OuV+QZ^55ATkViO(UWgg}%9C}kb^r~=BiDyWIXZWM&kb>Q?dd$#W`4KU|2#4qh zz;sZ>ZqS5h#Kdk$&1c9AHmDUdtmHE)CqH0RIAZEE;t(^+RXF+*FlJyk;?6Vn{&MsO zZ0HwY)b4Va!F1#s^N5$-s9(&mPa*Lu4>4SxXm~l|3?PR2jB1J!Q|(4#0i$lFME^-r zA~Q(2O+PHOdcVN((R8zqi>%+yx4PA5u&+jI zZ?)Fm8m-+`n!Bnrx0PvZE7!Q)Z+NTE@K(R!nO40sZF(n~bq_b_9H`UYU#q>pPJ3UC z_UeU>J7qcy%%`ks9)BNcS^GDOn z?oKkjHNoWO1e2?M#vd12e^_AscAnLnc~-CISiYWX`D%{k^H~<37unpMYJYdSv=Om2vbAM@`Qp{{SI=yP zj6WN*eEt0G$9EPX6FU%)-ho>hWTW!yzXBIo73<0umM-=@eG&niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/1.x/okhttp-protocols/stylesheet.css b/1.x/okhttp-protocols/stylesheet.css deleted file mode 100644 index 0aeaa97fe..000000000 --- a/1.x/okhttp-protocols/stylesheet.css +++ /dev/null @@ -1,474 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ -body { - background-color:#ffffff; - color:#353833; - font-family:Arial, Helvetica, sans-serif; - font-size:76%; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4c6b87; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4c6b87; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-size:1.3em; -} -h1 { - font-size:1.8em; -} -h2 { - font-size:1.5em; -} -h3 { - font-size:1.4em; -} -h4 { - font-size:1.3em; -} -h5 { - font-size:1.2em; -} -h6 { - font-size:1.1em; -} -ul { - list-style-type:disc; -} -code, tt { - font-size:1.2em; -} -dt code { - font-size:1.2em; -} -table tr td dt code { - font-size:1.2em; - vertical-align:top; -} -sup { - font-size:.6em; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:.8em; - z-index:200; - margin-top:-7px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - background-image:url(resources/titlebar.gif); - background-position:left top; - background-repeat:no-repeat; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:1em; - margin:0; -} -.topNav { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.bottomNav { - margin-top:10px; - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.subNav { - background-color:#dee3e9; - border-bottom:1px solid #9eadc0; - float:left; - width:100%; - overflow:hidden; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding:3px 6px; -} -ul.subNavList li{ - list-style:none; - float:left; - font-size:90%; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; -} -.navBarCell1Rev { - background-image:url(resources/tab.gif); - background-color:#a88834; - color:#FFFFFF; - margin: auto 5px; - border:1px solid #c9aa44; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader h1 { - font-size:1.3em; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 25px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:1.2em; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:1.0em; -} -.indexContainer h2 { - font-size:1.1em; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:1.1em; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:10px 0 10px 20px; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:25px; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #9eadc0; - background-color:#f9f9f9; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:1px solid #9eadc0; - border-top:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; - border-bottom:1px solid #9eadc0; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.contentContainer table, .classUseContainer table, .constantValuesContainer table { - border-bottom:1px solid #9eadc0; - width:100%; -} -.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { - width:100%; -} -.contentContainer .description table, .contentContainer .details table { - border-bottom:none; -} -.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ - vertical-align:top; - padding-right:20px; -} -.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, -.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, -.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, -.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { - padding-right:3px; -} -.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#FFFFFF; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - margin:0px; -} -caption a:link, caption a:hover, caption a:active, caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { - white-space:nowrap; - padding-top:8px; - padding-left:8px; - display:block; - float:left; - background-image:url(resources/titlebar.gif); - height:18px; -} -.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { - width:10px; - background-image:url(resources/titlebar_end.gif); - background-repeat:no-repeat; - background-position:top right; - position:relative; - float:left; -} -ul.blockList ul.blockList li.blockList table { - margin:0 0 12px 0px; - width:100%; -} -.tableSubHeadingColor { - background-color: #EEEEFF; -} -.altColor { - background-color:#eeeeef; -} -.rowColor { - background-color:#ffffff; -} -.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { - text-align:left; - padding:3px 3px 3px 7px; -} -th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { - background:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - text-align:left; - padding:3px 3px 3px 7px; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -td.colFirst, th.colFirst { - border-left:1px solid #9eadc0; - white-space:nowrap; -} -td.colLast, th.colLast { - border-right:1px solid #9eadc0; -} -td.colOne, th.colOne { - border-right:1px solid #9eadc0; - border-left:1px solid #9eadc0; -} -table.overviewSummary { - padding:0px; - margin-left:0px; -} -table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, -table.overviewSummary td.colOne, table.overviewSummary th.colOne { - width:25%; - vertical-align:middle; -} -table.packageSummary td.colFirst, table.overviewSummary th.colFirst { - width:25%; - vertical-align:middle; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:.9em; -} -.block { - display:block; - margin:3px 0 0 0; -} -.strong { - font-weight:bold; -} diff --git a/1.x/okhttp-protocols/version.txt b/1.x/okhttp-protocols/version.txt deleted file mode 100644 index 589268e6f..000000000 --- a/1.x/okhttp-protocols/version.txt +++ /dev/null @@ -1 +0,0 @@ -1.3.0 \ No newline at end of file diff --git a/1.x/okhttp-tests/META-INF/MANIFEST.MF b/1.x/okhttp-tests/META-INF/MANIFEST.MF deleted file mode 100644 index 7469129bc..000000000 --- a/1.x/okhttp-tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.7.0_51 - diff --git a/1.x/okhttp-tests/version.txt b/1.x/okhttp-tests/version.txt deleted file mode 100644 index ce6a70b9d..000000000 --- a/1.x/okhttp-tests/version.txt +++ /dev/null @@ -1 +0,0 @@ -1.6.0 \ No newline at end of file diff --git a/1.x/okhttp-urlconnection/META-INF/MANIFEST.MF b/1.x/okhttp-urlconnection/META-INF/MANIFEST.MF deleted file mode 100644 index 7469129bc..000000000 --- a/1.x/okhttp-urlconnection/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.7.0_51 - diff --git a/1.x/okhttp-urlconnection/allclasses-frame.html b/1.x/okhttp-urlconnection/allclasses-frame.html deleted file mode 100644 index fd11c541a..000000000 --- a/1.x/okhttp-urlconnection/allclasses-frame.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -All Classes (OkHttp URLConnection 1.6.0 API) - - - - -

All Classes

-
- -
- - diff --git a/1.x/okhttp-urlconnection/allclasses-noframe.html b/1.x/okhttp-urlconnection/allclasses-noframe.html deleted file mode 100644 index 15cf5ee2b..000000000 --- a/1.x/okhttp-urlconnection/allclasses-noframe.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -All Classes (OkHttp URLConnection 1.6.0 API) - - - - -

All Classes

-
- -
- - diff --git a/1.x/okhttp-urlconnection/com/squareup/okhttp/OkUrlFactory.html b/1.x/okhttp-urlconnection/com/squareup/okhttp/OkUrlFactory.html deleted file mode 100644 index e6ee290bc..000000000 --- a/1.x/okhttp-urlconnection/com/squareup/okhttp/OkUrlFactory.html +++ /dev/null @@ -1,322 +0,0 @@ - - - - - - - -OkUrlFactory (OkHttp URLConnection 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class OkUrlFactory

-
-
- -
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-urlconnection/com/squareup/okhttp/class-use/OkUrlFactory.html b/1.x/okhttp-urlconnection/com/squareup/okhttp/class-use/OkUrlFactory.html deleted file mode 100644 index 4254c9b0d..000000000 --- a/1.x/okhttp-urlconnection/com/squareup/okhttp/class-use/OkUrlFactory.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.OkUrlFactory (OkHttp URLConnection 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.OkUrlFactory

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-urlconnection/com/squareup/okhttp/package-frame.html b/1.x/okhttp-urlconnection/com/squareup/okhttp/package-frame.html deleted file mode 100644 index 8e8f612bf..000000000 --- a/1.x/okhttp-urlconnection/com/squareup/okhttp/package-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -com.squareup.okhttp (OkHttp URLConnection 1.6.0 API) - - - - -

com.squareup.okhttp

-
-

Classes

- -
- - diff --git a/1.x/okhttp-urlconnection/com/squareup/okhttp/package-summary.html b/1.x/okhttp-urlconnection/com/squareup/okhttp/package-summary.html deleted file mode 100644 index 87d5e0016..000000000 --- a/1.x/okhttp-urlconnection/com/squareup/okhttp/package-summary.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -com.squareup.okhttp (OkHttp URLConnection 1.6.0 API) - - - - - - - - - - -
-

Package com.squareup.okhttp

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    OkUrlFactory 
    -
  • -
-
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-urlconnection/com/squareup/okhttp/package-tree.html b/1.x/okhttp-urlconnection/com/squareup/okhttp/package-tree.html deleted file mode 100644 index 519ae0a63..000000000 --- a/1.x/okhttp-urlconnection/com/squareup/okhttp/package-tree.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -com.squareup.okhttp Class Hierarchy (OkHttp URLConnection 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.squareup.okhttp

-
-
-

Class Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-urlconnection/com/squareup/okhttp/package-use.html b/1.x/okhttp-urlconnection/com/squareup/okhttp/package-use.html deleted file mode 100644 index 43c949ebb..000000000 --- a/1.x/okhttp-urlconnection/com/squareup/okhttp/package-use.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp (OkHttp URLConnection 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.squareup.okhttp

-
-
- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-urlconnection/constant-values.html b/1.x/okhttp-urlconnection/constant-values.html deleted file mode 100644 index 4afd10a95..000000000 --- a/1.x/okhttp-urlconnection/constant-values.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Constant Field Values (OkHttp URLConnection 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Constant Field Values

-

Contents

-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-urlconnection/deprecated-list.html b/1.x/okhttp-urlconnection/deprecated-list.html deleted file mode 100644 index 907df337f..000000000 --- a/1.x/okhttp-urlconnection/deprecated-list.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Deprecated List (OkHttp URLConnection 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-urlconnection/help-doc.html b/1.x/okhttp-urlconnection/help-doc.html deleted file mode 100644 index c3c1ad70b..000000000 --- a/1.x/okhttp-urlconnection/help-doc.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - -API Help (OkHttp URLConnection 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-urlconnection/index-all.html b/1.x/okhttp-urlconnection/index-all.html deleted file mode 100644 index c1be832ec..000000000 --- a/1.x/okhttp-urlconnection/index-all.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -Index (OkHttp URLConnection 1.6.0 API) - - - - - - - -
- - - - - -
- - -
C O  - - -

C

-
-
client() - Method in class com.squareup.okhttp.OkUrlFactory
-
 
-
clone() - Method in class com.squareup.okhttp.OkUrlFactory
-
-
Returns a copy of this stream handler factory that includes a shallow copy - of the internal HTTP client.
-
-
com.squareup.okhttp - package com.squareup.okhttp
-
 
-
createURLStreamHandler(String) - Method in class com.squareup.okhttp.OkUrlFactory
-
- -
-
- - - -

O

-
-
OkUrlFactory - Class in com.squareup.okhttp
-
 
-
OkUrlFactory(OkHttpClient) - Constructor for class com.squareup.okhttp.OkUrlFactory
-
 
-
open(URL) - Method in class com.squareup.okhttp.OkUrlFactory
-
 
-
-C O 
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-urlconnection/index.html b/1.x/okhttp-urlconnection/index.html deleted file mode 100644 index a63a3b49c..000000000 --- a/1.x/okhttp-urlconnection/index.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - -OkHttp URLConnection 1.6.0 API - - - - - - -<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/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/1.x/okhttp-urlconnection/overview-tree.html b/1.x/okhttp-urlconnection/overview-tree.html deleted file mode 100644 index 5f99cf11c..000000000 --- a/1.x/okhttp-urlconnection/overview-tree.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp URLConnection 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp-urlconnection/package-list b/1.x/okhttp-urlconnection/package-list deleted file mode 100644 index ac5f84bc5..000000000 --- a/1.x/okhttp-urlconnection/package-list +++ /dev/null @@ -1 +0,0 @@ -com.squareup.okhttp diff --git a/1.x/okhttp-urlconnection/resources/background.gif b/1.x/okhttp-urlconnection/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1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*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/1.x/okhttp-urlconnection/stylesheet.css b/1.x/okhttp-urlconnection/stylesheet.css deleted file mode 100644 index 0aeaa97fe..000000000 --- a/1.x/okhttp-urlconnection/stylesheet.css +++ /dev/null @@ -1,474 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ -body { - background-color:#ffffff; - color:#353833; - font-family:Arial, Helvetica, sans-serif; - font-size:76%; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4c6b87; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4c6b87; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-size:1.3em; -} -h1 { - font-size:1.8em; -} -h2 { - font-size:1.5em; -} -h3 { - font-size:1.4em; -} -h4 { - font-size:1.3em; -} -h5 { - font-size:1.2em; -} -h6 { - font-size:1.1em; -} -ul { - list-style-type:disc; -} -code, tt { - font-size:1.2em; -} -dt code { - font-size:1.2em; -} -table tr td dt code { - font-size:1.2em; - vertical-align:top; -} -sup { - font-size:.6em; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:.8em; - z-index:200; - margin-top:-7px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - background-image:url(resources/titlebar.gif); - background-position:left top; - background-repeat:no-repeat; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:1em; - margin:0; -} -.topNav { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.bottomNav { - margin-top:10px; - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.subNav { - background-color:#dee3e9; - border-bottom:1px solid #9eadc0; - float:left; - width:100%; - overflow:hidden; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding:3px 6px; -} -ul.subNavList li{ - list-style:none; - float:left; - font-size:90%; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; -} -.navBarCell1Rev { - background-image:url(resources/tab.gif); - background-color:#a88834; - color:#FFFFFF; - margin: auto 5px; - border:1px solid #c9aa44; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader h1 { - font-size:1.3em; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 25px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:1.2em; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:1.0em; -} -.indexContainer h2 { - font-size:1.1em; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:1.1em; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:10px 0 10px 20px; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:25px; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #9eadc0; - background-color:#f9f9f9; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:1px solid #9eadc0; - border-top:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; - border-bottom:1px solid #9eadc0; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.contentContainer table, .classUseContainer table, .constantValuesContainer table { - border-bottom:1px solid #9eadc0; - width:100%; -} -.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { - width:100%; -} -.contentContainer .description table, .contentContainer .details table { - border-bottom:none; -} -.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ - vertical-align:top; - padding-right:20px; -} -.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, -.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, -.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, -.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { - padding-right:3px; -} -.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#FFFFFF; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - margin:0px; -} -caption a:link, caption a:hover, caption a:active, caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { - white-space:nowrap; - padding-top:8px; - padding-left:8px; - display:block; - float:left; - background-image:url(resources/titlebar.gif); - height:18px; -} -.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { - width:10px; - background-image:url(resources/titlebar_end.gif); - background-repeat:no-repeat; - background-position:top right; - position:relative; - float:left; -} -ul.blockList ul.blockList li.blockList table { - margin:0 0 12px 0px; - width:100%; -} -.tableSubHeadingColor { - background-color: #EEEEFF; -} -.altColor { - background-color:#eeeeef; -} -.rowColor { - background-color:#ffffff; -} -.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { - text-align:left; - padding:3px 3px 3px 7px; -} -th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { - background:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - text-align:left; - padding:3px 3px 3px 7px; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -td.colFirst, th.colFirst { - border-left:1px solid #9eadc0; - white-space:nowrap; -} -td.colLast, th.colLast { - border-right:1px solid #9eadc0; -} -td.colOne, th.colOne { - border-right:1px solid #9eadc0; - border-left:1px solid #9eadc0; -} -table.overviewSummary { - padding:0px; - margin-left:0px; -} -table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, -table.overviewSummary td.colOne, table.overviewSummary th.colOne { - width:25%; - vertical-align:middle; -} -table.packageSummary td.colFirst, table.overviewSummary th.colFirst { - width:25%; - vertical-align:middle; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:.9em; -} -.block { - display:block; - margin:3px 0 0 0; -} -.strong { - font-weight:bold; -} diff --git a/1.x/okhttp-urlconnection/version.txt b/1.x/okhttp-urlconnection/version.txt deleted file mode 100644 index ce6a70b9d..000000000 --- a/1.x/okhttp-urlconnection/version.txt +++ /dev/null @@ -1 +0,0 @@ -1.6.0 \ No newline at end of file diff --git a/1.x/okhttp/META-INF/MANIFEST.MF b/1.x/okhttp/META-INF/MANIFEST.MF deleted file mode 100644 index 7469129bc..000000000 --- a/1.x/okhttp/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.7.0_51 - diff --git a/1.x/okhttp/allclasses-frame.html b/1.x/okhttp/allclasses-frame.html deleted file mode 100644 index 4dd63e89c..000000000 --- a/1.x/okhttp/allclasses-frame.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - -All Classes (OkHttp 1.6.0 API) - - - - -

All Classes

- - - diff --git a/1.x/okhttp/allclasses-noframe.html b/1.x/okhttp/allclasses-noframe.html deleted file mode 100644 index 936bedd7b..000000000 --- a/1.x/okhttp/allclasses-noframe.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - -All Classes (OkHttp 1.6.0 API) - - - - -

All Classes

- - - diff --git a/1.x/okhttp/com/squareup/okhttp/Address.html b/1.x/okhttp/com/squareup/okhttp/Address.html deleted file mode 100644 index ed8e6de86..000000000 --- a/1.x/okhttp/com/squareup/okhttp/Address.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - - -Address (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Address

-
-
- -
-
    -
  • -
    -
    -
    public final class Address
    -extends Object
    -
    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 - no proxy is explicitly requested), this also includes - that proxy information. For secure connections the address also includes the - SSL socket factory and hostname verifier. - -

    HTTP requests that share the same Address may also share the same - Connection.

    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getUriHost

        -
        public String getUriHost()
        -
        Returns the hostname of the origin server.
        -
      • -
      - - - -
        -
      • -

        getUriPort

        -
        public int getUriPort()
        -
        Returns the port of the origin server; typically 80 or 443. Unlike - may getPort() accessors, this method never returns -1.
        -
      • -
      - - - -
        -
      • -

        getSslSocketFactory

        -
        public SSLSocketFactory getSslSocketFactory()
        -
        Returns the SSL socket factory, or null if this is not an HTTPS - address.
        -
      • -
      - - - -
        -
      • -

        getHostnameVerifier

        -
        public HostnameVerifier getHostnameVerifier()
        -
        Returns the hostname verifier, or null if this is not an HTTPS - address.
        -
      • -
      - - - -
        -
      • -

        getAuthenticator

        -
        public OkAuthenticator getAuthenticator()
        -
        Returns the client's authenticator. This method never returns null.
        -
      • -
      - - - -
        -
      • -

        getProtocols

        -
        public List<Protocol> getProtocols()
        -
        Returns the protocols the client supports. This method always returns a - non-null list that contains minimally - Protocol.HTTP_11.
        -
      • -
      - - - -
        -
      • -

        getProxy

        -
        public Proxy getProxy()
        -
        Returns this address's explicitly-specified HTTP proxy, or null to - delegate to the HTTP client's proxy selector.
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(Object other)
        -
        -
        Overrides:
        -
        equals in class Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/Cache.html b/1.x/okhttp/com/squareup/okhttp/Cache.html deleted file mode 100644 index cc12476f6..000000000 --- a/1.x/okhttp/com/squareup/okhttp/Cache.html +++ /dev/null @@ -1,661 +0,0 @@ - - - - - - - -Cache (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Cache

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    OkResponseCache
    -
    -
    -
    Direct Known Subclasses:
    -
    HttpResponseCache
    -
    -
    -
    -
    public class Cache
    -extends ResponseCache
    -implements OkResponseCache
    -
    Caches HTTP and HTTPS responses to the filesystem so they may be reused, - saving time and bandwidth. - -

    Cache Optimization

    - To measure cache effectiveness, this class tracks three statistics: -
      -
    • Request Count: the number - of HTTP requests issued since this cache was created. -
    • Network Count: the - number of those requests that required network use. -
    • Hit Count: the number of - those requests whose responses were served by the cache. -
    - 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 - GET. 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. - -

    The best way to improve the cache hit rate is by configuring the web - server to return cacheable responses. Although this client honors all HTTP/1.1 (RFC 2068) cache - headers, it doesn't cache partial responses. - -

    Force a Network Response

    - 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 no-cache directive:
       connection.addRequestProperty("Cache-Control", "no-cache");
    - 
    - If it is only necessary to force a cached response to be validated by the - server, use the more efficient max-age=0 instead:
       connection.addRequestProperty("Cache-Control", "max-age=0");
    - 
    - -

    Force a Cache Response

    - Sometimes you'll want to show resources if they are available immediately, - but not otherwise. This can be used so your application can show - something while waiting for the latest data to be downloaded. To - restrict a request to locally-cached resources, add the only-if-cached directive:
       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
    -     }
    - 
    - This technique works even better in situations where a stale response is - better than no response. To permit stale cached responses, use the max-stale directive with the maximum staleness in seconds:
       int maxStale = 60 * 60 * 24 * 28; // tolerate 4-weeks stale
    -         connection.addRequestProperty("Cache-Control", "max-stale=" + maxStale);
    - 
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - -
        -
      • -

        get

        -
        public com.squareup.okhttp.internal.http.Response get(com.squareup.okhttp.internal.http.Request request)
        -
        -
        Specified by:
        -
        get in interface OkResponseCache
        -
        -
      • -
      - - - - - - - -
        -
      • -

        maybeRemove

        -
        public boolean maybeRemove(com.squareup.okhttp.internal.http.Request request)
        -
        Description copied from interface: OkResponseCache
        -
        Remove any cache entries for the supplied uri. Returns true if the - supplied requestMethod potentially invalidates an entry in the - cache.
        -
        -
        Specified by:
        -
        maybeRemove in interface OkResponseCache
        -
        -
      • -
      - - - -
        -
      • -

        update

        -
        public void update(com.squareup.okhttp.internal.http.Response cached,
        -          com.squareup.okhttp.internal.http.Response network)
        -
        Description copied from interface: OkResponseCache
        -
        Handles a conditional request hit by updating the stored cache response - with the headers from network. The cached response body is not - updated. If the stored response has changed since cached was - returned, this does nothing.
        -
        -
        Specified by:
        -
        update in interface OkResponseCache
        -
        -
      • -
      - - - -
        -
      • -

        delete

        -
        public void delete()
        -            throws IOException
        -
        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.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        getWriteAbortCount

        -
        public int getWriteAbortCount()
        -
      • -
      - - - -
        -
      • -

        getWriteSuccessCount

        -
        public int getWriteSuccessCount()
        -
      • -
      - - - -
        -
      • -

        getSize

        -
        public long getSize()
        -
      • -
      - - - -
        -
      • -

        getMaxSize

        -
        public long getMaxSize()
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        getDirectory

        -
        public File getDirectory()
        -
      • -
      - - - -
        -
      • -

        isClosed

        -
        public boolean isClosed()
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        getNetworkCount

        -
        public int getNetworkCount()
        -
      • -
      - - - -
        -
      • -

        getHitCount

        -
        public int getHitCount()
        -
      • -
      - - - -
        -
      • -

        getRequestCount

        -
        public int getRequestCount()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/CacheControl.html b/1.x/okhttp/com/squareup/okhttp/CacheControl.html deleted file mode 100644 index e125a4672..000000000 --- a/1.x/okhttp/com/squareup/okhttp/CacheControl.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - - - - -CacheControl (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class CacheControl

-
-
- -
-
    -
  • -
    -
    -
    public final class CacheControl
    -extends Object
    -
    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. - -

    See RFC - 2616, 14.9.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        noCache

        -
        public boolean noCache()
        -
        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. - -

        In a request, it means do not use a cache to satisfy the request.

        -
      • -
      - - - -
        -
      • -

        noStore

        -
        public boolean noStore()
        -
        If true, this response should not be cached.
        -
      • -
      - - - -
        -
      • -

        maxAgeSeconds

        -
        public int maxAgeSeconds()
        -
        The duration past the response's served date that it can be served without - validation.
        -
      • -
      - - - -
        -
      • -

        sMaxAgeSeconds

        -
        public int sMaxAgeSeconds()
        -
        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.
        -
      • -
      - - - -
        -
      • -

        isPublic

        -
        public boolean isPublic()
        -
      • -
      - - - -
        -
      • -

        mustRevalidate

        -
        public boolean mustRevalidate()
        -
      • -
      - - - -
        -
      • -

        maxStaleSeconds

        -
        public int maxStaleSeconds()
        -
      • -
      - - - -
        -
      • -

        minFreshSeconds

        -
        public int minFreshSeconds()
        -
      • -
      - - - -
        -
      • -

        onlyIfCached

        -
        public boolean onlyIfCached()
        -
        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.
        -
      • -
      - - - -
        -
      • -

        parse

        -
        public static CacheControl parse(com.squareup.okhttp.internal.http.Headers headers)
        -
        Returns the cache directives of headers. This honors both - Cache-Control and Pragma headers if they are present.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/Connection.html b/1.x/okhttp/com/squareup/okhttp/Connection.html deleted file mode 100644 index b03fb63fd..000000000 --- a/1.x/okhttp/com/squareup/okhttp/Connection.html +++ /dev/null @@ -1,676 +0,0 @@ - - - - - - - -Connection (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Connection

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Closeable, AutoCloseable
    -
    -
    -
    -
    public final class Connection
    -extends Object
    -implements Closeable
    -
    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. - -

    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 connection pool. - -

    Do not confuse this class with the misnamed HttpURLConnection, - which isn't so much a connection as a single request/response exchange. - -

    Modern TLS

    - There are tradeoffs when selecting which options to include when negotiating - a secure connection to a remote host. Newer TLS options are quite useful: -
      -
    • Server Name Indication (SNI) enables one IP address to negotiate secure - connections for multiple domain names. -
    • Next Protocol Negotiation (NPN) enables the HTTPS port (443) to be used - for both HTTP and SPDY protocols. -
    - 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.
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getOwner

        -
        public Object getOwner()
        -
      • -
      - - - -
        -
      • -

        setOwner

        -
        public void setOwner(Object owner)
        -
      • -
      - - - -
        -
      • -

        clearOwner

        -
        public boolean clearOwner()
        -
        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 closeIfOwnedBy(java.lang.Object).
        -
      • -
      - - - -
        -
      • -

        closeIfOwnedBy

        -
        public void closeIfOwnedBy(Object owner)
        -                    throws IOException
        -
        Closes this connection if it is currently owned by owner. This also - strips the ownership of the connection so it cannot be pooled or reused.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        getRoute

        -
        public Route getRoute()
        -
        Returns the route used by this connection.
        -
      • -
      - - - -
        -
      • -

        getSocket

        -
        public Socket getSocket()
        -
        Returns the socket that this connection uses, or null if the connection - is not currently connected.
        -
      • -
      - - - -
        -
      • -

        isAlive

        -
        public boolean isAlive()
        -
        Returns true if this connection is alive.
        -
      • -
      - - - -
        -
      • -

        isReadable

        -
        public boolean isReadable()
        -
        Returns true if we are confident that we can read data from this - connection. This is more expensive and more accurate than isAlive(); callers should check isAlive() first.
        -
      • -
      - - - -
        -
      • -

        resetIdleStartTime

        -
        public void resetIdleStartTime()
        -
      • -
      - - - -
        -
      • -

        isIdle

        -
        public boolean isIdle()
        -
        Returns true if this connection is idle.
        -
      • -
      - - - -
        -
      • -

        isExpired

        -
        public boolean isExpired(long keepAliveDurationNs)
        -
        Returns true if this connection has been idle for longer than - keepAliveDurationNs.
        -
      • -
      - - - -
        -
      • -

        getIdleStartTimeNs

        -
        public long getIdleStartTimeNs()
        -
        Returns the time in ns when this connection became idle. Undefined if - this connection is not idle.
        -
      • -
      - - - -
        -
      • -

        getHandshake

        -
        public Handshake getHandshake()
        -
      • -
      - - - -
        -
      • -

        newTransport

        -
        public Object newTransport(com.squareup.okhttp.internal.http.HttpEngine httpEngine)
        -                    throws IOException
        -
        Returns the transport appropriate for this connection.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        isSpdy

        -
        public boolean isSpdy()
        -
        Returns true if this is a SPDY connection. Such connections can be used - in multiple HTTP requests simultaneously.
        -
      • -
      - - - -
        -
      • -

        getHttpMinorVersion

        -
        public int getHttpMinorVersion()
        -
        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.
        -
      • -
      - - - -
        -
      • -

        setHttpMinorVersion

        -
        public void setHttpMinorVersion(int httpMinorVersion)
        -
      • -
      - - - -
        -
      • -

        requiresTunnel

        -
        public boolean requiresTunnel()
        -
        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.
        -
      • -
      - - - -
        -
      • -

        updateReadTimeout

        -
        public void updateReadTimeout(int newTimeout)
        -                       throws IOException
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        incrementRecycleCount

        -
        public void incrementRecycleCount()
        -
      • -
      - - - -
        -
      • -

        recycleCount

        -
        public int recycleCount()
        -
        Returns the number of times this connection has been returned to the - connection pool.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/ConnectionPool.html b/1.x/okhttp/com/squareup/okhttp/ConnectionPool.html deleted file mode 100644 index 01cb17bf0..000000000 --- a/1.x/okhttp/com/squareup/okhttp/ConnectionPool.html +++ /dev/null @@ -1,396 +0,0 @@ - - - - - - - -ConnectionPool (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class ConnectionPool

-
-
- -
-
    -
  • -
    -
    -
    public class ConnectionPool
    -extends Object
    -
    Manages reuse of HTTP and SPDY connections for reduced network latency. HTTP - requests that share the same Address may share a - Connection. This class implements the policy of - which connections to keep open for future use. - -

    The system-wide default uses system properties for - tuning parameters: -

      -
    • http.keepAlive true if HTTP and SPDY connections should be - pooled at all. Default is true. -
    • http.maxConnections maximum number of idle connections to - each to keep in the pool. Default is 5. -
    • http.keepAliveDuration Time in milliseconds to keep the - connection alive in the pool before closing it. Default is 5 minutes. - This property isn't used by HttpURLConnection. -
    - -

    The default instance doesn't 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.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ConnectionPool

        -
        public ConnectionPool(int maxIdleConnections,
        -              long keepAliveDurationMs)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        getConnectionCount

        -
        public int getConnectionCount()
        -
        Returns total number of connections in the pool.
        -
      • -
      - - - -
        -
      • -

        getSpdyConnectionCount

        -
        public int getSpdyConnectionCount()
        -
        Returns total number of spdy connections in the pool.
        -
      • -
      - - - -
        -
      • -

        getHttpConnectionCount

        -
        public int getHttpConnectionCount()
        -
        Returns total number of http connections in the pool.
        -
      • -
      - - - -
        -
      • -

        get

        -
        public Connection get(Address address)
        -
        Returns a recycled connection to address, or null if no such connection exists.
        -
      • -
      - - - -
        -
      • -

        recycle

        -
        public void recycle(Connection connection)
        -
        Gives connection to the pool. The pool may store the connection, - or close it, as its policy describes. - -

        It is an error to use connection after calling this method.

        -
      • -
      - - - -
        -
      • -

        share

        -
        public void share(Connection connection)
        -
        Shares the SPDY connection with the pool. Callers to this method may - continue to use connection.
        -
      • -
      - - - -
        -
      • -

        evictAll

        -
        public void evictAll()
        -
        Close and remove all connections in the pool.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/Handshake.html b/1.x/okhttp/com/squareup/okhttp/Handshake.html deleted file mode 100644 index 4b48d6de3..000000000 --- a/1.x/okhttp/com/squareup/okhttp/Handshake.html +++ /dev/null @@ -1,358 +0,0 @@ - - - - - - - -Handshake (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Handshake

-
-
- -
-
    -
  • -
    -
    -
    public final class Handshake
    -extends Object
    -
    A record of a TLS handshake. For HTTPS clients, the client is local - and the remote server is its peer. - -

    This value object describes a completed handshake. Use SSLSocketFactory to set policy for new handshakes.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - -
        -
      • -

        cipherSuite

        -
        public String cipherSuite()
        -
        Returns a cipher suite name like "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA".
        -
      • -
      - - - -
        -
      • -

        peerCertificates

        -
        public List<Certificate> peerCertificates()
        -
        Returns a possibly-empty list of certificates that identify the remote peer.
        -
      • -
      - - - -
        -
      • -

        peerPrincipal

        -
        public Principal peerPrincipal()
        -
        Returns the remote peer's principle, or null if that peer is anonymous.
        -
      • -
      - - - -
        -
      • -

        localCertificates

        -
        public List<Certificate> localCertificates()
        -
        Returns a possibly-empty list of certificates that identify this peer.
        -
      • -
      - - - -
        -
      • -

        localPrincipal

        -
        public Principal localPrincipal()
        -
        Returns the local principle, or null if this peer is anonymous.
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(Object other)
        -
        -
        Overrides:
        -
        equals in class Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/HttpResponseCache.html b/1.x/okhttp/com/squareup/okhttp/HttpResponseCache.html deleted file mode 100644 index beba2022a..000000000 --- a/1.x/okhttp/com/squareup/okhttp/HttpResponseCache.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - -HttpResponseCache (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class HttpResponseCache

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        HttpResponseCache

        -
        public HttpResponseCache(File directory,
        -                 long maxSize)
        -                  throws IOException
        -
        Deprecated. 
        -
        Throws:
        -
        IOException
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/MediaType.html b/1.x/okhttp/com/squareup/okhttp/MediaType.html deleted file mode 100644 index 270dddc28..000000000 --- a/1.x/okhttp/com/squareup/okhttp/MediaType.html +++ /dev/null @@ -1,358 +0,0 @@ - - - - - - - -MediaType (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class MediaType

-
-
- -
-
    -
  • -
    -
    -
    public final class MediaType
    -extends Object
    -
    An RFC 2045 Media Type, - appropriate to describe the content type of an HTTP request or response body.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      Charsetcharset() -
      Returns the charset of this media type, or null if this media type doesn't - specify a charset.
      -
      Charsetcharset(Charset defaultValue) -
      Returns the charset of this media type, or defaultValue if this - media type doesn't specify a charset.
      -
      booleanequals(Object o) 
      inthashCode() 
      static MediaTypeparse(String string) -
      Returns a media type for string, or null if string is not a - well-formed media type.
      -
      Stringsubtype() -
      Returns a specific media subtype, such as "plain" or "png", "mpeg", - "mp4" or "xml".
      -
      StringtoString() -
      Returns the encoded media type, like "text/plain; charset=utf-8", - appropriate for use in a Content-Type header.
      -
      Stringtype() -
      Returns the high-level media type, such as "text", "image", "audio", - "video", or "application".
      -
      - -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        parse

        -
        public static MediaType parse(String string)
        -
        Returns a media type for string, or null if string is not a - well-formed media type.
        -
      • -
      - - - -
        -
      • -

        type

        -
        public String type()
        -
        Returns the high-level media type, such as "text", "image", "audio", - "video", or "application".
        -
      • -
      - - - -
        -
      • -

        subtype

        -
        public String subtype()
        -
        Returns a specific media subtype, such as "plain" or "png", "mpeg", - "mp4" or "xml".
        -
      • -
      - - - -
        -
      • -

        charset

        -
        public Charset charset()
        -
        Returns the charset of this media type, or null if this media type doesn't - specify a charset.
        -
      • -
      - - - -
        -
      • -

        charset

        -
        public Charset charset(Charset defaultValue)
        -
        Returns the charset of this media type, or defaultValue if this - media type doesn't specify a charset.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public String toString()
        -
        Returns the encoded media type, like "text/plain; charset=utf-8", - appropriate for use in a Content-Type header.
        -
        -
        Overrides:
        -
        toString in class Object
        -
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(Object o)
        -
        -
        Overrides:
        -
        equals in class Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/OkAuthenticator.Challenge.html b/1.x/okhttp/com/squareup/okhttp/OkAuthenticator.Challenge.html deleted file mode 100644 index e7f244601..000000000 --- a/1.x/okhttp/com/squareup/okhttp/OkAuthenticator.Challenge.html +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - -OkAuthenticator.Challenge (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class OkAuthenticator.Challenge

-
-
- -
-
    -
  • -
    -
    Enclosing interface:
    -
    OkAuthenticator
    -
    -
    -
    -
    public static final class OkAuthenticator.Challenge
    -extends Object
    -
    An RFC 2617 challenge.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        OkAuthenticator.Challenge

        -
        public OkAuthenticator.Challenge(String scheme,
        -                         String realm)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getScheme

        -
        public String getScheme()
        -
        Returns the authentication scheme, like Basic.
        -
      • -
      - - - -
        -
      • -

        getRealm

        -
        public String getRealm()
        -
        Returns the protection space.
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(Object o)
        -
        -
        Overrides:
        -
        equals in class Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/OkAuthenticator.Credential.html b/1.x/okhttp/com/squareup/okhttp/OkAuthenticator.Credential.html deleted file mode 100644 index 171354f00..000000000 --- a/1.x/okhttp/com/squareup/okhttp/OkAuthenticator.Credential.html +++ /dev/null @@ -1,296 +0,0 @@ - - - - - - -OkAuthenticator.Credential (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class OkAuthenticator.Credential

-
-
- -
-
    -
  • -
    -
    Enclosing interface:
    -
    OkAuthenticator
    -
    -
    -
    -
    public static final class OkAuthenticator.Credential
    -extends Object
    -
    An RFC 2617 credential.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/OkAuthenticator.html b/1.x/okhttp/com/squareup/okhttp/OkAuthenticator.html deleted file mode 100644 index 8b1242890..000000000 --- a/1.x/okhttp/com/squareup/okhttp/OkAuthenticator.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - - - -OkAuthenticator (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Interface OkAuthenticator

-
-
-
-
    -
  • -
    -
    Deprecated.  -
    replaced with Authenticator in OkHttp 2.0.
    -
    -
    -
    @Deprecated
    -public interface OkAuthenticator
    -
    Responds to authentication challenges from the remote web or proxy server by - returning credentials.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        authenticate

        -
        OkAuthenticator.Credential authenticate(Proxy proxy,
        -                                      URL url,
        -                                      List<OkAuthenticator.Challenge> challenges)
        -                                        throws IOException
        -
        Deprecated. 
        -
        Returns a credential that satisfies the authentication challenge made by - url. 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.
        -
        Parameters:
        challenges - parsed "WWW-Authenticate" challenge headers from the HTTP - response.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        authenticateProxy

        -
        OkAuthenticator.Credential authenticateProxy(Proxy proxy,
        -                                           URL url,
        -                                           List<OkAuthenticator.Challenge> challenges)
        -                                             throws IOException
        -
        Deprecated. 
        -
        Returns a credential that satisfies the authentication challenge made by - proxy. 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.
        -
        Parameters:
        challenges - parsed "Proxy-Authenticate" challenge headers from the - HTTP response.
        -
        Throws:
        -
        IOException
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/OkHttpClient.html b/1.x/okhttp/com/squareup/okhttp/OkHttpClient.html deleted file mode 100644 index 4a5c778a9..000000000 --- a/1.x/okhttp/com/squareup/okhttp/OkHttpClient.html +++ /dev/null @@ -1,926 +0,0 @@ - - - - - - - -OkHttpClient (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class OkHttpClient

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Cloneable, URLStreamHandlerFactory
    -
    -
    -
    -
    public final class OkHttpClient
    -extends Object
    -implements URLStreamHandlerFactory, Cloneable
    -
    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 - clone() to make a shallow copy of the OkHttpClient that can be - safely modified with further configuration changes.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        OkHttpClient

        -
        public OkHttpClient()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setConnectTimeout

        -
        public void setConnectTimeout(long timeout,
        -                     TimeUnit unit)
        -
        Sets the default connect timeout for new connections. A value of 0 means no timeout.
        -
        See Also:
        URLConnection.setConnectTimeout(int)
        -
      • -
      - - - -
        -
      • -

        getConnectTimeout

        -
        public int getConnectTimeout()
        -
        Default connect timeout (in milliseconds).
        -
      • -
      - - - -
        -
      • -

        setReadTimeout

        -
        public void setReadTimeout(long timeout,
        -                  TimeUnit unit)
        -
        Sets the default read timeout for new connections. A value of 0 means no timeout.
        -
        See Also:
        URLConnection.setReadTimeout(int)
        -
      • -
      - - - -
        -
      • -

        getReadTimeout

        -
        public int getReadTimeout()
        -
        Default read timeout (in milliseconds).
        -
      • -
      - - - -
        -
      • -

        setProxy

        -
        public OkHttpClient setProxy(Proxy proxy)
        -
        Sets the HTTP proxy that will be used by connections created by this - client. This takes precedence over setProxySelector(java.net.ProxySelector), which is - only honored when this proxy is null (which it is by default). To disable - proxy use completely, call setProxy(Proxy.NO_PROXY).
        -
      • -
      - - - -
        -
      • -

        getProxy

        -
        public Proxy getProxy()
        -
      • -
      - - - -
        -
      • -

        setProxySelector

        -
        public OkHttpClient setProxySelector(ProxySelector proxySelector)
        -
        Sets the proxy selection policy to be used if no proxy - 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. - -

        If unset, the system-wide default - proxy selector will be used.

        -
      • -
      - - - -
        -
      • -

        getProxySelector

        -
        public ProxySelector getProxySelector()
        -
      • -
      - - - -
        -
      • -

        setCookieHandler

        -
        public OkHttpClient setCookieHandler(CookieHandler cookieHandler)
        -
        Sets the cookie handler to be used to read outgoing cookies and write - incoming cookies. - -

        If unset, the system-wide default - cookie handler will be used.

        -
      • -
      - - - -
        -
      • -

        getCookieHandler

        -
        public CookieHandler getCookieHandler()
        -
      • -
      - - - - - - - -
        -
      • -

        getResponseCache

        -
        @Deprecated
        -public ResponseCache getResponseCache()
        -
        Deprecated. replaced by getCache() which doesn't support custom - cache implementations.
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        getCache

        -
        public Cache getCache()
        -
      • -
      - - - -
        -
      • -

        setSslSocketFactory

        -
        public OkHttpClient setSslSocketFactory(SSLSocketFactory sslSocketFactory)
        -
        Sets the socket factory used to secure HTTPS connections. - -

        If unset, a lazily created SSL socket factory will be used.

        -
      • -
      - - - - - - - -
        -
      • -

        setHostnameVerifier

        -
        public OkHttpClient setHostnameVerifier(HostnameVerifier hostnameVerifier)
        -
        Sets the verifier used to confirm that response certificates apply to - requested hostnames for HTTPS connections. - -

        If unset, the - system-wide default hostname verifier will be used.

        -
      • -
      - - - - - - - -
        -
      • -

        setAuthenticator

        -
        public OkHttpClient setAuthenticator(OkAuthenticator authenticator)
        -
        Sets the authenticator used to respond to challenges from the remote web - server or proxy server. - -

        If unset, the system-wide default - authenticator will be used.

        -
      • -
      - - - - - - - -
        -
      • -

        setConnectionPool

        -
        public OkHttpClient setConnectionPool(ConnectionPool connectionPool)
        -
        Sets the connection pool used to recycle HTTP and HTTPS connections. - -

        If unset, the system-wide - default connection pool will be used.

        -
      • -
      - - - -
        -
      • -

        getConnectionPool

        -
        public ConnectionPool getConnectionPool()
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        setFollowSslRedirects

        -
        public OkHttpClient setFollowSslRedirects(boolean followProtocolRedirects)
        -
        Configure this client to follow redirects from HTTPS to HTTP and from HTTP - to HTTPS. - -

        If unset, protocol redirects will be followed. This is different than - the built-in HttpURLConnection's default.

        -
      • -
      - - - -
        -
      • -

        getFollowSslRedirects

        -
        public boolean getFollowSslRedirects()
        -
      • -
      - - - -
        -
      • -

        getRoutesDatabase

        -
        @Deprecated
        -public RouteDatabase getRoutesDatabase()
        -
        Deprecated. removed from the public API in OkHttp 2.0.
        -
      • -
      - - - - - - - -
        -
      • -

        setProtocols

        -
        public OkHttpClient setProtocols(List<Protocol> protocols)
        -
        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. - -

        The following protocols are currently supported: -

        - -

        This is an evolving set. 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. - -

        If multiple protocols are specified, NPN will - be used to negotiate a transport. Future releases may use another mechanism - (such as ALPN) - to negotiate a transport.

        -
        Parameters:
        protocols - the protocols to use, in order of preference. The list - must contain "http/1.1". It must not contain null.
        -
      • -
      - - - - - - - -
        -
      • -

        getProtocols

        -
        public List<Protocol> getProtocols()
        -
      • -
      - - - - - - - -
        -
      • -

        clone

        -
        public OkHttpClient clone()
        -
        Returns a shallow copy of this OkHttpClient.
        -
        -
        Overrides:
        -
        clone in class Object
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/OkResponseCache.html b/1.x/okhttp/com/squareup/okhttp/OkResponseCache.html deleted file mode 100644 index 46d098443..000000000 --- a/1.x/okhttp/com/squareup/okhttp/OkResponseCache.html +++ /dev/null @@ -1,330 +0,0 @@ - - - - - - -OkResponseCache (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Interface OkResponseCache

-
-
-
-
    -
  • -
    -
    All Known Implementing Classes:
    -
    Cache, HttpResponseCache
    -
    -
    -
    Deprecated.  -
    removed from the public API in OkHttp 2.0.
    -
    -
    -
    @Deprecated
    -public interface OkResponseCache
    -
    An extended response cache API. Unlike ResponseCache, this - interface supports conditional caching and statistics. - -

    Warning: Experimental OkHttp 2.0 API

    - This class is in beta. APIs are subject to change!
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      com.squareup.okhttp.internal.http.Responseget(com.squareup.okhttp.internal.http.Request request) -
      Deprecated. 
      booleanmaybeRemove(com.squareup.okhttp.internal.http.Request request) -
      Deprecated. 
      -
      Remove any cache entries for the supplied uri.
      -
      CacheRequestput(com.squareup.okhttp.internal.http.Response response) -
      Deprecated. 
      voidtrackConditionalCacheHit() -
      Deprecated. 
      -
      Track an conditional GET that was satisfied by this cache.
      -
      voidtrackResponse(ResponseSource source) -
      Deprecated. 
      -
      Track an HTTP response being satisfied by source.
      -
      voidupdate(com.squareup.okhttp.internal.http.Response cached, - com.squareup.okhttp.internal.http.Response network) -
      Deprecated. 
      -
      Handles a conditional request hit by updating the stored cache response - with the headers from network.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        get

        -
        com.squareup.okhttp.internal.http.Response get(com.squareup.okhttp.internal.http.Request request)
        -                                               throws IOException
        -
        Deprecated. 
        -
        Throws:
        -
        IOException
        -
      • -
      - - - - - - - -
        -
      • -

        maybeRemove

        -
        boolean maybeRemove(com.squareup.okhttp.internal.http.Request request)
        -                    throws IOException
        -
        Deprecated. 
        -
        Remove any cache entries for the supplied uri. Returns true if the - supplied requestMethod potentially invalidates an entry in the - cache.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        update

        -
        void update(com.squareup.okhttp.internal.http.Response cached,
        -          com.squareup.okhttp.internal.http.Response network)
        -            throws IOException
        -
        Deprecated. 
        -
        Handles a conditional request hit by updating the stored cache response - with the headers from network. The cached response body is not - updated. If the stored response has changed since cached was - returned, this does nothing.
        -
        Throws:
        -
        IOException
        -
      • -
      - - - -
        -
      • -

        trackConditionalCacheHit

        -
        void trackConditionalCacheHit()
        -
        Deprecated. 
        -
        Track an conditional GET that was satisfied by this cache.
        -
      • -
      - - - -
        -
      • -

        trackResponse

        -
        void trackResponse(ResponseSource source)
        -
        Deprecated. 
        -
        Track an HTTP response being satisfied by source.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/Protocol.html b/1.x/okhttp/com/squareup/okhttp/Protocol.html deleted file mode 100644 index c22a47c4f..000000000 --- a/1.x/okhttp/com/squareup/okhttp/Protocol.html +++ /dev/null @@ -1,408 +0,0 @@ - - - - - - - -Protocol (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Enum Protocol

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Serializable, Comparable<Protocol>
    -
    -
    -
    -
    public enum Protocol
    -extends Enum<Protocol>
    -
    Contains protocols that OkHttp supports - NPN or - ALPN selection. - -

    -

    Protocol vs Scheme

    - Despite its name, URL.getProtocol() returns the - scheme (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.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        HTTP_2

        -
        public static final Protocol HTTP_2
        -
      • -
      - - - -
        -
      • -

        SPDY_3

        -
        public static final Protocol SPDY_3
        -
      • -
      - - - -
        -
      • -

        HTTP_11

        -
        public static final Protocol HTTP_11
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        name

        -
        @Deprecated
        -public final com.squareup.okhttp.internal.okio.ByteString name
        -
        Deprecated. removed from the public API in OkHttp 2.0.
        -
        Identifier string used in NPN or ALPN selection.
        -
      • -
      - - - -
        -
      • -

        spdyVariant

        -
        @Deprecated
        -public final boolean spdyVariant
        -
        Deprecated. removed from the public API in OkHttp 2.0.
        -
        When true the protocol is binary framed and derived from SPDY.
        -
        See Also:
        Variant
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static Protocol[] values()
        -
        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: -
        -for (Protocol c : Protocol.values())
        -    System.out.println(c);
        -
        -
        Returns:
        an array containing the constants of this enum type, in -the order they are declared
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static Protocol valueOf(String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        Parameters:
        name - the name of the enum constant to be returned.
        -
        Returns:
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant -with the specified name
        -
        NullPointerException - if the argument is null
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/ResponseSource.html b/1.x/okhttp/com/squareup/okhttp/ResponseSource.html deleted file mode 100644 index d7e1556db..000000000 --- a/1.x/okhttp/com/squareup/okhttp/ResponseSource.html +++ /dev/null @@ -1,413 +0,0 @@ - - - - - - -ResponseSource (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Enum ResponseSource

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Serializable, Comparable<ResponseSource>
    -
    -
    -
    Deprecated.  -
    removed from the public API in OkHttp 2.0. Use the response's - networkResponse() and cacheResponse() to compute how the - request was satisfied.
    -
    -
    -
    @Deprecated
    -public enum ResponseSource
    -extends Enum<ResponseSource>
    -
    The source of an HTTP response.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        CACHE

        -
        public static final ResponseSource CACHE
        -
        Deprecated. 
        -
        The response was returned from the local cache.
        -
      • -
      - - - -
        -
      • -

        CONDITIONAL_CACHE

        -
        public static final ResponseSource CONDITIONAL_CACHE
        -
        Deprecated. 
        -
        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.
        -
      • -
      - - - -
        -
      • -

        NETWORK

        -
        public static final ResponseSource NETWORK
        -
        Deprecated. 
        -
        The response was returned from the network.
        -
      • -
      - - - -
        -
      • -

        NONE

        -
        public static final ResponseSource NONE
        -
        Deprecated. 
        -
        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.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static ResponseSource[] values()
        -
        Deprecated. 
        -
        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: -
        -for (ResponseSource c : ResponseSource.values())
        -    System.out.println(c);
        -
        -
        Returns:
        an array containing the constants of this enum type, in -the order they are declared
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static ResponseSource valueOf(String name)
        -
        Deprecated. 
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        Parameters:
        name - the name of the enum constant to be returned.
        -
        Returns:
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant -with the specified name
        -
        NullPointerException - if the argument is null
        -
      • -
      - - - -
        -
      • -

        requiresConnection

        -
        public boolean requiresConnection()
        -
        Deprecated. 
        -
      • -
      - - - -
        -
      • -

        usesCache

        -
        public boolean usesCache()
        -
        Deprecated. 
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/Route.html b/1.x/okhttp/com/squareup/okhttp/Route.html deleted file mode 100644 index bf10f6105..000000000 --- a/1.x/okhttp/com/squareup/okhttp/Route.html +++ /dev/null @@ -1,380 +0,0 @@ - - - - - - - -Route (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Route

-
-
- -
-
    -
  • -
    -
    -
    public class Route
    -extends Object
    -
    The concrete route used by a connection to reach an abstract origin server. - When creating a connection the client has many options: -
      -
    • HTTP proxy: a proxy server may be explicitly - configured for the client. Otherwise the proxy selector is used. It may return multiple proxies to attempt. -
    • IP address: 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. -
    • Modern TLS: whether to include advanced TLS options - when attempting a HTTPS connection. -
    - Each route is a specific selection of these options.
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getAddress

        -
        public Address getAddress()
        -
        Returns the Address of this route.
        -
      • -
      - - - -
        -
      • -

        getProxy

        -
        public Proxy getProxy()
        -
        Returns the Proxy of this route. - - Warning: This may disagree with Address.getProxy() - is null. When the address's proxy is null, the proxy selector will be used.
        -
      • -
      - - - - - - - -
        -
      • -

        isModernTls

        -
        @Deprecated
        -public boolean isModernTls()
        -
        Deprecated. replaced with getTlsVersion() in OkHttp 2.0.
        -
        Returns true if this route uses modern TLS.
        -
      • -
      - - - -
        -
      • -

        getTlsVersion

        -
        public String getTlsVersion()
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(Object obj)
        -
        -
        Overrides:
        -
        equals in class Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/RouteDatabase.html b/1.x/okhttp/com/squareup/okhttp/RouteDatabase.html deleted file mode 100644 index b789cdeca..000000000 --- a/1.x/okhttp/com/squareup/okhttp/RouteDatabase.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - -RouteDatabase (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class RouteDatabase

-
-
- -
-
    -
  • -
    -
    Deprecated.  -
    removed from the public API in OkHttp 2.0.
    -
    -
    -
    @Deprecated
    -public final class RouteDatabase
    -extends Object
    -
    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.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RouteDatabase

        -
        public RouteDatabase()
        -
        Deprecated. 
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        failed

        -
        public void failed(Route failedRoute)
        -
        Deprecated. 
        -
        Records a failure connecting to failedRoute.
        -
      • -
      - - - -
        -
      • -

        connected

        -
        public void connected(Route route)
        -
        Deprecated. 
        -
        Records success connecting to failedRoute.
        -
      • -
      - - - -
        -
      • -

        shouldPostpone

        -
        public boolean shouldPostpone(Route route)
        -
        Deprecated. 
        -
        Returns true if route has failed recently and should be avoided.
        -
      • -
      - - - -
        -
      • -

        failedRoutesCount

        -
        public int failedRoutesCount()
        -
        Deprecated. 
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/TunnelRequest.html b/1.x/okhttp/com/squareup/okhttp/TunnelRequest.html deleted file mode 100644 index 9e6c0d695..000000000 --- a/1.x/okhttp/com/squareup/okhttp/TunnelRequest.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -TunnelRequest (OkHttp 1.6.0 API) - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class TunnelRequest

-
-
- -
-
    -
  • -
    -
    Deprecated.  -
    removed from the public API in OkHttp 2.0.
    -
    -
    -
    @Deprecated
    -public final class TunnelRequest
    -extends Object
    -
    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. - -

    See RFC 2817, Section - 5.2.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TunnelRequest

        -
        public TunnelRequest(String host,
        -             int port,
        -             String userAgent,
        -             String proxyAuthorization)
        -
        Deprecated. 
        -
        Parameters:
        host - the origin server's hostname. Not null.
        port - the origin server's port, like 80 or 443.
        userAgent - the client's user-agent. Not null.
        proxyAuthorization - proxy authorization, or null if the proxy is - used without an authorization header.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/Address.html b/1.x/okhttp/com/squareup/okhttp/class-use/Address.html deleted file mode 100644 index 0faf23064..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/Address.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Address (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Address

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/Cache.html b/1.x/okhttp/com/squareup/okhttp/class-use/Cache.html deleted file mode 100644 index b14522141..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/Cache.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Cache (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Cache

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/CacheControl.html b/1.x/okhttp/com/squareup/okhttp/class-use/CacheControl.html deleted file mode 100644 index ff44b478e..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/CacheControl.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.CacheControl (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.CacheControl

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/Connection.html b/1.x/okhttp/com/squareup/okhttp/class-use/Connection.html deleted file mode 100644 index 8828e98d3..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/Connection.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Connection (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Connection

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/ConnectionPool.html b/1.x/okhttp/com/squareup/okhttp/class-use/ConnectionPool.html deleted file mode 100644 index 5089cbc40..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/ConnectionPool.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.ConnectionPool (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.ConnectionPool

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/Handshake.html b/1.x/okhttp/com/squareup/okhttp/class-use/Handshake.html deleted file mode 100644 index 4fe500aa9..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/Handshake.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Handshake (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Handshake

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/HttpResponseCache.html b/1.x/okhttp/com/squareup/okhttp/class-use/HttpResponseCache.html deleted file mode 100644 index 4ee7f30ac..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/HttpResponseCache.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.HttpResponseCache (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.HttpResponseCache

-
-
No usage of com.squareup.okhttp.HttpResponseCache
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/MediaType.html b/1.x/okhttp/com/squareup/okhttp/class-use/MediaType.html deleted file mode 100644 index 2c6a2a152..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/MediaType.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.MediaType (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.MediaType

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/OkAuthenticator.Challenge.html b/1.x/okhttp/com/squareup/okhttp/class-use/OkAuthenticator.Challenge.html deleted file mode 100644 index f576b2cb4..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/OkAuthenticator.Challenge.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.OkAuthenticator.Challenge (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.OkAuthenticator.Challenge

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/OkAuthenticator.Credential.html b/1.x/okhttp/com/squareup/okhttp/class-use/OkAuthenticator.Credential.html deleted file mode 100644 index c331bb0e6..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/OkAuthenticator.Credential.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.OkAuthenticator.Credential (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.OkAuthenticator.Credential

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/OkAuthenticator.html b/1.x/okhttp/com/squareup/okhttp/class-use/OkAuthenticator.html deleted file mode 100644 index 08d077b3d..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/OkAuthenticator.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.OkAuthenticator (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.OkAuthenticator

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/OkHttpClient.html b/1.x/okhttp/com/squareup/okhttp/class-use/OkHttpClient.html deleted file mode 100644 index f9aeb366d..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/OkHttpClient.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.OkHttpClient (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.OkHttpClient

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/OkResponseCache.html b/1.x/okhttp/com/squareup/okhttp/class-use/OkResponseCache.html deleted file mode 100644 index 9c4622fc1..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/OkResponseCache.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.OkResponseCache (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.OkResponseCache

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/Protocol.html b/1.x/okhttp/com/squareup/okhttp/class-use/Protocol.html deleted file mode 100644 index c6fd90937..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/Protocol.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Protocol (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Protocol

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/ResponseSource.html b/1.x/okhttp/com/squareup/okhttp/class-use/ResponseSource.html deleted file mode 100644 index 7e6a1b6b8..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/ResponseSource.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.ResponseSource (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.ResponseSource

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/Route.html b/1.x/okhttp/com/squareup/okhttp/class-use/Route.html deleted file mode 100644 index e97b3e6f1..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/Route.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Route (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Route

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/RouteDatabase.html b/1.x/okhttp/com/squareup/okhttp/class-use/RouteDatabase.html deleted file mode 100644 index b0930de1e..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/RouteDatabase.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.RouteDatabase (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.RouteDatabase

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/class-use/TunnelRequest.html b/1.x/okhttp/com/squareup/okhttp/class-use/TunnelRequest.html deleted file mode 100644 index d0fae401f..000000000 --- a/1.x/okhttp/com/squareup/okhttp/class-use/TunnelRequest.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.TunnelRequest (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.TunnelRequest

-
-
- -
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/package-frame.html b/1.x/okhttp/com/squareup/okhttp/package-frame.html deleted file mode 100644 index 95ce502c7..000000000 --- a/1.x/okhttp/com/squareup/okhttp/package-frame.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - -com.squareup.okhttp (OkHttp 1.6.0 API) - - - - -

com.squareup.okhttp

- - - diff --git a/1.x/okhttp/com/squareup/okhttp/package-summary.html b/1.x/okhttp/com/squareup/okhttp/package-summary.html deleted file mode 100644 index bca2b2e50..000000000 --- a/1.x/okhttp/com/squareup/okhttp/package-summary.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - -com.squareup.okhttp (OkHttp 1.6.0 API) - - - - - - - - - - -
-

Package com.squareup.okhttp

-
-
-
    -
  • - - - - - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    OkAuthenticatorDeprecated -
    replaced with Authenticator in OkHttp 2.0.
    -
    OkResponseCacheDeprecated -
    removed from the public API in OkHttp 2.0.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Address -
    A specification for a connection to an origin server.
    -
    Cache -
    Caches HTTP and HTTPS responses to the filesystem so they may be reused, - saving time and bandwidth.
    -
    CacheControl -
    A Cache-Control header with cache directives from a server or client.
    -
    Connection -
    The sockets and streams of an HTTP, HTTPS, or HTTPS+SPDY connection.
    -
    ConnectionPool -
    Manages reuse of HTTP and SPDY connections for reduced network latency.
    -
    Handshake -
    A record of a TLS handshake.
    -
    HttpResponseCacheDeprecated -
    renamed to Cache.
    -
    MediaType -
    An RFC 2045 Media Type, - appropriate to describe the content type of an HTTP request or response body.
    -
    OkAuthenticator.Challenge -
    An RFC 2617 challenge.
    -
    OkAuthenticator.Credential -
    An RFC 2617 credential.
    -
    OkHttpClient -
    Configures and creates HTTP connections.
    -
    Route -
    The concrete route used by a connection to reach an abstract origin server.
    -
    RouteDatabaseDeprecated -
    removed from the public API in OkHttp 2.0.
    -
    TunnelRequestDeprecated -
    removed from the public API in OkHttp 2.0.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - -
    Enum Summary 
    EnumDescription
    Protocol -
    Contains protocols that OkHttp supports - NPN or - ALPN selection.
    -
    ResponseSourceDeprecated -
    removed from the public API in OkHttp 2.0.
    -
    -
  • -
-
- - - - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/package-tree.html b/1.x/okhttp/com/squareup/okhttp/package-tree.html deleted file mode 100644 index 9bc67034f..000000000 --- a/1.x/okhttp/com/squareup/okhttp/package-tree.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - -com.squareup.okhttp Class Hierarchy (OkHttp 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.squareup.okhttp

-
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/com/squareup/okhttp/package-use.html b/1.x/okhttp/com/squareup/okhttp/package-use.html deleted file mode 100644 index 90dcea70f..000000000 --- a/1.x/okhttp/com/squareup/okhttp/package-use.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp (OkHttp 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.squareup.okhttp

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Classes in com.squareup.okhttp used by com.squareup.okhttp 
    Class and Description
    Address -
    A specification for a connection to an origin server.
    -
    Cache -
    Caches HTTP and HTTPS responses to the filesystem so they may be reused, - saving time and bandwidth.
    -
    CacheControl -
    A Cache-Control header with cache directives from a server or client.
    -
    Connection -
    The sockets and streams of an HTTP, HTTPS, or HTTPS+SPDY connection.
    -
    ConnectionPool -
    Manages reuse of HTTP and SPDY connections for reduced network latency.
    -
    Handshake -
    A record of a TLS handshake.
    -
    MediaType -
    An RFC 2045 Media Type, - appropriate to describe the content type of an HTTP request or response body.
    -
    OkAuthenticator -
    Deprecated.  -
    replaced with Authenticator in OkHttp 2.0.
    -
    -
    OkAuthenticator.Challenge -
    Deprecated. 
    -
    An RFC 2617 challenge.
    -
    OkAuthenticator.Credential -
    Deprecated. 
    -
    An RFC 2617 credential.
    -
    OkHttpClient -
    Configures and creates HTTP connections.
    -
    OkResponseCache -
    Deprecated.  -
    removed from the public API in OkHttp 2.0.
    -
    -
    Protocol -
    Contains protocols that OkHttp supports - NPN or - ALPN selection.
    -
    ResponseSource -
    Deprecated.  -
    removed from the public API in OkHttp 2.0. Use the response's - networkResponse() and cacheResponse() to compute how the - request was satisfied.
    -
    -
    Route -
    The concrete route used by a connection to reach an abstract origin server.
    -
    RouteDatabase -
    Deprecated.  -
    removed from the public API in OkHttp 2.0.
    -
    -
    TunnelRequest -
    Deprecated.  -
    removed from the public API in OkHttp 2.0.
    -
    -
    -
  • -
-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/constant-values.html b/1.x/okhttp/constant-values.html deleted file mode 100644 index ab05969fa..000000000 --- a/1.x/okhttp/constant-values.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Constant Field Values (OkHttp 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Constant Field Values

-

Contents

-
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/deprecated-list.html b/1.x/okhttp/deprecated-list.html deleted file mode 100644 index ebbae57e9..000000000 --- a/1.x/okhttp/deprecated-list.html +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - -Deprecated List (OkHttp 1.6.0 API) - - - - - - - -
- - - - - -
- - - -
- - - - - - - - - - -
    -
  • - - - - - - - - - - -
    Deprecated Enums 
    Enum and Description
    com.squareup.okhttp.ResponseSource -
    removed from the public API in OkHttp 2.0. Use the response's - networkResponse() and cacheResponse() to compute how the - request was satisfied.
    -
    -
  • -
- - - - - - - - -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/help-doc.html b/1.x/okhttp/help-doc.html deleted file mode 100644 index 7b644ab08..000000000 --- a/1.x/okhttp/help-doc.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - -API Help (OkHttp 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/index-all.html b/1.x/okhttp/index-all.html deleted file mode 100644 index f6680415a..000000000 --- a/1.x/okhttp/index-all.html +++ /dev/null @@ -1,957 +0,0 @@ - - - - - - -Index (OkHttp 1.6.0 API) - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T U V  - - -

A

-
-
Address - Class in com.squareup.okhttp
-
-
A specification for a connection to an origin server.
-
-
Address(String, int, SSLSocketFactory, HostnameVerifier, OkAuthenticator, Proxy, List<Protocol>) - Constructor for class com.squareup.okhttp.Address
-
 
-
authenticate(Proxy, URL, List<OkAuthenticator.Challenge>) - Method in interface com.squareup.okhttp.OkAuthenticator
-
-
Deprecated.
-
Returns a credential that satisfies the authentication challenge made by - url.
-
-
authenticateProxy(Proxy, URL, List<OkAuthenticator.Challenge>) - Method in interface com.squareup.okhttp.OkAuthenticator
-
-
Deprecated.
-
Returns a credential that satisfies the authentication challenge made by - proxy.
-
-
- - - -

B

-
-
basic(String, String) - Static method in class com.squareup.okhttp.OkAuthenticator.Credential
-
-
Deprecated.
-
Returns an auth credential for the Basic scheme.
-
-
- - - -

C

-
-
Cache - Class in com.squareup.okhttp
-
-
Caches HTTP and HTTPS responses to the filesystem so they may be reused, - saving time and bandwidth.
-
-
Cache(File, long) - Constructor for class com.squareup.okhttp.Cache
-
 
-
CacheControl - Class in com.squareup.okhttp
-
-
A Cache-Control header with cache directives from a server or client.
-
-
charset() - Method in class com.squareup.okhttp.MediaType
-
-
Returns the charset of this media type, or null if this media type doesn't - specify a charset.
-
-
charset(Charset) - Method in class com.squareup.okhttp.MediaType
-
-
Returns the charset of this media type, or defaultValue if this - media type doesn't specify a charset.
-
-
cipherSuite() - Method in class com.squareup.okhttp.Handshake
-
-
Returns a cipher suite name like "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA".
-
-
clearOwner() - Method in class com.squareup.okhttp.Connection
-
-
Attempts to clears the owner of this connection.
-
-
clone() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Returns a shallow copy of this OkHttpClient.
-
-
close() - Method in class com.squareup.okhttp.Cache
-
 
-
close() - Method in class com.squareup.okhttp.Connection
-
 
-
closeIfOwnedBy(Object) - Method in class com.squareup.okhttp.Connection
-
-
Closes this connection if it is currently owned by owner.
-
-
com.squareup.okhttp - package com.squareup.okhttp
-
 
-
connect(int, int, TunnelRequest) - Method in class com.squareup.okhttp.Connection
-
 
-
connected(Route) - Method in class com.squareup.okhttp.RouteDatabase
-
-
Deprecated.
-
Records success connecting to failedRoute.
-
-
Connection - Class in com.squareup.okhttp
-
-
The sockets and streams of an HTTP, HTTPS, or HTTPS+SPDY connection.
-
-
Connection(ConnectionPool, Route) - Constructor for class com.squareup.okhttp.Connection
-
 
-
ConnectionPool - Class in com.squareup.okhttp
-
-
Manages reuse of HTTP and SPDY connections for reduced network latency.
-
-
ConnectionPool(int, long) - Constructor for class com.squareup.okhttp.ConnectionPool
-
 
-
createURLStreamHandler(String) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Deprecated. -
moved to OkUrlFactory.createURLStreamHandler.
-
-
-
- - - -

D

-
-
delete() - Method in class com.squareup.okhttp.Cache
-
-
Closes the cache and deletes all of its stored values.
-
-
- - - -

E

-
-
equals(Object) - Method in class com.squareup.okhttp.Address
-
 
-
equals(Object) - Method in class com.squareup.okhttp.Handshake
-
 
-
equals(Object) - Method in class com.squareup.okhttp.MediaType
-
 
-
equals(Object) - Method in class com.squareup.okhttp.OkAuthenticator.Challenge
-
-
Deprecated.
-
equals(Object) - Method in class com.squareup.okhttp.OkAuthenticator.Credential
-
-
Deprecated.
-
equals(Object) - Method in class com.squareup.okhttp.Route
-
 
-
evictAll() - Method in class com.squareup.okhttp.ConnectionPool
-
-
Close and remove all connections in the pool.
-
-
- - - -

F

-
-
failed(Route) - Method in class com.squareup.okhttp.RouteDatabase
-
-
Deprecated.
-
Records a failure connecting to failedRoute.
-
-
failedRoutesCount() - Method in class com.squareup.okhttp.RouteDatabase
-
-
Deprecated.
-
flush() - Method in class com.squareup.okhttp.Cache
-
 
-
- - - -

G

-
-
get(URI, String, Map<String, List<String>>) - Method in class com.squareup.okhttp.Cache
-
 
-
get(Request) - Method in class com.squareup.okhttp.Cache
-
 
-
get(Address) - Method in class com.squareup.okhttp.ConnectionPool
-
-
Returns a recycled connection to address, or null if no such connection exists.
-
-
get(SSLSession) - Static method in class com.squareup.okhttp.Handshake
-
 
-
get(String, List<Certificate>, List<Certificate>) - Static method in class com.squareup.okhttp.Handshake
-
 
-
get(Request) - Method in interface com.squareup.okhttp.OkResponseCache
-
-
Deprecated.
-
getAddress() - Method in class com.squareup.okhttp.Route
-
-
Returns the Address of this route.
-
-
getAuthenticator() - Method in class com.squareup.okhttp.Address
-
-
Returns the client's authenticator.
-
-
getAuthenticator() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getCache() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getConnectionCount() - Method in class com.squareup.okhttp.ConnectionPool
-
-
Returns total number of connections in the pool.
-
-
getConnectionPool() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getConnectTimeout() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Default connect timeout (in milliseconds).
-
-
getCookieHandler() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getDefault() - Static method in class com.squareup.okhttp.ConnectionPool
-
 
-
getDirectory() - Method in class com.squareup.okhttp.Cache
-
 
-
getFollowProtocolRedirects() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Deprecated. - -
-
-
getFollowSslRedirects() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getHandshake() - Method in class com.squareup.okhttp.Connection
-
 
-
getHeaderValue() - Method in class com.squareup.okhttp.OkAuthenticator.Credential
-
-
Deprecated.
-
getHitCount() - Method in class com.squareup.okhttp.Cache
-
 
-
getHostnameVerifier() - Method in class com.squareup.okhttp.Address
-
-
Returns the hostname verifier, or null if this is not an HTTPS - address.
-
-
getHostnameVerifier() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getHttpConnectionCount() - Method in class com.squareup.okhttp.ConnectionPool
-
-
Returns total number of http connections in the pool.
-
-
getHttpMinorVersion() - Method in class com.squareup.okhttp.Connection
-
-
Returns the minor HTTP version that should be used for future requests on - this connection.
-
-
getIdleStartTimeNs() - Method in class com.squareup.okhttp.Connection
-
-
Returns the time in ns when this connection became idle.
-
-
getMaxSize() - Method in class com.squareup.okhttp.Cache
-
 
-
getNetworkCount() - Method in class com.squareup.okhttp.Cache
-
 
-
getOkResponseCache() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Deprecated. -
replaced by OkHttpClient.getCache() which doesn't support custom - cache implementations.
-
-
-
getOwner() - Method in class com.squareup.okhttp.Connection
-
 
-
getProtocols() - Method in class com.squareup.okhttp.Address
-
-
Returns the protocols the client supports.
-
-
getProtocols() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getProxy() - Method in class com.squareup.okhttp.Address
-
-
Returns this address's explicitly-specified HTTP proxy, or null to - delegate to the HTTP client's proxy selector.
-
-
getProxy() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getProxy() - Method in class com.squareup.okhttp.Route
-
-
Returns the Proxy of this route.
-
-
getProxySelector() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getReadTimeout() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Default read timeout (in milliseconds).
-
-
getRealm() - Method in class com.squareup.okhttp.OkAuthenticator.Challenge
-
-
Deprecated.
-
Returns the protection space.
-
-
getRequestCount() - Method in class com.squareup.okhttp.Cache
-
 
-
getResponseCache() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Deprecated. -
replaced by OkHttpClient.getCache() which doesn't support custom - cache implementations.
-
-
-
getRoute() - Method in class com.squareup.okhttp.Connection
-
-
Returns the route used by this connection.
-
-
getRoutesDatabase() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Deprecated. -
removed from the public API in OkHttp 2.0.
-
-
-
getScheme() - Method in class com.squareup.okhttp.OkAuthenticator.Challenge
-
-
Deprecated.
-
Returns the authentication scheme, like Basic.
-
-
getSize() - Method in class com.squareup.okhttp.Cache
-
 
-
getSocket() - Method in class com.squareup.okhttp.Connection
-
-
Returns the socket that this connection uses, or null if the connection - is not currently connected.
-
-
getSocketAddress() - Method in class com.squareup.okhttp.Route
-
-
Returns the InetSocketAddress of this route.
-
-
getSpdyConnectionCount() - Method in class com.squareup.okhttp.ConnectionPool
-
-
Returns total number of spdy connections in the pool.
-
-
getSslSocketFactory() - Method in class com.squareup.okhttp.Address
-
-
Returns the SSL socket factory, or null if this is not an HTTPS - address.
-
-
getSslSocketFactory() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getTlsVersion() - Method in class com.squareup.okhttp.Route
-
 
-
getTransports() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Deprecated. -
OkHttp 1.5 enforces an enumeration of protocols that can be selected. Please switch to OkHttpClient.getProtocols().
-
-
-
getUriHost() - Method in class com.squareup.okhttp.Address
-
-
Returns the hostname of the origin server.
-
-
getUriPort() - Method in class com.squareup.okhttp.Address
-
-
Returns the port of the origin server; typically 80 or 443.
-
-
getWriteAbortCount() - Method in class com.squareup.okhttp.Cache
-
 
-
getWriteSuccessCount() - Method in class com.squareup.okhttp.Cache
-
 
-
- - - -

H

-
-
Handshake - Class in com.squareup.okhttp
-
-
A record of a TLS handshake.
-
-
hashCode() - Method in class com.squareup.okhttp.Address
-
 
-
hashCode() - Method in class com.squareup.okhttp.Handshake
-
 
-
hashCode() - Method in class com.squareup.okhttp.MediaType
-
 
-
hashCode() - Method in class com.squareup.okhttp.OkAuthenticator.Challenge
-
-
Deprecated.
-
hashCode() - Method in class com.squareup.okhttp.OkAuthenticator.Credential
-
-
Deprecated.
-
hashCode() - Method in class com.squareup.okhttp.Route
-
 
-
HttpResponseCache - Class in com.squareup.okhttp
-
-
Deprecated. -
renamed to Cache.
-
-
-
HttpResponseCache(File, long) - Constructor for class com.squareup.okhttp.HttpResponseCache
-
-
Deprecated.
-
- - - -

I

-
-
incrementRecycleCount() - Method in class com.squareup.okhttp.Connection
-
 
-
isAlive() - Method in class com.squareup.okhttp.Connection
-
-
Returns true if this connection is alive.
-
-
isClosed() - Method in class com.squareup.okhttp.Cache
-
 
-
isConnected() - Method in class com.squareup.okhttp.Connection
-
-
Returns true if Connection.connect(int, int, com.squareup.okhttp.TunnelRequest) has been attempted on this connection.
-
-
isExpired(long) - Method in class com.squareup.okhttp.Connection
-
-
Returns true if this connection has been idle for longer than - keepAliveDurationNs.
-
-
isIdle() - Method in class com.squareup.okhttp.Connection
-
-
Returns true if this connection is idle.
-
-
isModernTls() - Method in class com.squareup.okhttp.Route
-
-
Deprecated. -
replaced with Route.getTlsVersion() in OkHttp 2.0.
-
-
-
isPublic() - Method in class com.squareup.okhttp.CacheControl
-
 
-
isReadable() - Method in class com.squareup.okhttp.Connection
-
-
Returns true if we are confident that we can read data from this - connection.
-
-
isSpdy() - Method in class com.squareup.okhttp.Connection
-
-
Returns true if this is a SPDY connection.
-
-
- - - -

L

-
-
localCertificates() - Method in class com.squareup.okhttp.Handshake
-
-
Returns a possibly-empty list of certificates that identify this peer.
-
-
localPrincipal() - Method in class com.squareup.okhttp.Handshake
-
-
Returns the local principle, or null if this peer is anonymous.
-
-
- - - -

M

-
-
maxAgeSeconds() - Method in class com.squareup.okhttp.CacheControl
-
-
The duration past the response's served date that it can be served without - validation.
-
-
maxStaleSeconds() - Method in class com.squareup.okhttp.CacheControl
-
 
-
maybeRemove(Request) - Method in class com.squareup.okhttp.Cache
-
 
-
maybeRemove(Request) - Method in interface com.squareup.okhttp.OkResponseCache
-
-
Deprecated.
-
Remove any cache entries for the supplied uri.
-
-
MediaType - Class in com.squareup.okhttp
-
-
An RFC 2045 Media Type, - appropriate to describe the content type of an HTTP request or response body.
-
-
minFreshSeconds() - Method in class com.squareup.okhttp.CacheControl
-
 
-
mustRevalidate() - Method in class com.squareup.okhttp.CacheControl
-
 
-
- - - -

N

-
-
name - Variable in enum com.squareup.okhttp.Protocol
-
-
Deprecated. -
removed from the public API in OkHttp 2.0.
-
-
-
newTransport(HttpEngine) - Method in class com.squareup.okhttp.Connection
-
-
Returns the transport appropriate for this connection.
-
-
noCache() - Method in class com.squareup.okhttp.CacheControl
-
-
In a response, this field's name "no-cache" is misleading.
-
-
noStore() - Method in class com.squareup.okhttp.CacheControl
-
-
If true, this response should not be cached.
-
-
- - - -

O

-
-
OkAuthenticator - Interface in com.squareup.okhttp
-
-
Deprecated. -
replaced with Authenticator in OkHttp 2.0.
-
-
-
OkAuthenticator.Challenge - Class in com.squareup.okhttp
-
-
Deprecated.
-
An RFC 2617 challenge.
-
-
OkAuthenticator.Challenge(String, String) - Constructor for class com.squareup.okhttp.OkAuthenticator.Challenge
-
-
Deprecated.
-
OkAuthenticator.Credential - Class in com.squareup.okhttp
-
-
Deprecated.
-
An RFC 2617 credential.
-
-
OkHttpClient - Class in com.squareup.okhttp
-
-
Configures and creates HTTP connections.
-
-
OkHttpClient() - Constructor for class com.squareup.okhttp.OkHttpClient
-
 
-
OkResponseCache - Interface in com.squareup.okhttp
-
-
Deprecated. -
removed from the public API in OkHttp 2.0.
-
-
-
onlyIfCached() - Method in class com.squareup.okhttp.CacheControl
-
-
This field's name "only-if-cached" is misleading.
-
-
open(URL) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Deprecated. -
moved to OkUrlFactory.open.
-
-
-
- - - -

P

-
-
parse(Headers) - Static method in class com.squareup.okhttp.CacheControl
-
-
Returns the cache directives of headers.
-
-
parse(String) - Static method in class com.squareup.okhttp.MediaType
-
-
Returns a media type for string, or null if string is not a - well-formed media type.
-
-
peerCertificates() - Method in class com.squareup.okhttp.Handshake
-
-
Returns a possibly-empty list of certificates that identify the remote peer.
-
-
peerPrincipal() - Method in class com.squareup.okhttp.Handshake
-
-
Returns the remote peer's principle, or null if that peer is anonymous.
-
-
Protocol - Enum in com.squareup.okhttp
-
-
Contains protocols that OkHttp supports - NPN or - ALPN selection.
-
-
put(URI, URLConnection) - Method in class com.squareup.okhttp.Cache
-
 
-
put(Response) - Method in class com.squareup.okhttp.Cache
-
 
-
put(Response) - Method in interface com.squareup.okhttp.OkResponseCache
-
-
Deprecated.
-
- - - -

R

-
-
recycle(Connection) - Method in class com.squareup.okhttp.ConnectionPool
-
-
Gives connection to the pool.
-
-
recycleCount() - Method in class com.squareup.okhttp.Connection
-
-
Returns the number of times this connection has been returned to the - connection pool.
-
-
requiresConnection() - Method in enum com.squareup.okhttp.ResponseSource
-
-
Deprecated.
-
requiresTunnel() - Method in class com.squareup.okhttp.Connection
-
-
Returns true if the HTTP connection needs to tunnel one protocol over - another, such as when using HTTPS through an HTTP proxy.
-
-
resetIdleStartTime() - Method in class com.squareup.okhttp.Connection
-
 
-
ResponseSource - Enum in com.squareup.okhttp
-
-
Deprecated. -
removed from the public API in OkHttp 2.0. Use the response's - networkResponse() and cacheResponse() to compute how the - request was satisfied.
-
-
-
Route - Class in com.squareup.okhttp
-
-
The concrete route used by a connection to reach an abstract origin server.
-
-
Route(Address, Proxy, InetSocketAddress, boolean) - Constructor for class com.squareup.okhttp.Route
-
 
-
RouteDatabase - Class in com.squareup.okhttp
-
-
Deprecated. -
removed from the public API in OkHttp 2.0.
-
-
-
RouteDatabase() - Constructor for class com.squareup.okhttp.RouteDatabase
-
-
Deprecated.
-
- - - -

S

-
-
setAuthenticator(OkAuthenticator) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the authenticator used to respond to challenges from the remote web - server or proxy server.
-
-
setCache(Cache) - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
setConnectionPool(ConnectionPool) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the connection pool used to recycle HTTP and HTTPS connections.
-
-
setConnectTimeout(long, TimeUnit) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the default connect timeout for new connections.
-
-
setCookieHandler(CookieHandler) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the cookie handler to be used to read outgoing cookies and write - incoming cookies.
-
-
setFollowProtocolRedirects(boolean) - Method in class com.squareup.okhttp.OkHttpClient
-
- -
-
setFollowSslRedirects(boolean) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Configure this client to follow redirects from HTTPS to HTTP and from HTTP - to HTTPS.
-
-
setHostnameVerifier(HostnameVerifier) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the verifier used to confirm that response certificates apply to - requested hostnames for HTTPS connections.
-
-
setHttpMinorVersion(int) - Method in class com.squareup.okhttp.Connection
-
 
-
setOkResponseCache(OkResponseCache) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Deprecated. -
replaced by OkHttpClient.setCache(com.squareup.okhttp.Cache) which doesn't support custom - cache implementations.
-
-
-
setOwner(Object) - Method in class com.squareup.okhttp.Connection
-
 
-
setProtocols(List<Protocol>) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Configure the protocols used by this client to communicate with remote - servers.
-
-
setProxy(Proxy) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the HTTP proxy that will be used by connections created by this - client.
-
-
setProxySelector(ProxySelector) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the proxy selection policy to be used if no proxy - is specified explicitly.
-
-
setReadTimeout(long, TimeUnit) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the default read timeout for new connections.
-
-
setResponseCache(ResponseCache) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Deprecated. -
replaced by OkHttpClient.setCache(com.squareup.okhttp.Cache) which doesn't support custom - cache implementations.
-
-
-
setSslSocketFactory(SSLSocketFactory) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the socket factory used to secure HTTPS connections.
-
-
setTransports(List<String>) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Deprecated. -
OkHttp 1.5 enforces an enumeration of protocols - that can be selected. Please switch to OkHttpClient.setProtocols(java.util.List).
-
-
-
share(Connection) - Method in class com.squareup.okhttp.ConnectionPool
-
-
Shares the SPDY connection with the pool.
-
-
shouldPostpone(Route) - Method in class com.squareup.okhttp.RouteDatabase
-
-
Deprecated.
-
Returns true if route has failed recently and should be avoided.
-
-
sMaxAgeSeconds() - Method in class com.squareup.okhttp.CacheControl
-
-
The "s-maxage" directive is the max age for shared caches.
-
-
spdyVariant - Variable in enum com.squareup.okhttp.Protocol
-
-
Deprecated. -
removed from the public API in OkHttp 2.0.
-
-
-
subtype() - Method in class com.squareup.okhttp.MediaType
-
-
Returns a specific media subtype, such as "plain" or "png", "mpeg", - "mp4" or "xml".
-
-
- - - -

T

-
-
toString() - Method in class com.squareup.okhttp.MediaType
-
-
Returns the encoded media type, like "text/plain; charset=utf-8", - appropriate for use in a Content-Type header.
-
-
toString() - Method in class com.squareup.okhttp.OkAuthenticator.Challenge
-
-
Deprecated.
-
toString() - Method in class com.squareup.okhttp.OkAuthenticator.Credential
-
-
Deprecated.
-
trackConditionalCacheHit() - Method in class com.squareup.okhttp.Cache
-
 
-
trackConditionalCacheHit() - Method in interface com.squareup.okhttp.OkResponseCache
-
-
Deprecated.
-
Track an conditional GET that was satisfied by this cache.
-
-
trackResponse(ResponseSource) - Method in class com.squareup.okhttp.Cache
-
 
-
trackResponse(ResponseSource) - Method in interface com.squareup.okhttp.OkResponseCache
-
-
Deprecated.
-
Track an HTTP response being satisfied by source.
-
-
TunnelRequest - Class in com.squareup.okhttp
-
-
Deprecated. -
removed from the public API in OkHttp 2.0.
-
-
-
TunnelRequest(String, int, String, String) - Constructor for class com.squareup.okhttp.TunnelRequest
-
-
Deprecated.
-
type() - Method in class com.squareup.okhttp.MediaType
-
-
Returns the high-level media type, such as "text", "image", "audio", - "video", or "application".
-
-
- - - -

U

-
-
update(Response, Response) - Method in class com.squareup.okhttp.Cache
-
 
-
update(Response, Response) - Method in interface com.squareup.okhttp.OkResponseCache
-
-
Deprecated.
-
Handles a conditional request hit by updating the stored cache response - with the headers from network.
-
-
updateReadTimeout(int) - Method in class com.squareup.okhttp.Connection
-
 
-
usesCache() - Method in enum com.squareup.okhttp.ResponseSource
-
-
Deprecated.
-
- - - -

V

-
-
valueOf(String) - Static method in enum com.squareup.okhttp.Protocol
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum com.squareup.okhttp.ResponseSource
-
-
Deprecated.
-
Returns the enum constant of this type with the specified name.
-
-
values() - Static method in enum com.squareup.okhttp.Protocol
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum com.squareup.okhttp.ResponseSource
-
-
Deprecated.
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
-A B C D E F G H I L M N O P R S T U V 
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/index.html b/1.x/okhttp/index.html deleted file mode 100644 index 833c4a6cb..000000000 --- a/1.x/okhttp/index.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - -OkHttp 1.6.0 API - - - - - - -<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/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/1.x/okhttp/overview-tree.html b/1.x/okhttp/overview-tree.html deleted file mode 100644 index b319d0603..000000000 --- a/1.x/okhttp/overview-tree.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp 1.6.0 API) - - - - - - - -
- - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - -
- - -

Copyright © 2014. All Rights Reserved.

- - diff --git a/1.x/okhttp/package-list b/1.x/okhttp/package-list deleted file mode 100644 index ac5f84bc5..000000000 --- a/1.x/okhttp/package-list +++ /dev/null @@ -1 +0,0 @@ -com.squareup.okhttp diff --git a/1.x/okhttp/resources/background.gif b/1.x/okhttp/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5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 index 0aeaa97fe..000000000 --- a/1.x/okhttp/stylesheet.css +++ /dev/null @@ -1,474 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ -body { - background-color:#ffffff; - color:#353833; - font-family:Arial, Helvetica, sans-serif; - font-size:76%; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4c6b87; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4c6b87; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-size:1.3em; -} -h1 { - font-size:1.8em; -} -h2 { - font-size:1.5em; -} -h3 { - font-size:1.4em; -} -h4 { - font-size:1.3em; -} -h5 { - font-size:1.2em; -} -h6 { - font-size:1.1em; -} -ul { - list-style-type:disc; -} -code, tt { - font-size:1.2em; -} -dt code { - font-size:1.2em; -} -table tr td dt code { - font-size:1.2em; - vertical-align:top; -} -sup { - font-size:.6em; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:.8em; - z-index:200; - margin-top:-7px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - background-image:url(resources/titlebar.gif); - background-position:left top; - background-repeat:no-repeat; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:1em; - margin:0; -} -.topNav { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.bottomNav { - margin-top:10px; - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.subNav { - background-color:#dee3e9; - border-bottom:1px solid #9eadc0; - float:left; - width:100%; - overflow:hidden; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding:3px 6px; -} -ul.subNavList li{ - list-style:none; - float:left; - font-size:90%; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; -} -.navBarCell1Rev { - background-image:url(resources/tab.gif); - background-color:#a88834; - color:#FFFFFF; - margin: auto 5px; - border:1px solid #c9aa44; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader h1 { - font-size:1.3em; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 25px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:1.2em; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:1.0em; -} -.indexContainer h2 { - font-size:1.1em; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:1.1em; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:10px 0 10px 20px; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:25px; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #9eadc0; - background-color:#f9f9f9; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:1px solid #9eadc0; - border-top:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; - border-bottom:1px solid #9eadc0; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.contentContainer table, .classUseContainer table, .constantValuesContainer table { - border-bottom:1px solid #9eadc0; - width:100%; -} -.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { - width:100%; -} -.contentContainer .description table, .contentContainer .details table { - border-bottom:none; -} -.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ - vertical-align:top; - padding-right:20px; -} -.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, -.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, -.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, -.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { - padding-right:3px; -} -.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#FFFFFF; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - margin:0px; -} -caption a:link, caption a:hover, caption a:active, caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { - white-space:nowrap; - padding-top:8px; - padding-left:8px; - display:block; - float:left; - background-image:url(resources/titlebar.gif); - height:18px; -} -.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { - width:10px; - background-image:url(resources/titlebar_end.gif); - background-repeat:no-repeat; - background-position:top right; - position:relative; - float:left; -} -ul.blockList ul.blockList li.blockList table { - margin:0 0 12px 0px; - width:100%; -} -.tableSubHeadingColor { - background-color: #EEEEFF; -} -.altColor { - background-color:#eeeeef; -} -.rowColor { - background-color:#ffffff; -} -.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { - text-align:left; - padding:3px 3px 3px 7px; -} -th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { - background:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - text-align:left; - padding:3px 3px 3px 7px; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -td.colFirst, th.colFirst { - border-left:1px solid #9eadc0; - white-space:nowrap; -} -td.colLast, th.colLast { - border-right:1px solid #9eadc0; -} -td.colOne, th.colOne { - border-right:1px solid #9eadc0; - border-left:1px solid #9eadc0; -} -table.overviewSummary { - padding:0px; - margin-left:0px; -} -table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, -table.overviewSummary td.colOne, table.overviewSummary th.colOne { - width:25%; - vertical-align:middle; -} -table.packageSummary td.colFirst, table.overviewSummary th.colFirst { - width:25%; - vertical-align:middle; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:.9em; -} -.block { - display:block; - margin:3px 0 0 0; -} -.strong { - font-weight:bold; -} diff --git a/1.x/okhttp/version.txt b/1.x/okhttp/version.txt deleted file mode 100644 index ce6a70b9d..000000000 --- a/1.x/okhttp/version.txt +++ /dev/null @@ -1 +0,0 @@ -1.6.0 \ No newline at end of file diff --git a/2.x/benchmarks/META-INF/MANIFEST.MF b/2.x/benchmarks/META-INF/MANIFEST.MF deleted file mode 100644 index aaa8bf6f7..000000000 --- a/2.x/benchmarks/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_45 - diff --git a/2.x/benchmarks/allclasses-frame.html b/2.x/benchmarks/allclasses-frame.html deleted file mode 100644 index fc95c9f4f..000000000 --- a/2.x/benchmarks/allclasses-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (Benchmarks 2.7.5 API) - - - - - -

All Classes

-
- -
- - diff --git a/2.x/benchmarks/allclasses-noframe.html b/2.x/benchmarks/allclasses-noframe.html deleted file mode 100644 index fc36ec491..000000000 --- a/2.x/benchmarks/allclasses-noframe.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (Benchmarks 2.7.5 API) - - - - - -

All Classes

-
- -
- - diff --git a/2.x/benchmarks/com/squareup/okhttp/benchmarks/Benchmark.html b/2.x/benchmarks/com/squareup/okhttp/benchmarks/Benchmark.html deleted file mode 100644 index 223d17cfc..000000000 --- a/2.x/benchmarks/com/squareup/okhttp/benchmarks/Benchmark.html +++ /dev/null @@ -1,321 +0,0 @@ - - - - - - -Benchmark (Benchmarks 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.benchmarks
-

Class Benchmark

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.caliper.Benchmark
    • -
    • -
        -
      • com.squareup.okhttp.benchmarks.Benchmark
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Benchmark
    -extends com.google.caliper.Benchmark
    -
    This benchmark is fake, but may be useful for certain relative comparisons. - It uses a local connection to a MockWebServer to measure how many identical - requests per second can be carried over a fixed number of threads.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Benchmark

        -
        public Benchmark()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/benchmarks/com/squareup/okhttp/benchmarks/class-use/Benchmark.html b/2.x/benchmarks/com/squareup/okhttp/benchmarks/class-use/Benchmark.html deleted file mode 100644 index c621b1cb5..000000000 --- a/2.x/benchmarks/com/squareup/okhttp/benchmarks/class-use/Benchmark.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.benchmarks.Benchmark (Benchmarks 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.benchmarks.Benchmark

-
-
No usage of com.squareup.okhttp.benchmarks.Benchmark
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/benchmarks/com/squareup/okhttp/benchmarks/package-frame.html b/2.x/benchmarks/com/squareup/okhttp/benchmarks/package-frame.html deleted file mode 100644 index 9a3b99ba4..000000000 --- a/2.x/benchmarks/com/squareup/okhttp/benchmarks/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -com.squareup.okhttp.benchmarks (Benchmarks 2.7.5 API) - - - - - -

com.squareup.okhttp.benchmarks

-
-

Classes

- -
- - diff --git a/2.x/benchmarks/com/squareup/okhttp/benchmarks/package-summary.html b/2.x/benchmarks/com/squareup/okhttp/benchmarks/package-summary.html deleted file mode 100644 index 4a6c2059b..000000000 --- a/2.x/benchmarks/com/squareup/okhttp/benchmarks/package-summary.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -com.squareup.okhttp.benchmarks (Benchmarks 2.7.5 API) - - - - - - - - - - - -
-

Package com.squareup.okhttp.benchmarks

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Benchmark -
    This benchmark is fake, but may be useful for certain relative comparisons.
    -
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/benchmarks/com/squareup/okhttp/benchmarks/package-tree.html b/2.x/benchmarks/com/squareup/okhttp/benchmarks/package-tree.html deleted file mode 100644 index fe3684e00..000000000 --- a/2.x/benchmarks/com/squareup/okhttp/benchmarks/package-tree.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - -com.squareup.okhttp.benchmarks Class Hierarchy (Benchmarks 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For Package com.squareup.okhttp.benchmarks

-
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • com.google.caliper.Benchmark - -
    • -
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/benchmarks/com/squareup/okhttp/benchmarks/package-use.html b/2.x/benchmarks/com/squareup/okhttp/benchmarks/package-use.html deleted file mode 100644 index b099ce683..000000000 --- a/2.x/benchmarks/com/squareup/okhttp/benchmarks/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.benchmarks (Benchmarks 2.7.5 API) - - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.benchmarks

-
-
No usage of com.squareup.okhttp.benchmarks
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/benchmarks/constant-values.html b/2.x/benchmarks/constant-values.html deleted file mode 100644 index 33271b10a..000000000 --- a/2.x/benchmarks/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (Benchmarks 2.7.5 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/benchmarks/deprecated-list.html b/2.x/benchmarks/deprecated-list.html deleted file mode 100644 index 5730f19ab..000000000 --- a/2.x/benchmarks/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (Benchmarks 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/benchmarks/help-doc.html b/2.x/benchmarks/help-doc.html deleted file mode 100644 index 8519d842c..000000000 --- a/2.x/benchmarks/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (Benchmarks 2.7.5 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/benchmarks/index-all.html b/2.x/benchmarks/index-all.html deleted file mode 100644 index ba28eac31..000000000 --- a/2.x/benchmarks/index-all.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - -Index (Benchmarks 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
B C M R T  - - -

B

-
-
Benchmark - Class in com.squareup.okhttp.benchmarks
-
-
This benchmark is fake, but may be useful for certain relative comparisons.
-
-
Benchmark() - Constructor for class com.squareup.okhttp.benchmarks.Benchmark
-
 
-
- - - -

C

-
-
com.squareup.okhttp.benchmarks - package com.squareup.okhttp.benchmarks
-
 
-
- - - -

M

-
-
main(String[]) - Static method in class com.squareup.okhttp.benchmarks.Benchmark
-
 
-
- - - -

R

-
-
run() - Method in class com.squareup.okhttp.benchmarks.Benchmark
-
 
-
- - - -

T

-
-
toString() - Method in class com.squareup.okhttp.benchmarks.Benchmark
-
 
-
-B C M R T 
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/benchmarks/index.html b/2.x/benchmarks/index.html deleted file mode 100644 index 31ee81427..000000000 --- a/2.x/benchmarks/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - -Benchmarks 2.7.5 API - - - - - - -<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/benchmarks/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/2.x/benchmarks/overview-tree.html b/2.x/benchmarks/overview-tree.html deleted file mode 100644 index cc5081585..000000000 --- a/2.x/benchmarks/overview-tree.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - -Class Hierarchy (Benchmarks 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • com.google.caliper.Benchmark - -
    • -
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/benchmarks/package-list b/2.x/benchmarks/package-list deleted file mode 100644 index 8caffeb9a..000000000 --- a/2.x/benchmarks/package-list +++ /dev/null @@ -1 +0,0 @@ -com.squareup.okhttp.benchmarks diff --git a/2.x/benchmarks/resources/background.gif b/2.x/benchmarks/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!N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=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/2.x/benchmarks/script.js b/2.x/benchmarks/script.js deleted file mode 100644 index b34635693..000000000 --- a/2.x/benchmarks/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/2.x/benchmarks/stylesheet.css b/2.x/benchmarks/stylesheet.css deleted file mode 100644 index 66c91f7d6..000000000 --- a/2.x/benchmarks/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; - width:100%; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/2.x/benchmarks/version.txt b/2.x/benchmarks/version.txt deleted file mode 100644 index 460b6fd40..000000000 --- a/2.x/benchmarks/version.txt +++ /dev/null @@ -1 +0,0 @@ -2.7.5 \ No newline at end of file diff --git a/2.x/logging-interceptor/META-INF/MANIFEST.MF b/2.x/logging-interceptor/META-INF/MANIFEST.MF deleted file mode 100644 index aaa8bf6f7..000000000 --- a/2.x/logging-interceptor/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_45 - diff --git a/2.x/logging-interceptor/allclasses-frame.html b/2.x/logging-interceptor/allclasses-frame.html deleted file mode 100644 index 5f2dffd96..000000000 --- a/2.x/logging-interceptor/allclasses-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -All Classes (OkHttp Logging Interceptor 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/logging-interceptor/allclasses-noframe.html b/2.x/logging-interceptor/allclasses-noframe.html deleted file mode 100644 index 2b38faf9a..000000000 --- a/2.x/logging-interceptor/allclasses-noframe.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -All Classes (OkHttp Logging Interceptor 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/logging-interceptor/com/squareup/okhttp/logging/HttpLoggingInterceptor.Level.html b/2.x/logging-interceptor/com/squareup/okhttp/logging/HttpLoggingInterceptor.Level.html deleted file mode 100644 index f641d1c40..000000000 --- a/2.x/logging-interceptor/com/squareup/okhttp/logging/HttpLoggingInterceptor.Level.html +++ /dev/null @@ -1,420 +0,0 @@ - - - - - - -HttpLoggingInterceptor.Level (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.logging
-

Enum HttpLoggingInterceptor.Level

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - - - - - -
        -
      • -

        BASIC

        -
        public static final HttpLoggingInterceptor.Level BASIC
        -
        Logs request and response lines. -

        - Example: -

        
        - --> POST /greeting HTTP/1.1 (3-byte body)
        -
        - <-- HTTP/1.1 200 OK (22ms, 6-byte body)
        - 
        -
      • -
      - - - -
        -
      • -

        HEADERS

        -
        public static final HttpLoggingInterceptor.Level HEADERS
        -
        Logs request and response lines and their respective headers. -

        - Example: -

        
        - --> POST /greeting HTTP/1.1
        - Host: example.com
        - Content-Type: plain/text
        - Content-Length: 3
        - --> END POST
        -
        - <-- HTTP/1.1 200 OK (22ms)
        - Content-Type: plain/text
        - Content-Length: 6
        - <-- END HTTP
        - 
        -
      • -
      - - - -
        -
      • -

        BODY

        -
        public static final HttpLoggingInterceptor.Level BODY
        -
        Logs request and response lines and their respective headers and bodies (if present). -

        - Example: -

        
        - --> POST /greeting HTTP/1.1
        - Host: example.com
        - Content-Type: plain/text
        - Content-Length: 3
        -
        - Hi?
        - --> END GET
        -
        - <-- HTTP/1.1 200 OK (22ms)
        - Content-Type: plain/text
        - Content-Length: 6
        -
        - Hello!
        - <-- END HTTP
        - 
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static HttpLoggingInterceptor.Level[] values()
        -
        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: -
        -for (HttpLoggingInterceptor.Level c : HttpLoggingInterceptor.Level.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static HttpLoggingInterceptor.Level valueOf(String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant with the specified name
        -
        NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/com/squareup/okhttp/logging/HttpLoggingInterceptor.Logger.html b/2.x/logging-interceptor/com/squareup/okhttp/logging/HttpLoggingInterceptor.Logger.html deleted file mode 100644 index b21a55554..000000000 --- a/2.x/logging-interceptor/com/squareup/okhttp/logging/HttpLoggingInterceptor.Logger.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - -HttpLoggingInterceptor.Logger (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.logging
-

Interface HttpLoggingInterceptor.Logger

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    HttpLoggingInterceptor
    -
    -
    -
    -
    public static interface HttpLoggingInterceptor.Logger
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/com/squareup/okhttp/logging/HttpLoggingInterceptor.html b/2.x/logging-interceptor/com/squareup/okhttp/logging/HttpLoggingInterceptor.html deleted file mode 100644 index b5608ecc0..000000000 --- a/2.x/logging-interceptor/com/squareup/okhttp/logging/HttpLoggingInterceptor.html +++ /dev/null @@ -1,361 +0,0 @@ - - - - - - - -HttpLoggingInterceptor (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.logging
-

Class HttpLoggingInterceptor

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.squareup.okhttp.logging.HttpLoggingInterceptor
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Interceptor
    -
    -
    -
    -
    public final class HttpLoggingInterceptor
    -extends Object
    -implements Interceptor
    -
    An OkHttp interceptor which logs request and response information. Can be applied as an - application interceptor or as a - network interceptor. -

    - The format of the logs created by this class should not be considered stable and may change - slightly between releases. If you need a stable logging format, use your own interceptor.

    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/com/squareup/okhttp/logging/class-use/HttpLoggingInterceptor.Level.html b/2.x/logging-interceptor/com/squareup/okhttp/logging/class-use/HttpLoggingInterceptor.Level.html deleted file mode 100644 index 2f060988d..000000000 --- a/2.x/logging-interceptor/com/squareup/okhttp/logging/class-use/HttpLoggingInterceptor.Level.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.logging.HttpLoggingInterceptor.Level (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.logging.HttpLoggingInterceptor.Level

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/com/squareup/okhttp/logging/class-use/HttpLoggingInterceptor.Logger.html b/2.x/logging-interceptor/com/squareup/okhttp/logging/class-use/HttpLoggingInterceptor.Logger.html deleted file mode 100644 index 610a077fe..000000000 --- a/2.x/logging-interceptor/com/squareup/okhttp/logging/class-use/HttpLoggingInterceptor.Logger.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.logging.HttpLoggingInterceptor.Logger (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.logging.HttpLoggingInterceptor.Logger

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/com/squareup/okhttp/logging/class-use/HttpLoggingInterceptor.html b/2.x/logging-interceptor/com/squareup/okhttp/logging/class-use/HttpLoggingInterceptor.html deleted file mode 100644 index c1c3e29ec..000000000 --- a/2.x/logging-interceptor/com/squareup/okhttp/logging/class-use/HttpLoggingInterceptor.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.logging.HttpLoggingInterceptor (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.logging.HttpLoggingInterceptor

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/com/squareup/okhttp/logging/package-frame.html b/2.x/logging-interceptor/com/squareup/okhttp/logging/package-frame.html deleted file mode 100644 index f260885a6..000000000 --- a/2.x/logging-interceptor/com/squareup/okhttp/logging/package-frame.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - -com.squareup.okhttp.logging (OkHttp Logging Interceptor 2.7.5 API) - - - - - -

com.squareup.okhttp.logging

- - - diff --git a/2.x/logging-interceptor/com/squareup/okhttp/logging/package-summary.html b/2.x/logging-interceptor/com/squareup/okhttp/logging/package-summary.html deleted file mode 100644 index 6a178ae53..000000000 --- a/2.x/logging-interceptor/com/squareup/okhttp/logging/package-summary.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - -com.squareup.okhttp.logging (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - - - - -
-

Package com.squareup.okhttp.logging

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/com/squareup/okhttp/logging/package-tree.html b/2.x/logging-interceptor/com/squareup/okhttp/logging/package-tree.html deleted file mode 100644 index 1d844d787..000000000 --- a/2.x/logging-interceptor/com/squareup/okhttp/logging/package-tree.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -com.squareup.okhttp.logging Class Hierarchy (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For Package com.squareup.okhttp.logging

-
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/com/squareup/okhttp/logging/package-use.html b/2.x/logging-interceptor/com/squareup/okhttp/logging/package-use.html deleted file mode 100644 index e51d86049..000000000 --- a/2.x/logging-interceptor/com/squareup/okhttp/logging/package-use.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.logging (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.logging

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/constant-values.html b/2.x/logging-interceptor/constant-values.html deleted file mode 100644 index e23b99b13..000000000 --- a/2.x/logging-interceptor/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/deprecated-list.html b/2.x/logging-interceptor/deprecated-list.html deleted file mode 100644 index 28254a069..000000000 --- a/2.x/logging-interceptor/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/help-doc.html b/2.x/logging-interceptor/help-doc.html deleted file mode 100644 index 220515400..000000000 --- a/2.x/logging-interceptor/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/index-all.html b/2.x/logging-interceptor/index-all.html deleted file mode 100644 index a58633e61..000000000 --- a/2.x/logging-interceptor/index-all.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -Index (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
C D G H I L S V  - - -

C

-
-
com.squareup.okhttp.logging - package com.squareup.okhttp.logging
-
 
-
- - - -

D

-
-
DEFAULT - Static variable in interface com.squareup.okhttp.logging.HttpLoggingInterceptor.Logger
-
-
A HttpLoggingInterceptor.Logger defaults output appropriate for the current platform.
-
-
- - - -

G

-
-
getLevel() - Method in class com.squareup.okhttp.logging.HttpLoggingInterceptor
-
 
-
- - - -

H

-
-
HttpLoggingInterceptor - Class in com.squareup.okhttp.logging
-
-
An OkHttp interceptor which logs request and response information.
-
-
HttpLoggingInterceptor() - Constructor for class com.squareup.okhttp.logging.HttpLoggingInterceptor
-
 
-
HttpLoggingInterceptor(HttpLoggingInterceptor.Logger) - Constructor for class com.squareup.okhttp.logging.HttpLoggingInterceptor
-
 
-
HttpLoggingInterceptor.Level - Enum in com.squareup.okhttp.logging
-
 
-
HttpLoggingInterceptor.Logger - Interface in com.squareup.okhttp.logging
-
 
-
- - - -

I

-
-
intercept(Interceptor.Chain) - Method in class com.squareup.okhttp.logging.HttpLoggingInterceptor
-
 
-
- - - -

L

-
-
log(String) - Method in interface com.squareup.okhttp.logging.HttpLoggingInterceptor.Logger
-
 
-
- - - -

S

-
-
setLevel(HttpLoggingInterceptor.Level) - Method in class com.squareup.okhttp.logging.HttpLoggingInterceptor
-
-
Change the level at which this interceptor logs.
-
-
- - - -

V

-
-
valueOf(String) - Static method in enum com.squareup.okhttp.logging.HttpLoggingInterceptor.Level
-
-
Returns the enum constant of this type with the specified name.
-
-
values() - Static method in enum com.squareup.okhttp.logging.HttpLoggingInterceptor.Level
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
-C D G H I L S V 
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/index.html b/2.x/logging-interceptor/index.html deleted file mode 100644 index 851114bb5..000000000 --- a/2.x/logging-interceptor/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - -OkHttp Logging Interceptor 2.7.5 API - - - - - - -<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/logging/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/2.x/logging-interceptor/overview-tree.html b/2.x/logging-interceptor/overview-tree.html deleted file mode 100644 index 2ba445cdf..000000000 --- a/2.x/logging-interceptor/overview-tree.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp Logging Interceptor 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/logging-interceptor/package-list b/2.x/logging-interceptor/package-list deleted file mode 100644 index 097664dae..000000000 --- a/2.x/logging-interceptor/package-list +++ /dev/null @@ -1 +0,0 @@ -com.squareup.okhttp.logging diff --git a/2.x/logging-interceptor/resources/background.gif b/2.x/logging-interceptor/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}n_%Pq%(e+H~mGqhq5kv4Mo|-n~g|7!F*xZ{xv< zCpXS~dGg^IGK?4@J-T%b(XnUHFul6n<@2&4)zzyO2) z3Q8`i0+UKY*`$}e9mmp;tg*))`|PsK1|hAo%u0K$vDwm4gaSkm0j{`26k#qAKmbuhxZ#cquDR>B zD{s8+&TH-uNg$C#68QG}1HMBHfrP&L@@w$F_!itRzXdCN@V|LDAu%3!IDtq1#1UV7 z#1RxvT=B(DWbCoU5l=ia$Pp`Hgb_?Mp@hmtxZDI2N-)v#$}PXVvdm1d>@v(v`0TUJ zF)Pu89(q`zv=w^nVTIF3@3BYIPA}c`(@ZCAwbNBEt@PDUKe5CTR8aB66IE1!w%Amt zy+jpcn~k>GZpVFg+H6x{_uOksvBlq0OyT$6TyQZ37k(cOxZr|JEx1sGm<(M9gH z-~PMqyn|tT=))UN`|-FFFUA#KToK0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dSv=Om2vbAM@`Qp{{SI=yP zj6WN*eEt0G$9EPX6FU%)-ho>hWTW!yzXBIo73<0umM-=@eG&niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/2.x/logging-interceptor/script.js b/2.x/logging-interceptor/script.js deleted file mode 100644 index b34635693..000000000 --- a/2.x/logging-interceptor/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/2.x/logging-interceptor/stylesheet.css b/2.x/logging-interceptor/stylesheet.css deleted file mode 100644 index 66c91f7d6..000000000 --- a/2.x/logging-interceptor/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; - width:100%; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/2.x/logging-interceptor/version.txt b/2.x/logging-interceptor/version.txt deleted file mode 100644 index 460b6fd40..000000000 --- a/2.x/logging-interceptor/version.txt +++ /dev/null @@ -1 +0,0 @@ -2.7.5 \ No newline at end of file diff --git a/2.x/mockwebserver/META-INF/MANIFEST.MF b/2.x/mockwebserver/META-INF/MANIFEST.MF deleted file mode 100644 index aaa8bf6f7..000000000 --- a/2.x/mockwebserver/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_45 - diff --git a/2.x/mockwebserver/allclasses-frame.html b/2.x/mockwebserver/allclasses-frame.html deleted file mode 100644 index 60feb5873..000000000 --- a/2.x/mockwebserver/allclasses-frame.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - -All Classes (MockWebServer 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/mockwebserver/allclasses-noframe.html b/2.x/mockwebserver/allclasses-noframe.html deleted file mode 100644 index 5405ccf61..000000000 --- a/2.x/mockwebserver/allclasses-noframe.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - -All Classes (MockWebServer 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/HeldCertificate.Builder.html b/2.x/mockwebserver/com/squareup/okhttp/internal/HeldCertificate.Builder.html deleted file mode 100644 index 03a1558e3..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/HeldCertificate.Builder.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - - - -HeldCertificate.Builder (MockWebServer 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.internal
-

Class HeldCertificate.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.squareup.okhttp.internal.HeldCertificate.Builder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    HeldCertificate
    -
    -
    -
    -
    public static final class HeldCertificate.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/HeldCertificate.html b/2.x/mockwebserver/com/squareup/okhttp/internal/HeldCertificate.html deleted file mode 100644 index 5a577b5d6..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/HeldCertificate.html +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - -HeldCertificate (MockWebServer 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.internal
-

Class HeldCertificate

-
-
- -
-
    -
  • -
    -
    -
    public final class HeldCertificate
    -extends Object
    -
    A certificate and its private key. This can be used on the server side by HTTPS servers, or on - the client side to verify those HTTPS servers. A held certificate can also be used to sign other - held certificates, as done in practice by certificate authorities.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/SslContextBuilder.html b/2.x/mockwebserver/com/squareup/okhttp/internal/SslContextBuilder.html deleted file mode 100644 index 8a510b18e..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/SslContextBuilder.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - -SslContextBuilder (MockWebServer 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.internal
-

Class SslContextBuilder

-
-
- -
-
    -
  • -
    -
    -
    public final class SslContextBuilder
    -extends Object
    -
    Constructs an SSL context for testing. This uses Bouncy Castle to generate a - self-signed certificate for a single hostname such as "localhost". - -

    The crypto performed by this class is relatively slow. Clients should - reuse SSL context instances where possible.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SslContextBuilder

        -
        public SslContextBuilder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        localhost

        -
        public static SSLContext localhost()
        -
        Returns a new SSL context for this host's current localhost address.
        -
      • -
      - - - -
        -
      • -

        certificateChain

        -
        public SslContextBuilder certificateChain(HeldCertificate... chain)
        -
        Configure the certificate chain to use when serving HTTPS responses. The first certificate - in this chain is the server's certificate, further certificates are included in the handshake - so the client can build a trusted path to a CA certificate.
        -
      • -
      - - - -
        -
      • -

        addTrustedCertificate

        -
        public SslContextBuilder addTrustedCertificate(X509Certificate certificate)
        -
        Add a certificate authority that this client trusts. Servers that provide certificate chains - signed by these roots (or their intermediates) will be accepted.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/class-use/HeldCertificate.Builder.html b/2.x/mockwebserver/com/squareup/okhttp/internal/class-use/HeldCertificate.Builder.html deleted file mode 100644 index d9a00854f..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/class-use/HeldCertificate.Builder.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.HeldCertificate.Builder (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.HeldCertificate.Builder

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/class-use/HeldCertificate.html b/2.x/mockwebserver/com/squareup/okhttp/internal/class-use/HeldCertificate.html deleted file mode 100644 index 8b7d3770b..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/class-use/HeldCertificate.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.HeldCertificate (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.HeldCertificate

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/class-use/SslContextBuilder.html b/2.x/mockwebserver/com/squareup/okhttp/internal/class-use/SslContextBuilder.html deleted file mode 100644 index 27985fc50..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/class-use/SslContextBuilder.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.SslContextBuilder (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.SslContextBuilder

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/framed/FramedServer.html b/2.x/mockwebserver/com/squareup/okhttp/internal/framed/FramedServer.html deleted file mode 100644 index a785fca50..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/framed/FramedServer.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - -FramedServer (MockWebServer 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.internal.framed
-

Class FramedServer

-
-
- -
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/framed/class-use/FramedServer.html b/2.x/mockwebserver/com/squareup/okhttp/internal/framed/class-use/FramedServer.html deleted file mode 100644 index ad7a309bd..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/framed/class-use/FramedServer.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.framed.FramedServer (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.framed.FramedServer

-
-
No usage of com.squareup.okhttp.internal.framed.FramedServer
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-frame.html b/2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-frame.html deleted file mode 100644 index 4c55df5dc..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -com.squareup.okhttp.internal.framed (MockWebServer 2.7.5 API) - - - - - -

com.squareup.okhttp.internal.framed

-
-

Classes

- -
- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-summary.html b/2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-summary.html deleted file mode 100644 index 61a62c28d..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-summary.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -com.squareup.okhttp.internal.framed (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Package com.squareup.okhttp.internal.framed

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    FramedServer -
    A basic SPDY/HTTP_2 server that serves the contents of a local directory.
    -
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-tree.html b/2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-tree.html deleted file mode 100644 index 16b76a6e8..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-tree.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -com.squareup.okhttp.internal.framed Class Hierarchy (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For Package com.squareup.okhttp.internal.framed

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-use.html b/2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-use.html deleted file mode 100644 index 2f42656cc..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/framed/package-use.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.internal.framed (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.internal.framed

-
-
No usage of com.squareup.okhttp.internal.framed
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/package-frame.html b/2.x/mockwebserver/com/squareup/okhttp/internal/package-frame.html deleted file mode 100644 index 1ead42a1c..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/package-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -com.squareup.okhttp.internal (MockWebServer 2.7.5 API) - - - - - -

com.squareup.okhttp.internal

- - - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/package-summary.html b/2.x/mockwebserver/com/squareup/okhttp/internal/package-summary.html deleted file mode 100644 index e6803b720..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/package-summary.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - -com.squareup.okhttp.internal (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Package com.squareup.okhttp.internal

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/package-tree.html b/2.x/mockwebserver/com/squareup/okhttp/internal/package-tree.html deleted file mode 100644 index 51bf8f6bc..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/package-tree.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - -com.squareup.okhttp.internal Class Hierarchy (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For Package com.squareup.okhttp.internal

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/internal/package-use.html b/2.x/mockwebserver/com/squareup/okhttp/internal/package-use.html deleted file mode 100644 index 55300ea9a..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/internal/package-use.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.internal (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.internal

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/Dispatcher.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/Dispatcher.html deleted file mode 100644 index 733d347e3..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/Dispatcher.html +++ /dev/null @@ -1,309 +0,0 @@ - - - - - - - -Dispatcher (MockWebServer 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Class Dispatcher

-
-
- -
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    QueueDispatcher
    -
    -
    -
    -
    public abstract class Dispatcher
    -extends Object
    -
    Handler for mock server requests.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Dispatcher

        -
        public Dispatcher()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        peek

        -
        public MockResponse peek()
        -
        Returns an early guess of the next response, used for policy on how an - incoming request should be received. The default implementation returns an - empty response. Mischievous implementations can return other values to test - HTTP edge cases, such as unhappy socket policies or throttled request - bodies.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockResponse.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockResponse.html deleted file mode 100644 index 8c2e79788..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockResponse.html +++ /dev/null @@ -1,779 +0,0 @@ - - - - - - - -MockResponse (MockWebServer 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Class MockResponse

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Cloneable
    -
    -
    -
    -
    public final class MockResponse
    -extends Object
    -implements Cloneable
    -
    A scripted response to be replayed by the mock web server.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MockResponse

        -
        public MockResponse()
        -
        Creates a new mock response with an empty body.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        getStatus

        -
        public String getStatus()
        -
        Returns the HTTP response line, such as "HTTP/1.1 200 OK".
        -
      • -
      - - - -
        -
      • -

        setResponseCode

        -
        public MockResponse setResponseCode(int code)
        -
      • -
      - - - - - - - -
        -
      • -

        getHeaders

        -
        public Headers getHeaders()
        -
        Returns the HTTP headers, such as "Content-Length: 0".
        -
      • -
      - - - -
        -
      • -

        clearHeaders

        -
        public MockResponse clearHeaders()
        -
        Removes all HTTP headers including any "Content-Length" and - "Transfer-encoding" headers that were added by default.
        -
      • -
      - - - -
        -
      • -

        addHeader

        -
        public MockResponse addHeader(String header)
        -
        Adds header as an HTTP header. For well-formed HTTP header - should contain a name followed by a colon and a value.
        -
      • -
      - - - -
        -
      • -

        addHeader

        -
        public MockResponse addHeader(String name,
        -                              Object value)
        -
        Adds a new header with the name and value. This may be used to add multiple - headers with the same name.
        -
      • -
      - - - -
        -
      • -

        addHeaderLenient

        -
        public MockResponse addHeaderLenient(String name,
        -                                     Object value)
        -
        Adds a new header with the name and value. This may be used to add multiple - headers with the same name. Unlike addHeader(String, Object) this - does not validate the name and value.
        -
      • -
      - - - -
        -
      • -

        setHeader

        -
        public MockResponse setHeader(String name,
        -                              Object value)
        -
        Removes all headers named name, then adds a new header with the - name and value.
        -
      • -
      - - - -
        -
      • -

        setHeaders

        -
        public MockResponse setHeaders(Headers headers)
        -
        Replaces all headers with those specified in headers.
        -
      • -
      - - - -
        -
      • -

        removeHeader

        -
        public MockResponse removeHeader(String name)
        -
        Removes all headers named name.
        -
      • -
      - - - -
        -
      • -

        getBody

        -
        public okio.Buffer getBody()
        -
        Returns a copy of the raw HTTP payload.
        -
      • -
      - - - -
        -
      • -

        setBody

        -
        public MockResponse setBody(okio.Buffer body)
        -
      • -
      - - - -
        -
      • -

        setBody

        -
        public MockResponse setBody(String body)
        -
        Sets the response body to the UTF-8 encoded bytes of body.
        -
      • -
      - - - -
        -
      • -

        setChunkedBody

        -
        public MockResponse setChunkedBody(okio.Buffer body,
        -                                   int maxChunkSize)
        -
        Sets the response body to body, chunked every maxChunkSize - bytes.
        -
      • -
      - - - -
        -
      • -

        setChunkedBody

        -
        public MockResponse setChunkedBody(String body,
        -                                   int maxChunkSize)
        -
        Sets the response body to the UTF-8 encoded bytes of body, chunked - every maxChunkSize bytes.
        -
      • -
      - - - -
        -
      • -

        getSocketPolicy

        -
        public SocketPolicy getSocketPolicy()
        -
      • -
      - - - - - - - -
        -
      • -

        throttleBody

        -
        public MockResponse throttleBody(long bytesPerPeriod,
        -                                 long period,
        -                                 TimeUnit unit)
        -
        Throttles the response body writer to sleep for the given period after each - series of bytesPerPeriod bytes are written. Use this to simulate - network behavior.
        -
      • -
      - - - -
        -
      • -

        getThrottleBytesPerPeriod

        -
        public long getThrottleBytesPerPeriod()
        -
      • -
      - - - -
        -
      • -

        getThrottlePeriod

        -
        public long getThrottlePeriod(TimeUnit unit)
        -
      • -
      - - - -
        -
      • -

        setBodyDelay

        -
        public MockResponse setBodyDelay(long delay,
        -                                 TimeUnit unit)
        -
        Set the delayed time of the response body to delay. This applies to the - response body only; response headers are not affected.
        -
      • -
      - - - -
        -
      • -

        getBodyDelay

        -
        public long getBodyDelay(TimeUnit unit)
        -
      • -
      - - - - - - - -
        -
      • -

        getPushPromises

        -
        public List<PushPromise> getPushPromises()
        -
        Returns the streams the server will push with this response.
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        withWebSocketUpgrade

        -
        public MockResponse withWebSocketUpgrade(WebSocketListener listener)
        -
        Attempts to perform a web socket upgrade on the connection. This will overwrite any previously - set status or body.
        -
      • -
      - - - - - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockWebServer.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockWebServer.html deleted file mode 100644 index 9be2f7fad..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/MockWebServer.html +++ /dev/null @@ -1,710 +0,0 @@ - - - - - - - -MockWebServer (MockWebServer 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Class MockWebServer

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    org.junit.rules.TestRule
    -
    -
    -
    -
    public final class MockWebServer
    -extends Object
    -implements org.junit.rules.TestRule
    -
    A scriptable web server. Callers supply canned responses and the server - replays them upon request in sequence.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MockWebServer

        -
        public MockWebServer()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        apply

        -
        public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
        -                                               org.junit.runner.Description description)
        -
        -
        Specified by:
        -
        apply in interface org.junit.rules.TestRule
        -
        -
      • -
      - - - -
        -
      • -

        getPort

        -
        public int getPort()
        -
      • -
      - - - -
        -
      • -

        getHostName

        -
        public String getHostName()
        -
      • -
      - - - -
        -
      • -

        toProxyAddress

        -
        public Proxy toProxyAddress()
        -
      • -
      - - - -
        -
      • -

        setServerSocketFactory

        -
        public void setServerSocketFactory(ServerSocketFactory serverSocketFactory)
        -
      • -
      - - - -
        -
      • -

        getUrl

        -
        @Deprecated
        -public URL getUrl(String path)
        -
        Deprecated. 
        -
        Returns a URL for connecting to this server.
        -
        -
        Parameters:
        -
        path - the request path, such as "/".
        -
        -
      • -
      - - - -
        -
      • -

        url

        -
        public HttpUrl url(String path)
        -
        Returns a URL for connecting to this server.
        -
        -
        Parameters:
        -
        path - the request path, such as "/".
        -
        -
      • -
      - - - -
        -
      • -

        getCookieDomain

        -
        public String getCookieDomain()
        -
        Returns a cookie domain for this server. This returns the server's - non-loopback host name if it is known. Otherwise this returns ".local" for - this server's loopback name.
        -
      • -
      - - - -
        -
      • -

        setBodyLimit

        -
        public void setBodyLimit(long maxBodyLength)
        -
        Sets the number of bytes of the POST body to keep in memory to the given - limit.
        -
      • -
      - - - -
        -
      • -

        setProtocolNegotiationEnabled

        -
        public void setProtocolNegotiationEnabled(boolean protocolNegotiationEnabled)
        -
        Sets whether ALPN is used on incoming HTTPS connections to - negotiate a protocol like HTTP/1.1 or HTTP/2. Call this method to disable - negotiation and restrict connections to HTTP/1.1.
        -
      • -
      - - - -
        -
      • -

        setProtocols

        -
        public void setProtocols(List<Protocol> protocols)
        -
        Indicates the protocols supported by ALPN on incoming HTTPS - connections. This list is ignored when - negotiation is disabled.
        -
        -
        Parameters:
        -
        protocols - the protocols to use, in order of preference. The list - must contain Protocol.HTTP_1_1. It must not contain null.
        -
        -
      • -
      - - - -
        -
      • -

        useHttps

        -
        public void useHttps(SSLSocketFactory sslSocketFactory,
        -                     boolean tunnelProxy)
        -
        Serve requests with HTTPS rather than otherwise.
        -
        -
        Parameters:
        -
        tunnelProxy - true to expect the HTTP CONNECT method before - negotiating TLS.
        -
        -
      • -
      - - - -
        -
      • -

        takeRequest

        -
        public RecordedRequest takeRequest()
        -                            throws InterruptedException
        -
        Awaits the next HTTP request, removes it, and returns it. Callers should - use this to verify the request was sent as intended. This method will block until the - request is available, possibly forever.
        -
        -
        Returns:
        -
        the head of the request queue
        -
        Throws:
        -
        InterruptedException
        -
        -
      • -
      - - - -
        -
      • -

        takeRequest

        -
        public RecordedRequest takeRequest(long timeout,
        -                                   TimeUnit unit)
        -                            throws InterruptedException
        -
        Awaits the next HTTP request (waiting up to the - specified wait time if necessary), removes it, and returns it. Callers should - use this to verify the request was sent as intended within the given time.
        -
        -
        Parameters:
        -
        timeout - how long to wait before giving up, in units of - unit
        -
        unit - a TimeUnit determining how to interpret the - timeout parameter
        -
        Returns:
        -
        the head of the request queue
        -
        Throws:
        -
        InterruptedException
        -
        -
      • -
      - - - -
        -
      • -

        getRequestCount

        -
        public int getRequestCount()
        -
        Returns the number of HTTP requests received thus far by this server. This - may exceed the number of HTTP connections when connection reuse is in - practice.
        -
      • -
      - - - -
        -
      • -

        enqueue

        -
        public void enqueue(MockResponse response)
        -
        Scripts response to be returned to a request made in sequence. The - first request is served by the first enqueued response; the second request - by the second enqueued response; and so on.
        -
        -
        Throws:
        -
        ClassCastException - if the default dispatcher has been replaced - with setDispatcher(Dispatcher).
        -
        -
      • -
      - - - - - - - -
        -
      • -

        start

        -
        public void start(int port)
        -           throws IOException
        -
        Starts the server on the loopback interface for the given port.
        -
        -
        Parameters:
        -
        port - the port to listen to, or 0 for any available port. Automated - tests should always use port 0 to avoid flakiness when a specific port - is unavailable.
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        start

        -
        public void start(InetAddress inetAddress,
        -                  int port)
        -           throws IOException
        -
        Starts the server on the given address and port.
        -
        -
        Parameters:
        -
        inetAddress - the address to create the server socket on
        -
        port - the port to listen to, or 0 for any available port. Automated - tests should always use port 0 to avoid flakiness when a specific port - is unavailable.
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setDispatcher

        -
        public void setDispatcher(Dispatcher dispatcher)
        -
        Sets the dispatcher used to match incoming requests to mock responses. - The default dispatcher simply serves a fixed sequence of responses from - a queue; custom dispatchers can vary the - response based on timing or the content of the request.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/PushPromise.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/PushPromise.html deleted file mode 100644 index 17b85acad..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/PushPromise.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - - -PushPromise (MockWebServer 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Class PushPromise

-
-
- -
-
    -
  • -
    -
    -
    public final class PushPromise
    -extends Object
    -
    An HTTP request initiated by the server.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/QueueDispatcher.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/QueueDispatcher.html deleted file mode 100644 index e0d96276c..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/QueueDispatcher.html +++ /dev/null @@ -1,394 +0,0 @@ - - - - - - - -QueueDispatcher (MockWebServer 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Class QueueDispatcher

-
-
- -
- -
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        QueueDispatcher

        -
        public QueueDispatcher()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        peek

        -
        public MockResponse peek()
        -
        Description copied from class: Dispatcher
        -
        Returns an early guess of the next response, used for policy on how an - incoming request should be received. The default implementation returns an - empty response. Mischievous implementations can return other values to test - HTTP edge cases, such as unhappy socket policies or throttled request - bodies.
        -
        -
        Overrides:
        -
        peek in class Dispatcher
        -
        -
      • -
      - - - -
        -
      • -

        enqueueResponse

        -
        public void enqueueResponse(MockResponse response)
        -
      • -
      - - - -
        -
      • -

        setFailFast

        -
        public void setFailFast(boolean failFast)
        -
      • -
      - - - -
        -
      • -

        setFailFast

        -
        public void setFailFast(MockResponse failFastResponse)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/RecordedRequest.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/RecordedRequest.html deleted file mode 100644 index d10ce68d4..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/RecordedRequest.html +++ /dev/null @@ -1,466 +0,0 @@ - - - - - - - -RecordedRequest (MockWebServer 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Class RecordedRequest

-
-
- -
-
    -
  • -
    -
    -
    public final class RecordedRequest
    -extends Object
    -
    An HTTP request that came into the mock web server.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RecordedRequest

        -
        public RecordedRequest(String requestLine,
        -                       Headers headers,
        -                       List<Integer> chunkSizes,
        -                       long bodySize,
        -                       okio.Buffer body,
        -                       int sequenceNumber,
        -                       Socket socket)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRequestLine

        -
        public String getRequestLine()
        -
      • -
      - - - -
        -
      • -

        getMethod

        -
        public String getMethod()
        -
      • -
      - - - -
        -
      • -

        getPath

        -
        public String getPath()
        -
      • -
      - - - -
        -
      • -

        getHeaders

        -
        public Headers getHeaders()
        -
        Returns all headers.
        -
      • -
      - - - -
        -
      • -

        getHeader

        -
        public String getHeader(String name)
        -
        Returns the first header named name, or null if no such header exists.
        -
      • -
      - - - -
        -
      • -

        getChunkSizes

        -
        public List<Integer> getChunkSizes()
        -
        Returns the sizes of the chunks of this request's body, or an empty list - if the request's body was empty or unchunked.
        -
      • -
      - - - -
        -
      • -

        getBodySize

        -
        public long getBodySize()
        -
        Returns the total size of the body of this POST request (before - truncation).
        -
      • -
      - - - -
        -
      • -

        getBody

        -
        public okio.Buffer getBody()
        -
        Returns the body of this POST request. This may be truncated.
        -
      • -
      - - - - - - - -
        -
      • -

        getSequenceNumber

        -
        public int getSequenceNumber()
        -
        Returns the index of this request on its HTTP connection. Since a single - HTTP connection may serve multiple requests, each request is assigned its - own sequence number.
        -
      • -
      - - - -
        -
      • -

        getTlsVersion

        -
        public TlsVersion getTlsVersion()
        -
        Returns the connection's TLS version or null if the connection doesn't use SSL.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/SocketPolicy.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/SocketPolicy.html deleted file mode 100644 index 15f23cf2f..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/SocketPolicy.html +++ /dev/null @@ -1,495 +0,0 @@ - - - - - - - -SocketPolicy (MockWebServer 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.mockwebserver
-

Enum SocketPolicy

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        KEEP_OPEN

        -
        public static final SocketPolicy KEEP_OPEN
        -
        Keep the socket open after the response. This is the default HTTP/1.1 - behavior.
        -
      • -
      - - - -
        -
      • -

        DISCONNECT_AT_END

        -
        public static final SocketPolicy DISCONNECT_AT_END
        -
        Close the socket after the response. This is the default HTTP/1.0 - behavior.
        -
      • -
      - - - -
        -
      • -

        UPGRADE_TO_SSL_AT_END

        -
        public static final SocketPolicy UPGRADE_TO_SSL_AT_END
        -
        Wrap the socket with SSL at the completion of this request/response pair. - Used for CONNECT messages to tunnel SSL over an HTTP proxy.
        -
      • -
      - - - -
        -
      • -

        DISCONNECT_AT_START

        -
        public static final SocketPolicy DISCONNECT_AT_START
        -
        Request immediate close of connection without even reading the request. Use - to simulate buggy SSL servers closing connections in response to - unrecognized TLS extensions.
        -
      • -
      - - - -
        -
      • -

        DISCONNECT_AFTER_REQUEST

        -
        public static final SocketPolicy DISCONNECT_AFTER_REQUEST
        -
        Close connection after reading the request but before writing the response. - Use this to simulate late connection pool failures.
        -
      • -
      - - - -
        -
      • -

        DISCONNECT_DURING_REQUEST_BODY

        -
        public static final SocketPolicy DISCONNECT_DURING_REQUEST_BODY
        -
        Close connection after reading half of the request body (if present).
        -
      • -
      - - - -
        -
      • -

        DISCONNECT_DURING_RESPONSE_BODY

        -
        public static final SocketPolicy DISCONNECT_DURING_RESPONSE_BODY
        -
        Close connection after writing half of the response body (if present).
        -
      • -
      - - - -
        -
      • -

        FAIL_HANDSHAKE

        -
        public static final SocketPolicy FAIL_HANDSHAKE
        -
        Don't trust the client during the SSL handshake.
        -
      • -
      - - - -
        -
      • -

        SHUTDOWN_INPUT_AT_END

        -
        public static final SocketPolicy SHUTDOWN_INPUT_AT_END
        -
        Shutdown the socket input after sending the response. For testing bad - behavior.
        -
      • -
      - - - -
        -
      • -

        SHUTDOWN_OUTPUT_AT_END

        -
        public static final SocketPolicy SHUTDOWN_OUTPUT_AT_END
        -
        Shutdown the socket output after sending the response. For testing bad - behavior.
        -
      • -
      - - - -
        -
      • -

        NO_RESPONSE

        -
        public static final SocketPolicy NO_RESPONSE
        -
        Don't respond to the request but keep the socket open. For testing - read response header timeout issue.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static SocketPolicy[] values()
        -
        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: -
        -for (SocketPolicy c : SocketPolicy.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static SocketPolicy valueOf(String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant with the specified name
        -
        NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/Dispatcher.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/Dispatcher.html deleted file mode 100644 index 83d02ac6d..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/Dispatcher.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.Dispatcher (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.Dispatcher

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockResponse.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockResponse.html deleted file mode 100644 index c5efde46e..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockResponse.html +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.MockResponse (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.MockResponse

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockWebServer.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockWebServer.html deleted file mode 100644 index 80f25462b..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/MockWebServer.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.MockWebServer (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.MockWebServer

-
-
No usage of com.squareup.okhttp.mockwebserver.MockWebServer
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/PushPromise.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/PushPromise.html deleted file mode 100644 index 797e31ab8..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/PushPromise.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.PushPromise (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.PushPromise

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/QueueDispatcher.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/QueueDispatcher.html deleted file mode 100644 index b117f5fa8..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/QueueDispatcher.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.QueueDispatcher (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.QueueDispatcher

-
-
No usage of com.squareup.okhttp.mockwebserver.QueueDispatcher
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/RecordedRequest.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/RecordedRequest.html deleted file mode 100644 index 9a3e293e7..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/RecordedRequest.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.RecordedRequest (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.RecordedRequest

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/SocketPolicy.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/SocketPolicy.html deleted file mode 100644 index 6b80f1226..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/class-use/SocketPolicy.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.mockwebserver.SocketPolicy (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.mockwebserver.SocketPolicy

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-frame.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-frame.html deleted file mode 100644 index 01f70f0e5..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-frame.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - -com.squareup.okhttp.mockwebserver (MockWebServer 2.7.5 API) - - - - - -

com.squareup.okhttp.mockwebserver

- - - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-summary.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-summary.html deleted file mode 100644 index eba2926c0..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-summary.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - -com.squareup.okhttp.mockwebserver (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Package com.squareup.okhttp.mockwebserver

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Dispatcher -
    Handler for mock server requests.
    -
    MockResponse -
    A scripted response to be replayed by the mock web server.
    -
    MockWebServer -
    A scriptable web server.
    -
    PushPromise -
    An HTTP request initiated by the server.
    -
    QueueDispatcher -
    Default dispatcher that processes a script of responses.
    -
    RecordedRequest -
    An HTTP request that came into the mock web server.
    -
    -
  • -
  • - - - - - - - - - - - - -
    Enum Summary 
    EnumDescription
    SocketPolicy -
    What should be done with the incoming socket.
    -
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-tree.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-tree.html deleted file mode 100644 index 753a1407d..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-tree.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -com.squareup.okhttp.mockwebserver Class Hierarchy (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For Package com.squareup.okhttp.mockwebserver

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Enum Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-use.html b/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-use.html deleted file mode 100644 index 51906391b..000000000 --- a/2.x/mockwebserver/com/squareup/okhttp/mockwebserver/package-use.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.mockwebserver (MockWebServer 2.7.5 API) - - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.mockwebserver

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/constant-values.html b/2.x/mockwebserver/constant-values.html deleted file mode 100644 index 8dc0c1627..000000000 --- a/2.x/mockwebserver/constant-values.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Constant Field Values (MockWebServer 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Constant Field Values

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/deprecated-list.html b/2.x/mockwebserver/deprecated-list.html deleted file mode 100644 index bb5ee9d6d..000000000 --- a/2.x/mockwebserver/deprecated-list.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - -Deprecated List (MockWebServer 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

- -
- - -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/help-doc.html b/2.x/mockwebserver/help-doc.html deleted file mode 100644 index d1ea5bcbc..000000000 --- a/2.x/mockwebserver/help-doc.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - -API Help (MockWebServer 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Overview

    -

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    -
  • -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/index-all.html b/2.x/mockwebserver/index-all.html deleted file mode 100644 index 81ea43a9e..000000000 --- a/2.x/mockwebserver/index-all.html +++ /dev/null @@ -1,631 +0,0 @@ - - - - - - -Index (MockWebServer 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I K L M O P Q R S T U V W  - - -

A

-
-
addHeader(String) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Adds header as an HTTP header.
-
-
addHeader(String, Object) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Adds a new header with the name and value.
-
-
addHeaderLenient(String, Object) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Adds a new header with the name and value.
-
-
addTrustedCertificate(X509Certificate) - Method in class com.squareup.okhttp.internal.SslContextBuilder
-
-
Add a certificate authority that this client trusts.
-
-
apply(Statement, Description) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
 
-
- - - -

B

-
-
build() - Method in class com.squareup.okhttp.internal.HeldCertificate.Builder
-
 
-
build() - Method in class com.squareup.okhttp.internal.SslContextBuilder
-
 
-
Builder() - Constructor for class com.squareup.okhttp.internal.HeldCertificate.Builder
-
 
-
- - - -

C

-
-
ca(int) - Method in class com.squareup.okhttp.internal.HeldCertificate.Builder
-
-
Set this certificate to be a certificate authority, with up to maxIntermediateCas - intermediate certificate authorities beneath it.
-
-
certificate - Variable in class com.squareup.okhttp.internal.HeldCertificate
-
 
-
certificateChain(HeldCertificate...) - Method in class com.squareup.okhttp.internal.SslContextBuilder
-
-
Configure the certificate chain to use when serving HTTPS responses.
-
-
clearHeaders() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Removes all HTTP headers including any "Content-Length" and - "Transfer-encoding" headers that were added by default.
-
-
clone() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
com.squareup.okhttp.internal - package com.squareup.okhttp.internal
-
 
-
com.squareup.okhttp.internal.framed - package com.squareup.okhttp.internal.framed
-
 
-
com.squareup.okhttp.mockwebserver - package com.squareup.okhttp.mockwebserver
-
 
-
commonName(String) - Method in class com.squareup.okhttp.internal.HeldCertificate.Builder
-
-
Set this certificate's name.
-
-
- - - -

D

-
-
dispatch(RecordedRequest) - Method in class com.squareup.okhttp.mockwebserver.Dispatcher
-
-
Returns a response to satisfy request.
-
-
dispatch(RecordedRequest) - Method in class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
Dispatcher - Class in com.squareup.okhttp.mockwebserver
-
-
Handler for mock server requests.
-
-
Dispatcher() - Constructor for class com.squareup.okhttp.mockwebserver.Dispatcher
-
 
-
- - - -

E

-
-
enqueue(MockResponse) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Scripts response to be returned to a request made in sequence.
-
-
enqueueResponse(MockResponse) - Method in class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
- - - -

F

-
-
FramedServer - Class in com.squareup.okhttp.internal.framed
-
-
A basic SPDY/HTTP_2 server that serves the contents of a local directory.
-
-
FramedServer(File, SSLSocketFactory) - Constructor for class com.squareup.okhttp.internal.framed.FramedServer
-
 
-
- - - -

G

-
-
generateKeyPair() - Method in class com.squareup.okhttp.internal.HeldCertificate.Builder
-
 
-
getBody() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Returns a copy of the raw HTTP payload.
-
-
getBody() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the body of this POST request.
-
-
getBodyDelay(TimeUnit) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
getBodySize() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the total size of the body of this POST request (before - truncation).
-
-
getChunkSizes() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the sizes of the chunks of this request's body, or an empty list - if the request's body was empty or unchunked.
-
-
getCookieDomain() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Returns a cookie domain for this server.
-
-
getHeader(String) - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the first header named name, or null if no such header exists.
-
-
getHeaders() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Returns the HTTP headers, such as "Content-Length: 0".
-
-
getHeaders() - Method in class com.squareup.okhttp.mockwebserver.PushPromise
-
 
-
getHeaders() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns all headers.
-
-
getHostName() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
 
-
getMethod() - Method in class com.squareup.okhttp.mockwebserver.PushPromise
-
 
-
getMethod() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
 
-
getPath() - Method in class com.squareup.okhttp.mockwebserver.PushPromise
-
 
-
getPath() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
 
-
getPort() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
 
-
getPushPromises() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Returns the streams the server will push with this response.
-
-
getRequestCount() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Returns the number of HTTP requests received thus far by this server.
-
-
getRequestLine() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
 
-
getResponse() - Method in class com.squareup.okhttp.mockwebserver.PushPromise
-
 
-
getSequenceNumber() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the index of this request on its HTTP connection.
-
-
getSettings() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
getSocketPolicy() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
getStatus() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Returns the HTTP response line, such as "HTTP/1.1 200 OK".
-
-
getThrottleBytesPerPeriod() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
getThrottlePeriod(TimeUnit) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
getTlsVersion() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Returns the connection's TLS version or null if the connection doesn't use SSL.
-
-
getUrl(String) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Deprecated.
-
-
getUtf8Body() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
-
Deprecated. - -
-
-
getWebSocketListener() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
- - - -

H

-
-
HeldCertificate - Class in com.squareup.okhttp.internal
-
-
A certificate and its private key.
-
-
HeldCertificate(X509Certificate, KeyPair) - Constructor for class com.squareup.okhttp.internal.HeldCertificate
-
 
-
HeldCertificate.Builder - Class in com.squareup.okhttp.internal
-
 
-
- - - -

I

-
-
issuedBy(HeldCertificate) - Method in class com.squareup.okhttp.internal.HeldCertificate.Builder
-
-
Set the certificate that signs this certificate.
-
-
- - - -

K

-
-
keyPair(KeyPair) - Method in class com.squareup.okhttp.internal.HeldCertificate.Builder
-
 
-
keyPair - Variable in class com.squareup.okhttp.internal.HeldCertificate
-
 
-
- - - -

L

-
-
localhost() - Static method in class com.squareup.okhttp.internal.SslContextBuilder
-
-
Returns a new SSL context for this host's current localhost address.
-
-
- - - -

M

-
-
main(String...) - Static method in class com.squareup.okhttp.internal.framed.FramedServer
-
 
-
MockResponse - Class in com.squareup.okhttp.mockwebserver
-
-
A scripted response to be replayed by the mock web server.
-
-
MockResponse() - Constructor for class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Creates a new mock response with an empty body.
-
-
MockWebServer - Class in com.squareup.okhttp.mockwebserver
-
-
A scriptable web server.
-
-
MockWebServer() - Constructor for class com.squareup.okhttp.mockwebserver.MockWebServer
-
 
-
- - - -

O

-
-
onStream(FramedStream) - Method in class com.squareup.okhttp.internal.framed.FramedServer
-
 
-
- - - -

P

-
-
peek() - Method in class com.squareup.okhttp.mockwebserver.Dispatcher
-
-
Returns an early guess of the next response, used for policy on how an - incoming request should be received.
-
-
peek() - Method in class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
PushPromise - Class in com.squareup.okhttp.mockwebserver
-
-
An HTTP request initiated by the server.
-
-
PushPromise(String, String, Headers, MockResponse) - Constructor for class com.squareup.okhttp.mockwebserver.PushPromise
-
 
-
- - - -

Q

-
-
QueueDispatcher - Class in com.squareup.okhttp.mockwebserver
-
-
Default dispatcher that processes a script of responses.
-
-
QueueDispatcher() - Constructor for class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
- - - -

R

-
-
RecordedRequest - Class in com.squareup.okhttp.mockwebserver
-
-
An HTTP request that came into the mock web server.
-
-
RecordedRequest(String, Headers, List<Integer>, long, Buffer, int, Socket) - Constructor for class com.squareup.okhttp.mockwebserver.RecordedRequest
-
 
-
removeHeader(String) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Removes all headers named name.
-
-
responseQueue - Variable in class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
- - - -

S

-
-
serialNumber(String) - Method in class com.squareup.okhttp.internal.HeldCertificate.Builder
-
 
-
setBody(Buffer) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
setBody(String) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Sets the response body to the UTF-8 encoded bytes of body.
-
-
setBodyDelay(long, TimeUnit) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Set the delayed time of the response body to delay.
-
-
setBodyLimit(long) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Sets the number of bytes of the POST body to keep in memory to the given - limit.
-
-
setChunkedBody(Buffer, int) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Sets the response body to body, chunked every maxChunkSize - bytes.
-
-
setChunkedBody(String, int) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Sets the response body to the UTF-8 encoded bytes of body, chunked - every maxChunkSize bytes.
-
-
setDispatcher(Dispatcher) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Sets the dispatcher used to match incoming requests to mock responses.
-
-
setFailFast(boolean) - Method in class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
setFailFast(MockResponse) - Method in class com.squareup.okhttp.mockwebserver.QueueDispatcher
-
 
-
setHeader(String, Object) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Removes all headers named name, then adds a new header with the - name and value.
-
-
setHeaders(Headers) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Replaces all headers with those specified in headers.
-
-
setProtocolNegotiationEnabled(boolean) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Sets whether ALPN is used on incoming HTTPS connections to - negotiate a protocol like HTTP/1.1 or HTTP/2.
-
-
setProtocols(List<Protocol>) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Indicates the protocols supported by ALPN on incoming HTTPS - connections.
-
-
setResponseCode(int) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
setServerSocketFactory(ServerSocketFactory) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
 
-
setSocketPolicy(SocketPolicy) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
setStatus(String) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
shutdown() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
 
-
SocketPolicy - Enum in com.squareup.okhttp.mockwebserver
-
-
What should be done with the incoming socket.
-
-
SslContextBuilder - Class in com.squareup.okhttp.internal
-
-
Constructs an SSL context for testing.
-
-
SslContextBuilder() - Constructor for class com.squareup.okhttp.internal.SslContextBuilder
-
 
-
start() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Equivalent to start(0).
-
-
start(int) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Starts the server on the loopback interface for the given port.
-
-
start(InetAddress, int) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Starts the server on the given address and port.
-
-
- - - -

T

-
-
takeRequest() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Awaits the next HTTP request, removes it, and returns it.
-
-
takeRequest(long, TimeUnit) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Awaits the next HTTP request (waiting up to the - specified wait time if necessary), removes it, and returns it.
-
-
throttleBody(long, long, TimeUnit) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Throttles the response body writer to sleep for the given period after each - series of bytesPerPeriod bytes are written.
-
-
toProxyAddress() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
 
-
toString() - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
 
-
toString() - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
 
-
toString() - Method in class com.squareup.okhttp.mockwebserver.RecordedRequest
-
 
-
- - - -

U

-
-
url(String) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Returns a URL for connecting to this server.
-
-
useHttps(SSLSocketFactory, boolean) - Method in class com.squareup.okhttp.mockwebserver.MockWebServer
-
-
Serve requests with HTTPS rather than otherwise.
-
-
- - - -

V

-
-
valueOf(String) - Static method in enum com.squareup.okhttp.mockwebserver.SocketPolicy
-
-
Returns the enum constant of this type with the specified name.
-
-
values() - Static method in enum com.squareup.okhttp.mockwebserver.SocketPolicy
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
- - - -

W

-
-
withPush(PushPromise) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
When protocols - include Protocol.HTTP_2, this attaches a - pushed stream to this response.
-
-
withSettings(Settings) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
When protocols - include HTTP/2, this - pushes settings before writing the response.
-
-
withWebSocketUpgrade(WebSocketListener) - Method in class com.squareup.okhttp.mockwebserver.MockResponse
-
-
Attempts to perform a web socket upgrade on the connection.
-
-
-A B C D E F G H I K L M O P Q R S T U V W 
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/index.html b/2.x/mockwebserver/index.html deleted file mode 100644 index 8157b4f84..000000000 --- a/2.x/mockwebserver/index.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - -MockWebServer 2.7.5 API - - - - - - - - - -<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="overview-summary.html">Non-frame version</a>.</p> - - - diff --git a/2.x/mockwebserver/overview-frame.html b/2.x/mockwebserver/overview-frame.html deleted file mode 100644 index 0c4c53a97..000000000 --- a/2.x/mockwebserver/overview-frame.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - -Overview List (MockWebServer 2.7.5 API) - - - - - - - -

 

- - diff --git a/2.x/mockwebserver/overview-summary.html b/2.x/mockwebserver/overview-summary.html deleted file mode 100644 index 876d527e5..000000000 --- a/2.x/mockwebserver/overview-summary.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - -Overview (MockWebServer 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

MockWebServer 2.7.5 API

-
-
- - - - - - - - - - - - - - - - - - - - -
Packages 
PackageDescription
com.squareup.okhttp.internal 
com.squareup.okhttp.internal.framed 
com.squareup.okhttp.mockwebserver 
-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/overview-tree.html b/2.x/mockwebserver/overview-tree.html deleted file mode 100644 index fe6803cc6..000000000 --- a/2.x/mockwebserver/overview-tree.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - -Class Hierarchy (MockWebServer 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/mockwebserver/package-list b/2.x/mockwebserver/package-list deleted file mode 100644 index cccb0f5b2..000000000 --- a/2.x/mockwebserver/package-list +++ /dev/null @@ -1,3 +0,0 @@ -com.squareup.okhttp.internal -com.squareup.okhttp.internal.framed -com.squareup.okhttp.mockwebserver diff --git a/2.x/mockwebserver/resources/background.gif b/2.x/mockwebserver/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}n_%Pq%(e+H~mGqhq5kv4Mo|-n~g|7!F*xZ{xv< zCpXS~dGg^IGK?4@J-T%b(XnUHFul6n<@2&4)zzyO2) z3Q8`i0+UKY*`$}e9mmp;tg*))`|PsK1|hAo%u0K$vDwm4gaSkm0j{`26k#qAKmbuhxZ#cquDR>B zD{s8+&TH-uNg$C#68QG}1HMBHfrP&L@@w$F_!itRzXdCN@V|LDAu%3!IDtq1#1UV7 z#1RxvT=B(DWbCoU5l=ia$Pp`Hgb_?Mp@hmtxZDI2N-)v#$}PXVvdm1d>@v(v`0TUJ zF)Pu89(q`zv=w^nVTIF3@3BYIPA}c`(@ZCAwbNBEt@PDUKe5CTR8aB66IE1!w%Amt zy+jpcn~k>GZpVFg+H6x{_uOksvBlq0OyT$6TyQZ37k(cOxZr|JEx1sGm<(M9gH z-~PMqyn|tT=))UN`|-FFFUA#KToK0fUOaz=7}Z~KeHhVC&%O27cTfHQ^WBU8z4p&T zp#>D|V}XShT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hWTW!yzXBIo73<0umM-=@eG&niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/2.x/mockwebserver/script.js b/2.x/mockwebserver/script.js deleted file mode 100644 index b34635693..000000000 --- a/2.x/mockwebserver/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/2.x/mockwebserver/stylesheet.css b/2.x/mockwebserver/stylesheet.css deleted file mode 100644 index 66c91f7d6..000000000 --- a/2.x/mockwebserver/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; - width:100%; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/2.x/mockwebserver/version.txt b/2.x/mockwebserver/version.txt deleted file mode 100644 index 460b6fd40..000000000 --- a/2.x/mockwebserver/version.txt +++ /dev/null @@ -1 +0,0 @@ -2.7.5 \ No newline at end of file diff --git a/2.x/okcurl/META-INF/MANIFEST.MF b/2.x/okcurl/META-INF/MANIFEST.MF deleted file mode 100644 index aaa8bf6f7..000000000 --- a/2.x/okcurl/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_45 - diff --git a/2.x/okcurl/allclasses-frame.html b/2.x/okcurl/allclasses-frame.html deleted file mode 100644 index 291f9f377..000000000 --- a/2.x/okcurl/allclasses-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (OkCurl 2.7.5 API) - - - - - -

All Classes

-
- -
- - diff --git a/2.x/okcurl/allclasses-noframe.html b/2.x/okcurl/allclasses-noframe.html deleted file mode 100644 index c824378c0..000000000 --- a/2.x/okcurl/allclasses-noframe.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (OkCurl 2.7.5 API) - - - - - -

All Classes

-
- -
- - diff --git a/2.x/okcurl/com/squareup/okhttp/curl/Main.html b/2.x/okcurl/com/squareup/okhttp/curl/Main.html deleted file mode 100644 index da9f153f2..000000000 --- a/2.x/okcurl/com/squareup/okhttp/curl/Main.html +++ /dev/null @@ -1,506 +0,0 @@ - - - - - - -Main (OkCurl 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.curl
-

Class Main

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • io.airlift.command.HelpOption
    • -
    • -
        -
      • com.squareup.okhttp.curl.Main
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Runnable
    -
    -
    -
    -
    @Command(name="okcurl",
    -         description="A curl for the next-generation web.")
    -public class Main
    -extends io.airlift.command.HelpOption
    -implements Runnable
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        method

        -
        public String method
        -
      • -
      - - - -
        -
      • -

        data

        -
        public String data
        -
      • -
      - - - - - - - -
        -
      • -

        userAgent

        -
        public String userAgent
        -
      • -
      - - - -
        -
      • -

        connectTimeout

        -
        public int connectTimeout
        -
      • -
      - - - -
        -
      • -

        readTimeout

        -
        public int readTimeout
        -
      • -
      - - - -
        -
      • -

        followRedirects

        -
        public boolean followRedirects
        -
      • -
      - - - -
        -
      • -

        allowInsecure

        -
        public boolean allowInsecure
        -
      • -
      - - - -
        -
      • -

        showHeaders

        -
        public boolean showHeaders
        -
      • -
      - - - -
        -
      • -

        showHttp2Frames

        -
        public boolean showHttp2Frames
        -
      • -
      - - - -
        -
      • -

        referer

        -
        public String referer
        -
      • -
      - - - -
        -
      • -

        version

        -
        public boolean version
        -
      • -
      - - - -
        -
      • -

        url

        -
        public String url
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Main

        -
        public Main()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main(String... args)
        -
      • -
      - - - -
        -
      • -

        run

        -
        public void run()
        -
        -
        Specified by:
        -
        run in interface Runnable
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okcurl/com/squareup/okhttp/curl/class-use/Main.html b/2.x/okcurl/com/squareup/okhttp/curl/class-use/Main.html deleted file mode 100644 index 6f0de8cf3..000000000 --- a/2.x/okcurl/com/squareup/okhttp/curl/class-use/Main.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.curl.Main (OkCurl 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.curl.Main

-
-
No usage of com.squareup.okhttp.curl.Main
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okcurl/com/squareup/okhttp/curl/package-frame.html b/2.x/okcurl/com/squareup/okhttp/curl/package-frame.html deleted file mode 100644 index 343590bab..000000000 --- a/2.x/okcurl/com/squareup/okhttp/curl/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -com.squareup.okhttp.curl (OkCurl 2.7.5 API) - - - - - -

com.squareup.okhttp.curl

-
-

Classes

- -
- - diff --git a/2.x/okcurl/com/squareup/okhttp/curl/package-summary.html b/2.x/okcurl/com/squareup/okhttp/curl/package-summary.html deleted file mode 100644 index e8f7b682f..000000000 --- a/2.x/okcurl/com/squareup/okhttp/curl/package-summary.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -com.squareup.okhttp.curl (OkCurl 2.7.5 API) - - - - - - - - - - - -
-

Package com.squareup.okhttp.curl

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Main 
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okcurl/com/squareup/okhttp/curl/package-tree.html b/2.x/okcurl/com/squareup/okhttp/curl/package-tree.html deleted file mode 100644 index e99efff07..000000000 --- a/2.x/okcurl/com/squareup/okhttp/curl/package-tree.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - -com.squareup.okhttp.curl Class Hierarchy (OkCurl 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For Package com.squareup.okhttp.curl

-
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • io.airlift.command.HelpOption -
        -
      • com.squareup.okhttp.curl.Main (implements java.lang.Runnable)
      • -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okcurl/com/squareup/okhttp/curl/package-use.html b/2.x/okcurl/com/squareup/okhttp/curl/package-use.html deleted file mode 100644 index e31a6eb58..000000000 --- a/2.x/okcurl/com/squareup/okhttp/curl/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.curl (OkCurl 2.7.5 API) - - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.curl

-
-
No usage of com.squareup.okhttp.curl
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okcurl/constant-values.html b/2.x/okcurl/constant-values.html deleted file mode 100644 index 28404f8e6..000000000 --- a/2.x/okcurl/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkCurl 2.7.5 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okcurl/deprecated-list.html b/2.x/okcurl/deprecated-list.html deleted file mode 100644 index 382f42487..000000000 --- a/2.x/okcurl/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkCurl 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okcurl/help-doc.html b/2.x/okcurl/help-doc.html deleted file mode 100644 index fcb689c6e..000000000 --- a/2.x/okcurl/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkCurl 2.7.5 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okcurl/index-all.html b/2.x/okcurl/index-all.html deleted file mode 100644 index 0c433d1ef..000000000 --- a/2.x/okcurl/index-all.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - -Index (OkCurl 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
A C D F H M R S U V  - - -

A

-
-
allowInsecure - Variable in class com.squareup.okhttp.curl.Main
-
 
-
- - - -

C

-
-
com.squareup.okhttp.curl - package com.squareup.okhttp.curl
-
 
-
connectTimeout - Variable in class com.squareup.okhttp.curl.Main
-
 
-
- - - -

D

-
-
data - Variable in class com.squareup.okhttp.curl.Main
-
 
-
- - - -

F

-
-
followRedirects - Variable in class com.squareup.okhttp.curl.Main
-
 
-
- - - -

H

-
-
headers - Variable in class com.squareup.okhttp.curl.Main
-
 
-
- - - -

M

-
-
Main - Class in com.squareup.okhttp.curl
-
 
-
Main() - Constructor for class com.squareup.okhttp.curl.Main
-
 
-
main(String...) - Static method in class com.squareup.okhttp.curl.Main
-
 
-
method - Variable in class com.squareup.okhttp.curl.Main
-
 
-
- - - -

R

-
-
readTimeout - Variable in class com.squareup.okhttp.curl.Main
-
 
-
referer - Variable in class com.squareup.okhttp.curl.Main
-
 
-
run() - Method in class com.squareup.okhttp.curl.Main
-
 
-
- - - -

S

-
-
showHeaders - Variable in class com.squareup.okhttp.curl.Main
-
 
-
showHttp2Frames - Variable in class com.squareup.okhttp.curl.Main
-
 
-
- - - -

U

-
-
url - Variable in class com.squareup.okhttp.curl.Main
-
 
-
userAgent - Variable in class com.squareup.okhttp.curl.Main
-
 
-
- - - -

V

-
-
version - Variable in class com.squareup.okhttp.curl.Main
-
 
-
-A C D F H M R S U V 
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okcurl/index.html b/2.x/okcurl/index.html deleted file mode 100644 index c0cfa5451..000000000 --- a/2.x/okcurl/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - -OkCurl 2.7.5 API - - - - - - -<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/curl/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/2.x/okcurl/overview-tree.html b/2.x/okcurl/overview-tree.html deleted file mode 100644 index baa127e5a..000000000 --- a/2.x/okcurl/overview-tree.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - -Class Hierarchy (OkCurl 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • io.airlift.command.HelpOption -
        -
      • com.squareup.okhttp.curl.Main (implements java.lang.Runnable)
      • -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okcurl/package-list b/2.x/okcurl/package-list deleted file mode 100644 index 369b2e8b4..000000000 --- a/2.x/okcurl/package-list +++ /dev/null @@ -1 +0,0 @@ -com.squareup.okhttp.curl diff --git a/2.x/okcurl/resources/background.gif b/2.x/okcurl/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}n_%Pq%(e+H~mGqhq5kv4Mo|-n~g|7!F*xZ{xv< zCpXS~dGg^IGK?4@J-T%b(XnUHFul6n<@2&4)zzyO2) z3Q8`i0+UKY*`$}e9mmp;tg*))`|PsK1|hAo%u0K$vDwm4gaSkm0j{`26k#qAKmbuhxZ#cquDR>B zD{s8+&TH-uNg$C#68QG}1HMBHfrP&L@@w$F_!itRzXdCN@V|LDAu%3!IDtq1#1UV7 z#1RxvT=B(DWbCoU5l=ia$Pp`Hgb_?Mp@hmtxZDI2N-)v#$}PXVvdm1d>@v(v`0TUJ zF)Pu89(q`zv=w^nVTIF3@3BYIPA}c`(@ZCAwbNBEt@PDUKe5CTR8aB66IE1!w%Amt zy+jpcn~k>GZpVFg+H6x{_uOksvBlq0OyT$6TyQZ37k(cOxZr|JEx1sGm<(M9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scAnLnc~-CISiYWX`D%{k^H~<37unpMYJYdSv=Om2vbAM@`Qp{{SI=yP zj6WN*eEt0G$9EPX6FU%)-ho>hWTW!yzXBIo73<0umM-=@eG&niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/2.x/okcurl/script.js b/2.x/okcurl/script.js deleted file mode 100644 index b34635693..000000000 --- a/2.x/okcurl/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/2.x/okcurl/stylesheet.css b/2.x/okcurl/stylesheet.css deleted file mode 100644 index 66c91f7d6..000000000 --- a/2.x/okcurl/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; - width:100%; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/2.x/okcurl/version.txt b/2.x/okcurl/version.txt deleted file mode 100644 index 460b6fd40..000000000 --- a/2.x/okcurl/version.txt +++ /dev/null @@ -1 +0,0 @@ -2.7.5 \ No newline at end of file diff --git a/2.x/okhttp-android-support/META-INF/MANIFEST.MF b/2.x/okhttp-android-support/META-INF/MANIFEST.MF deleted file mode 100644 index aaa8bf6f7..000000000 --- a/2.x/okhttp-android-support/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_45 - diff --git a/2.x/okhttp-android-support/allclasses-frame.html b/2.x/okhttp-android-support/allclasses-frame.html deleted file mode 100644 index 8446e7198..000000000 --- a/2.x/okhttp-android-support/allclasses-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -All Classes (OkHttp Android Platform Support 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/okhttp-android-support/allclasses-noframe.html b/2.x/okhttp-android-support/allclasses-noframe.html deleted file mode 100644 index 7eee9189b..000000000 --- a/2.x/okhttp-android-support/allclasses-noframe.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -All Classes (OkHttp Android Platform Support 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/okhttp-android-support/com/squareup/okhttp/AndroidInternal.html b/2.x/okhttp-android-support/com/squareup/okhttp/AndroidInternal.html deleted file mode 100644 index 28085ea9f..000000000 --- a/2.x/okhttp-android-support/com/squareup/okhttp/AndroidInternal.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - -AndroidInternal (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class AndroidInternal

-
-
- -
-
    -
  • -
    -
    -
    public class AndroidInternal
    -extends Object
    -
    Back doors to enable the use of OkHttp within the Android platform libraries. OkHttp is used to - provide the default HttpURLConnection / HttpsURLConnection - implementation including support for a custom ResponseCache.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setResponseCache

        -
        public static void setResponseCache(OkUrlFactory okUrlFactory,
        -                                    ResponseCache responseCache)
        -
        Sets the response cache to be used to read and write cached responses.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/com/squareup/okhttp/AndroidShimResponseCache.html b/2.x/okhttp-android-support/com/squareup/okhttp/AndroidShimResponseCache.html deleted file mode 100644 index 7745ccd19..000000000 --- a/2.x/okhttp-android-support/com/squareup/okhttp/AndroidShimResponseCache.html +++ /dev/null @@ -1,495 +0,0 @@ - - - - - - -AndroidShimResponseCache (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class AndroidShimResponseCache

-
-
- -
-
    -
  • -
    -
    -
    public class AndroidShimResponseCache
    -extends ResponseCache
    -
    A class provided for use by Android so that it can continue supporting a ResponseCache - with stats.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        isEquivalent

        -
        public boolean isEquivalent(File directory,
        -                            long maxSize)
        -
      • -
      - - - -
        -
      • -

        getCache

        -
        public Cache getCache()
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        size

        -
        public long size()
        -          throws IOException
        -
        Returns the number of bytes currently being used to store the values in - this cache. This may be greater than the maxSize() if a background - deletion is pending.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        maxSize

        -
        public long maxSize()
        -
        Returns the maximum number of bytes that this cache should use to store - its data.
        -
      • -
      - - - -
        -
      • -

        flush

        -
        public void flush()
        -           throws IOException
        -
        Force buffered operations to the filesystem. This ensures that responses - written to the cache will be available the next time the cache is opened, - even if this process is killed.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        getNetworkCount

        -
        public int getNetworkCount()
        -
        Returns the number of HTTP requests that required the network to either - supply a response or validate a locally cached response.
        -
      • -
      - - - -
        -
      • -

        getHitCount

        -
        public int getHitCount()
        -
        Returns the number of HTTP requests whose response was provided by the - cache. This may include conditional GET requests that were - validated over the network.
        -
      • -
      - - - -
        -
      • -

        getRequestCount

        -
        public int getRequestCount()
        -
        Returns the total number of HTTP requests that were made. This includes - both client requests and requests that were made on the client's behalf - to handle a redirects and retries.
        -
      • -
      - - - -
        -
      • -

        close

        -
        public void close()
        -           throws IOException
        -
        Uninstalls the cache and releases any active resources. Stored contents - will remain on the filesystem.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        delete

        -
        public void delete()
        -            throws IOException
        -
        Uninstalls the cache and deletes all of its stored contents.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/com/squareup/okhttp/OkCacheContainer.html b/2.x/okhttp-android-support/com/squareup/okhttp/OkCacheContainer.html deleted file mode 100644 index a543ca39d..000000000 --- a/2.x/okhttp-android-support/com/squareup/okhttp/OkCacheContainer.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - -OkCacheContainer (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Interface OkCacheContainer

-
-
-
-
    -
  • -
    -
    -
    public interface OkCacheContainer
    -
    An interface that allows OkHttp to detect that a ResponseCache contains a - Cache.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getCache

        -
        Cache getCache()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/com/squareup/okhttp/class-use/AndroidInternal.html b/2.x/okhttp-android-support/com/squareup/okhttp/class-use/AndroidInternal.html deleted file mode 100644 index 4d8017461..000000000 --- a/2.x/okhttp-android-support/com/squareup/okhttp/class-use/AndroidInternal.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.AndroidInternal (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.AndroidInternal

-
-
No usage of com.squareup.okhttp.AndroidInternal
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/com/squareup/okhttp/class-use/AndroidShimResponseCache.html b/2.x/okhttp-android-support/com/squareup/okhttp/class-use/AndroidShimResponseCache.html deleted file mode 100644 index 5e847009b..000000000 --- a/2.x/okhttp-android-support/com/squareup/okhttp/class-use/AndroidShimResponseCache.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.AndroidShimResponseCache (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.AndroidShimResponseCache

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/com/squareup/okhttp/class-use/OkCacheContainer.html b/2.x/okhttp-android-support/com/squareup/okhttp/class-use/OkCacheContainer.html deleted file mode 100644 index 4d45d6618..000000000 --- a/2.x/okhttp-android-support/com/squareup/okhttp/class-use/OkCacheContainer.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.OkCacheContainer (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.OkCacheContainer

-
-
No usage of com.squareup.okhttp.OkCacheContainer
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/com/squareup/okhttp/package-frame.html b/2.x/okhttp-android-support/com/squareup/okhttp/package-frame.html deleted file mode 100644 index e7ee35fcd..000000000 --- a/2.x/okhttp-android-support/com/squareup/okhttp/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -com.squareup.okhttp (OkHttp Android Platform Support 2.7.5 API) - - - - - -

com.squareup.okhttp

-
-

Interfaces

- -

Classes

- -
- - diff --git a/2.x/okhttp-android-support/com/squareup/okhttp/package-summary.html b/2.x/okhttp-android-support/com/squareup/okhttp/package-summary.html deleted file mode 100644 index a6cffdc00..000000000 --- a/2.x/okhttp-android-support/com/squareup/okhttp/package-summary.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - -com.squareup.okhttp (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - - - - -
-

Package com.squareup.okhttp

-
-
-
    -
  • - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    OkCacheContainer -
    An interface that allows OkHttp to detect that a ResponseCache contains a - Cache.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    AndroidInternal -
    Back doors to enable the use of OkHttp within the Android platform libraries.
    -
    AndroidShimResponseCache -
    A class provided for use by Android so that it can continue supporting a ResponseCache - with stats.
    -
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/com/squareup/okhttp/package-tree.html b/2.x/okhttp-android-support/com/squareup/okhttp/package-tree.html deleted file mode 100644 index 2382facb3..000000000 --- a/2.x/okhttp-android-support/com/squareup/okhttp/package-tree.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -com.squareup.okhttp Class Hierarchy (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For Package com.squareup.okhttp

-
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/com/squareup/okhttp/package-use.html b/2.x/okhttp-android-support/com/squareup/okhttp/package-use.html deleted file mode 100644 index 148140b16..000000000 --- a/2.x/okhttp-android-support/com/squareup/okhttp/package-use.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/constant-values.html b/2.x/okhttp-android-support/constant-values.html deleted file mode 100644 index a52344981..000000000 --- a/2.x/okhttp-android-support/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/deprecated-list.html b/2.x/okhttp-android-support/deprecated-list.html deleted file mode 100644 index 292bab5b8..000000000 --- a/2.x/okhttp-android-support/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/help-doc.html b/2.x/okhttp-android-support/help-doc.html deleted file mode 100644 index c709e980e..000000000 --- a/2.x/okhttp-android-support/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/index-all.html b/2.x/okhttp-android-support/index-all.html deleted file mode 100644 index d3449c5c5..000000000 --- a/2.x/okhttp-android-support/index-all.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -Index (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
A C D F G I M O P S  - - -

A

-
-
AndroidInternal - Class in com.squareup.okhttp
-
-
Back doors to enable the use of OkHttp within the Android platform libraries.
-
-
AndroidShimResponseCache - Class in com.squareup.okhttp
-
-
A class provided for use by Android so that it can continue supporting a ResponseCache - with stats.
-
-
- - - -

C

-
-
close() - Method in class com.squareup.okhttp.AndroidShimResponseCache
-
-
Uninstalls the cache and releases any active resources.
-
-
com.squareup.okhttp - package com.squareup.okhttp
-
 
-
create(File, long) - Static method in class com.squareup.okhttp.AndroidShimResponseCache
-
 
-
- - - -

D

-
-
delete() - Method in class com.squareup.okhttp.AndroidShimResponseCache
-
-
Uninstalls the cache and deletes all of its stored contents.
-
-
- - - -

F

-
-
flush() - Method in class com.squareup.okhttp.AndroidShimResponseCache
-
-
Force buffered operations to the filesystem.
-
-
- - - -

G

-
-
get(URI, String, Map<String, List<String>>) - Method in class com.squareup.okhttp.AndroidShimResponseCache
-
 
-
getCache() - Method in class com.squareup.okhttp.AndroidShimResponseCache
-
 
-
getCache() - Method in interface com.squareup.okhttp.OkCacheContainer
-
 
-
getHitCount() - Method in class com.squareup.okhttp.AndroidShimResponseCache
-
-
Returns the number of HTTP requests whose response was provided by the - cache.
-
-
getNetworkCount() - Method in class com.squareup.okhttp.AndroidShimResponseCache
-
-
Returns the number of HTTP requests that required the network to either - supply a response or validate a locally cached response.
-
-
getRequestCount() - Method in class com.squareup.okhttp.AndroidShimResponseCache
-
-
Returns the total number of HTTP requests that were made.
-
-
- - - -

I

-
-
isEquivalent(File, long) - Method in class com.squareup.okhttp.AndroidShimResponseCache
-
 
-
- - - -

M

-
-
maxSize() - Method in class com.squareup.okhttp.AndroidShimResponseCache
-
-
Returns the maximum number of bytes that this cache should use to store - its data.
-
-
- - - -

O

-
-
OkCacheContainer - Interface in com.squareup.okhttp
-
-
An interface that allows OkHttp to detect that a ResponseCache contains a - Cache.
-
-
- - - -

P

-
-
put(URI, URLConnection) - Method in class com.squareup.okhttp.AndroidShimResponseCache
-
 
-
- - - -

S

-
-
setResponseCache(OkUrlFactory, ResponseCache) - Static method in class com.squareup.okhttp.AndroidInternal
-
-
Sets the response cache to be used to read and write cached responses.
-
-
size() - Method in class com.squareup.okhttp.AndroidShimResponseCache
-
-
Returns the number of bytes currently being used to store the values in - this cache.
-
-
-A C D F G I M O P S 
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/index.html b/2.x/okhttp-android-support/index.html deleted file mode 100644 index 80ec0658a..000000000 --- a/2.x/okhttp-android-support/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - -OkHttp Android Platform Support 2.7.5 API - - - - - - -<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/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/2.x/okhttp-android-support/overview-tree.html b/2.x/okhttp-android-support/overview-tree.html deleted file mode 100644 index 6b329f474..000000000 --- a/2.x/okhttp-android-support/overview-tree.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp Android Platform Support 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-android-support/package-list b/2.x/okhttp-android-support/package-list deleted file mode 100644 index ac5f84bc5..000000000 --- a/2.x/okhttp-android-support/package-list +++ /dev/null @@ -1 +0,0 @@ -com.squareup.okhttp diff --git a/2.x/okhttp-android-support/resources/background.gif b/2.x/okhttp-android-support/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEp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P zEfL7RGBv|<>f4IccND3wCi*V8`>#a$FPZu&a{V`W`me+Kuf_CJ)%IV%?5ByL^#3Q{ z&uBM5|34IKI>0_Tz{5OngXe#6w*N6;;5PH%9n%56%RaWA{wJ4%515Apdj`a62bp<> zM12OuV+QZ^55ATkViO(UWgg}%9C}kb^r~=BiDyWIXZWM&kb>Q?dd$#W`4KU|2#4qh zz;sZ>ZqS5h#Kdk$&1c9AHmDUdtmHE)CqH0RIAZEE;t(^+RXF+*FlJyk;?6Vn{&MsO zZ0HwY)b4Va!F1#s^N5$-s9(&mPa*Lu4>4SxXm~l|3?PR2jB1J!Q|(4#0i$lFME^-r zA~Q(2O+PHOdcVN((R8zqi>%+yx4PA5u&+jI zZ?)Fm8m-+`n!Bnrx0PvZE7!Q)Z+NTE@K(R!nO40sZF(n~bq_b_9H`UYU#q>pPJ3UC z_UeU>J7qcy%%`ks9)BNcS^GDOn z?oKkjHNoWO1e2?M#vd12e^_AscAnLnc~-CISiYWX`D%{k^H~<37unpMYJYdSv=Om2vbAM@`Qp{{SI=yP zj6WN*eEt0G$9EPX6FU%)-ho>hWTW!yzXBIo73<0umM-=@eG&niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/2.x/okhttp-android-support/script.js b/2.x/okhttp-android-support/script.js deleted file mode 100644 index b34635693..000000000 --- a/2.x/okhttp-android-support/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/2.x/okhttp-android-support/stylesheet.css b/2.x/okhttp-android-support/stylesheet.css deleted file mode 100644 index 66c91f7d6..000000000 --- a/2.x/okhttp-android-support/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; - width:100%; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/2.x/okhttp-android-support/version.txt b/2.x/okhttp-android-support/version.txt deleted file mode 100644 index 460b6fd40..000000000 --- a/2.x/okhttp-android-support/version.txt +++ /dev/null @@ -1 +0,0 @@ -2.7.5 \ No newline at end of file diff --git a/2.x/okhttp-apache/META-INF/MANIFEST.MF b/2.x/okhttp-apache/META-INF/MANIFEST.MF deleted file mode 100644 index aaa8bf6f7..000000000 --- a/2.x/okhttp-apache/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_45 - diff --git a/2.x/okhttp-apache/allclasses-frame.html b/2.x/okhttp-apache/allclasses-frame.html deleted file mode 100644 index ac2886bb8..000000000 --- a/2.x/okhttp-apache/allclasses-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (OkHttp Apache HttpClient 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/okhttp-apache/allclasses-noframe.html b/2.x/okhttp-apache/allclasses-noframe.html deleted file mode 100644 index c6484ca78..000000000 --- a/2.x/okhttp-apache/allclasses-noframe.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (OkHttp Apache HttpClient 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/okhttp-apache/com/squareup/okhttp/apache/OkApacheClient.html b/2.x/okhttp-apache/com/squareup/okhttp/apache/OkApacheClient.html deleted file mode 100644 index 32910b3d1..000000000 --- a/2.x/okhttp-apache/com/squareup/okhttp/apache/OkApacheClient.html +++ /dev/null @@ -1,499 +0,0 @@ - - - - - - - -OkApacheClient (OkHttp Apache HttpClient 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.apache
-

Class OkApacheClient

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    HttpClient
    -
    -
    -
    -
    public final class OkApacheClient
    -extends Object
    -implements HttpClient
    -
    Implements Apache's HttpClient API using OkHttpClient. -

    - Warning: 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.

    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-apache/com/squareup/okhttp/apache/class-use/OkApacheClient.html b/2.x/okhttp-apache/com/squareup/okhttp/apache/class-use/OkApacheClient.html deleted file mode 100644 index 798fbd2ec..000000000 --- a/2.x/okhttp-apache/com/squareup/okhttp/apache/class-use/OkApacheClient.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.apache.OkApacheClient (OkHttp Apache HttpClient 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.apache.OkApacheClient

-
-
No usage of com.squareup.okhttp.apache.OkApacheClient
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-apache/com/squareup/okhttp/apache/package-frame.html b/2.x/okhttp-apache/com/squareup/okhttp/apache/package-frame.html deleted file mode 100644 index e25f3ac59..000000000 --- a/2.x/okhttp-apache/com/squareup/okhttp/apache/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -com.squareup.okhttp.apache (OkHttp Apache HttpClient 2.7.5 API) - - - - - -

com.squareup.okhttp.apache

-
-

Classes

- -
- - diff --git a/2.x/okhttp-apache/com/squareup/okhttp/apache/package-summary.html b/2.x/okhttp-apache/com/squareup/okhttp/apache/package-summary.html deleted file mode 100644 index 6bdd093b6..000000000 --- a/2.x/okhttp-apache/com/squareup/okhttp/apache/package-summary.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -com.squareup.okhttp.apache (OkHttp Apache HttpClient 2.7.5 API) - - - - - - - - - - - -
-

Package com.squareup.okhttp.apache

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-apache/com/squareup/okhttp/apache/package-tree.html b/2.x/okhttp-apache/com/squareup/okhttp/apache/package-tree.html deleted file mode 100644 index 35fbffef1..000000000 --- a/2.x/okhttp-apache/com/squareup/okhttp/apache/package-tree.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -com.squareup.okhttp.apache Class Hierarchy (OkHttp Apache HttpClient 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For Package com.squareup.okhttp.apache

-
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-apache/com/squareup/okhttp/apache/package-use.html b/2.x/okhttp-apache/com/squareup/okhttp/apache/package-use.html deleted file mode 100644 index eeae2eea3..000000000 --- a/2.x/okhttp-apache/com/squareup/okhttp/apache/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.apache (OkHttp Apache HttpClient 2.7.5 API) - - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.apache

-
-
No usage of com.squareup.okhttp.apache
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-apache/constant-values.html b/2.x/okhttp-apache/constant-values.html deleted file mode 100644 index 2395b8d36..000000000 --- a/2.x/okhttp-apache/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp Apache HttpClient 2.7.5 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-apache/deprecated-list.html b/2.x/okhttp-apache/deprecated-list.html deleted file mode 100644 index 20fc1cb20..000000000 --- a/2.x/okhttp-apache/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkHttp Apache HttpClient 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-apache/help-doc.html b/2.x/okhttp-apache/help-doc.html deleted file mode 100644 index d6a5ec853..000000000 --- a/2.x/okhttp-apache/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp Apache HttpClient 2.7.5 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-apache/index-all.html b/2.x/okhttp-apache/index-all.html deleted file mode 100644 index 2f6e25da9..000000000 --- a/2.x/okhttp-apache/index-all.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - -Index (OkHttp Apache HttpClient 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
C E G O  - - -

C

-
-
com.squareup.okhttp.apache - package com.squareup.okhttp.apache
-
 
-
- - - -

E

-
-
execute(HttpUriRequest) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpUriRequest, HttpContext) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpHost, HttpRequest) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpHost, HttpRequest, HttpContext) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpUriRequest, ResponseHandler<? extends T>) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpUriRequest, ResponseHandler<? extends T>, HttpContext) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpHost, HttpRequest, ResponseHandler<? extends T>) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
execute(HttpHost, HttpRequest, ResponseHandler<? extends T>, HttpContext) - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
- - - -

G

-
-
getConnectionManager() - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
getParams() - Method in class com.squareup.okhttp.apache.OkApacheClient
-
 
-
- - - -

O

-
-
OkApacheClient - Class in com.squareup.okhttp.apache
-
-
Implements Apache's HttpClient API using OkHttpClient.
-
-
OkApacheClient() - Constructor for class com.squareup.okhttp.apache.OkApacheClient
-
 
-
OkApacheClient(OkHttpClient) - Constructor for class com.squareup.okhttp.apache.OkApacheClient
-
 
-
-C E G O 
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-apache/index.html b/2.x/okhttp-apache/index.html deleted file mode 100644 index 2d487d467..000000000 --- a/2.x/okhttp-apache/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - -OkHttp Apache HttpClient 2.7.5 API - - - - - - -<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> - - - diff --git a/2.x/okhttp-apache/overview-tree.html b/2.x/okhttp-apache/overview-tree.html deleted file mode 100644 index 78ea862d2..000000000 --- a/2.x/okhttp-apache/overview-tree.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp Apache HttpClient 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-apache/package-list b/2.x/okhttp-apache/package-list deleted file mode 100644 index 510faa8fd..000000000 --- a/2.x/okhttp-apache/package-list +++ /dev/null @@ -1 +0,0 @@ -com.squareup.okhttp.apache diff --git a/2.x/okhttp-apache/resources/background.gif b/2.x/okhttp-apache/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}n_%Pq%(e+H~mGqhq5kv4Mo|-n~g|7!F*xZ{xv< zCpXS~dGg^IGK?4@J-T%b(XnUHFul6n<@2&4)zzyO2) z3Q8`i0+UKY*`$}e9mmp;tg*))`|PsK1|hAo%u0K$vDwm4gaSkm0j{`26k#qAKmbuhxZ#cquDR>B zD{s8+&TH-uNg$C#68QG}1HMBHfrP&L@@w$F_!itRzXdCN@V|LDAu%3!IDtq1#1UV7 z#1RxvT=B(DWbCoU5l=ia$Pp`Hgb_?Mp@hmtxZDI2N-)v#$}PXVvdm1d>@v(v`0TUJ zF)Pu89(q`zv=w^nVTIF3@3BYIPA}c`(@ZCAwbNBEt@PDUKe5CTR8aB66IE1!w%Amt zy+jpcn~k>GZpVFg+H6x{_uOksvBlq0Oy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GDOn z?oKkjHNoWO1e2?M#vd12e^_AscAnLnc~-CISiYWX`D%{k^H~<37unpMYJYdSv=Om2vbAM@`Qp{{SI=yP zj6WN*eEt0G$9EPX6FU%)-ho>hWTW!yzXBIo73<0umM-=@eG&niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/2.x/okhttp-apache/script.js b/2.x/okhttp-apache/script.js deleted file mode 100644 index b34635693..000000000 --- a/2.x/okhttp-apache/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/2.x/okhttp-apache/stylesheet.css b/2.x/okhttp-apache/stylesheet.css deleted file mode 100644 index 66c91f7d6..000000000 --- a/2.x/okhttp-apache/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; - width:100%; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/2.x/okhttp-apache/version.txt b/2.x/okhttp-apache/version.txt deleted file mode 100644 index 460b6fd40..000000000 --- a/2.x/okhttp-apache/version.txt +++ /dev/null @@ -1 +0,0 @@ -2.7.5 \ No newline at end of file diff --git a/2.x/okhttp-testing-support/META-INF/MANIFEST.MF b/2.x/okhttp-testing-support/META-INF/MANIFEST.MF deleted file mode 100644 index aaa8bf6f7..000000000 --- a/2.x/okhttp-testing-support/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_45 - diff --git a/2.x/okhttp-testing-support/allclasses-frame.html b/2.x/okhttp-testing-support/allclasses-frame.html deleted file mode 100644 index 1fe8b41ad..000000000 --- a/2.x/okhttp-testing-support/allclasses-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -All Classes (OkHttp test support classes 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/okhttp-testing-support/allclasses-noframe.html b/2.x/okhttp-testing-support/allclasses-noframe.html deleted file mode 100644 index 7487fefd6..000000000 --- a/2.x/okhttp-testing-support/allclasses-noframe.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -All Classes (OkHttp test support classes 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/InMemoryFileSystem.html b/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/InMemoryFileSystem.html deleted file mode 100644 index f8e2ef88d..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/InMemoryFileSystem.html +++ /dev/null @@ -1,472 +0,0 @@ - - - - - - -InMemoryFileSystem (OkHttp test support classes 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.internal.io
-

Class InMemoryFileSystem

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.squareup.okhttp.internal.io.InMemoryFileSystem
    • -
    -
  • -
-
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/class-use/InMemoryFileSystem.html b/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/class-use/InMemoryFileSystem.html deleted file mode 100644 index e0e93b37a..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/class-use/InMemoryFileSystem.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.internal.io.InMemoryFileSystem (OkHttp test support classes 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.internal.io.InMemoryFileSystem

-
-
No usage of com.squareup.okhttp.internal.io.InMemoryFileSystem
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-frame.html b/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-frame.html deleted file mode 100644 index 63d6242a4..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -com.squareup.okhttp.internal.io (OkHttp test support classes 2.7.5 API) - - - - - -

com.squareup.okhttp.internal.io

-
-

Classes

- -
- - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-summary.html b/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-summary.html deleted file mode 100644 index ea093cff5..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-summary.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -com.squareup.okhttp.internal.io (OkHttp test support classes 2.7.5 API) - - - - - - - - - - - -
-

Package com.squareup.okhttp.internal.io

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    InMemoryFileSystem -
    A simple file system where all files are held in memory.
    -
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-tree.html b/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-tree.html deleted file mode 100644 index 47d232718..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-tree.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - -com.squareup.okhttp.internal.io Class Hierarchy (OkHttp test support classes 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For Package com.squareup.okhttp.internal.io

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-use.html b/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-use.html deleted file mode 100644 index 091395be0..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/internal/io/package-use.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.internal.io (OkHttp test support classes 2.7.5 API) - - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.internal.io

-
-
No usage of com.squareup.okhttp.internal.io
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/InstallUncaughtExceptionHandlerListener.html b/2.x/okhttp-testing-support/com/squareup/okhttp/testing/InstallUncaughtExceptionHandlerListener.html deleted file mode 100644 index bb0612da2..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/InstallUncaughtExceptionHandlerListener.html +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - -InstallUncaughtExceptionHandlerListener (OkHttp test support classes 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.testing
-

Class InstallUncaughtExceptionHandlerListener

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.junit.runner.notification.RunListener
    • -
    • -
        -
      • com.squareup.okhttp.testing.InstallUncaughtExceptionHandlerListener
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class InstallUncaughtExceptionHandlerListener
    -extends org.junit.runner.notification.RunListener
    -
    A RunListener used to install an aggressive default - Thread.UncaughtExceptionHandler similar to the one found on Android. - No exceptions should escape from OkHttp that might cause apps to be killed or tests to fail on - Android.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        InstallUncaughtExceptionHandlerListener

        -
        public InstallUncaughtExceptionHandlerListener()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        testRunStarted

        -
        public void testRunStarted(org.junit.runner.Description description)
        -                    throws Exception
        -
        -
        Overrides:
        -
        testRunStarted in class org.junit.runner.notification.RunListener
        -
        Throws:
        -
        Exception
        -
        -
      • -
      - - - -
        -
      • -

        testStarted

        -
        public void testStarted(org.junit.runner.Description description)
        -                 throws Exception
        -
        -
        Overrides:
        -
        testStarted in class org.junit.runner.notification.RunListener
        -
        Throws:
        -
        Exception
        -
        -
      • -
      - - - -
        -
      • -

        testRunFinished

        -
        public void testRunFinished(org.junit.runner.Result result)
        -                     throws Exception
        -
        -
        Overrides:
        -
        testRunFinished in class org.junit.runner.notification.RunListener
        -
        Throws:
        -
        Exception
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/RecordingHostnameVerifier.html b/2.x/okhttp-testing-support/com/squareup/okhttp/testing/RecordingHostnameVerifier.html deleted file mode 100644 index ef9f2ade2..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/RecordingHostnameVerifier.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - -RecordingHostnameVerifier (OkHttp test support classes 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.testing
-

Class RecordingHostnameVerifier

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.squareup.okhttp.testing.RecordingHostnameVerifier
    • -
    -
  • -
-
- -
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RecordingHostnameVerifier

        -
        public RecordingHostnameVerifier()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/class-use/InstallUncaughtExceptionHandlerListener.html b/2.x/okhttp-testing-support/com/squareup/okhttp/testing/class-use/InstallUncaughtExceptionHandlerListener.html deleted file mode 100644 index a27ab443f..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/class-use/InstallUncaughtExceptionHandlerListener.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.testing.InstallUncaughtExceptionHandlerListener (OkHttp test support classes 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.testing.InstallUncaughtExceptionHandlerListener

-
-
No usage of com.squareup.okhttp.testing.InstallUncaughtExceptionHandlerListener
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/class-use/RecordingHostnameVerifier.html b/2.x/okhttp-testing-support/com/squareup/okhttp/testing/class-use/RecordingHostnameVerifier.html deleted file mode 100644 index bf4fdb1b8..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/class-use/RecordingHostnameVerifier.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.testing.RecordingHostnameVerifier (OkHttp test support classes 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.testing.RecordingHostnameVerifier

-
-
No usage of com.squareup.okhttp.testing.RecordingHostnameVerifier
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-frame.html b/2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-frame.html deleted file mode 100644 index 03ac37dff..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -com.squareup.okhttp.testing (OkHttp test support classes 2.7.5 API) - - - - - -

com.squareup.okhttp.testing

- - - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-summary.html b/2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-summary.html deleted file mode 100644 index ba6587ece..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-summary.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -com.squareup.okhttp.testing (OkHttp test support classes 2.7.5 API) - - - - - - - - - - - -
-

Package com.squareup.okhttp.testing

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-tree.html b/2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-tree.html deleted file mode 100644 index 6dabb7c5f..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-tree.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -com.squareup.okhttp.testing Class Hierarchy (OkHttp test support classes 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For Package com.squareup.okhttp.testing

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-use.html b/2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-use.html deleted file mode 100644 index 4a06d5d83..000000000 --- a/2.x/okhttp-testing-support/com/squareup/okhttp/testing/package-use.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.testing (OkHttp test support classes 2.7.5 API) - - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.testing

-
-
No usage of com.squareup.okhttp.testing
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/constant-values.html b/2.x/okhttp-testing-support/constant-values.html deleted file mode 100644 index d4909a0c2..000000000 --- a/2.x/okhttp-testing-support/constant-values.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Constant Field Values (OkHttp test support classes 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Constant Field Values

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/deprecated-list.html b/2.x/okhttp-testing-support/deprecated-list.html deleted file mode 100644 index 4c90ef63c..000000000 --- a/2.x/okhttp-testing-support/deprecated-list.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Deprecated List (OkHttp test support classes 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/help-doc.html b/2.x/okhttp-testing-support/help-doc.html deleted file mode 100644 index 3b9a98116..000000000 --- a/2.x/okhttp-testing-support/help-doc.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - -API Help (OkHttp test support classes 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Overview

    -

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    -
  • -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/index-all.html b/2.x/okhttp-testing-support/index-all.html deleted file mode 100644 index 476622366..000000000 --- a/2.x/okhttp-testing-support/index-all.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - -Index (OkHttp test support classes 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
A C D E I R S T V  - - -

A

-
-
appendingSink(File) - Method in class com.squareup.okhttp.internal.io.InMemoryFileSystem
-
 
-
apply(Statement, Description) - Method in class com.squareup.okhttp.internal.io.InMemoryFileSystem
-
 
-
- - - -

C

-
-
calls - Variable in class com.squareup.okhttp.testing.RecordingHostnameVerifier
-
 
-
com.squareup.okhttp.internal.io - package com.squareup.okhttp.internal.io
-
 
-
com.squareup.okhttp.testing - package com.squareup.okhttp.testing
-
 
-
- - - -

D

-
-
delete(File) - Method in class com.squareup.okhttp.internal.io.InMemoryFileSystem
-
 
-
deleteContents(File) - Method in class com.squareup.okhttp.internal.io.InMemoryFileSystem
-
 
-
- - - -

E

-
-
ensureResourcesClosed() - Method in class com.squareup.okhttp.internal.io.InMemoryFileSystem
-
 
-
exists(File) - Method in class com.squareup.okhttp.internal.io.InMemoryFileSystem
-
 
-
- - - -

I

-
-
InMemoryFileSystem - Class in com.squareup.okhttp.internal.io
-
-
A simple file system where all files are held in memory.
-
-
InMemoryFileSystem() - Constructor for class com.squareup.okhttp.internal.io.InMemoryFileSystem
-
 
-
InstallUncaughtExceptionHandlerListener - Class in com.squareup.okhttp.testing
-
-
A RunListener used to install an aggressive default - Thread.UncaughtExceptionHandler similar to the one found on Android.
-
-
InstallUncaughtExceptionHandlerListener() - Constructor for class com.squareup.okhttp.testing.InstallUncaughtExceptionHandlerListener
-
 
-
- - - -

R

-
-
RecordingHostnameVerifier - Class in com.squareup.okhttp.testing
-
 
-
RecordingHostnameVerifier() - Constructor for class com.squareup.okhttp.testing.RecordingHostnameVerifier
-
 
-
rename(File, File) - Method in class com.squareup.okhttp.internal.io.InMemoryFileSystem
-
 
-
- - - -

S

-
-
sink(File) - Method in class com.squareup.okhttp.internal.io.InMemoryFileSystem
-
 
-
size(File) - Method in class com.squareup.okhttp.internal.io.InMemoryFileSystem
-
 
-
source(File) - Method in class com.squareup.okhttp.internal.io.InMemoryFileSystem
-
 
-
- - - -

T

-
-
testRunFinished(Result) - Method in class com.squareup.okhttp.testing.InstallUncaughtExceptionHandlerListener
-
 
-
testRunStarted(Description) - Method in class com.squareup.okhttp.testing.InstallUncaughtExceptionHandlerListener
-
 
-
testStarted(Description) - Method in class com.squareup.okhttp.testing.InstallUncaughtExceptionHandlerListener
-
 
-
- - - -

V

-
-
verify(String, SSLSession) - Method in class com.squareup.okhttp.testing.RecordingHostnameVerifier
-
 
-
-A C D E I R S T V 
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/index.html b/2.x/okhttp-testing-support/index.html deleted file mode 100644 index c07e98d99..000000000 --- a/2.x/okhttp-testing-support/index.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - -OkHttp test support classes 2.7.5 API - - - - - - - - - -<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="overview-summary.html">Non-frame version</a>.</p> - - - diff --git a/2.x/okhttp-testing-support/overview-frame.html b/2.x/okhttp-testing-support/overview-frame.html deleted file mode 100644 index 587a665d9..000000000 --- a/2.x/okhttp-testing-support/overview-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -Overview List (OkHttp test support classes 2.7.5 API) - - - - - - - -

 

- - diff --git a/2.x/okhttp-testing-support/overview-summary.html b/2.x/okhttp-testing-support/overview-summary.html deleted file mode 100644 index 92dfa4a48..000000000 --- a/2.x/okhttp-testing-support/overview-summary.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Overview (OkHttp test support classes 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

OkHttp test support classes 2.7.5 API

-
-
- - - - - - - - - - - - - - - - -
Packages 
PackageDescription
com.squareup.okhttp.internal.io 
com.squareup.okhttp.testing 
-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/overview-tree.html b/2.x/okhttp-testing-support/overview-tree.html deleted file mode 100644 index 3e6b0d358..000000000 --- a/2.x/okhttp-testing-support/overview-tree.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp test support classes 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-testing-support/package-list b/2.x/okhttp-testing-support/package-list deleted file mode 100644 index e94322002..000000000 --- a/2.x/okhttp-testing-support/package-list +++ /dev/null @@ -1,2 +0,0 @@ -com.squareup.okhttp.internal.io -com.squareup.okhttp.testing diff --git a/2.x/okhttp-testing-support/resources/background.gif b/2.x/okhttp-testing-support/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}n_%Pq%(e+H~mGqhq5kv4Mo|-n~g|7!F*xZ{xv< zCpXS~dGg^IGK?4@J-T%b(XnUHFul6n<@2&4)zzyO2) z3Q8`i0+UKY*`$}e9mmp;tg*))`|PsK1|hAo%u0K$vDwm4gaSkm0j{`26k#qAKmbuhxZ#cquDR>B zD{s8+&TH-uNg$C#68QG}1HMBHfrP&L@@w$F_!itRzXdCN@V|LDAu%3!IDtq1#1UV7 z#1RxvT=B(DWbCoU5l=ia$Pp`Hgb_?Mp@hmtxZDI2N-)v#$}PXVvdm1d>@v(v`0TUJ zF)Pu89(q`zv=w^nVTIF3@3BYIPA}c`(@ZCAwbNBEt@PDUKe5CTR8aB66IE1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H`UYU#q>pPJ3UC z_UeU>J7qcy%%`ks9)BNcS^GDOn z?oKkjHNoWO1e2?M#vd12e^_AscAnLnc~-CISiYWX`D%{k^H~<37unpMYJYdSv=Om2vbAM@`Qp{{SI=yP zj6WN*eEt0G$9EPX6FU%)-ho>hWTW!yzXBIo73<0umM-=@eG&niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/2.x/okhttp-testing-support/script.js b/2.x/okhttp-testing-support/script.js deleted file mode 100644 index b34635693..000000000 --- a/2.x/okhttp-testing-support/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/2.x/okhttp-testing-support/stylesheet.css b/2.x/okhttp-testing-support/stylesheet.css deleted file mode 100644 index 66c91f7d6..000000000 --- a/2.x/okhttp-testing-support/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; - width:100%; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/2.x/okhttp-testing-support/version.txt b/2.x/okhttp-testing-support/version.txt deleted file mode 100644 index 460b6fd40..000000000 --- a/2.x/okhttp-testing-support/version.txt +++ /dev/null @@ -1 +0,0 @@ -2.7.5 \ No newline at end of file diff --git a/2.x/okhttp-urlconnection/META-INF/MANIFEST.MF b/2.x/okhttp-urlconnection/META-INF/MANIFEST.MF deleted file mode 100644 index aaa8bf6f7..000000000 --- a/2.x/okhttp-urlconnection/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_45 - diff --git a/2.x/okhttp-urlconnection/allclasses-frame.html b/2.x/okhttp-urlconnection/allclasses-frame.html deleted file mode 100644 index d42baa4c3..000000000 --- a/2.x/okhttp-urlconnection/allclasses-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (OkHttp URLConnection 2.7.5 API) - - - - - -

All Classes

-
- -
- - diff --git a/2.x/okhttp-urlconnection/allclasses-noframe.html b/2.x/okhttp-urlconnection/allclasses-noframe.html deleted file mode 100644 index 37e0737d0..000000000 --- a/2.x/okhttp-urlconnection/allclasses-noframe.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (OkHttp URLConnection 2.7.5 API) - - - - - -

All Classes

-
- -
- - diff --git a/2.x/okhttp-urlconnection/com/squareup/okhttp/OkUrlFactory.html b/2.x/okhttp-urlconnection/com/squareup/okhttp/OkUrlFactory.html deleted file mode 100644 index 510efee1b..000000000 --- a/2.x/okhttp-urlconnection/com/squareup/okhttp/OkUrlFactory.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - - - -OkUrlFactory (OkHttp URLConnection 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class OkUrlFactory

-
-
- -
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-urlconnection/com/squareup/okhttp/class-use/OkUrlFactory.html b/2.x/okhttp-urlconnection/com/squareup/okhttp/class-use/OkUrlFactory.html deleted file mode 100644 index 0ba99612b..000000000 --- a/2.x/okhttp-urlconnection/com/squareup/okhttp/class-use/OkUrlFactory.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.OkUrlFactory (OkHttp URLConnection 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.OkUrlFactory

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-urlconnection/com/squareup/okhttp/package-frame.html b/2.x/okhttp-urlconnection/com/squareup/okhttp/package-frame.html deleted file mode 100644 index e34e54700..000000000 --- a/2.x/okhttp-urlconnection/com/squareup/okhttp/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -com.squareup.okhttp (OkHttp URLConnection 2.7.5 API) - - - - - -

com.squareup.okhttp

-
-

Classes

- -
- - diff --git a/2.x/okhttp-urlconnection/com/squareup/okhttp/package-summary.html b/2.x/okhttp-urlconnection/com/squareup/okhttp/package-summary.html deleted file mode 100644 index eaedb965f..000000000 --- a/2.x/okhttp-urlconnection/com/squareup/okhttp/package-summary.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -com.squareup.okhttp (OkHttp URLConnection 2.7.5 API) - - - - - - - - - - - -
-

Package com.squareup.okhttp

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    OkUrlFactory 
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-urlconnection/com/squareup/okhttp/package-tree.html b/2.x/okhttp-urlconnection/com/squareup/okhttp/package-tree.html deleted file mode 100644 index eeed89042..000000000 --- a/2.x/okhttp-urlconnection/com/squareup/okhttp/package-tree.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -com.squareup.okhttp Class Hierarchy (OkHttp URLConnection 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For Package com.squareup.okhttp

-
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-urlconnection/com/squareup/okhttp/package-use.html b/2.x/okhttp-urlconnection/com/squareup/okhttp/package-use.html deleted file mode 100644 index 8f3765cb3..000000000 --- a/2.x/okhttp-urlconnection/com/squareup/okhttp/package-use.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp (OkHttp URLConnection 2.7.5 API) - - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-urlconnection/constant-values.html b/2.x/okhttp-urlconnection/constant-values.html deleted file mode 100644 index 08c247bca..000000000 --- a/2.x/okhttp-urlconnection/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp URLConnection 2.7.5 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-urlconnection/deprecated-list.html b/2.x/okhttp-urlconnection/deprecated-list.html deleted file mode 100644 index 062156953..000000000 --- a/2.x/okhttp-urlconnection/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkHttp URLConnection 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-urlconnection/help-doc.html b/2.x/okhttp-urlconnection/help-doc.html deleted file mode 100644 index ed5b58f6b..000000000 --- a/2.x/okhttp-urlconnection/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp URLConnection 2.7.5 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-urlconnection/index-all.html b/2.x/okhttp-urlconnection/index-all.html deleted file mode 100644 index 28a486dfb..000000000 --- a/2.x/okhttp-urlconnection/index-all.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Index (OkHttp URLConnection 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
C O  - - -

C

-
-
client() - Method in class com.squareup.okhttp.OkUrlFactory
-
 
-
clone() - Method in class com.squareup.okhttp.OkUrlFactory
-
-
Returns a copy of this stream handler factory that includes a shallow copy - of the internal HTTP client.
-
-
com.squareup.okhttp - package com.squareup.okhttp
-
 
-
createURLStreamHandler(String) - Method in class com.squareup.okhttp.OkUrlFactory
-
- -
-
- - - -

O

-
-
OkUrlFactory - Class in com.squareup.okhttp
-
 
-
OkUrlFactory(OkHttpClient) - Constructor for class com.squareup.okhttp.OkUrlFactory
-
 
-
open(URL) - Method in class com.squareup.okhttp.OkUrlFactory
-
 
-
-C O 
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-urlconnection/index.html b/2.x/okhttp-urlconnection/index.html deleted file mode 100644 index 934152eea..000000000 --- a/2.x/okhttp-urlconnection/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - -OkHttp URLConnection 2.7.5 API - - - - - - -<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/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/2.x/okhttp-urlconnection/overview-tree.html b/2.x/okhttp-urlconnection/overview-tree.html deleted file mode 100644 index bcc675c60..000000000 --- a/2.x/okhttp-urlconnection/overview-tree.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp URLConnection 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-urlconnection/package-list b/2.x/okhttp-urlconnection/package-list deleted file mode 100644 index ac5f84bc5..000000000 --- a/2.x/okhttp-urlconnection/package-list +++ /dev/null @@ -1 +0,0 @@ -com.squareup.okhttp diff --git a/2.x/okhttp-urlconnection/resources/background.gif b/2.x/okhttp-urlconnection/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}n_%Pq%(e+H~mGqhq5kv4Mo|-n~g|7!F*xZ{xv< zCpXS~dGg^IGK?4@J-T%b(XnUHFul6n<@2&4)zzyO2) z3Q8`i0+UKY*`$}e9mmp;tg*))`|PsK1|hAo%u0K$vDwm4gaSkm0j{`26k#qAKmbuhxZ#cquDR>B zD{s8+&TH-uNg$C#68QG}1HMBHfrP&L@@w$F_!itRzXdCN@V|LDAu%3!IDtq1#1UV7 z#1RxvT=B(DWbCoU5l=ia$Pp`Hgb_?Mp@hmtxZDI2N-)v#$}PXVvdm1d>@v(v`0TUJ zF)Pu89(q`zv=w^nVTIF3@3BYIPA}c`(@ZCAwbNBEt@PDUKe5CTR8aB66IE1!w%Amt zy+jpcn~k>G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UeU>J7qcy%%`ks9)BNcS^GDOn z?oKkjHNoWO1e2?M#vd12e^_AscAnLnc~-CISiYWX`D%{k^H~<37unpMYJYdSv=Om2vbAM@`Qp{{SI=yP zj6WN*eEt0G$9EPX6FU%)-ho>hWTW!yzXBIo73<0umM-=@eG&niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/2.x/okhttp-urlconnection/script.js b/2.x/okhttp-urlconnection/script.js deleted file mode 100644 index b34635693..000000000 --- a/2.x/okhttp-urlconnection/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/2.x/okhttp-urlconnection/stylesheet.css b/2.x/okhttp-urlconnection/stylesheet.css deleted file mode 100644 index 66c91f7d6..000000000 --- a/2.x/okhttp-urlconnection/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; - width:100%; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/2.x/okhttp-urlconnection/version.txt b/2.x/okhttp-urlconnection/version.txt deleted file mode 100644 index 460b6fd40..000000000 --- a/2.x/okhttp-urlconnection/version.txt +++ /dev/null @@ -1 +0,0 @@ -2.7.5 \ No newline at end of file diff --git a/2.x/okhttp-ws/META-INF/MANIFEST.MF b/2.x/okhttp-ws/META-INF/MANIFEST.MF deleted file mode 100644 index aaa8bf6f7..000000000 --- a/2.x/okhttp-ws/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_45 - diff --git a/2.x/okhttp-ws/allclasses-frame.html b/2.x/okhttp-ws/allclasses-frame.html deleted file mode 100644 index 3009972e5..000000000 --- a/2.x/okhttp-ws/allclasses-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -All Classes (OkHttp Web Sockets 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/okhttp-ws/allclasses-noframe.html b/2.x/okhttp-ws/allclasses-noframe.html deleted file mode 100644 index 8783241df..000000000 --- a/2.x/okhttp-ws/allclasses-noframe.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -All Classes (OkHttp Web Sockets 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocket.PayloadType.html b/2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocket.PayloadType.html deleted file mode 100644 index dc6207618..000000000 --- a/2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocket.PayloadType.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - -WebSocket.PayloadType (OkHttp Web Sockets 2.5.0 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.ws
-

Enum WebSocket.PayloadType

-
-
- -
- -
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static WebSocket.PayloadType[] values()
        -
        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: -
        -for (WebSocket.PayloadType c : WebSocket.PayloadType.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static WebSocket.PayloadType valueOf(String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant with the specified name
        -
        NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2015. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocket.html b/2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocket.html deleted file mode 100644 index cfeb7f745..000000000 --- a/2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocket.html +++ /dev/null @@ -1,343 +0,0 @@ - - - - - - -WebSocket (OkHttp Web Sockets 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.ws
-

Interface WebSocket

-
-
-
-
    -
  • -
    -
    -
    public interface WebSocket
    -
    Blocking interface to connect and write to a web socket.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static MediaTypeBINARY -
      A MediaType indicating binary frames should be used when sending the message.
      -
      static MediaTypeTEXT -
      A MediaType indicating UTF-8 text frames should be used when sending the message.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidclose(int code, - String reason) -
      Send a close frame to the server.
      -
      voidsendMessage(RequestBody message) -
      Send a message payload to the server.
      -
      voidsendPing(okio.Buffer payload) -
      Send a ping to the server with optional payload.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        TEXT

        -
        static final MediaType TEXT
        -
        A MediaType indicating UTF-8 text frames should be used when sending the message.
        -
      • -
      - - - -
        -
      • -

        BINARY

        -
        static final MediaType BINARY
        -
        A MediaType indicating binary frames should be used when sending the message.
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocketCall.html b/2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocketCall.html deleted file mode 100644 index 52085435e..000000000 --- a/2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocketCall.html +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - -WebSocketCall (OkHttp Web Sockets 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.ws
-

Class WebSocketCall

-
-
- -
-
    -
  • -
    -
    -
    public final class WebSocketCall
    -extends Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        create

        -
        public static WebSocketCall create(OkHttpClient client,
        -                                   Request request)
        -
        Prepares the request to create a web socket at some point in the future.
        -
      • -
      - - - -
        -
      • -

        enqueue

        -
        public void enqueue(WebSocketListener listener)
        -
        Schedules the request to be executed at some point in the future. - -

        The dispatcher defines when the request will run: - usually immediately unless there are several other requests currently being executed. - -

        This client will later call back responseCallback with either an HTTP response or a - failure exception. If you cancel() a request before it completes the callback will not - be invoked.

        -
        -
        Throws:
        -
        IllegalStateException - when the call has already been executed.
        -
        -
      • -
      - - - -
        -
      • -

        cancel

        -
        public void cancel()
        -
        Cancels the request, if possible. Requests that are already complete cannot be canceled.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocketListener.html b/2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocketListener.html deleted file mode 100644 index 7aeb43973..000000000 --- a/2.x/okhttp-ws/com/squareup/okhttp/ws/WebSocketListener.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - - -WebSocketListener (OkHttp Web Sockets 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp.ws
-

Interface WebSocketListener

-
-
-
-
    -
  • -
    -
    -
    public interface WebSocketListener
    -
    Listener for server-initiated messages on a connected WebSocket.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidonClose(int code, - String reason) -
      Called when the server sends a close message.
      -
      voidonFailure(IOException e, - Response response) -
      Called when the transport or protocol layer of this web socket errors during communication.
      -
      voidonMessage(ResponseBody message) -
      Called when a server message is received.
      -
      voidonOpen(WebSocket webSocket, - Response response) -
      Called when the request has successfully been upgraded to a web socket.
      -
      voidonPong(okio.Buffer payload) -
      Called when a server pong is received.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onOpen

        -
        void onOpen(WebSocket webSocket,
        -            Response response)
        -
        Called when the request has successfully been upgraded to a web socket. This method is called - on the message reading thread to allow setting up any state before the - message, pong, and close - callbacks start. -

        - Do not use this callback to write to the web socket. Start a new thread or use - another thread in your application.

        -
      • -
      - - - -
        -
      • -

        onFailure

        -
        void onFailure(IOException e,
        -               Response response)
        -
        Called when the transport or protocol layer of this web socket errors during communication.
        -
        -
        Parameters:
        -
        response - Present when the failure is a direct result of the response (e.g., failed - upgrade, non-101 response code, etc.). null otherwise.
        -
        -
      • -
      - - - -
        -
      • -

        onMessage

        -
        void onMessage(ResponseBody message)
        -        throws IOException
        -
        Called when a server message is received. The type indicates whether the - payload should be interpreted as UTF-8 text or binary data. - -

        Implementations must call source.close() before returning. This - indicates completion of parsing the message payload and will consume any remaining bytes in - the message. - -

        The content type of message will be either - WebSocket.TEXT or WebSocket.BINARY which indicates the format of the message.

        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        onPong

        -
        void onPong(okio.Buffer payload)
        -
        Called when a server pong is received. This is usually a result of calling WebSocket.sendPing(Buffer) but might also be unsolicited.
        -
      • -
      - - - -
        -
      • -

        onClose

        -
        void onClose(int code,
        -             String reason)
        -
        Called when the server sends a close message. This may have been initiated - from a call to close() or as an unprompted - message from the server.
        -
        -
        Parameters:
        -
        code - The RFC-compliant - status code.
        -
        reason - Reason for close or an empty string.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocket.PayloadType.html b/2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocket.PayloadType.html deleted file mode 100644 index 1343a4a8c..000000000 --- a/2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocket.PayloadType.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.ws.WebSocket.PayloadType (OkHttp Web Sockets 2.5.0 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.ws.WebSocket.PayloadType

-
-
- -
- - - - -

Copyright © 2015. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocket.html b/2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocket.html deleted file mode 100644 index 660a848a7..000000000 --- a/2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocket.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.ws.WebSocket (OkHttp Web Sockets 2.7.5 API) - - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.ws.WebSocket

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocketCall.html b/2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocketCall.html deleted file mode 100644 index 235a46948..000000000 --- a/2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocketCall.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.ws.WebSocketCall (OkHttp Web Sockets 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.ws.WebSocketCall

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocketListener.html b/2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocketListener.html deleted file mode 100644 index b8edf4f89..000000000 --- a/2.x/okhttp-ws/com/squareup/okhttp/ws/class-use/WebSocketListener.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.ws.WebSocketListener (OkHttp Web Sockets 2.7.5 API) - - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.ws.WebSocketListener

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/com/squareup/okhttp/ws/package-frame.html b/2.x/okhttp-ws/com/squareup/okhttp/ws/package-frame.html deleted file mode 100644 index 422358a7e..000000000 --- a/2.x/okhttp-ws/com/squareup/okhttp/ws/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -com.squareup.okhttp.ws (OkHttp Web Sockets 2.7.5 API) - - - - - -

com.squareup.okhttp.ws

-
-

Interfaces

- -

Classes

- -
- - diff --git a/2.x/okhttp-ws/com/squareup/okhttp/ws/package-summary.html b/2.x/okhttp-ws/com/squareup/okhttp/ws/package-summary.html deleted file mode 100644 index 37c695c13..000000000 --- a/2.x/okhttp-ws/com/squareup/okhttp/ws/package-summary.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - -com.squareup.okhttp.ws (OkHttp Web Sockets 2.7.5 API) - - - - - - - - - - - -
-

Package com.squareup.okhttp.ws

-
-
-
    -
  • - - - - - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    WebSocket -
    Blocking interface to connect and write to a web socket.
    -
    WebSocketListener -
    Listener for server-initiated messages on a connected WebSocket.
    -
    -
  • -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    WebSocketCall 
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/com/squareup/okhttp/ws/package-tree.html b/2.x/okhttp-ws/com/squareup/okhttp/ws/package-tree.html deleted file mode 100644 index 4795d17af..000000000 --- a/2.x/okhttp-ws/com/squareup/okhttp/ws/package-tree.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - -com.squareup.okhttp.ws Class Hierarchy (OkHttp Web Sockets 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For Package com.squareup.okhttp.ws

-
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/com/squareup/okhttp/ws/package-use.html b/2.x/okhttp-ws/com/squareup/okhttp/ws/package-use.html deleted file mode 100644 index 87ac24c61..000000000 --- a/2.x/okhttp-ws/com/squareup/okhttp/ws/package-use.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp.ws (OkHttp Web Sockets 2.7.5 API) - - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp.ws

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/constant-values.html b/2.x/okhttp-ws/constant-values.html deleted file mode 100644 index 965f1436f..000000000 --- a/2.x/okhttp-ws/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp Web Sockets 2.7.5 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/deprecated-list.html b/2.x/okhttp-ws/deprecated-list.html deleted file mode 100644 index c6ed3c1a4..000000000 --- a/2.x/okhttp-ws/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkHttp Web Sockets 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/help-doc.html b/2.x/okhttp-ws/help-doc.html deleted file mode 100644 index 10608728d..000000000 --- a/2.x/okhttp-ws/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp Web Sockets 2.7.5 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/index-all.html b/2.x/okhttp-ws/index-all.html deleted file mode 100644 index 354446319..000000000 --- a/2.x/okhttp-ws/index-all.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - -Index (OkHttp Web Sockets 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
B C E O S T W  - - -

B

-
-
BINARY - Static variable in interface com.squareup.okhttp.ws.WebSocket
-
-
A MediaType indicating binary frames should be used when sending the message.
-
-
- - - -

C

-
-
cancel() - Method in class com.squareup.okhttp.ws.WebSocketCall
-
-
Cancels the request, if possible.
-
-
close(int, String) - Method in interface com.squareup.okhttp.ws.WebSocket
-
-
Send a close frame to the server.
-
-
com.squareup.okhttp.ws - package com.squareup.okhttp.ws
-
 
-
create(OkHttpClient, Request) - Static method in class com.squareup.okhttp.ws.WebSocketCall
-
-
Prepares the request to create a web socket at some point in the future.
-
-
- - - -

E

-
-
enqueue(WebSocketListener) - Method in class com.squareup.okhttp.ws.WebSocketCall
-
-
Schedules the request to be executed at some point in the future.
-
-
- - - -

O

-
-
onClose(int, String) - Method in interface com.squareup.okhttp.ws.WebSocketListener
-
-
Called when the server sends a close message.
-
-
onFailure(IOException, Response) - Method in interface com.squareup.okhttp.ws.WebSocketListener
-
-
Called when the transport or protocol layer of this web socket errors during communication.
-
-
onMessage(ResponseBody) - Method in interface com.squareup.okhttp.ws.WebSocketListener
-
-
Called when a server message is received.
-
-
onOpen(WebSocket, Response) - Method in interface com.squareup.okhttp.ws.WebSocketListener
-
-
Called when the request has successfully been upgraded to a web socket.
-
-
onPong(Buffer) - Method in interface com.squareup.okhttp.ws.WebSocketListener
-
-
Called when a server pong is received.
-
-
- - - -

S

-
-
sendMessage(RequestBody) - Method in interface com.squareup.okhttp.ws.WebSocket
-
-
Send a message payload to the server.
-
-
sendPing(Buffer) - Method in interface com.squareup.okhttp.ws.WebSocket
-
-
Send a ping to the server with optional payload.
-
-
- - - -

T

-
-
TEXT - Static variable in interface com.squareup.okhttp.ws.WebSocket
-
-
A MediaType indicating UTF-8 text frames should be used when sending the message.
-
-
- - - -

W

-
-
WebSocket - Interface in com.squareup.okhttp.ws
-
-
Blocking interface to connect and write to a web socket.
-
-
WebSocketCall - Class in com.squareup.okhttp.ws
-
 
-
WebSocketListener - Interface in com.squareup.okhttp.ws
-
-
Listener for server-initiated messages on a connected WebSocket.
-
-
-B C E O S T W 
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/index.html b/2.x/okhttp-ws/index.html deleted file mode 100644 index 7d4fb45e9..000000000 --- a/2.x/okhttp-ws/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - -OkHttp Web Sockets 2.7.5 API - - - - - - -<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/ws/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/2.x/okhttp-ws/overview-tree.html b/2.x/okhttp-ws/overview-tree.html deleted file mode 100644 index 6538e51c6..000000000 --- a/2.x/okhttp-ws/overview-tree.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp Web Sockets 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp-ws/package-list b/2.x/okhttp-ws/package-list deleted file mode 100644 index a5f10306d..000000000 --- a/2.x/okhttp-ws/package-list +++ /dev/null @@ -1 +0,0 @@ -com.squareup.okhttp.ws diff --git a/2.x/okhttp-ws/resources/background.gif b/2.x/okhttp-ws/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}n_%Pq%(e+H~mGqhq5kv4Mo|-n~g|7!F*xZ{xv< zCpXS~dGg^IGK?4@J-T%b(XnUHFul6n<@2&4)zzyO2) z3Q8`i0+UKY*`$}e9mmp;tg*))`|PsK1|hAo%u0K$vDwm4gaSkm0j{`26k#qAKmbuhxZ#cquDR>B zD{s8+&TH-uNg$C#68QG}1HMBHfrP&L@@w$F_!itRzXdCN@V|LDAu%3!IDtq1#1UV7 z#1RxvT=B(DWbCoU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R2jB1J!Q|(4#0i$lFME^-r zA~Q(2O+PHOdcVN((R8zqi>%+yx4PA5u&+jI zZ?)Fm8m-+`n!Bnrx0PvZE7!Q)Z+NTE@K(R!nO40sZF(n~bq_b_9H`UYU#q>pPJ3UC z_UeU>J7qcy%%`ks9)BNcS^GDOn z?oKkjHNoWO1e2?M#vd12e^_AscAnLnc~-CISiYWX`D%{k^H~<37unpMYJYdSv=Om2vbAM@`Qp{{SI=yP zj6WN*eEt0G$9EPX6FU%)-ho>hWTW!yzXBIo73<0umM-=@eG&niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/2.x/okhttp-ws/script.js b/2.x/okhttp-ws/script.js deleted file mode 100644 index b34635693..000000000 --- a/2.x/okhttp-ws/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/2.x/okhttp-ws/stylesheet.css b/2.x/okhttp-ws/stylesheet.css deleted file mode 100644 index 66c91f7d6..000000000 --- a/2.x/okhttp-ws/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; - width:100%; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/2.x/okhttp-ws/version.txt b/2.x/okhttp-ws/version.txt deleted file mode 100644 index 460b6fd40..000000000 --- a/2.x/okhttp-ws/version.txt +++ /dev/null @@ -1 +0,0 @@ -2.7.5 \ No newline at end of file diff --git a/2.x/okhttp/META-INF/MANIFEST.MF b/2.x/okhttp/META-INF/MANIFEST.MF deleted file mode 100644 index aaa8bf6f7..000000000 --- a/2.x/okhttp/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_45 - diff --git a/2.x/okhttp/allclasses-frame.html b/2.x/okhttp/allclasses-frame.html deleted file mode 100644 index 8a38751e4..000000000 --- a/2.x/okhttp/allclasses-frame.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - -All Classes (OkHttp 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/okhttp/allclasses-noframe.html b/2.x/okhttp/allclasses-noframe.html deleted file mode 100644 index 99f68f2f6..000000000 --- a/2.x/okhttp/allclasses-noframe.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - -All Classes (OkHttp 2.7.5 API) - - - - - -

All Classes

- - - diff --git a/2.x/okhttp/com/squareup/okhttp/Address.html b/2.x/okhttp/com/squareup/okhttp/Address.html deleted file mode 100644 index c2f3a4751..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Address.html +++ /dev/null @@ -1,542 +0,0 @@ - - - - - - - -Address (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Address

-
-
- -
-
    -
  • -
    -
    -
    public final class Address
    -extends Object
    -
    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 - no proxy is explicitly requested), this also includes - that proxy information. For secure connections the address also includes the - SSL socket factory, hostname verifier, and certificate pinner. - -

    HTTP requests that share the same Address may also share the same - Connection.

    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        url

        -
        public HttpUrl url()
        -
        Returns a URL with the hostname and port of the origin server. The path, query, and fragment of - this URL are always empty, since they are not significant for planning a route.
        -
      • -
      - - - -
        -
      • -

        getUriHost

        -
        @Deprecated
        -public String getUriHost()
        -
        Deprecated. prefer address.url().host().
        -
        Returns the hostname of the origin server.
        -
      • -
      - - - -
        -
      • -

        getUriPort

        -
        @Deprecated
        -public int getUriPort()
        -
        Deprecated. prefer address.url().port().
        -
        Returns the port of the origin server; typically 80 or 443. Unlike - may getPort() accessors, this method never returns -1.
        -
      • -
      - - - -
        -
      • -

        getDns

        -
        public Dns getDns()
        -
        Returns the service that will be used to resolve IP addresses for hostnames.
        -
      • -
      - - - -
        -
      • -

        getSocketFactory

        -
        public SocketFactory getSocketFactory()
        -
        Returns the socket factory for new connections.
        -
      • -
      - - - -
        -
      • -

        getAuthenticator

        -
        public Authenticator getAuthenticator()
        -
        Returns the client's authenticator.
        -
      • -
      - - - -
        -
      • -

        getProtocols

        -
        public List<Protocol> getProtocols()
        -
        Returns the protocols the client supports. This method always returns a - non-null list that contains minimally Protocol.HTTP_1_1.
        -
      • -
      - - - - - - - -
        -
      • -

        getProxySelector

        -
        public ProxySelector getProxySelector()
        -
        Returns this address's proxy selector. Only used if the proxy is null. If none of this - selector's proxies are reachable, a direct connection will be attempted.
        -
      • -
      - - - -
        -
      • -

        getProxy

        -
        public Proxy getProxy()
        -
        Returns this address's explicitly-specified HTTP proxy, or null to - delegate to the proxy selector.
        -
      • -
      - - - -
        -
      • -

        getSslSocketFactory

        -
        public SSLSocketFactory getSslSocketFactory()
        -
        Returns the SSL socket factory, or null if this is not an HTTPS address.
        -
      • -
      - - - -
        -
      • -

        getHostnameVerifier

        -
        public HostnameVerifier getHostnameVerifier()
        -
        Returns the hostname verifier, or null if this is not an HTTPS address.
        -
      • -
      - - - -
        -
      • -

        getCertificatePinner

        -
        public CertificatePinner getCertificatePinner()
        -
        Returns this address's certificate pinner, or null if this is not an HTTPS address.
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(Object other)
        -
        -
        Overrides:
        -
        equals in class Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Authenticator.html b/2.x/okhttp/com/squareup/okhttp/Authenticator.html deleted file mode 100644 index a5ff6f778..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Authenticator.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - - -Authenticator (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Interface Authenticator

-
-
-
-
    -
  • -
    -
    -
    public interface Authenticator
    -
    Responds to authentication challenges from the remote web or proxy server.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        authenticate

        -
        Request authenticate(Proxy proxy,
        -                     Response response)
        -              throws IOException
        -
        Returns a request that includes a credential to satisfy an authentication - challenge in response. 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. - -

        Typical implementations will look up a credential and create a request - derived from the initial request by setting the "Authorization" header. -

           
        -
        -    String credential = Credentials.basic(...)
        -    return response.request().newBuilder()
        -        .header("Authorization", credential)
        -        .build();
        - 
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        authenticateProxy

        -
        Request authenticateProxy(Proxy proxy,
        -                          Response response)
        -                   throws IOException
        -
        Returns a request that includes a credential to satisfy an authentication - challenge made by response. Returns null if the challenge cannot be - satisfied. This method is called in response to an HTTP 407 unauthorized - status code sent by the proxy server. - -

        Typical implementations will look up a credential and create a request - derived from the initial request by setting the "Proxy-Authorization" - header.

           
        -
        -    String credential = Credentials.basic(...)
        -    return response.request().newBuilder()
        -        .header("Proxy-Authorization", credential)
        -        .build();
        - 
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Cache.html b/2.x/okhttp/com/squareup/okhttp/Cache.html deleted file mode 100644 index 37192c03c..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Cache.html +++ /dev/null @@ -1,599 +0,0 @@ - - - - - - - -Cache (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Cache

-
-
- -
-
    -
  • -
    -
    -
    public final class Cache
    -extends Object
    -
    Caches HTTP and HTTPS responses to the filesystem so they may be reused, saving time and - bandwidth. - -

    Cache Optimization

    - To measure cache effectiveness, this class tracks three statistics: -
      -
    • Request Count: the number of HTTP - requests issued since this cache was created. -
    • Network Count: the number of those - requests that required network use. -
    • Hit Count: the number of those requests whose - responses were served by the cache. -
    - - 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 GET. 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. - -

    The best way to improve the cache hit rate is by configuring the web server to return - cacheable responses. Although this client honors all HTTP/1.1 (RFC 7234) cache headers, it doesn't cache - partial responses. - -

    Force a Network Response

    - 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 no-cache directive:
       
    -
    -   Request request = new Request.Builder()
    -       .cacheControl(new CacheControl.Builder().noCache().build())
    -       .url("http://publicobject.com/helloworld.txt")
    -       .build();
    - 
    - - If it is only necessary to force a cached response to be validated by the server, use the more - efficient max-age=0 directive instead:
       
    -
    -   Request request = new Request.Builder()
    -       .cacheControl(new CacheControl.Builder()
    -           .maxAge(0, TimeUnit.SECONDS)
    -           .build())
    -       .url("http://publicobject.com/helloworld.txt")
    -       .build();
    - 
    - -

    Force a Cache Response

    - Sometimes you'll want to show resources if they are available immediately, but not otherwise. - This can be used so your application can show something while waiting for the latest data - to be downloaded. To restrict a request to locally-cached resources, add the only-if-cached directive:
       
    -
    -     Request request = new Request.Builder()
    -         .cacheControl(new CacheControl.Builder()
    -             .onlyIfCached()
    -             .build())
    -         .url("http://publicobject.com/helloworld.txt")
    -         .build();
    -     Response forceCacheResponse = client.newCall(request).execute();
    -     if (forceCacheResponse.code() != 504) {
    -       // The resource was cached! Show it.
    -     } else {
    -       // The resource was not cached.
    -     }
    - 
    - This technique works even better in situations where a stale response is better than no response. - To permit stale cached responses, use the max-stale directive with the maximum staleness - in seconds:
       
    -
    -   Request request = new Request.Builder()
    -       .cacheControl(new CacheControl.Builder()
    -           .maxStale(365, TimeUnit.DAYS)
    -           .build())
    -       .url("http://publicobject.com/helloworld.txt")
    -       .build();
    - 
    - -

    The CacheControl class can configure request caching directives and parse response - caching directives. It even offers convenient constants CacheControl.FORCE_NETWORK and - CacheControl.FORCE_CACHE that address the use cases above.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Cache

        -
        public Cache(File directory,
        -             long maxSize)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initialize

        -
        public void initialize()
        -                throws IOException
        -
        Initialize the cache. This will include reading the journal files from - the storage and building up the necessary in-memory cache information. -

        - The initialization time may vary depending on the journal file size and - the current actual cache size. The application needs to be aware of calling - this function during the initialization phase and preferably in a background - worker thread. -

        - Note that if the application chooses to not call this method to initialize - the cache. By default, the okhttp will perform lazy initialization upon the - first usage of the cache.

        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        delete

        -
        public void delete()
        -            throws IOException
        -
        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.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        evictAll

        -
        public void evictAll()
        -              throws IOException
        -
        Deletes all values stored in the cache. In-flight writes to the cache will - complete normally, but the corresponding responses will not be stored.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        urls

        -
        public Iterator<String> urls()
        -                      throws IOException
        -
        Returns an iterator over the URLs in this cache. This iterator doesn't throw ConcurrentModificationException, but if new responses are added while iterating, their URLs - will not be returned. If existing responses are evicted during iteration, they will be absent - (unless they were already returned). - -

        The iterator supports Iterator.remove(). Removing a URL from the iterator evicts - the corresponding response from the cache. Use this to evict selected responses.

        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        getWriteAbortCount

        -
        public int getWriteAbortCount()
        -
      • -
      - - - -
        -
      • -

        getWriteSuccessCount

        -
        public int getWriteSuccessCount()
        -
      • -
      - - - - - - - -
        -
      • -

        getMaxSize

        -
        public long getMaxSize()
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        getDirectory

        -
        public File getDirectory()
        -
      • -
      - - - -
        -
      • -

        isClosed

        -
        public boolean isClosed()
        -
      • -
      - - - -
        -
      • -

        getNetworkCount

        -
        public int getNetworkCount()
        -
      • -
      - - - -
        -
      • -

        getHitCount

        -
        public int getHitCount()
        -
      • -
      - - - -
        -
      • -

        getRequestCount

        -
        public int getRequestCount()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/CacheControl.Builder.html b/2.x/okhttp/com/squareup/okhttp/CacheControl.Builder.html deleted file mode 100644 index 83e89f8b5..000000000 --- a/2.x/okhttp/com/squareup/okhttp/CacheControl.Builder.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - - -CacheControl.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class CacheControl.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    CacheControl
    -
    -
    -
    -
    public static final class CacheControl.Builder
    -extends Object
    -
    Builds a Cache-Control request header.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Builder

        -
        public Builder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        noCache

        -
        public CacheControl.Builder noCache()
        -
        Don't accept an unvalidated cached response.
        -
      • -
      - - - -
        -
      • -

        noStore

        -
        public CacheControl.Builder noStore()
        -
        Don't store the server's response in any cache.
        -
      • -
      - - - -
        -
      • -

        maxAge

        -
        public CacheControl.Builder maxAge(int maxAge,
        -                                   TimeUnit timeUnit)
        -
        Sets the maximum age of a cached response. If the cache response's age - exceeds maxAge, it will not be used and a network request will - be made.
        -
        -
        Parameters:
        -
        maxAge - a non-negative integer. This is stored and transmitted with - TimeUnit.SECONDS precision; finer precision will be lost.
        -
        -
      • -
      - - - -
        -
      • -

        maxStale

        -
        public CacheControl.Builder maxStale(int maxStale,
        -                                     TimeUnit timeUnit)
        -
        Accept cached responses that have exceeded their freshness lifetime by - up to maxStale. If unspecified, stale cache responses will not be - used.
        -
        -
        Parameters:
        -
        maxStale - a non-negative integer. This is stored and transmitted - with TimeUnit.SECONDS precision; finer precision will be - lost.
        -
        -
      • -
      - - - -
        -
      • -

        minFresh

        -
        public CacheControl.Builder minFresh(int minFresh,
        -                                     TimeUnit timeUnit)
        -
        Sets the minimum number of seconds that a response will continue to be - fresh for. If the response will be stale when minFresh have - elapsed, the cached response will not be used and a network request will - be made.
        -
        -
        Parameters:
        -
        minFresh - a non-negative integer. This is stored and transmitted - with TimeUnit.SECONDS precision; finer precision will be - lost.
        -
        -
      • -
      - - - -
        -
      • -

        onlyIfCached

        -
        public CacheControl.Builder onlyIfCached()
        -
        Only accept the response if it is in the cache. If the response isn't - cached, a 504 Unsatisfiable Request response will be returned.
        -
      • -
      - - - -
        -
      • -

        noTransform

        -
        public CacheControl.Builder noTransform()
        -
        Don't accept a transformed response.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/CacheControl.html b/2.x/okhttp/com/squareup/okhttp/CacheControl.html deleted file mode 100644 index 3bf17a5f6..000000000 --- a/2.x/okhttp/com/squareup/okhttp/CacheControl.html +++ /dev/null @@ -1,519 +0,0 @@ - - - - - - - -CacheControl (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class CacheControl

-
-
- -
-
    -
  • -
    -
    -
    public final class CacheControl
    -extends Object
    -
    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. - -

    See RFC - 2616, 14.9.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        FORCE_NETWORK

        -
        public static final CacheControl FORCE_NETWORK
        -
        Cache control request directives that require network validation of - responses. Note that such requests may be assisted by the cache via - conditional GET requests.
        -
      • -
      - - - -
        -
      • -

        FORCE_CACHE

        -
        public static final CacheControl FORCE_CACHE
        -
        Cache control request directives that uses the cache only, even if the - cached response is stale. If the response isn't available in the cache or - requires server validation, the call will fail with a 504 - Unsatisfiable Request.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        noCache

        -
        public boolean noCache()
        -
        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. - -

        In a request, it means do not use a cache to satisfy the request.

        -
      • -
      - - - -
        -
      • -

        noStore

        -
        public boolean noStore()
        -
        If true, this response should not be cached.
        -
      • -
      - - - -
        -
      • -

        maxAgeSeconds

        -
        public int maxAgeSeconds()
        -
        The duration past the response's served date that it can be served without - validation.
        -
      • -
      - - - -
        -
      • -

        sMaxAgeSeconds

        -
        public int sMaxAgeSeconds()
        -
        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.
        -
      • -
      - - - -
        -
      • -

        isPrivate

        -
        public boolean isPrivate()
        -
      • -
      - - - -
        -
      • -

        isPublic

        -
        public boolean isPublic()
        -
      • -
      - - - -
        -
      • -

        mustRevalidate

        -
        public boolean mustRevalidate()
        -
      • -
      - - - -
        -
      • -

        maxStaleSeconds

        -
        public int maxStaleSeconds()
        -
      • -
      - - - -
        -
      • -

        minFreshSeconds

        -
        public int minFreshSeconds()
        -
      • -
      - - - -
        -
      • -

        onlyIfCached

        -
        public boolean onlyIfCached()
        -
        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.
        -
      • -
      - - - -
        -
      • -

        noTransform

        -
        public boolean noTransform()
        -
      • -
      - - - -
        -
      • -

        parse

        -
        public static CacheControl parse(Headers headers)
        -
        Returns the cache directives of headers. This honors both - Cache-Control and Pragma headers if they are present.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Call.html b/2.x/okhttp/com/squareup/okhttp/Call.html deleted file mode 100644 index a7a71381b..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Call.html +++ /dev/null @@ -1,376 +0,0 @@ - - - - - - - -Call (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Call

-
-
- -
-
    -
  • -
    -
    -
    public class Call
    -extends Object
    -
    A call is a request that has been prepared for execution. A call can be - canceled. As this object represents a single request/response pair (stream), - it cannot be executed twice.
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        execute

        -
        public Response execute()
        -                 throws IOException
        -
        Invokes the request immediately, and blocks until the response can be - processed or is in error. - -

        The caller may read the response body with the response's - Response.body method. To facilitate connection recycling, callers - should always close the response body. - -

        Note that transport-layer success (receiving a HTTP response code, - headers and body) does not necessarily indicate application-layer success: - response may still indicate an unhappy HTTP response code like 404 - or 500.

        -
        -
        Throws:
        -
        IOException - if the request could not be executed due to - cancellation, a connectivity problem or timeout. Because networks can - fail during an exchange, it is possible that the remote server - accepted the request before the failure.
        -
        IllegalStateException - when the call has already been executed.
        -
        -
      • -
      - - - -
        -
      • -

        enqueue

        -
        public void enqueue(Callback responseCallback)
        -
        Schedules the request to be executed at some point in the future. - -

        The dispatcher defines when the - request will run: usually immediately unless there are several other - requests currently being executed. - -

        This client will later call back responseCallback with either - an HTTP response or a failure exception. If you cancel() a request - before it completes the callback will not be invoked.

        -
        -
        Throws:
        -
        IllegalStateException - when the call has already been executed.
        -
        -
      • -
      - - - -
        -
      • -

        cancel

        -
        public void cancel()
        -
        Cancels the request, if possible. Requests that are already complete - cannot be canceled.
        -
      • -
      - - - -
        -
      • -

        isExecuted

        -
        public boolean isExecuted()
        -
        Returns true if this call has been either executed or enqueued. It is an error to execute a call more than once.
        -
      • -
      - - - -
        -
      • -

        isCanceled

        -
        public boolean isCanceled()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Callback.html b/2.x/okhttp/com/squareup/okhttp/Callback.html deleted file mode 100644 index f2cd79995..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Callback.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - -Callback (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Interface Callback

-
-
-
-
    -
  • -
    -
    -
    public interface Callback
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidonFailure(Request request, - IOException e) -
      Called when the request could not be executed due to cancellation, a - connectivity problem or timeout.
      -
      voidonResponse(Response response) -
      Called when the HTTP response was successfully returned by the remote - server.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onFailure

        -
        void onFailure(Request request,
        -               IOException e)
        -
        Called when the request could not be executed due to cancellation, a - connectivity problem or timeout. Because networks can fail during an - exchange, it is possible that the remote server accepted the request - before the failure.
        -
      • -
      - - - -
        -
      • -

        onResponse

        -
        void onResponse(Response response)
        -         throws IOException
        -
        Called when the HTTP response was successfully returned by the remote - server. The callback may proceed to read the response body with Response.body. The response is still live until its response body is - closed with response.body().close(). The recipient of the callback - may even consume the response body on another thread. - -

        Note that transport-layer success (receiving a HTTP response code, - headers and body) does not necessarily indicate application-layer - success: response may still indicate an unhappy HTTP response - code like 404 or 500.

        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/CertificatePinner.Builder.html b/2.x/okhttp/com/squareup/okhttp/CertificatePinner.Builder.html deleted file mode 100644 index c35497d69..000000000 --- a/2.x/okhttp/com/squareup/okhttp/CertificatePinner.Builder.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - - -CertificatePinner.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class CertificatePinner.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    CertificatePinner
    -
    -
    -
    -
    public static final class CertificatePinner.Builder
    -extends Object
    -
    Builds a configured certificate pinner.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Builder

        -
        public Builder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        add

        -
        public CertificatePinner.Builder add(String hostname,
        -                                     String... pins)
        -
        Pins certificates for hostname.
        -
        -
        Parameters:
        -
        hostname - lower-case host name or wildcard pattern such as *.example.com.
        -
        pins - SHA-1 hashes. Each pin is a SHA-1 hash of a - certificate's Subject Public Key Info, base64-encoded and prefixed with - sha1/.
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/CertificatePinner.html b/2.x/okhttp/com/squareup/okhttp/CertificatePinner.html deleted file mode 100644 index 429660597..000000000 --- a/2.x/okhttp/com/squareup/okhttp/CertificatePinner.html +++ /dev/null @@ -1,453 +0,0 @@ - - - - - - - -CertificatePinner (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class CertificatePinner

-
-
- -
-
    -
  • -
    -
    -
    public final class CertificatePinner
    -extends Object
    -
    Constrains which certificates are trusted. Pinning certificates defends - against attacks on certificate authorities. It also prevents connections - through man-in-the-middle certificate authorities either known or unknown to - the application's user. - -

    This class currently pins a certificate's Subject Public Key Info as - described on Adam Langley's Weblog. Pins - are base-64 SHA-1 hashes, consistent with the format Chromium uses for static certificates. See Chromium's pinsets for hostnames that are pinned in that - browser. - -

    Setting up Certificate Pinning

    - The easiest way to pin a host is turn on pinning with a broken configuration - and read the expected configuration when the connection fails. Be sure to - do this on a trusted network, and without man-in-the-middle tools like Charles or Fiddler. - -

    For example, to pin https://publicobject.com, start with a broken - configuration:

       
    -
    -     String hostname = "publicobject.com";
    -     CertificatePinner certificatePinner = new CertificatePinner.Builder()
    -         .add(hostname, "sha1/AAAAAAAAAAAAAAAAAAAAAAAAAAA=")
    -         .build();
    -     OkHttpClient client = new OkHttpClient();
    -     client.setCertificatePinner(certificatePinner);
    -
    -     Request request = new Request.Builder()
    -         .url("https://" + hostname)
    -         .build();
    -     client.newCall(request).execute();
    - 
    - - As expected, this fails with a certificate pinning exception:
       
    -
    - javax.net.ssl.SSLPeerUnverifiedException: Certificate pinning failure!
    -   Peer certificate chain:
    -     sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=: CN=publicobject.com, OU=PositiveSSL
    -     sha1/SXxoaOSEzPC6BgGmxAt/EAcsajw=: CN=COMODO RSA Domain Validation Secure Server CA
    -     sha1/blhOM3W9V/bVQhsWAcLYwPU6n24=: CN=COMODO RSA Certification Authority
    -     sha1/T5x9IXmcrQ7YuQxXnxoCmeeQ84c=: CN=AddTrust External CA Root
    -   Pinned certificates for publicobject.com:
    -     sha1/AAAAAAAAAAAAAAAAAAAAAAAAAAA=
    -   at com.squareup.okhttp.CertificatePinner.check(CertificatePinner.java)
    -   at com.squareup.okhttp.Connection.upgradeToTls(Connection.java)
    -   at com.squareup.okhttp.Connection.connect(Connection.java)
    -   at com.squareup.okhttp.Connection.connectAndSetOwner(Connection.java)
    - 
    - - Follow up by pasting the public key hashes from the exception into the - certificate pinner's configuration:
       
    -
    -     CertificatePinner certificatePinner = new CertificatePinner.Builder()
    -       .add("publicobject.com", "sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=")
    -       .add("publicobject.com", "sha1/SXxoaOSEzPC6BgGmxAt/EAcsajw=")
    -       .add("publicobject.com", "sha1/blhOM3W9V/bVQhsWAcLYwPU6n24=")
    -       .add("publicobject.com", "sha1/T5x9IXmcrQ7YuQxXnxoCmeeQ84c=")
    -       .build();
    - 
    - - Pinning is per-hostname and/or per-wildcard pattern. To pin both - publicobject.com and www.publicobject.com, you must - configure both hostnames. - -

    Wildcard pattern rules: -

      -
    1. Asterisk * is only permitted in the left-most - domain name label and must be the only character in that label - (i.e., must match the whole left-most label). For example, - *.example.com is permitted, while *a.example.com, - a*.example.com, a*b.example.com, a.*.example.com - are not permitted. -
    2. Asterisk * cannot match across domain name labels. - For example, *.example.com matches test.example.com - but does not match sub.test.example.com. -
    3. Wildcard patterns for single-label domain names are not permitted. -
    - - If hostname pinned directly and via wildcard pattern, both - direct and wildcard pins will be used. For example: *.example.com pinned - with pin1 and a.example.com pinned with pin2, - to check a.example.com both pin1 and pin2 will be used. - -

    Warning: Certificate Pinning is Dangerous!

    - Pinning certificates limits your server team's abilities to update their TLS - certificates. By pinning certificates, you take on additional operational - complexity and limit your ability to migrate between certificate authorities. - Do not use certificate pinning without the blessing of your server's TLS - administrator! - -

    Note about self-signed certificates

    - CertificatePinner can not be used to pin self-signed certificate - if such certificate is not accepted by TrustManager.
    -
    -
    See Also:
    -
    - OWASP: Certificate and Public Key Pinning
    -
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Challenge.html b/2.x/okhttp/com/squareup/okhttp/Challenge.html deleted file mode 100644 index 3b9b098ea..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Challenge.html +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - - -Challenge (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Challenge

-
-
- -
-
    -
  • -
    -
    -
    public final class Challenge
    -extends Object
    -
    An RFC 2617 challenge.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Challenge

        -
        public Challenge(String scheme,
        -                 String realm)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getScheme

        -
        public String getScheme()
        -
        Returns the authentication scheme, like Basic.
        -
      • -
      - - - -
        -
      • -

        getRealm

        -
        public String getRealm()
        -
        Returns the protection space.
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(Object o)
        -
        -
        Overrides:
        -
        equals in class Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/CipherSuite.html b/2.x/okhttp/com/squareup/okhttp/CipherSuite.html deleted file mode 100644 index 31f916d2f..000000000 --- a/2.x/okhttp/com/squareup/okhttp/CipherSuite.html +++ /dev/null @@ -1,1493 +0,0 @@ - - - - - - - -CipherSuite (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Enum CipherSuite

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Serializable, Comparable<CipherSuite>
    -
    -
    -
    -
    public enum CipherSuite
    -extends Enum<CipherSuite>
    -
    TLS cipher - suites. - -

    Not all cipher suites are supported on all platforms. As newer cipher suites - are created (for stronger privacy, better performance, etc.) they will be adopted by the platform - and then exposed here. Cipher suites that are not available on either Android (through API level - 20) or Java (through JDK 8) are omitted for brevity. - -

    See also NativeCrypto.java - from conscrypt, which lists the cipher suites supported by Android.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        TLS_RSA_WITH_NULL_MD5

        -
        public static final CipherSuite TLS_RSA_WITH_NULL_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_NULL_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_NULL_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_EXPORT_WITH_RC4_40_MD5

        -
        public static final CipherSuite TLS_RSA_EXPORT_WITH_RC4_40_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_RC4_128_MD5

        -
        public static final CipherSuite TLS_RSA_WITH_RC4_128_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_EXPORT_WITH_DES40_CBC_SHA

        -
        public static final CipherSuite TLS_RSA_EXPORT_WITH_DES40_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_DES_CBC_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_DES_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_DES_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_DES_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_DES_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_DES_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_EXPORT_WITH_RC4_40_MD5

        -
        public static final CipherSuite TLS_DH_anon_EXPORT_WITH_RC4_40_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_RC4_128_MD5

        -
        public static final CipherSuite TLS_DH_anon_WITH_RC4_128_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA

        -
        public static final CipherSuite TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_DES_CBC_SHA

        -
        public static final CipherSuite TLS_DH_anon_WITH_DES_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_DH_anon_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_WITH_DES_CBC_SHA

        -
        public static final CipherSuite TLS_KRB5_WITH_DES_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_KRB5_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_KRB5_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_WITH_DES_CBC_MD5

        -
        public static final CipherSuite TLS_KRB5_WITH_DES_CBC_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_WITH_3DES_EDE_CBC_MD5

        -
        public static final CipherSuite TLS_KRB5_WITH_3DES_EDE_CBC_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_WITH_RC4_128_MD5

        -
        public static final CipherSuite TLS_KRB5_WITH_RC4_128_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA

        -
        public static final CipherSuite TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_EXPORT_WITH_RC4_40_SHA

        -
        public static final CipherSuite TLS_KRB5_EXPORT_WITH_RC4_40_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5

        -
        public static final CipherSuite TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_EXPORT_WITH_RC4_40_MD5

        -
        public static final CipherSuite TLS_KRB5_EXPORT_WITH_RC4_40_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_DH_anon_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_DH_anon_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_NULL_SHA256

        -
        public static final CipherSuite TLS_RSA_WITH_NULL_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_AES_256_CBC_SHA256

        -
        public static final CipherSuite TLS_RSA_WITH_AES_256_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_AES_256_CBC_SHA256

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_AES_256_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_AES_256_CBC_SHA256

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_AES_256_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_DH_anon_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_AES_256_CBC_SHA256

        -
        public static final CipherSuite TLS_DH_anon_WITH_AES_256_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_RSA_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_RSA_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_DH_anon_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_DH_anon_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_EMPTY_RENEGOTIATION_INFO_SCSV

        -
        public static final CipherSuite TLS_EMPTY_RENEGOTIATION_INFO_SCSV
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_NULL_SHA

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_NULL_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_NULL_SHA

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_NULL_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_NULL_SHA

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_NULL_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_NULL_SHA

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_NULL_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_anon_WITH_NULL_SHA

        -
        public static final CipherSuite TLS_ECDH_anon_WITH_NULL_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_anon_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_ECDH_anon_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_anon_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_anon_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_anon_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_anon_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static CipherSuite[] values()
        -
        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: -
        -for (CipherSuite c : CipherSuite.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static CipherSuite valueOf(String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant with the specified name
        -
        NullPointerException - if the argument is null
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Connection.html b/2.x/okhttp/com/squareup/okhttp/Connection.html deleted file mode 100644 index 83f98f47a..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Connection.html +++ /dev/null @@ -1,318 +0,0 @@ - - - - - - - -Connection (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Interface Connection

-
-
-
-
    -
  • -
    -
    -
    public interface Connection
    -
    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. - -

    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 - connection pool. - -

    Do not confuse this class with the misnamed HttpURLConnection, which isn't so much a - connection as a single request/response exchange. - -

    Modern TLS

    - There are tradeoffs when selecting which options to include when negotiating a secure connection - to a remote host. Newer TLS options are quite useful: -
      -
    • Server Name Indication (SNI) enables one IP address to negotiate secure connections for - multiple domain names. -
    • Application Layer Protocol Negotiation (ALPN) enables the HTTPS port (443) to be used for - different HTTP and SPDY protocols. -
    - 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. - -

    Connection Reuse

    -

    Each connection can carry a varying number streams, depending on the underlying protocol being - used. HTTP/1.x connections can carry either zero or one streams. HTTP/2 connections can carry any - number of streams, dynamically configured with SETTINGS_MAX_CONCURRENT_STREAMS. A - connection currently carrying zero streams is an idle stream. We keep it alive because reusing an - existing connection is typically faster than establishing a new one. - -

    When a single logical call requires multiple streams due to redirects or authorization - challenges, we prefer to use the same physical connection for all streams in the sequence. There - are potential performance and behavior consequences to this preference. To support this feature, - this class separates allocations from streams. An allocation is created by a call, - used for one or more streams, and then released. An allocated connection won't be stolen by - other calls while a redirect or authorization challenge is being handled. - -

    When the maximum concurrent streams limit is reduced, some allocations will be rescinded. - Attempting to create new streams on these allocations will fail. - -

    Note that an allocation may be released before its stream is completed. This is intended to - make bookkeeping easier for the caller: releasing the allocation as soon as the terminal stream - has been found. But only complete the stream once its data stream has been exhausted.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRoute

        -
        Route getRoute()
        -
        Returns the route used by this connection.
        -
      • -
      - - - -
        -
      • -

        getSocket

        -
        Socket getSocket()
        -
        Returns the socket that this connection uses, or null if the connection - is not currently connected.
        -
      • -
      - - - -
        -
      • -

        getHandshake

        -
        Handshake getHandshake()
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/ConnectionPool.html b/2.x/okhttp/com/squareup/okhttp/ConnectionPool.html deleted file mode 100644 index be09a59cf..000000000 --- a/2.x/okhttp/com/squareup/okhttp/ConnectionPool.html +++ /dev/null @@ -1,413 +0,0 @@ - - - - - - - -ConnectionPool (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class ConnectionPool

-
-
- -
-
    -
  • -
    -
    -
    public final class ConnectionPool
    -extends Object
    -
    Manages reuse of HTTP and SPDY connections for reduced network latency. HTTP - requests that share the same Address may share a - Connection. This class implements the policy of which connections to - keep open for future use. - -

    The system-wide default uses system properties for - tuning parameters: -

      -
    • http.keepAlive true if HTTP and SPDY connections should be - pooled at all. Default is true. -
    • http.maxConnections maximum number of idle connections to - each to keep in the pool. Default is 5. -
    • http.keepAliveDuration Time in milliseconds to keep the - connection alive in the pool before closing it. Default is 5 minutes. - This property isn't used by HttpURLConnection. -
    - -

    The default instance doesn't 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.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ConnectionPool

        -
        public ConnectionPool(int maxIdleConnections,
        -                      long keepAliveDurationMs)
        -
      • -
      - - - -
        -
      • -

        ConnectionPool

        -
        public ConnectionPool(int maxIdleConnections,
        -                      long keepAliveDuration,
        -                      TimeUnit timeUnit)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        getIdleConnectionCount

        -
        public int getIdleConnectionCount()
        -
        Returns the number of idle connections in the pool.
        -
      • -
      - - - -
        -
      • -

        getConnectionCount

        -
        public int getConnectionCount()
        -
        Returns total number of connections in the pool. Note that prior to OkHttp 2.7 this included - only idle connections and SPDY connections. In OkHttp 2.7 this includes all connections, both - active and inactive. Use getIdleConnectionCount() to count connections not currently - in use.
        -
      • -
      - - - - - - - -
        -
      • -

        getMultiplexedConnectionCount

        -
        public int getMultiplexedConnectionCount()
        -
        Returns total number of multiplexed connections in the pool.
        -
      • -
      - - - -
        -
      • -

        getHttpConnectionCount

        -
        public int getHttpConnectionCount()
        -
        Returns total number of http connections in the pool.
        -
      • -
      - - - -
        -
      • -

        evictAll

        -
        public void evictAll()
        -
        Close and remove all idle connections in the pool.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/ConnectionSpec.Builder.html b/2.x/okhttp/com/squareup/okhttp/ConnectionSpec.Builder.html deleted file mode 100644 index 6fd2b3b3b..000000000 --- a/2.x/okhttp/com/squareup/okhttp/ConnectionSpec.Builder.html +++ /dev/null @@ -1,367 +0,0 @@ - - - - - - - -ConnectionSpec.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class ConnectionSpec.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    ConnectionSpec
    -
    -
    -
    -
    public static final class ConnectionSpec.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/ConnectionSpec.html b/2.x/okhttp/com/squareup/okhttp/ConnectionSpec.html deleted file mode 100644 index 39d575af1..000000000 --- a/2.x/okhttp/com/squareup/okhttp/ConnectionSpec.html +++ /dev/null @@ -1,459 +0,0 @@ - - - - - - - -ConnectionSpec (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class ConnectionSpec

-
-
- -
-
    -
  • -
    -
    -
    public final class ConnectionSpec
    -extends Object
    -
    Specifies configuration for the socket connection that HTTP traffic travels through. For https: URLs, this includes the TLS version and cipher suites to use when negotiating a secure - connection. - -

    The TLS versions configured in a connection spec are only be used if they are also enabled in - the SSL socket. For example, if an SSL socket does not have TLS 1.2 enabled, it will not be used - even if it is present on the connection spec. The same policy also applies to cipher suites. - -

    Use ConnectionSpec.Builder.allEnabledTlsVersions() and ConnectionSpec.Builder.allEnabledCipherSuites() to - defer all feature selection to the underlying SSL socket.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        MODERN_TLS

        -
        public static final ConnectionSpec MODERN_TLS
        -
        A modern TLS connection with extensions like SNI and ALPN available.
        -
      • -
      - - - -
        -
      • -

        COMPATIBLE_TLS

        -
        public static final ConnectionSpec COMPATIBLE_TLS
        -
        A backwards-compatible fallback connection for interop with obsolete servers.
        -
      • -
      - - - -
        -
      • -

        CLEARTEXT

        -
        public static final ConnectionSpec CLEARTEXT
        -
        Unencrypted, unauthenticated connections for http: URLs.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isTls

        -
        public boolean isTls()
        -
      • -
      - - - -
        -
      • -

        cipherSuites

        -
        public List<CipherSuite> cipherSuites()
        -
        Returns the cipher suites to use for a connection. Returns null if all of the SSL - socket's enabled cipher suites should be used.
        -
      • -
      - - - -
        -
      • -

        tlsVersions

        -
        public List<TlsVersion> tlsVersions()
        -
        Returns the TLS versions to use when negotiating a connection. Returns null if all of - the SSL socket's enabled TLS versions should be used.
        -
      • -
      - - - -
        -
      • -

        supportsTlsExtensions

        -
        public boolean supportsTlsExtensions()
        -
      • -
      - - - -
        -
      • -

        isCompatible

        -
        public boolean isCompatible(SSLSocket socket)
        -
        Returns true if the socket, as currently configured, supports this connection spec. - In order for a socket to be compatible the enabled cipher suites and protocols must intersect. - -

        For cipher suites, at least one of the required cipher suites must - match the socket's enabled cipher suites. If there are no required cipher suites the socket - must have at least one cipher suite enabled. - -

        For protocols, at least one of the required protocols must match the - socket's enabled protocols.

        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(Object other)
        -
        -
        Overrides:
        -
        equals in class Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Credentials.html b/2.x/okhttp/com/squareup/okhttp/Credentials.html deleted file mode 100644 index 3ce178e8f..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Credentials.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - -Credentials (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Credentials

-
-
- -
-
    -
  • -
    -
    -
    public final class Credentials
    -extends Object
    -
    Factory for HTTP authorization credentials.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        basic

        -
        public static String basic(String userName,
        -                           String password)
        -
        Returns an auth credential for the Basic scheme.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Dispatcher.html b/2.x/okhttp/com/squareup/okhttp/Dispatcher.html deleted file mode 100644 index 70d09f056..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Dispatcher.html +++ /dev/null @@ -1,399 +0,0 @@ - - - - - - - -Dispatcher (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Dispatcher

-
-
- -
-
    -
  • -
    -
    -
    public final class Dispatcher
    -extends Object
    -
    Policy on when async requests are executed. - -

    Each dispatcher uses an ExecutorService to run calls internally. If you - supply your own executor, it should be able to run the - configured maximum number of calls concurrently.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - - - - - -
        -
      • -

        Dispatcher

        -
        public Dispatcher()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        setMaxRequests

        -
        public void setMaxRequests(int maxRequests)
        -
        Set the maximum number of requests to execute concurrently. Above this - requests queue in memory, waiting for the running calls to complete. - -

        If more than maxRequests requests are in flight when this is - invoked, those requests will remain in flight.

        -
      • -
      - - - -
        -
      • -

        getMaxRequests

        -
        public int getMaxRequests()
        -
      • -
      - - - -
        -
      • -

        setMaxRequestsPerHost

        -
        public void setMaxRequestsPerHost(int maxRequestsPerHost)
        -
        Set the maximum number of requests for each host to execute concurrently. - This limits requests by the URL's host name. Note that concurrent requests - to a single IP address may still exceed this limit: multiple hostnames may - share an IP address or be routed through the same HTTP proxy. - -

        If more than maxRequestsPerHost requests are in flight when this - is invoked, those requests will remain in flight.

        -
      • -
      - - - -
        -
      • -

        getMaxRequestsPerHost

        -
        public int getMaxRequestsPerHost()
        -
      • -
      - - - -
        -
      • -

        cancel

        -
        public void cancel(Object tag)
        -
        Cancel all calls with the tag tag.
        -
      • -
      - - - -
        -
      • -

        getRunningCallCount

        -
        public int getRunningCallCount()
        -
      • -
      - - - -
        -
      • -

        getQueuedCallCount

        -
        public int getQueuedCallCount()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Dns.html b/2.x/okhttp/com/squareup/okhttp/Dns.html deleted file mode 100644 index 0ae837b91..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Dns.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - - -Dns (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Interface Dns

-
-
-
-
    -
  • -
    -
    -
    public interface Dns
    -
    A domain name service that resolves IP addresses for host names. Most applications will use the - system DNS service, which is the default. Some applications may provide - their own implementation to use a different DNS server, to prefer IPv6 addresses, to prefer IPv4 - addresses, or to force a specific known IP address. - -

    Implementations of this interface must be safe for concurrent use.

    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        lookup

        -
        List<InetAddress> lookup(String hostname)
        -                  throws UnknownHostException
        -
        Returns the IP addresses of hostname, in the order they will be attempted by OkHttp. - If a connection to an address fails, OkHttp will retry the connection with the next address - until either a connection is made, the set of IP addresses is exhausted, or a limit is - exceeded.
        -
        -
        Throws:
        -
        UnknownHostException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/FormEncodingBuilder.html b/2.x/okhttp/com/squareup/okhttp/FormEncodingBuilder.html deleted file mode 100644 index 3801da682..000000000 --- a/2.x/okhttp/com/squareup/okhttp/FormEncodingBuilder.html +++ /dev/null @@ -1,309 +0,0 @@ - - - - - - -FormEncodingBuilder (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class FormEncodingBuilder

-
-
- -
-
    -
  • -
    -
    -
    public final class FormEncodingBuilder
    -extends Object
    -
    Fluent API to build HTML - 2.0-compliant form data.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Handshake.html b/2.x/okhttp/com/squareup/okhttp/Handshake.html deleted file mode 100644 index 6c5ca54ac..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Handshake.html +++ /dev/null @@ -1,373 +0,0 @@ - - - - - - - -Handshake (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Handshake

-
-
- -
-
    -
  • -
    -
    -
    public final class Handshake
    -extends Object
    -
    A record of a TLS handshake. For HTTPS clients, the client is local - and the remote server is its peer. - -

    This value object describes a completed handshake. Use SSLSocketFactory to set policy for new handshakes.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - -
        -
      • -

        cipherSuite

        -
        public String cipherSuite()
        -
        Returns a cipher suite name like "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA".
        -
      • -
      - - - -
        -
      • -

        peerCertificates

        -
        public List<Certificate> peerCertificates()
        -
        Returns a possibly-empty list of certificates that identify the remote peer.
        -
      • -
      - - - -
        -
      • -

        peerPrincipal

        -
        public Principal peerPrincipal()
        -
        Returns the remote peer's principle, or null if that peer is anonymous.
        -
      • -
      - - - -
        -
      • -

        localCertificates

        -
        public List<Certificate> localCertificates()
        -
        Returns a possibly-empty list of certificates that identify this peer.
        -
      • -
      - - - -
        -
      • -

        localPrincipal

        -
        public Principal localPrincipal()
        -
        Returns the local principle, or null if this peer is anonymous.
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(Object other)
        -
        -
        Overrides:
        -
        equals in class Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Headers.Builder.html b/2.x/okhttp/com/squareup/okhttp/Headers.Builder.html deleted file mode 100644 index 61358a335..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Headers.Builder.html +++ /dev/null @@ -1,358 +0,0 @@ - - - - - - - -Headers.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Headers.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    Headers
    -
    -
    -
    -
    public static final class Headers.Builder
    -extends Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Builder

        -
        public Builder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        add

        -
        public Headers.Builder add(String line)
        -
        Add an header line containing a field name, a literal colon, and a value.
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        set

        -
        public Headers.Builder set(String name,
        -                           String value)
        -
        Set a field with the specified value. If the field is not found, it is - added. If the field is found, the existing values are replaced.
        -
      • -
      - - - -
        -
      • -

        get

        -
        public String get(String name)
        -
        Equivalent to build().get(name), but potentially faster.
        -
      • -
      - - - -
        -
      • -

        build

        -
        public Headers build()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Headers.html b/2.x/okhttp/com/squareup/okhttp/Headers.html deleted file mode 100644 index 2a2f6086c..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Headers.html +++ /dev/null @@ -1,453 +0,0 @@ - - - - - - - -Headers (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Headers

-
-
- -
-
    -
  • -
    -
    -
    public final class Headers
    -extends Object
    -
    The header fields of a single HTTP message. Values are uninterpreted strings; - use Request and Response for interpreted headers. This class - maintains the order of the header fields within the HTTP message. - -

    This class tracks header values line-by-line. A field with multiple comma- - separated values on the same line will be treated as a field with a single - value by this class. It is the caller's responsibility to detect and split - on commas if their field permits multiple values. This simplifies use of - single-valued fields whose values routinely contain commas, such as cookies - or dates. - -

    This class trims whitespace from values. It never returns values with - leading or trailing whitespace. - -

    Instances of this class are immutable. Use Headers.Builder to create - instances.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        get

        -
        public String get(String name)
        -
        Returns the last value corresponding to the specified field, or null.
        -
      • -
      - - - -
        -
      • -

        getDate

        -
        public Date getDate(String name)
        -
        Returns the last value corresponding to the specified field parsed as an - HTTP date, or null if either the field is absent or cannot be parsed as a - date.
        -
      • -
      - - - -
        -
      • -

        size

        -
        public int size()
        -
        Returns the number of field values.
        -
      • -
      - - - -
        -
      • -

        name

        -
        public String name(int index)
        -
        Returns the field at position or null if that is out of range.
        -
      • -
      - - - -
        -
      • -

        value

        -
        public String value(int index)
        -
        Returns the value at index or null if that is out of range.
        -
      • -
      - - - -
        -
      • -

        names

        -
        public Set<String> names()
        -
        Returns an immutable case-insensitive set of header names.
        -
      • -
      - - - -
        -
      • -

        values

        -
        public List<String> values(String name)
        -
        Returns an immutable list of the header values for name.
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        of

        -
        public static Headers of(String... namesAndValues)
        -
        Returns headers for the alternating header names and values. There must be - an even number of arguments, and they must alternate between header names - and values.
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static Headers of(Map<String,String> headers)
        -
        Returns headers for the header names and values in the Map.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/HttpUrl.Builder.html b/2.x/okhttp/com/squareup/okhttp/HttpUrl.Builder.html deleted file mode 100644 index 9ea083fb3..000000000 --- a/2.x/okhttp/com/squareup/okhttp/HttpUrl.Builder.html +++ /dev/null @@ -1,615 +0,0 @@ - - - - - - - -HttpUrl.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class HttpUrl.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    HttpUrl
    -
    -
    -
    -
    public static final class HttpUrl.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/HttpUrl.html b/2.x/okhttp/com/squareup/okhttp/HttpUrl.html deleted file mode 100644 index b5180bf4d..000000000 --- a/2.x/okhttp/com/squareup/okhttp/HttpUrl.html +++ /dev/null @@ -1,971 +0,0 @@ - - - - - - - -HttpUrl (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class HttpUrl

-
-
- -
-
    -
  • -
    -
    -
    public final class HttpUrl
    -extends Object
    -
    A uniform resource locator (URL) with a scheme of either http or https. Use this - class to compose and decompose Internet addresses. For example, this code will compose and print - a URL for Google search:
       
    -
    -   HttpUrl url = new HttpUrl.Builder()
    -       .scheme("https")
    -       .host("www.google.com")
    -       .addPathSegment("search")
    -       .addQueryParameter("q", "polar bears")
    -       .build();
    -   System.out.println(url);
    - 
    - - which prints:
       
    -
    -     https://www.google.com/search?q=polar%20bears
    - 
    - - As another example, this code prints the human-readable query parameters of a Twitter search: -
       
    -
    -   HttpUrl url = HttpUrl.parse("https://twitter.com/search?q=cute%20%23puppies&f=images");
    -   for (int i = 0, size = url.querySize(); i < size; i++) {
    -     System.out.println(url.queryParameterName(i) + ": " + url.queryParameterValue(i));
    -   }
    - 
    - - which prints:
       
    -
    -   q: cute #puppies
    -   f: images
    - 
    - - In addition to composing URLs from their component parts and decomposing URLs into their - component parts, this class implements relative URL resolution: what address you'd reach by - clicking a relative link on a specified page. For example:
       
    -
    -   HttpUrl base = HttpUrl.parse("https://www.youtube.com/user/WatchTheDaily/videos");
    -   HttpUrl link = base.resolve("../../watch?v=cbP2N1BQdYc");
    -   System.out.println(link);
    - 
    - - which prints:
       
    -
    -   https://www.youtube.com/watch?v=cbP2N1BQdYc
    - 
    - -

    What's in a URL?

    - - A URL has several components. - -

    Scheme

    - Sometimes referred to as protocol, A URL's scheme describes what mechanism should be used - to retrieve the resource. Although URLs have many schemes (mailto, file, ftp), this class only supports http and https. Use java.net.URI for - URLs with arbitrary schemes. - -

    Username and Password

    - Username and password are either present, or the empty string "" if absent. This class - offers no mechanism to differentiate empty from absent. Neither of these components are popular - in practice. Typically HTTP applications use other mechanisms for user identification and - authentication. - -

    Host

    - The host identifies the webserver that serves the URL's resource. It is either a hostname like - square.com or localhost, an IPv4 address like 192.168.0.1, or an IPv6 - address like ::1. - -

    Usually a webserver is reachable with multiple identifiers: its IP addresses, registered - domain names, and even localhost when connecting from the server itself. Each of a - webserver's names is a distinct URL and they are not interchangeable. For example, even if - http://square.github.io/dagger and http://google.github.io/dagger are served by - the same IP address, the two URLs identify different resources. - -

    Port

    - The port used to connect to the webserver. By default this is 80 for HTTP and 443 for HTTPS. This - class never returns -1 for the port: if no port is explicitly specified in the URL then the - scheme's default is used. - -

    Path

    - The path identifies a specific resource on the host. Paths have a hierarchical structure like - "/square/okhttp/issues/1486". Each path segment is prefixed with "/". This class offers methods - to compose and decompose paths by segment. If a path's last segment is the empty string, then the - path ends with "/". This class always builds non-empty paths: if the path is omitted it defaults - to "/", which is a path whose only segment is the empty string. - -

    Query

    - The query is optional: it can be null, empty, or non-empty. For many HTTP URLs the query string - is subdivided into a collection of name-value parameters. This class offers methods to set the - query as the single string, or as individual name-value parameters. With name-value parameters - the values are optional and names may be repeated. - -

    Fragment

    - The fragment is optional: it can be null, empty, or non-empty. Unlike host, port, path, and query - the fragment is not sent to the webserver: it's private to the client. - -

    Encoding

    - Each component must be encoded before it is embedded in the complete URL. As we saw above, the - string cute #puppies is encoded as cute%20%23puppies when used as a query - parameter value. - -

    Percent encoding

    - Percent encoding replaces a character (like 🍩) with its UTF-8 hex bytes (like - %F0%9F%8D%A9). This approach works for whitespace characters, control characters, - non-ASCII characters, and characters that already have another meaning in a particular context. - -

    Percent encoding is used in every URL component except for the hostname. But the set of - characters that need to be encoded is different for each component. For example, the path - component must escape all of its ? characters, otherwise it could be interpreted as the - start of the URL's query. But within the query and fragment components, the ? character - doesn't delimit anything and doesn't need to be escaped.

       
    -
    -   HttpUrl url = HttpUrl.parse("http://who-let-the-dogs.out").newBuilder()
    -       .addPathSegment("_Who?_")
    -       .query("_Who?_")
    -       .fragment("_Who?_")
    -       .build();
    -   System.out.println(url);
    - 
    - - This prints:
       
    -
    -   http://who-let-the-dogs.out/_Who%3F_?_Who?_#_Who?_
    - 
    - - When parsing URLs that lack percent encoding where it is required, this class will percent encode - the offending characters. - -

    IDNA Mapping and Punycode encoding

    - Hostnames have different requirements and use a different encoding scheme. It consists of IDNA - mapping and Punycode encoding. - -

    In order to avoid confusion and discourage phishing attacks, - IDNA Mapping transforms names to avoid - confusing characters. This includes basic case folding: transforming shouting SQUARE.COM - into cool and casual square.com. It also handles more exotic characters. For example, the - Unicode trademark sign (™) could be confused for the letters "TM" in http://ho™mail.com. - To mitigate this, the single character (™) maps to the string (tm). There is similar policy for - all of the 1.1 million Unicode code points. Note that some code points such as "🍩" are - not mapped and cannot be used in a hostname. - -

    Punycode converts a Unicode string to an ASCII - string to make international domain names work everywhere. For example, "σ" encodes as - "xn--4xa". The encoded string is not human readable, but can be used with classes like InetAddress to establish connections. - -

    Why another URL model?

    - Java includes both java.net.URL and java.net.URI. We offer a new URL - model to address problems that the others don't. - -

    Different URLs should be different

    - Although they have different content, java.net.URL considers the following two URLs - equal, and the equals() method between them returns true: -
      -
    • http://square.github.io/ -
    • http://google.github.io/ -
    - This is because those two hosts share the same IP address. This is an old, bad design decision - that makes java.net.URL unusable for many things. It shouldn't be used as a Map key or in a Set. Doing so is both inefficient because equality may - require a DNS lookup, and incorrect because unequal URLs may be equal because of how they are - hosted. - -

    Equal URLs should be equal

    - These two URLs are semantically identical, but java.net.URI disagrees: -
      -
    • http://host:80/ -
    • http://host -
    - Both the unnecessary port specification (:80) and the absent trailing slash (/) - cause URI to bucket the two URLs separately. This harms URI's usefulness in collections. Any - application that stores information-per-URL will need to either canonicalize manually, or suffer - unnecessary redundancy for such URLs. - -

    Because they don't attempt canonical form, these classes are surprisingly difficult to use - securely. Suppose you're building a webservice that checks that incoming paths are prefixed - "/static/images/" before serving the corresponding assets from the filesystem.

       
    -
    -   String attack = "http://example.com/static/images/../../../../../etc/passwd";
    -   System.out.println(new URL(attack).getPath());
    -   System.out.println(new URI(attack).getPath());
    -   System.out.println(HttpUrl.parse(attack).path());
    - 
    - - By canonicalizing the input paths, they are complicit in directory traversal attacks. Code that - checks only the path prefix may suffer! -
       
    -
    -    /static/images/../../../../../etc/passwd
    -    /static/images/../../../../../etc/passwd
    -    /etc/passwd
    - 
    - -

    If it works on the web, it should work in your application

    - The java.net.URI class is strict around what URLs it accepts. It rejects URLs like - "http://example.com/abc|def" because the '|' character is unsupported. This class is more - forgiving: it will automatically percent-encode the '|', yielding "http://example.com/abc%7Cdef". - This kind behavior is consistent with web browsers. HttpUrl prefers consistency with - major web browsers over consistency with obsolete specifications. - -

    Paths and Queries should decompose

    - Neither of the built-in URL models offer direct access to path segments or query parameters. - Manually using StringBuilder to assemble these components is cumbersome: do '+' - characters get silently replaced with spaces? If a query parameter contains a '&', does that - get escaped? By offering methods to read and write individual query parameters directly, - application developers are saved from the hassles of encoding and decoding. - -

    Plus a modern API

    - The URL (JDK1.0) and URI (Java 1.4) classes predate builders and instead use telescoping - constructors. For example, there's no API to compose a URI with a custom port without also - providing a query and fragment. - -

    Instances of HttpUrl are well-formed and always have a scheme, host, and path. With - java.net.URL it's possible to create an awkward URL like http:/ with scheme and - path but no hostname. Building APIs that consume such malformed values is difficult! - -

    This class has a modern API. It avoids punitive checked exceptions: parse() - returns null if the input is an invalid URL. You can even be explicit about whether each - component has been encoded already.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        uri

        -
        public URI uri()
        -
        Returns this URL as a java.net.URI. Because URI forbids certain characters - like [ and |, the returned URI may escape more characters than this URL. - -

        This method throws an unchecked IllegalStateException if it cannot be converted to a - URI even after escaping forbidden characters. In particular, URLs that contain malformed - percent escapes like http://host/%xx will trigger this exception.

        -
      • -
      - - - -
        -
      • -

        scheme

        -
        public String scheme()
        -
        Returns either "http" or "https".
        -
      • -
      - - - -
        -
      • -

        isHttps

        -
        public boolean isHttps()
        -
      • -
      - - - -
        -
      • -

        encodedUsername

        -
        public String encodedUsername()
        -
        Returns the username, or an empty string if none is set.
        -
      • -
      - - - -
        -
      • -

        username

        -
        public String username()
        -
      • -
      - - - -
        -
      • -

        encodedPassword

        -
        public String encodedPassword()
        -
        Returns the password, or an empty string if none is set.
        -
      • -
      - - - -
        -
      • -

        password

        -
        public String password()
        -
        Returns the decoded password, or an empty string if none is present.
        -
      • -
      - - - -
        -
      • -

        host

        -
        public String host()
        -
        Returns the host address suitable for use with InetAddress.getAllByName(String). May - be: -
          -
        • A regular host name, like android.com. -
        • An IPv4 address, like 127.0.0.1. -
        • An IPv6 address, like ::1. Note that there are no square braces. -
        • An encoded IDN, like xn--n3h.net. -
        -
      • -
      - - - -
        -
      • -

        port

        -
        public int port()
        -
        Returns the explicitly-specified port if one was provided, or the default port for this URL's - scheme. For example, this returns 8443 for https://square.com:8443/ and 443 for https://square.com/. The result is in [1..65535].
        -
      • -
      - - - -
        -
      • -

        defaultPort

        -
        public static int defaultPort(String scheme)
        -
        Returns 80 if scheme.equals("http"), 443 if scheme.equals("https") and -1 - otherwise.
        -
      • -
      - - - -
        -
      • -

        pathSize

        -
        public int pathSize()
        -
      • -
      - - - -
        -
      • -

        encodedPath

        -
        public String encodedPath()
        -
        Returns the entire path of this URL, encoded for use in HTTP resource resolution. The - returned path is always nonempty and is prefixed with /.
        -
      • -
      - - - -
        -
      • -

        encodedPathSegments

        -
        public List<String> encodedPathSegments()
        -
      • -
      - - - -
        -
      • -

        pathSegments

        -
        public List<String> pathSegments()
        -
      • -
      - - - -
        -
      • -

        encodedQuery

        -
        public String encodedQuery()
        -
        Returns the query of this URL, encoded for use in HTTP resource resolution. The returned string - may be null (for URLs with no query), empty (for URLs with an empty query) or non-empty (all - other URLs).
        -
      • -
      - - - -
        -
      • -

        query

        -
        public String query()
        -
      • -
      - - - -
        -
      • -

        querySize

        -
        public int querySize()
        -
      • -
      - - - -
        -
      • -

        queryParameter

        -
        public String queryParameter(String name)
        -
        Returns the first query parameter named name decoded using UTF-8, or null if there is - no such query parameter.
        -
      • -
      - - - -
        -
      • -

        queryParameterNames

        -
        public Set<String> queryParameterNames()
        -
      • -
      - - - -
        -
      • -

        queryParameterValues

        -
        public List<String> queryParameterValues(String name)
        -
      • -
      - - - -
        -
      • -

        queryParameterName

        -
        public String queryParameterName(int index)
        -
      • -
      - - - -
        -
      • -

        queryParameterValue

        -
        public String queryParameterValue(int index)
        -
      • -
      - - - -
        -
      • -

        encodedFragment

        -
        public String encodedFragment()
        -
      • -
      - - - -
        -
      • -

        fragment

        -
        public String fragment()
        -
      • -
      - - - -
        -
      • -

        resolve

        -
        public HttpUrl resolve(String link)
        -
        Returns the URL that would be retrieved by following link from this URL.
        -
      • -
      - - - - - - - -
        -
      • -

        parse

        -
        public static HttpUrl parse(String url)
        -
        Returns a new HttpUrl representing url if it is a well-formed HTTP or HTTPS - URL, or null if it isn't.
        -
      • -
      - - - -
        -
      • -

        get

        -
        public static HttpUrl get(URL url)
        -
        Returns an HttpUrl for url if its protocol is http or https, or - null if it has any other protocol.
        -
      • -
      - - - -
        -
      • -

        get

        -
        public static HttpUrl get(URI uri)
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(Object o)
        -
        -
        Overrides:
        -
        equals in class Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Interceptor.Chain.html b/2.x/okhttp/com/squareup/okhttp/Interceptor.Chain.html deleted file mode 100644 index d970136cb..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Interceptor.Chain.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - - - - -Interceptor.Chain (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Interface Interceptor.Chain

-
-
-
-
    -
  • -
    -
    Enclosing interface:
    -
    Interceptor
    -
    -
    -
    -
    public static interface Interceptor.Chain
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Interceptor.html b/2.x/okhttp/com/squareup/okhttp/Interceptor.html deleted file mode 100644 index dfbfb7a4f..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Interceptor.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - - -Interceptor (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Interface Interceptor

-
-
-
-
    -
  • -
    -
    -
    public interface Interceptor
    -
    Observes, modifies, and potentially short-circuits requests going out and the corresponding - requests coming back in. Typically interceptors will be used to add, remove, or transform headers - on the request or response.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/MediaType.html b/2.x/okhttp/com/squareup/okhttp/MediaType.html deleted file mode 100644 index 3a1bb9f5b..000000000 --- a/2.x/okhttp/com/squareup/okhttp/MediaType.html +++ /dev/null @@ -1,373 +0,0 @@ - - - - - - - -MediaType (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class MediaType

-
-
- -
-
    -
  • -
    -
    -
    public final class MediaType
    -extends Object
    -
    An RFC 2045 Media Type, - appropriate to describe the content type of an HTTP request or response body.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Charsetcharset() -
      Returns the charset of this media type, or null if this media type doesn't - specify a charset.
      -
      Charsetcharset(Charset defaultValue) -
      Returns the charset of this media type, or defaultValue if this - media type doesn't specify a charset.
      -
      booleanequals(Object o) 
      inthashCode() 
      static MediaTypeparse(String string) -
      Returns a media type for string, or null if string is not a - well-formed media type.
      -
      Stringsubtype() -
      Returns a specific media subtype, such as "plain" or "png", "mpeg", - "mp4" or "xml".
      -
      StringtoString() -
      Returns the encoded media type, like "text/plain; charset=utf-8", - appropriate for use in a Content-Type header.
      -
      Stringtype() -
      Returns the high-level media type, such as "text", "image", "audio", - "video", or "application".
      -
      - -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        parse

        -
        public static MediaType parse(String string)
        -
        Returns a media type for string, or null if string is not a - well-formed media type.
        -
      • -
      - - - -
        -
      • -

        type

        -
        public String type()
        -
        Returns the high-level media type, such as "text", "image", "audio", - "video", or "application".
        -
      • -
      - - - -
        -
      • -

        subtype

        -
        public String subtype()
        -
        Returns a specific media subtype, such as "plain" or "png", "mpeg", - "mp4" or "xml".
        -
      • -
      - - - -
        -
      • -

        charset

        -
        public Charset charset()
        -
        Returns the charset of this media type, or null if this media type doesn't - specify a charset.
        -
      • -
      - - - -
        -
      • -

        charset

        -
        public Charset charset(Charset defaultValue)
        -
        Returns the charset of this media type, or defaultValue if this - media type doesn't specify a charset.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public String toString()
        -
        Returns the encoded media type, like "text/plain; charset=utf-8", - appropriate for use in a Content-Type header.
        -
        -
        Overrides:
        -
        toString in class Object
        -
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(Object o)
        -
        -
        Overrides:
        -
        equals in class Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/MultipartBuilder.html b/2.x/okhttp/com/squareup/okhttp/MultipartBuilder.html deleted file mode 100644 index 5335bd39a..000000000 --- a/2.x/okhttp/com/squareup/okhttp/MultipartBuilder.html +++ /dev/null @@ -1,507 +0,0 @@ - - - - - - -MultipartBuilder (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class MultipartBuilder

-
-
- -
-
    -
  • -
    -
    -
    public final class MultipartBuilder
    -extends Object
    -
    Fluent API to build RFC - 2387-compliant request bodies.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        MIXED

        -
        public static final MediaType MIXED
        -
        The "mixed" subtype of "multipart" is intended for use when the body - parts are independent and need to be bundled in a particular order. Any - "multipart" subtypes that an implementation does not recognize must be - treated as being of subtype "mixed".
        -
      • -
      - - - -
        -
      • -

        ALTERNATIVE

        -
        public static final MediaType ALTERNATIVE
        -
        The "multipart/alternative" type is syntactically identical to - "multipart/mixed", but the semantics are different. In particular, each - of the body parts is an "alternative" version of the same information.
        -
      • -
      - - - -
        -
      • -

        DIGEST

        -
        public static final MediaType DIGEST
        -
        This type is syntactically identical to "multipart/mixed", but the - semantics are different. In particular, in a digest, the default Content-Type value for a body part is changed from "text/plain" to - "message/rfc822".
        -
      • -
      - - - -
        -
      • -

        PARALLEL

        -
        public static final MediaType PARALLEL
        -
        This type is syntactically identical to "multipart/mixed", but the - semantics are different. In particular, in a parallel entity, the order - of body parts is not significant.
        -
      • -
      - - - -
        -
      • -

        FORM

        -
        public static final MediaType FORM
        -
        The media-type multipart/form-data follows the rules of all multipart - MIME data streams as outlined in RFC 2046. In forms, there are a series - of fields to be supplied by the user who fills out the form. Each field - has a name. Within a given form, the names are unique.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MultipartBuilder

        -
        public MultipartBuilder()
        -
        Creates a new multipart builder that uses a random boundary token.
        -
      • -
      - - - -
        -
      • -

        MultipartBuilder

        -
        public MultipartBuilder(String boundary)
        -
        Creates a new multipart builder that uses boundary to separate - parts. Prefer the no-argument constructor to defend against injection - attacks.
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/OkHttpClient.html b/2.x/okhttp/com/squareup/okhttp/OkHttpClient.html deleted file mode 100644 index a7ded98bc..000000000 --- a/2.x/okhttp/com/squareup/okhttp/OkHttpClient.html +++ /dev/null @@ -1,1054 +0,0 @@ - - - - - - - -OkHttpClient (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class OkHttpClient

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Cloneable
    -
    -
    -
    -
    public class OkHttpClient
    -extends Object
    -implements Cloneable
    -
    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 - clone() to make a shallow copy of the OkHttpClient that can be - safely modified with further configuration changes.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        OkHttpClient

        -
        public OkHttpClient()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setConnectTimeout

        -
        public void setConnectTimeout(long timeout,
        -                              TimeUnit unit)
        -
        Sets the default connect timeout for new connections. A value of 0 means no timeout, otherwise - values must be between 1 and Integer.MAX_VALUE when converted to milliseconds.
        -
        -
        See Also:
        -
        URLConnection.setConnectTimeout(int)
        -
        -
      • -
      - - - -
        -
      • -

        getConnectTimeout

        -
        public int getConnectTimeout()
        -
        Default connect timeout (in milliseconds).
        -
      • -
      - - - -
        -
      • -

        setReadTimeout

        -
        public void setReadTimeout(long timeout,
        -                           TimeUnit unit)
        -
        Sets the default read timeout for new connections. A value of 0 means no timeout, otherwise - values must be between 1 and Integer.MAX_VALUE when converted to milliseconds.
        -
        -
        See Also:
        -
        URLConnection.setReadTimeout(int)
        -
        -
      • -
      - - - -
        -
      • -

        getReadTimeout

        -
        public int getReadTimeout()
        -
        Default read timeout (in milliseconds).
        -
      • -
      - - - -
        -
      • -

        setWriteTimeout

        -
        public void setWriteTimeout(long timeout,
        -                            TimeUnit unit)
        -
        Sets the default write timeout for new connections. A value of 0 means no timeout, otherwise - values must be between 1 and Integer.MAX_VALUE when converted to milliseconds.
        -
      • -
      - - - -
        -
      • -

        getWriteTimeout

        -
        public int getWriteTimeout()
        -
        Default write timeout (in milliseconds).
        -
      • -
      - - - -
        -
      • -

        setProxy

        -
        public OkHttpClient setProxy(Proxy proxy)
        -
        Sets the HTTP proxy that will be used by connections created by this - client. This takes precedence over setProxySelector(java.net.ProxySelector), which is - only honored when this proxy is null (which it is by default). To disable - proxy use completely, call setProxy(Proxy.NO_PROXY).
        -
      • -
      - - - -
        -
      • -

        getProxy

        -
        public Proxy getProxy()
        -
      • -
      - - - -
        -
      • -

        setProxySelector

        -
        public OkHttpClient setProxySelector(ProxySelector proxySelector)
        -
        Sets the proxy selection policy to be used if no proxy - 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. - -

        If unset, the system-wide default - proxy selector will be used.

        -
      • -
      - - - -
        -
      • -

        getProxySelector

        -
        public ProxySelector getProxySelector()
        -
      • -
      - - - -
        -
      • -

        setCookieHandler

        -
        public OkHttpClient setCookieHandler(CookieHandler cookieHandler)
        -
        Sets the cookie handler to be used to read outgoing cookies and write - incoming cookies. - -

        If unset, the system-wide default - cookie handler will be used.

        -
      • -
      - - - -
        -
      • -

        getCookieHandler

        -
        public CookieHandler getCookieHandler()
        -
      • -
      - - - - - - - -
        -
      • -

        getCache

        -
        public Cache getCache()
        -
      • -
      - - - -
        -
      • -

        setDns

        -
        public OkHttpClient setDns(Dns dns)
        -
        Sets the DNS service used to lookup IP addresses for hostnames. - -

        If unset, the system-wide default DNS will be used.

        -
      • -
      - - - -
        -
      • -

        getDns

        -
        public Dns getDns()
        -
      • -
      - - - -
        -
      • -

        setSocketFactory

        -
        public OkHttpClient setSocketFactory(SocketFactory socketFactory)
        -
        Sets the socket factory used to create connections. OkHttp only uses - the parameterless createSocket() - method to create unconnected sockets. Overriding this method, - e. g., allows the socket to be bound to a specific local address. - -

        If unset, the system-wide default - socket factory will be used.

        -
      • -
      - - - -
        -
      • -

        getSocketFactory

        -
        public SocketFactory getSocketFactory()
        -
      • -
      - - - -
        -
      • -

        setSslSocketFactory

        -
        public OkHttpClient setSslSocketFactory(SSLSocketFactory sslSocketFactory)
        -
        Sets the socket factory used to secure HTTPS connections. - -

        If unset, a lazily created SSL socket factory will be used.

        -
      • -
      - - - - - - - -
        -
      • -

        setHostnameVerifier

        -
        public OkHttpClient setHostnameVerifier(HostnameVerifier hostnameVerifier)
        -
        Sets the verifier used to confirm that response certificates apply to - requested hostnames for HTTPS connections. - -

        If unset, a default hostname verifier will be used.

        -
      • -
      - - - - - - - -
        -
      • -

        setCertificatePinner

        -
        public OkHttpClient setCertificatePinner(CertificatePinner certificatePinner)
        -
        Sets the certificate pinner that constrains which certificates are trusted. - By default HTTPS connections rely on only the SSL socket factory to establish trust. Pinning certificates avoids the - need to trust certificate authorities.
        -
      • -
      - - - - - - - -
        -
      • -

        setAuthenticator

        -
        public OkHttpClient setAuthenticator(Authenticator authenticator)
        -
        Sets the authenticator used to respond to challenges from the remote web - server or proxy server. - -

        If unset, the system-wide default - authenticator will be used.

        -
      • -
      - - - -
        -
      • -

        getAuthenticator

        -
        public Authenticator getAuthenticator()
        -
      • -
      - - - -
        -
      • -

        setConnectionPool

        -
        public OkHttpClient setConnectionPool(ConnectionPool connectionPool)
        -
        Sets the connection pool used to recycle HTTP and HTTPS connections. - -

        If unset, the system-wide - default connection pool will be used.

        -
      • -
      - - - -
        -
      • -

        getConnectionPool

        -
        public ConnectionPool getConnectionPool()
        -
      • -
      - - - -
        -
      • -

        setFollowSslRedirects

        -
        public OkHttpClient setFollowSslRedirects(boolean followProtocolRedirects)
        -
        Configure this client to follow redirects from HTTPS to HTTP and from HTTP - to HTTPS. - -

        If unset, protocol redirects will be followed. This is different than - the built-in HttpURLConnection's default.

        -
      • -
      - - - -
        -
      • -

        getFollowSslRedirects

        -
        public boolean getFollowSslRedirects()
        -
      • -
      - - - -
        -
      • -

        setFollowRedirects

        -
        public void setFollowRedirects(boolean followRedirects)
        -
        Configure this client to follow redirects. If unset, redirects be followed.
        -
      • -
      - - - -
        -
      • -

        getFollowRedirects

        -
        public boolean getFollowRedirects()
        -
      • -
      - - - -
        -
      • -

        setRetryOnConnectionFailure

        -
        public void setRetryOnConnectionFailure(boolean retryOnConnectionFailure)
        -
        Configure this client to retry or not when a connectivity problem is encountered. By default, - this client silently recovers from the following problems: - -
          -
        • Unreachable IP addresses. If the URL's host has multiple IP addresses, - failure to reach any individual IP address doesn't fail the overall request. This can - increase availability of multi-homed services. -
        • Stale pooled connections. The ConnectionPool reuses sockets - to decrease request latency, but these connections will occasionally time out. -
        • Unreachable proxy servers. A ProxySelector can be used to - attempt multiple proxy servers in sequence, eventually falling back to a direct - connection. -
        - - Set this to false to avoid retrying requests when doing so is destructive. In this case the - calling application should do its own recovery of connectivity failures.
        -
      • -
      - - - -
        -
      • -

        getRetryOnConnectionFailure

        -
        public boolean getRetryOnConnectionFailure()
        -
      • -
      - - - -
        -
      • -

        setDispatcher

        -
        public OkHttpClient setDispatcher(Dispatcher dispatcher)
        -
        Sets the dispatcher used to set policy and execute asynchronous requests. - Must not be null.
        -
      • -
      - - - -
        -
      • -

        getDispatcher

        -
        public Dispatcher getDispatcher()
        -
      • -
      - - - -
        -
      • -

        setProtocols

        -
        public OkHttpClient setProtocols(List<Protocol> protocols)
        -
        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. - -

        The following protocols are currently supported: -

        - -

        This is an evolving set. Future releases include - support for transitional protocols. The http/1.1 transport will never be - dropped. - -

        If multiple protocols are specified, ALPN - will be used to negotiate a transport. - -

        Protocol.HTTP_1_0 is not supported in this set. Requests are - initiated with HTTP/1.1 only. If the server responds with HTTP/1.0, that will be exposed by Response.protocol().

        -
        -
        Parameters:
        -
        protocols - the protocols to use, in order of preference. The list - must contain Protocol.HTTP_1_1. It must not contain null or - Protocol.HTTP_1_0.
        -
        -
      • -
      - - - -
        -
      • -

        getProtocols

        -
        public List<Protocol> getProtocols()
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        interceptors

        -
        public List<Interceptor> interceptors()
        -
        Returns a modifiable list of interceptors that observe the full span of each call: from before - the connection is established (if any) until after the response source is selected (either the - origin server, cache, or both).
        -
      • -
      - - - -
        -
      • -

        networkInterceptors

        -
        public List<Interceptor> networkInterceptors()
        -
        Returns a modifiable list of interceptors that observe a single network request and response. - These interceptors must call Interceptor.Chain.proceed(com.squareup.okhttp.Request) exactly once: it is an error for - a network interceptor to short-circuit or repeat a network request.
        -
      • -
      - - - -
        -
      • -

        newCall

        -
        public Call newCall(Request request)
        -
        Prepares the request to be executed at some point in the future.
        -
      • -
      - - - -
        -
      • -

        cancel

        -
        public OkHttpClient cancel(Object tag)
        -
        Cancels all scheduled or in-flight calls tagged with tag. Requests - that are already complete cannot be canceled.
        -
      • -
      - - - -
        -
      • -

        clone

        -
        public OkHttpClient clone()
        -
        Returns a shallow copy of this OkHttpClient.
        -
        -
        Overrides:
        -
        clone in class Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Protocol.html b/2.x/okhttp/com/squareup/okhttp/Protocol.html deleted file mode 100644 index 35004f0dc..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Protocol.html +++ /dev/null @@ -1,452 +0,0 @@ - - - - - - - -Protocol (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Enum Protocol

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Serializable, Comparable<Protocol>
    -
    -
    -
    -
    public enum Protocol
    -extends Enum<Protocol>
    -
    Protocols that OkHttp implements for ALPN - selection. - -

    Protocol vs Scheme

    - Despite its name, URL.getProtocol() returns the - scheme (http, https, etc.) of the URL, not - the protocol (http/1.1, spdy/3.1, etc.). OkHttp uses the word protocol - to identify how HTTP messages are framed.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      HTTP_1_0 -
      An obsolete plaintext framing that does not use persistent sockets by - default.
      -
      HTTP_1_1 -
      A plaintext framing that includes persistent connections.
      -
      HTTP_2 -
      The IETF's binary-framed protocol that includes header compression, - multiplexing multiple requests on the same socket, and server-push.
      -
      SPDY_3 -
      Chromium's binary-framed protocol that includes header compression, - multiplexing multiple requests on the same socket, and server-push.
      -
      -
    • -
    - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        HTTP_1_0

        -
        public static final Protocol HTTP_1_0
        -
        An obsolete plaintext framing that does not use persistent sockets by - default.
        -
      • -
      - - - -
        -
      • -

        HTTP_1_1

        -
        public static final Protocol HTTP_1_1
        -
        A plaintext framing that includes persistent connections. - -

        This version of OkHttp implements RFC 2616, and tracks - revisions to that spec.

        -
      • -
      - - - -
        -
      • -

        SPDY_3

        -
        public static final Protocol SPDY_3
        -
        Chromium's binary-framed protocol that includes header compression, - multiplexing multiple requests on the same socket, and server-push. - HTTP/1.1 semantics are layered on SPDY/3. - -

        This version of OkHttp implements SPDY 3 draft - 3.1. Future releases of OkHttp may use this identifier for a newer draft - of the SPDY spec.

        -
      • -
      - - - -
        -
      • -

        HTTP_2

        -
        public static final Protocol HTTP_2
        -
        The IETF's binary-framed protocol that includes header compression, - multiplexing multiple requests on the same socket, and server-push. - HTTP/1.1 semantics are layered on HTTP/2. - -

        HTTP/2 requires deployments of HTTP/2 that use TLS 1.2 support - CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 - , present in Java 8+ and Android 5+. Servers that enforce this may send an - exception message including the string INADEQUATE_SECURITY.

        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static Protocol[] values()
        -
        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: -
        -for (Protocol c : Protocol.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static Protocol valueOf(String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant with the specified name
        -
        NullPointerException - if the argument is null
        -
        -
      • -
      - - - - - - - -
        -
      • -

        toString

        -
        public String toString()
        -
        Returns the string used to identify this protocol for ALPN, like - "http/1.1", "spdy/3.1" or "h2".
        -
        -
        Overrides:
        -
        toString in class Enum<Protocol>
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Request.Builder.html b/2.x/okhttp/com/squareup/okhttp/Request.Builder.html deleted file mode 100644 index f6900a5bf..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Request.Builder.html +++ /dev/null @@ -1,543 +0,0 @@ - - - - - - - -Request.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Request.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    Request
    -
    -
    -
    -
    public static class Request.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Request.html b/2.x/okhttp/com/squareup/okhttp/Request.html deleted file mode 100644 index da885d66c..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Request.html +++ /dev/null @@ -1,441 +0,0 @@ - - - - - - - -Request (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Request

-
-
- -
-
    -
  • -
    -
    -
    public final class Request
    -extends Object
    -
    An HTTP request. Instances of this class are immutable if their body - is null or itself immutable.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/RequestBody.html b/2.x/okhttp/com/squareup/okhttp/RequestBody.html deleted file mode 100644 index 7427dee7e..000000000 --- a/2.x/okhttp/com/squareup/okhttp/RequestBody.html +++ /dev/null @@ -1,413 +0,0 @@ - - - - - - - -RequestBody (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class RequestBody

-
-
- -
-
    -
  • -
    -
    -
    public abstract class RequestBody
    -extends Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RequestBody

        -
        public RequestBody()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        contentType

        -
        public abstract MediaType contentType()
        -
        Returns the Content-Type header for this body.
        -
      • -
      - - - - - - - -
        -
      • -

        writeTo

        -
        public abstract void writeTo(okio.BufferedSink sink)
        -                      throws IOException
        -
        Writes the content of this request to out.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static RequestBody create(MediaType contentType,
        -                                 String content)
        -
        Returns a new request body that transmits content. If contentType is non-null and lacks a charset, this will use UTF-8.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static RequestBody create(MediaType contentType,
        -                                 okio.ByteString content)
        -
        Returns a new request body that transmits content.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static RequestBody create(MediaType contentType,
        -                                 byte[] content)
        -
        Returns a new request body that transmits content.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static RequestBody create(MediaType contentType,
        -                                 byte[] content,
        -                                 int offset,
        -                                 int byteCount)
        -
        Returns a new request body that transmits content.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static RequestBody create(MediaType contentType,
        -                                 File file)
        -
        Returns a new request body that transmits the content of file.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Response.Builder.html b/2.x/okhttp/com/squareup/okhttp/Response.Builder.html deleted file mode 100644 index 006f2a5e6..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Response.Builder.html +++ /dev/null @@ -1,460 +0,0 @@ - - - - - - - -Response.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Response.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    Response
    -
    -
    -
    -
    public static class Response.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Response.html b/2.x/okhttp/com/squareup/okhttp/Response.html deleted file mode 100644 index ce20c3d49..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Response.html +++ /dev/null @@ -1,563 +0,0 @@ - - - - - - - -Response (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Response

-
-
- -
-
    -
  • -
    -
    -
    public final class Response
    -extends Object
    -
    An HTTP response. Instances of this class are not immutable: the response - body is a one-shot value that may be consumed only once. All other properties - are immutable.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        request

        -
        public Request request()
        -
        The wire-level request that initiated this HTTP response. This is not - necessarily the same request issued by the application: -
          -
        • It may be transformed by the HTTP client. For example, the client - may copy headers like Content-Length from the request body. -
        • It may be the request generated in response to an HTTP redirect or - authentication challenge. In this case the request URL may be - different than the initial request URL. -
        -
      • -
      - - - - - - - -
        -
      • -

        code

        -
        public int code()
        -
        Returns the HTTP status code.
        -
      • -
      - - - -
        -
      • -

        isSuccessful

        -
        public boolean isSuccessful()
        -
        Returns true if the code is in [200..300), which means the request was - successfully received, understood, and accepted.
        -
      • -
      - - - -
        -
      • -

        message

        -
        public String message()
        -
        Returns the HTTP status message or null if it is unknown.
        -
      • -
      - - - -
        -
      • -

        handshake

        -
        public Handshake handshake()
        -
        Returns the TLS handshake of the connection that carried this response, or - null if the response was received without TLS.
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        headers

        -
        public Headers headers()
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        isRedirect

        -
        public boolean isRedirect()
        -
        Returns true if this response redirects to another resource.
        -
      • -
      - - - -
        -
      • -

        networkResponse

        -
        public Response networkResponse()
        -
        Returns the raw response received from the network. Will be null if this - response didn't use the network, such as when the response is fully cached. - The body of the returned response should not be read.
        -
      • -
      - - - -
        -
      • -

        cacheResponse

        -
        public Response cacheResponse()
        -
        Returns the raw response received from the cache. Will be null if this - response didn't use the cache. For conditional get requests the cache - response and network response may both be non-null. The body of the - returned response should not be read.
        -
      • -
      - - - -
        -
      • -

        priorResponse

        -
        public Response priorResponse()
        -
        Returns the response for the HTTP redirect or authorization challenge that - triggered this response, or null if this response wasn't triggered by an - automatic retry. The body of the returned response should not be read - because it has already been consumed by the redirecting client.
        -
      • -
      - - - -
        -
      • -

        challenges

        -
        public List<Challenge> challenges()
        -
        Returns the authorization challenges appropriate for this response's code. - If the response code is 401 unauthorized, this returns the - "WWW-Authenticate" challenges. If the response code is 407 proxy - unauthorized, this returns the "Proxy-Authenticate" challenges. Otherwise - this returns an empty list of challenges.
        -
      • -
      - - - -
        -
      • -

        cacheControl

        -
        public CacheControl cacheControl()
        -
        Returns the cache control directives for this response. This is never null, - even if this response contains no Cache-Control header.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/ResponseBody.html b/2.x/okhttp/com/squareup/okhttp/ResponseBody.html deleted file mode 100644 index 3eee3eb8e..000000000 --- a/2.x/okhttp/com/squareup/okhttp/ResponseBody.html +++ /dev/null @@ -1,480 +0,0 @@ - - - - - - - -ResponseBody (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class ResponseBody

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ResponseBody

        -
        public ResponseBody()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        contentType

        -
        public abstract MediaType contentType()
        -
      • -
      - - - -
        -
      • -

        contentLength

        -
        public abstract long contentLength()
        -                            throws IOException
        -
        Returns the number of bytes in that will returned by bytes(), or - byteStream(), or -1 if unknown.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        charStream

        -
        public final Reader charStream()
        -                        throws IOException
        -
        Returns the response as a character stream decoded with the charset - of the Content-Type header. If that header is either absent or lacks a - charset, this will attempt to decode the response body as UTF-8.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        string

        -
        public final String string()
        -                    throws IOException
        -
        Returns the response as a string decoded with the charset of the - Content-Type header. If that header is either absent or lacks a charset, - this will attempt to decode the response body as UTF-8.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - - - - - -
        -
      • -

        create

        -
        public static ResponseBody create(MediaType contentType,
        -                                  String content)
        -
        Returns a new response body that transmits content. If contentType is non-null and lacks a charset, this will use UTF-8.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static ResponseBody create(MediaType contentType,
        -                                  byte[] content)
        -
        Returns a new response body that transmits content.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static ResponseBody create(MediaType contentType,
        -                                  long contentLength,
        -                                  okio.BufferedSource content)
        -
        Returns a new response body that transmits content.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/Route.html b/2.x/okhttp/com/squareup/okhttp/Route.html deleted file mode 100644 index a02d4bb87..000000000 --- a/2.x/okhttp/com/squareup/okhttp/Route.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - - - -Route (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Class Route

-
-
- -
-
    -
  • -
    -
    -
    public final class Route
    -extends Object
    -
    The concrete route used by a connection to reach an abstract origin server. - When creating a connection the client has many options: -
      -
    • HTTP proxy: a proxy server may be explicitly - configured for the client. Otherwise the proxy selector is used. It may return multiple proxies to attempt. -
    • IP address: 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. -
    - Each route is a specific selection of these options.
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getAddress

        -
        public Address getAddress()
        -
      • -
      - - - -
        -
      • -

        getProxy

        -
        public Proxy getProxy()
        -
        Returns the Proxy of this route. - - Warning: This may disagree with Address.getProxy() - when it is null. When the address's proxy is null, the proxy selector is - used.
        -
      • -
      - - - - - - - -
        -
      • -

        requiresTunnel

        -
        public boolean requiresTunnel()
        -
        Returns true if this route tunnels HTTPS through an HTTP proxy. See RFC 2817, Section 5.2.
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(Object obj)
        -
        -
        Overrides:
        -
        equals in class Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/TlsVersion.html b/2.x/okhttp/com/squareup/okhttp/TlsVersion.html deleted file mode 100644 index e09129754..000000000 --- a/2.x/okhttp/com/squareup/okhttp/TlsVersion.html +++ /dev/null @@ -1,394 +0,0 @@ - - - - - - - -TlsVersion (OkHttp 2.7.5 API) - - - - - - - - - - - - -
-
com.squareup.okhttp
-

Enum TlsVersion

-
-
- -
- -
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static TlsVersion[] values()
        -
        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: -
        -for (TlsVersion c : TlsVersion.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static TlsVersion valueOf(String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant with the specified name
        -
        NullPointerException - if the argument is null
        -
        -
      • -
      - - - - - - - -
        -
      • -

        javaName

        -
        public String javaName()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Address.html b/2.x/okhttp/com/squareup/okhttp/class-use/Address.html deleted file mode 100644 index 873bc78eb..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Address.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Address (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Address

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Authenticator.html b/2.x/okhttp/com/squareup/okhttp/class-use/Authenticator.html deleted file mode 100644 index 119690785..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Authenticator.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.Authenticator (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.Authenticator

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Cache.html b/2.x/okhttp/com/squareup/okhttp/class-use/Cache.html deleted file mode 100644 index 1a59886c9..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Cache.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Cache (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Cache

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/CacheControl.Builder.html b/2.x/okhttp/com/squareup/okhttp/class-use/CacheControl.Builder.html deleted file mode 100644 index 7d27b816a..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/CacheControl.Builder.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.CacheControl.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.CacheControl.Builder

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/CacheControl.html b/2.x/okhttp/com/squareup/okhttp/class-use/CacheControl.html deleted file mode 100644 index fdb0dea7a..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/CacheControl.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.CacheControl (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.CacheControl

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Call.html b/2.x/okhttp/com/squareup/okhttp/class-use/Call.html deleted file mode 100644 index d2f1966b5..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Call.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Call (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Call

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Callback.html b/2.x/okhttp/com/squareup/okhttp/class-use/Callback.html deleted file mode 100644 index da9ccc26d..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Callback.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.Callback (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.Callback

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/CertificatePinner.Builder.html b/2.x/okhttp/com/squareup/okhttp/class-use/CertificatePinner.Builder.html deleted file mode 100644 index 6846ad681..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/CertificatePinner.Builder.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.CertificatePinner.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.CertificatePinner.Builder

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/CertificatePinner.html b/2.x/okhttp/com/squareup/okhttp/class-use/CertificatePinner.html deleted file mode 100644 index 9e0d3ac94..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/CertificatePinner.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.CertificatePinner (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.CertificatePinner

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Challenge.html b/2.x/okhttp/com/squareup/okhttp/class-use/Challenge.html deleted file mode 100644 index 79af61850..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Challenge.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Challenge (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Challenge

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/CipherSuite.html b/2.x/okhttp/com/squareup/okhttp/class-use/CipherSuite.html deleted file mode 100644 index fb13bdfe8..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/CipherSuite.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.CipherSuite (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.CipherSuite

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Connection.html b/2.x/okhttp/com/squareup/okhttp/class-use/Connection.html deleted file mode 100644 index 1ba756415..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Connection.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.Connection (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.Connection

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/ConnectionPool.html b/2.x/okhttp/com/squareup/okhttp/class-use/ConnectionPool.html deleted file mode 100644 index 4446e83c4..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/ConnectionPool.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.ConnectionPool (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.ConnectionPool

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/ConnectionSpec.Builder.html b/2.x/okhttp/com/squareup/okhttp/class-use/ConnectionSpec.Builder.html deleted file mode 100644 index f40244661..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/ConnectionSpec.Builder.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.ConnectionSpec.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.ConnectionSpec.Builder

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/ConnectionSpec.html b/2.x/okhttp/com/squareup/okhttp/class-use/ConnectionSpec.html deleted file mode 100644 index 866b87f1c..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/ConnectionSpec.html +++ /dev/null @@ -1,239 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.ConnectionSpec (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.ConnectionSpec

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Credentials.html b/2.x/okhttp/com/squareup/okhttp/class-use/Credentials.html deleted file mode 100644 index dceb34265..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Credentials.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Credentials (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Credentials

-
-
No usage of com.squareup.okhttp.Credentials
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Dispatcher.html b/2.x/okhttp/com/squareup/okhttp/class-use/Dispatcher.html deleted file mode 100644 index a161afbe3..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Dispatcher.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Dispatcher (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Dispatcher

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Dns.html b/2.x/okhttp/com/squareup/okhttp/class-use/Dns.html deleted file mode 100644 index b0d56b6b4..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Dns.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.Dns (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.Dns

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/FormEncodingBuilder.html b/2.x/okhttp/com/squareup/okhttp/class-use/FormEncodingBuilder.html deleted file mode 100644 index 612c85485..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/FormEncodingBuilder.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.FormEncodingBuilder (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.FormEncodingBuilder

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Handshake.html b/2.x/okhttp/com/squareup/okhttp/class-use/Handshake.html deleted file mode 100644 index 5a02a51ad..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Handshake.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Handshake (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Handshake

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Headers.Builder.html b/2.x/okhttp/com/squareup/okhttp/class-use/Headers.Builder.html deleted file mode 100644 index fd95a0d1b..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Headers.Builder.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Headers.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Headers.Builder

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Headers.html b/2.x/okhttp/com/squareup/okhttp/class-use/Headers.html deleted file mode 100644 index ae233dd86..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Headers.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Headers (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Headers

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/HttpUrl.Builder.html b/2.x/okhttp/com/squareup/okhttp/class-use/HttpUrl.Builder.html deleted file mode 100644 index 36104b8a0..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/HttpUrl.Builder.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.HttpUrl.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.HttpUrl.Builder

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/HttpUrl.html b/2.x/okhttp/com/squareup/okhttp/class-use/HttpUrl.html deleted file mode 100644 index 7066c20cc..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/HttpUrl.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.HttpUrl (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.HttpUrl

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Interceptor.Chain.html b/2.x/okhttp/com/squareup/okhttp/class-use/Interceptor.Chain.html deleted file mode 100644 index ea1c8d928..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Interceptor.Chain.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.Interceptor.Chain (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.Interceptor.Chain

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Interceptor.html b/2.x/okhttp/com/squareup/okhttp/class-use/Interceptor.html deleted file mode 100644 index c198b9158..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Interceptor.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -Uses of Interface com.squareup.okhttp.Interceptor (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Interface
com.squareup.okhttp.Interceptor

-
-
-
    -
  • -
      -
    • - - -

      Uses of Interceptor in com.squareup.okhttp

      - - - - - - - - - - - - - - - - -
      Methods in com.squareup.okhttp that return types with arguments of type Interceptor 
      Modifier and TypeMethod and Description
      List<Interceptor>OkHttpClient.interceptors() -
      Returns a modifiable list of interceptors that observe the full span of each call: from before - the connection is established (if any) until after the response source is selected (either the - origin server, cache, or both).
      -
      List<Interceptor>OkHttpClient.networkInterceptors() -
      Returns a modifiable list of interceptors that observe a single network request and response.
      -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/MediaType.html b/2.x/okhttp/com/squareup/okhttp/class-use/MediaType.html deleted file mode 100644 index 1a0acd572..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/MediaType.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.MediaType (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.MediaType

-
-
-
    -
  • -
      -
    • - - -

      Uses of MediaType in com.squareup.okhttp

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields in com.squareup.okhttp declared as MediaType 
      Modifier and TypeField and Description
      static MediaTypeMultipartBuilder.ALTERNATIVE -
      The "multipart/alternative" type is syntactically identical to - "multipart/mixed", but the semantics are different.
      -
      static MediaTypeMultipartBuilder.DIGEST -
      This type is syntactically identical to "multipart/mixed", but the - semantics are different.
      -
      static MediaTypeMultipartBuilder.FORM -
      The media-type multipart/form-data follows the rules of all multipart - MIME data streams as outlined in RFC 2046.
      -
      static MediaTypeMultipartBuilder.MIXED -
      The "mixed" subtype of "multipart" is intended for use when the body - parts are independent and need to be bundled in a particular order.
      -
      static MediaTypeMultipartBuilder.PARALLEL -
      This type is syntactically identical to "multipart/mixed", but the - semantics are different.
      -
      - - - - - - - - - - - - - - - - - - - - -
      Methods in com.squareup.okhttp that return MediaType 
      Modifier and TypeMethod and Description
      abstract MediaTypeResponseBody.contentType() 
      abstract MediaTypeRequestBody.contentType() -
      Returns the Content-Type header for this body.
      -
      static MediaTypeMediaType.parse(String string) -
      Returns a media type for string, or null if string is not a - well-formed media type.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in com.squareup.okhttp with parameters of type MediaType 
      Modifier and TypeMethod and Description
      static ResponseBodyResponseBody.create(MediaType contentType, - byte[] content) -
      Returns a new response body that transmits content.
      -
      static RequestBodyRequestBody.create(MediaType contentType, - byte[] content) -
      Returns a new request body that transmits content.
      -
      static RequestBodyRequestBody.create(MediaType contentType, - byte[] content, - int offset, - int byteCount) -
      Returns a new request body that transmits content.
      -
      static RequestBodyRequestBody.create(MediaType contentType, - okio.ByteString content) -
      Returns a new request body that transmits content.
      -
      static RequestBodyRequestBody.create(MediaType contentType, - File file) -
      Returns a new request body that transmits the content of file.
      -
      static ResponseBodyResponseBody.create(MediaType contentType, - long contentLength, - okio.BufferedSource content) -
      Returns a new response body that transmits content.
      -
      static ResponseBodyResponseBody.create(MediaType contentType, - String content) -
      Returns a new response body that transmits content.
      -
      static RequestBodyRequestBody.create(MediaType contentType, - String content) -
      Returns a new request body that transmits content.
      -
      MultipartBuilderMultipartBuilder.type(MediaType type) -
      Set the MIME type.
      -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/MultipartBuilder.html b/2.x/okhttp/com/squareup/okhttp/class-use/MultipartBuilder.html deleted file mode 100644 index dd92b598e..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/MultipartBuilder.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.MultipartBuilder (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.MultipartBuilder

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/OkHttpClient.html b/2.x/okhttp/com/squareup/okhttp/class-use/OkHttpClient.html deleted file mode 100644 index 254dc8ac8..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/OkHttpClient.html +++ /dev/null @@ -1,262 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.OkHttpClient (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.OkHttpClient

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Protocol.html b/2.x/okhttp/com/squareup/okhttp/class-use/Protocol.html deleted file mode 100644 index 1f4aca0b3..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Protocol.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Protocol (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Protocol

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Request.Builder.html b/2.x/okhttp/com/squareup/okhttp/class-use/Request.Builder.html deleted file mode 100644 index a9497454b..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Request.Builder.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Request.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Request.Builder

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Request.html b/2.x/okhttp/com/squareup/okhttp/class-use/Request.html deleted file mode 100644 index 904de3d6e..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Request.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Request (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Request

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/RequestBody.html b/2.x/okhttp/com/squareup/okhttp/class-use/RequestBody.html deleted file mode 100644 index 21f37bb80..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/RequestBody.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.RequestBody (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.RequestBody

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Response.Builder.html b/2.x/okhttp/com/squareup/okhttp/class-use/Response.Builder.html deleted file mode 100644 index fede2c677..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Response.Builder.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Response.Builder (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Response.Builder

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Response.html b/2.x/okhttp/com/squareup/okhttp/class-use/Response.html deleted file mode 100644 index f825296cb..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Response.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Response (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Response

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/ResponseBody.html b/2.x/okhttp/com/squareup/okhttp/class-use/ResponseBody.html deleted file mode 100644 index 3723b6b06..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/ResponseBody.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.ResponseBody (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.ResponseBody

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/Route.html b/2.x/okhttp/com/squareup/okhttp/class-use/Route.html deleted file mode 100644 index 226f6b878..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/Route.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.Route (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.Route

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/class-use/TlsVersion.html b/2.x/okhttp/com/squareup/okhttp/class-use/TlsVersion.html deleted file mode 100644 index d8e976a25..000000000 --- a/2.x/okhttp/com/squareup/okhttp/class-use/TlsVersion.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -Uses of Class com.squareup.okhttp.TlsVersion (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Class
com.squareup.okhttp.TlsVersion

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/package-frame.html b/2.x/okhttp/com/squareup/okhttp/package-frame.html deleted file mode 100644 index 48723b5b7..000000000 --- a/2.x/okhttp/com/squareup/okhttp/package-frame.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - -com.squareup.okhttp (OkHttp 2.7.5 API) - - - - - -

com.squareup.okhttp

- - - diff --git a/2.x/okhttp/com/squareup/okhttp/package-summary.html b/2.x/okhttp/com/squareup/okhttp/package-summary.html deleted file mode 100644 index 6bdb87330..000000000 --- a/2.x/okhttp/com/squareup/okhttp/package-summary.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - - - -com.squareup.okhttp (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Package com.squareup.okhttp

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    Authenticator -
    Responds to authentication challenges from the remote web or proxy server.
    -
    Callback 
    Connection -
    The sockets and streams of an HTTP, HTTPS, or HTTPS+SPDY connection.
    -
    Dns -
    A domain name service that resolves IP addresses for host names.
    -
    Interceptor -
    Observes, modifies, and potentially short-circuits requests going out and the corresponding - requests coming back in.
    -
    Interceptor.Chain 
    -
  • -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Address -
    A specification for a connection to an origin server.
    -
    Cache -
    Caches HTTP and HTTPS responses to the filesystem so they may be reused, saving time and - bandwidth.
    -
    CacheControl -
    A Cache-Control header with cache directives from a server or client.
    -
    CacheControl.Builder -
    Builds a Cache-Control request header.
    -
    Call -
    A call is a request that has been prepared for execution.
    -
    CertificatePinner -
    Constrains which certificates are trusted.
    -
    CertificatePinner.Builder -
    Builds a configured certificate pinner.
    -
    Challenge -
    An RFC 2617 challenge.
    -
    ConnectionPool -
    Manages reuse of HTTP and SPDY connections for reduced network latency.
    -
    ConnectionSpec -
    Specifies configuration for the socket connection that HTTP traffic travels through.
    -
    ConnectionSpec.Builder 
    Credentials -
    Factory for HTTP authorization credentials.
    -
    Dispatcher -
    Policy on when async requests are executed.
    -
    FormEncodingBuilder -
    Fluent API to build HTML - 2.0-compliant form data.
    -
    Handshake -
    A record of a TLS handshake.
    -
    Headers -
    The header fields of a single HTTP message.
    -
    Headers.Builder 
    HttpUrl -
    A uniform resource locator (URL) with a scheme of either http or https.
    -
    HttpUrl.Builder 
    MediaType -
    An RFC 2045 Media Type, - appropriate to describe the content type of an HTTP request or response body.
    -
    MultipartBuilder -
    Fluent API to build RFC - 2387-compliant request bodies.
    -
    OkHttpClient -
    Configures and creates HTTP connections.
    -
    Request -
    An HTTP request.
    -
    Request.Builder 
    RequestBody 
    Response -
    An HTTP response.
    -
    Response.Builder 
    ResponseBody 
    Route -
    The concrete route used by a connection to reach an abstract origin server.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - - - - - -
    Enum Summary 
    EnumDescription
    CipherSuite - -
    Protocol -
    Protocols that OkHttp implements for ALPN - selection.
    -
    TlsVersion -
    Versions of TLS that can be offered when negotiating a secure socket.
    -
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/package-tree.html b/2.x/okhttp/com/squareup/okhttp/package-tree.html deleted file mode 100644 index af32c369a..000000000 --- a/2.x/okhttp/com/squareup/okhttp/package-tree.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -com.squareup.okhttp Class Hierarchy (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For Package com.squareup.okhttp

-
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/com/squareup/okhttp/package-use.html b/2.x/okhttp/com/squareup/okhttp/package-use.html deleted file mode 100644 index 745292d14..000000000 --- a/2.x/okhttp/com/squareup/okhttp/package-use.html +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - -Uses of Package com.squareup.okhttp (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Uses of Package
com.squareup.okhttp

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/constant-values.html b/2.x/okhttp/constant-values.html deleted file mode 100644 index ca954476d..000000000 --- a/2.x/okhttp/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/deprecated-list.html b/2.x/okhttp/deprecated-list.html deleted file mode 100644 index 47c84988c..000000000 --- a/2.x/okhttp/deprecated-list.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - -Deprecated List (OkHttp 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

- -
- - -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/help-doc.html b/2.x/okhttp/help-doc.html deleted file mode 100644 index 2e0e2edc2..000000000 --- a/2.x/okhttp/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/index-all.html b/2.x/okhttp/index-all.html deleted file mode 100644 index 0b13b879a..000000000 --- a/2.x/okhttp/index-all.html +++ /dev/null @@ -1,1637 +0,0 @@ - - - - - - -Index (OkHttp 2.7.5 API) - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I J L M N O P Q R S T U V W  - - -

A

-
-
add(String, String...) - Method in class com.squareup.okhttp.CertificatePinner.Builder
-
-
Pins certificates for hostname.
-
-
add(String, String) - Method in class com.squareup.okhttp.FormEncodingBuilder
-
-
Add new key-value pair.
-
-
add(String) - Method in class com.squareup.okhttp.Headers.Builder
-
-
Add an header line containing a field name, a literal colon, and a value.
-
-
add(String, String) - Method in class com.squareup.okhttp.Headers.Builder
-
-
Add a field with the specified value.
-
-
addEncoded(String, String) - Method in class com.squareup.okhttp.FormEncodingBuilder
-
-
Add new key-value pair.
-
-
addEncodedPathSegment(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
addEncodedQueryParameter(String, String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
-
Adds the pre-encoded query parameter to this URL's query string.
-
-
addFormDataPart(String, String) - Method in class com.squareup.okhttp.MultipartBuilder
-
-
Add a form data part to the body.
-
-
addFormDataPart(String, String, RequestBody) - Method in class com.squareup.okhttp.MultipartBuilder
-
-
Add a form data part to the body.
-
-
addHeader(String, String) - Method in class com.squareup.okhttp.Request.Builder
-
-
Adds a header with name and value.
-
-
addHeader(String, String) - Method in class com.squareup.okhttp.Response.Builder
-
-
Adds a header with name and value.
-
-
addPart(RequestBody) - Method in class com.squareup.okhttp.MultipartBuilder
-
-
Add a part to the body.
-
-
addPart(Headers, RequestBody) - Method in class com.squareup.okhttp.MultipartBuilder
-
-
Add a part to the body.
-
-
addPathSegment(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
addQueryParameter(String, String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
-
Encodes the query parameter using UTF-8 and adds it to this URL's query string.
-
-
Address - Class in com.squareup.okhttp
-
-
A specification for a connection to an origin server.
-
-
Address(String, int, Dns, SocketFactory, SSLSocketFactory, HostnameVerifier, CertificatePinner, Authenticator, Proxy, List<Protocol>, List<ConnectionSpec>, ProxySelector) - Constructor for class com.squareup.okhttp.Address
-
 
-
allEnabledCipherSuites() - Method in class com.squareup.okhttp.ConnectionSpec.Builder
-
 
-
allEnabledTlsVersions() - Method in class com.squareup.okhttp.ConnectionSpec.Builder
-
 
-
ALTERNATIVE - Static variable in class com.squareup.okhttp.MultipartBuilder
-
-
The "multipart/alternative" type is syntactically identical to - "multipart/mixed", but the semantics are different.
-
-
authenticate(Proxy, Response) - Method in interface com.squareup.okhttp.Authenticator
-
-
Returns a request that includes a credential to satisfy an authentication - challenge in response.
-
-
authenticateProxy(Proxy, Response) - Method in interface com.squareup.okhttp.Authenticator
-
-
Returns a request that includes a credential to satisfy an authentication - challenge made by response.
-
-
Authenticator - Interface in com.squareup.okhttp
-
-
Responds to authentication challenges from the remote web or proxy server.
-
-
- - - -

B

-
-
basic(String, String) - Static method in class com.squareup.okhttp.Credentials
-
-
Returns an auth credential for the Basic scheme.
-
-
body() - Method in class com.squareup.okhttp.Request
-
 
-
body() - Method in class com.squareup.okhttp.Response
-
 
-
body(ResponseBody) - Method in class com.squareup.okhttp.Response.Builder
-
 
-
build() - Method in class com.squareup.okhttp.CacheControl.Builder
-
 
-
build() - Method in class com.squareup.okhttp.CertificatePinner.Builder
-
 
-
build() - Method in class com.squareup.okhttp.ConnectionSpec.Builder
-
 
-
build() - Method in class com.squareup.okhttp.FormEncodingBuilder
-
 
-
build() - Method in class com.squareup.okhttp.Headers.Builder
-
 
-
build() - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
build() - Method in class com.squareup.okhttp.MultipartBuilder
-
-
Assemble the specified parts into a request body.
-
-
build() - Method in class com.squareup.okhttp.Request.Builder
-
 
-
build() - Method in class com.squareup.okhttp.Response.Builder
-
 
-
Builder() - Constructor for class com.squareup.okhttp.CacheControl.Builder
-
 
-
Builder() - Constructor for class com.squareup.okhttp.CertificatePinner.Builder
-
 
-
Builder(ConnectionSpec) - Constructor for class com.squareup.okhttp.ConnectionSpec.Builder
-
 
-
Builder() - Constructor for class com.squareup.okhttp.Headers.Builder
-
 
-
Builder() - Constructor for class com.squareup.okhttp.HttpUrl.Builder
-
 
-
Builder() - Constructor for class com.squareup.okhttp.Request.Builder
-
 
-
Builder() - Constructor for class com.squareup.okhttp.Response.Builder
-
 
-
bytes() - Method in class com.squareup.okhttp.ResponseBody
-
 
-
byteStream() - Method in class com.squareup.okhttp.ResponseBody
-
 
-
- - - -

C

-
-
Cache - Class in com.squareup.okhttp
-
-
Caches HTTP and HTTPS responses to the filesystem so they may be reused, saving time and - bandwidth.
-
-
Cache(File, long) - Constructor for class com.squareup.okhttp.Cache
-
 
-
CacheControl - Class in com.squareup.okhttp
-
-
A Cache-Control header with cache directives from a server or client.
-
-
cacheControl(CacheControl) - Method in class com.squareup.okhttp.Request.Builder
-
-
Sets this request's Cache-Control header, replacing any cache - control headers already present.
-
-
cacheControl() - Method in class com.squareup.okhttp.Request
-
-
Returns the cache control directives for this response.
-
-
cacheControl() - Method in class com.squareup.okhttp.Response
-
-
Returns the cache control directives for this response.
-
-
CacheControl.Builder - Class in com.squareup.okhttp
-
-
Builds a Cache-Control request header.
-
-
cacheResponse(Response) - Method in class com.squareup.okhttp.Response.Builder
-
 
-
cacheResponse() - Method in class com.squareup.okhttp.Response
-
-
Returns the raw response received from the cache.
-
-
Call - Class in com.squareup.okhttp
-
-
A call is a request that has been prepared for execution.
-
-
Call(OkHttpClient, Request) - Constructor for class com.squareup.okhttp.Call
-
 
-
Callback - Interface in com.squareup.okhttp
-
 
-
cancel() - Method in class com.squareup.okhttp.Call
-
-
Cancels the request, if possible.
-
-
cancel(Object) - Method in class com.squareup.okhttp.Dispatcher
-
-
Cancel all calls with the tag tag.
-
-
cancel(Object) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Cancels all scheduled or in-flight calls tagged with tag.
-
-
CertificatePinner - Class in com.squareup.okhttp
-
-
Constrains which certificates are trusted.
-
-
CertificatePinner.Builder - Class in com.squareup.okhttp
-
-
Builds a configured certificate pinner.
-
-
Challenge - Class in com.squareup.okhttp
-
-
An RFC 2617 challenge.
-
-
Challenge(String, String) - Constructor for class com.squareup.okhttp.Challenge
-
 
-
challenges() - Method in class com.squareup.okhttp.Response
-
-
Returns the authorization challenges appropriate for this response's code.
-
-
charset() - Method in class com.squareup.okhttp.MediaType
-
-
Returns the charset of this media type, or null if this media type doesn't - specify a charset.
-
-
charset(Charset) - Method in class com.squareup.okhttp.MediaType
-
-
Returns the charset of this media type, or defaultValue if this - media type doesn't specify a charset.
-
-
charStream() - Method in class com.squareup.okhttp.ResponseBody
-
-
Returns the response as a character stream decoded with the charset - of the Content-Type header.
-
-
check(String, List<Certificate>) - Method in class com.squareup.okhttp.CertificatePinner
-
-
Confirms that at least one of the certificates pinned for hostname - is in peerCertificates.
-
-
check(String, Certificate...) - Method in class com.squareup.okhttp.CertificatePinner
-
-
Deprecated. - -
-
-
CipherSuite - Enum in com.squareup.okhttp
-
- -
-
cipherSuite() - Method in class com.squareup.okhttp.Handshake
-
-
Returns a cipher suite name like "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA".
-
-
cipherSuites(CipherSuite...) - Method in class com.squareup.okhttp.ConnectionSpec.Builder
-
 
-
cipherSuites(String...) - Method in class com.squareup.okhttp.ConnectionSpec.Builder
-
 
-
cipherSuites() - Method in class com.squareup.okhttp.ConnectionSpec
-
-
Returns the cipher suites to use for a connection.
-
-
CLEARTEXT - Static variable in class com.squareup.okhttp.ConnectionSpec
-
-
Unencrypted, unauthenticated connections for http: URLs.
-
-
clone() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Returns a shallow copy of this OkHttpClient.
-
-
close() - Method in class com.squareup.okhttp.Cache
-
 
-
close() - Method in class com.squareup.okhttp.ResponseBody
-
 
-
code(int) - Method in class com.squareup.okhttp.Response.Builder
-
 
-
code() - Method in class com.squareup.okhttp.Response
-
-
Returns the HTTP status code.
-
-
com.squareup.okhttp - package com.squareup.okhttp
-
 
-
COMPATIBLE_TLS - Static variable in class com.squareup.okhttp.ConnectionSpec
-
-
A backwards-compatible fallback connection for interop with obsolete servers.
-
-
Connection - Interface in com.squareup.okhttp
-
-
The sockets and streams of an HTTP, HTTPS, or HTTPS+SPDY connection.
-
-
connection() - Method in interface com.squareup.okhttp.Interceptor.Chain
-
 
-
ConnectionPool - Class in com.squareup.okhttp
-
-
Manages reuse of HTTP and SPDY connections for reduced network latency.
-
-
ConnectionPool(int, long) - Constructor for class com.squareup.okhttp.ConnectionPool
-
 
-
ConnectionPool(int, long, TimeUnit) - Constructor for class com.squareup.okhttp.ConnectionPool
-
 
-
ConnectionSpec - Class in com.squareup.okhttp
-
-
Specifies configuration for the socket connection that HTTP traffic travels through.
-
-
ConnectionSpec.Builder - Class in com.squareup.okhttp
-
 
-
contentLength() - Method in class com.squareup.okhttp.RequestBody
-
-
Returns the number of bytes that will be written to out in a call - to RequestBody.writeTo(okio.BufferedSink), or -1 if that count is unknown.
-
-
contentLength() - Method in class com.squareup.okhttp.ResponseBody
-
-
Returns the number of bytes in that will returned by ResponseBody.bytes(), or - ResponseBody.byteStream(), or -1 if unknown.
-
-
contentType() - Method in class com.squareup.okhttp.RequestBody
-
-
Returns the Content-Type header for this body.
-
-
contentType() - Method in class com.squareup.okhttp.ResponseBody
-
 
-
create(MediaType, String) - Static method in class com.squareup.okhttp.RequestBody
-
-
Returns a new request body that transmits content.
-
-
create(MediaType, ByteString) - Static method in class com.squareup.okhttp.RequestBody
-
-
Returns a new request body that transmits content.
-
-
create(MediaType, byte[]) - Static method in class com.squareup.okhttp.RequestBody
-
-
Returns a new request body that transmits content.
-
-
create(MediaType, byte[], int, int) - Static method in class com.squareup.okhttp.RequestBody
-
-
Returns a new request body that transmits content.
-
-
create(MediaType, File) - Static method in class com.squareup.okhttp.RequestBody
-
-
Returns a new request body that transmits the content of file.
-
-
create(MediaType, String) - Static method in class com.squareup.okhttp.ResponseBody
-
-
Returns a new response body that transmits content.
-
-
create(MediaType, byte[]) - Static method in class com.squareup.okhttp.ResponseBody
-
-
Returns a new response body that transmits content.
-
-
create(MediaType, long, BufferedSource) - Static method in class com.squareup.okhttp.ResponseBody
-
-
Returns a new response body that transmits content.
-
-
Credentials - Class in com.squareup.okhttp
-
-
Factory for HTTP authorization credentials.
-
-
- - - -

D

-
-
DEFAULT - Static variable in class com.squareup.okhttp.CertificatePinner
-
 
-
defaultPort(String) - Static method in class com.squareup.okhttp.HttpUrl
-
-
Returns 80 if scheme.equals("http"), 443 if scheme.equals("https") and -1 - otherwise.
-
-
delete() - Method in class com.squareup.okhttp.Cache
-
-
Closes the cache and deletes all of its stored values.
-
-
delete(RequestBody) - Method in class com.squareup.okhttp.Request.Builder
-
 
-
delete() - Method in class com.squareup.okhttp.Request.Builder
-
 
-
DIGEST - Static variable in class com.squareup.okhttp.MultipartBuilder
-
-
This type is syntactically identical to "multipart/mixed", but the - semantics are different.
-
-
Dispatcher - Class in com.squareup.okhttp
-
-
Policy on when async requests are executed.
-
-
Dispatcher(ExecutorService) - Constructor for class com.squareup.okhttp.Dispatcher
-
 
-
Dispatcher() - Constructor for class com.squareup.okhttp.Dispatcher
-
 
-
Dns - Interface in com.squareup.okhttp
-
-
A domain name service that resolves IP addresses for host names.
-
-
- - - -

E

-
-
encodedFragment(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
encodedFragment() - Method in class com.squareup.okhttp.HttpUrl
-
 
-
encodedPassword(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
encodedPassword() - Method in class com.squareup.okhttp.HttpUrl
-
-
Returns the password, or an empty string if none is set.
-
-
encodedPath(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
encodedPath() - Method in class com.squareup.okhttp.HttpUrl
-
-
Returns the entire path of this URL, encoded for use in HTTP resource resolution.
-
-
encodedPathSegments() - Method in class com.squareup.okhttp.HttpUrl
-
 
-
encodedQuery(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
encodedQuery() - Method in class com.squareup.okhttp.HttpUrl
-
-
Returns the query of this URL, encoded for use in HTTP resource resolution.
-
-
encodedUsername(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
encodedUsername() - Method in class com.squareup.okhttp.HttpUrl
-
-
Returns the username, or an empty string if none is set.
-
-
enqueue(Callback) - Method in class com.squareup.okhttp.Call
-
-
Schedules the request to be executed at some point in the future.
-
-
equals(Object) - Method in class com.squareup.okhttp.Address
-
 
-
equals(Object) - Method in class com.squareup.okhttp.Challenge
-
 
-
equals(Object) - Method in class com.squareup.okhttp.ConnectionSpec
-
 
-
equals(Object) - Method in class com.squareup.okhttp.Handshake
-
 
-
equals(Object) - Method in class com.squareup.okhttp.HttpUrl
-
 
-
equals(Object) - Method in class com.squareup.okhttp.MediaType
-
 
-
equals(Object) - Method in class com.squareup.okhttp.Route
-
 
-
evictAll() - Method in class com.squareup.okhttp.Cache
-
-
Deletes all values stored in the cache.
-
-
evictAll() - Method in class com.squareup.okhttp.ConnectionPool
-
-
Close and remove all idle connections in the pool.
-
-
execute() - Method in class com.squareup.okhttp.Call
-
-
Invokes the request immediately, and blocks until the response can be - processed or is in error.
-
-
- - - -

F

-
-
flush() - Method in class com.squareup.okhttp.Cache
-
 
-
FORCE_CACHE - Static variable in class com.squareup.okhttp.CacheControl
-
-
Cache control request directives that uses the cache only, even if the - cached response is stale.
-
-
FORCE_NETWORK - Static variable in class com.squareup.okhttp.CacheControl
-
-
Cache control request directives that require network validation of - responses.
-
-
forJavaName(String) - Static method in enum com.squareup.okhttp.CipherSuite
-
 
-
forJavaName(String) - Static method in enum com.squareup.okhttp.TlsVersion
-
 
-
FORM - Static variable in class com.squareup.okhttp.MultipartBuilder
-
-
The media-type multipart/form-data follows the rules of all multipart - MIME data streams as outlined in RFC 2046.
-
-
FormEncodingBuilder - Class in com.squareup.okhttp
-
-
Fluent API to build HTML - 2.0-compliant form data.
-
-
FormEncodingBuilder() - Constructor for class com.squareup.okhttp.FormEncodingBuilder
-
 
-
fragment(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
fragment() - Method in class com.squareup.okhttp.HttpUrl
-
 
-
- - - -

G

-
-
get(SSLSession) - Static method in class com.squareup.okhttp.Handshake
-
 
-
get(String, List<Certificate>, List<Certificate>) - Static method in class com.squareup.okhttp.Handshake
-
 
-
get(String) - Method in class com.squareup.okhttp.Headers.Builder
-
-
Equivalent to build().get(name), but potentially faster.
-
-
get(String) - Method in class com.squareup.okhttp.Headers
-
-
Returns the last value corresponding to the specified field, or null.
-
-
get(URL) - Static method in class com.squareup.okhttp.HttpUrl
-
-
Returns an HttpUrl for url if its protocol is http or https, or - null if it has any other protocol.
-
-
get(URI) - Static method in class com.squareup.okhttp.HttpUrl
-
 
-
get(String) - Static method in enum com.squareup.okhttp.Protocol
-
-
Returns the protocol identified by protocol.
-
-
get() - Method in class com.squareup.okhttp.Request.Builder
-
 
-
getAddress() - Method in class com.squareup.okhttp.Route
-
 
-
getAuthenticator() - Method in class com.squareup.okhttp.Address
-
-
Returns the client's authenticator.
-
-
getAuthenticator() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getCache() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getCertificatePinner() - Method in class com.squareup.okhttp.Address
-
-
Returns this address's certificate pinner, or null if this is not an HTTPS address.
-
-
getCertificatePinner() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getConnectionCount() - Method in class com.squareup.okhttp.ConnectionPool
-
-
Returns total number of connections in the pool.
-
-
getConnectionPool() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getConnectionSpecs() - Method in class com.squareup.okhttp.Address
-
 
-
getConnectionSpecs() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getConnectTimeout() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Default connect timeout (in milliseconds).
-
-
getCookieHandler() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getDate(String) - Method in class com.squareup.okhttp.Headers
-
-
Returns the last value corresponding to the specified field parsed as an - HTTP date, or null if either the field is absent or cannot be parsed as a - date.
-
-
getDefault() - Static method in class com.squareup.okhttp.ConnectionPool
-
 
-
getDirectory() - Method in class com.squareup.okhttp.Cache
-
 
-
getDispatcher() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getDns() - Method in class com.squareup.okhttp.Address
-
-
Returns the service that will be used to resolve IP addresses for hostnames.
-
-
getDns() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getExecutorService() - Method in class com.squareup.okhttp.Dispatcher
-
 
-
getFollowRedirects() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getFollowSslRedirects() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getHandshake() - Method in interface com.squareup.okhttp.Connection
-
 
-
getHitCount() - Method in class com.squareup.okhttp.Cache
-
 
-
getHostnameVerifier() - Method in class com.squareup.okhttp.Address
-
-
Returns the hostname verifier, or null if this is not an HTTPS address.
-
-
getHostnameVerifier() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getHttpConnectionCount() - Method in class com.squareup.okhttp.ConnectionPool
-
-
Returns total number of http connections in the pool.
-
-
getIdleConnectionCount() - Method in class com.squareup.okhttp.ConnectionPool
-
-
Returns the number of idle connections in the pool.
-
-
getMaxRequests() - Method in class com.squareup.okhttp.Dispatcher
-
 
-
getMaxRequestsPerHost() - Method in class com.squareup.okhttp.Dispatcher
-
 
-
getMaxSize() - Method in class com.squareup.okhttp.Cache
-
 
-
getMultiplexedConnectionCount() - Method in class com.squareup.okhttp.ConnectionPool
-
-
Returns total number of multiplexed connections in the pool.
-
-
getNetworkCount() - Method in class com.squareup.okhttp.Cache
-
 
-
getProtocol() - Method in interface com.squareup.okhttp.Connection
-
-
Returns the protocol negotiated by this connection, or Protocol.HTTP_1_1 if no protocol - has been negotiated.
-
-
getProtocols() - Method in class com.squareup.okhttp.Address
-
-
Returns the protocols the client supports.
-
-
getProtocols() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getProxy() - Method in class com.squareup.okhttp.Address
-
-
Returns this address's explicitly-specified HTTP proxy, or null to - delegate to the proxy selector.
-
-
getProxy() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getProxy() - Method in class com.squareup.okhttp.Route
-
-
Returns the Proxy of this route.
-
-
getProxySelector() - Method in class com.squareup.okhttp.Address
-
-
Returns this address's proxy selector.
-
-
getProxySelector() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getQueuedCallCount() - Method in class com.squareup.okhttp.Dispatcher
-
 
-
getReadTimeout() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Default read timeout (in milliseconds).
-
-
getRealm() - Method in class com.squareup.okhttp.Challenge
-
-
Returns the protection space.
-
-
getRequestCount() - Method in class com.squareup.okhttp.Cache
-
 
-
getRetryOnConnectionFailure() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getRoute() - Method in interface com.squareup.okhttp.Connection
-
-
Returns the route used by this connection.
-
-
getRunningCallCount() - Method in class com.squareup.okhttp.Dispatcher
-
 
-
getScheme() - Method in class com.squareup.okhttp.Challenge
-
-
Returns the authentication scheme, like Basic.
-
-
getSize() - Method in class com.squareup.okhttp.Cache
-
 
-
getSocket() - Method in interface com.squareup.okhttp.Connection
-
-
Returns the socket that this connection uses, or null if the connection - is not currently connected.
-
-
getSocketAddress() - Method in class com.squareup.okhttp.Route
-
 
-
getSocketFactory() - Method in class com.squareup.okhttp.Address
-
-
Returns the socket factory for new connections.
-
-
getSocketFactory() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getSpdyConnectionCount() - Method in class com.squareup.okhttp.ConnectionPool
-
- -
-
getSslSocketFactory() - Method in class com.squareup.okhttp.Address
-
-
Returns the SSL socket factory, or null if this is not an HTTPS address.
-
-
getSslSocketFactory() - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
getUriHost() - Method in class com.squareup.okhttp.Address
-
-
Deprecated. -
prefer address.url().host().
-
-
-
getUriPort() - Method in class com.squareup.okhttp.Address
-
-
Deprecated. -
prefer address.url().port().
-
-
-
getWriteAbortCount() - Method in class com.squareup.okhttp.Cache
-
 
-
getWriteSuccessCount() - Method in class com.squareup.okhttp.Cache
-
 
-
getWriteTimeout() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Default write timeout (in milliseconds).
-
-
- - - -

H

-
-
Handshake - Class in com.squareup.okhttp
-
-
A record of a TLS handshake.
-
-
handshake(Handshake) - Method in class com.squareup.okhttp.Response.Builder
-
 
-
handshake() - Method in class com.squareup.okhttp.Response
-
-
Returns the TLS handshake of the connection that carried this response, or - null if the response was received without TLS.
-
-
hashCode() - Method in class com.squareup.okhttp.Address
-
 
-
hashCode() - Method in class com.squareup.okhttp.Challenge
-
 
-
hashCode() - Method in class com.squareup.okhttp.ConnectionSpec
-
 
-
hashCode() - Method in class com.squareup.okhttp.Handshake
-
 
-
hashCode() - Method in class com.squareup.okhttp.HttpUrl
-
 
-
hashCode() - Method in class com.squareup.okhttp.MediaType
-
 
-
hashCode() - Method in class com.squareup.okhttp.Route
-
 
-
head() - Method in class com.squareup.okhttp.Request.Builder
-
 
-
header(String, String) - Method in class com.squareup.okhttp.Request.Builder
-
-
Sets the header named name to value.
-
-
header(String) - Method in class com.squareup.okhttp.Request
-
 
-
header(String, String) - Method in class com.squareup.okhttp.Response.Builder
-
-
Sets the header named name to value.
-
-
header(String) - Method in class com.squareup.okhttp.Response
-
 
-
header(String, String) - Method in class com.squareup.okhttp.Response
-
 
-
Headers - Class in com.squareup.okhttp
-
-
The header fields of a single HTTP message.
-
-
headers(Headers) - Method in class com.squareup.okhttp.Request.Builder
-
-
Removes all headers on this builder and adds headers.
-
-
headers() - Method in class com.squareup.okhttp.Request
-
 
-
headers(String) - Method in class com.squareup.okhttp.Request
-
 
-
headers(Headers) - Method in class com.squareup.okhttp.Response.Builder
-
-
Removes all headers on this builder and adds headers.
-
-
headers(String) - Method in class com.squareup.okhttp.Response
-
 
-
headers() - Method in class com.squareup.okhttp.Response
-
 
-
Headers.Builder - Class in com.squareup.okhttp
-
 
-
host(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
host() - Method in class com.squareup.okhttp.HttpUrl
-
-
Returns the host address suitable for use with InetAddress.getAllByName(String).
-
-
HttpUrl - Class in com.squareup.okhttp
-
-
A uniform resource locator (URL) with a scheme of either http or https.
-
-
httpUrl() - Method in class com.squareup.okhttp.Request
-
 
-
HttpUrl.Builder - Class in com.squareup.okhttp
-
 
-
- - - -

I

-
-
initialize() - Method in class com.squareup.okhttp.Cache
-
-
Initialize the cache.
-
-
intercept(Interceptor.Chain) - Method in interface com.squareup.okhttp.Interceptor
-
 
-
Interceptor - Interface in com.squareup.okhttp
-
-
Observes, modifies, and potentially short-circuits requests going out and the corresponding - requests coming back in.
-
-
Interceptor.Chain - Interface in com.squareup.okhttp
-
 
-
interceptors() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Returns a modifiable list of interceptors that observe the full span of each call: from before - the connection is established (if any) until after the response source is selected (either the - origin server, cache, or both).
-
-
isCanceled() - Method in class com.squareup.okhttp.Call
-
 
-
isClosed() - Method in class com.squareup.okhttp.Cache
-
 
-
isCompatible(SSLSocket) - Method in class com.squareup.okhttp.ConnectionSpec
-
-
Returns true if the socket, as currently configured, supports this connection spec.
-
-
isExecuted() - Method in class com.squareup.okhttp.Call
-
-
Returns true if this call has been either executed or enqueued.
-
-
isHttps() - Method in class com.squareup.okhttp.HttpUrl
-
 
-
isHttps() - Method in class com.squareup.okhttp.Request
-
 
-
isPrivate() - Method in class com.squareup.okhttp.CacheControl
-
 
-
isPublic() - Method in class com.squareup.okhttp.CacheControl
-
 
-
isRedirect() - Method in class com.squareup.okhttp.Response
-
-
Returns true if this response redirects to another resource.
-
-
isSuccessful() - Method in class com.squareup.okhttp.Response
-
-
Returns true if the code is in [200..300), which means the request was - successfully received, understood, and accepted.
-
-
isTls() - Method in class com.squareup.okhttp.ConnectionSpec
-
 
-
- - - -

J

-
-
javaName() - Method in enum com.squareup.okhttp.TlsVersion
-
 
-
- - - -

L

-
-
localCertificates() - Method in class com.squareup.okhttp.Handshake
-
-
Returns a possibly-empty list of certificates that identify this peer.
-
-
localPrincipal() - Method in class com.squareup.okhttp.Handshake
-
-
Returns the local principle, or null if this peer is anonymous.
-
-
lookup(String) - Method in interface com.squareup.okhttp.Dns
-
-
Returns the IP addresses of hostname, in the order they will be attempted by OkHttp.
-
-
- - - -

M

-
-
maxAge(int, TimeUnit) - Method in class com.squareup.okhttp.CacheControl.Builder
-
-
Sets the maximum age of a cached response.
-
-
maxAgeSeconds() - Method in class com.squareup.okhttp.CacheControl
-
-
The duration past the response's served date that it can be served without - validation.
-
-
maxStale(int, TimeUnit) - Method in class com.squareup.okhttp.CacheControl.Builder
-
-
Accept cached responses that have exceeded their freshness lifetime by - up to maxStale.
-
-
maxStaleSeconds() - Method in class com.squareup.okhttp.CacheControl
-
 
-
MediaType - Class in com.squareup.okhttp
-
-
An RFC 2045 Media Type, - appropriate to describe the content type of an HTTP request or response body.
-
-
message(String) - Method in class com.squareup.okhttp.Response.Builder
-
 
-
message() - Method in class com.squareup.okhttp.Response
-
-
Returns the HTTP status message or null if it is unknown.
-
-
method(String, RequestBody) - Method in class com.squareup.okhttp.Request.Builder
-
 
-
method() - Method in class com.squareup.okhttp.Request
-
 
-
minFresh(int, TimeUnit) - Method in class com.squareup.okhttp.CacheControl.Builder
-
-
Sets the minimum number of seconds that a response will continue to be - fresh for.
-
-
minFreshSeconds() - Method in class com.squareup.okhttp.CacheControl
-
 
-
MIXED - Static variable in class com.squareup.okhttp.MultipartBuilder
-
-
The "mixed" subtype of "multipart" is intended for use when the body - parts are independent and need to be bundled in a particular order.
-
-
MODERN_TLS - Static variable in class com.squareup.okhttp.ConnectionSpec
-
-
A modern TLS connection with extensions like SNI and ALPN available.
-
-
MultipartBuilder - Class in com.squareup.okhttp
-
-
Fluent API to build RFC - 2387-compliant request bodies.
-
-
MultipartBuilder() - Constructor for class com.squareup.okhttp.MultipartBuilder
-
-
Creates a new multipart builder that uses a random boundary token.
-
-
MultipartBuilder(String) - Constructor for class com.squareup.okhttp.MultipartBuilder
-
-
Creates a new multipart builder that uses boundary to separate - parts.
-
-
mustRevalidate() - Method in class com.squareup.okhttp.CacheControl
-
 
-
- - - -

N

-
-
name(int) - Method in class com.squareup.okhttp.Headers
-
-
Returns the field at position or null if that is out of range.
-
-
names() - Method in class com.squareup.okhttp.Headers
-
-
Returns an immutable case-insensitive set of header names.
-
-
networkInterceptors() - Method in class com.squareup.okhttp.OkHttpClient
-
-
Returns a modifiable list of interceptors that observe a single network request and response.
-
-
networkResponse(Response) - Method in class com.squareup.okhttp.Response.Builder
-
 
-
networkResponse() - Method in class com.squareup.okhttp.Response
-
-
Returns the raw response received from the network.
-
-
newBuilder() - Method in class com.squareup.okhttp.Headers
-
 
-
newBuilder() - Method in class com.squareup.okhttp.HttpUrl
-
 
-
newBuilder() - Method in class com.squareup.okhttp.Request
-
 
-
newBuilder() - Method in class com.squareup.okhttp.Response
-
 
-
newCall(Request) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Prepares the request to be executed at some point in the future.
-
-
noCache() - Method in class com.squareup.okhttp.CacheControl.Builder
-
-
Don't accept an unvalidated cached response.
-
-
noCache() - Method in class com.squareup.okhttp.CacheControl
-
-
In a response, this field's name "no-cache" is misleading.
-
-
noStore() - Method in class com.squareup.okhttp.CacheControl.Builder
-
-
Don't store the server's response in any cache.
-
-
noStore() - Method in class com.squareup.okhttp.CacheControl
-
-
If true, this response should not be cached.
-
-
noTransform() - Method in class com.squareup.okhttp.CacheControl.Builder
-
-
Don't accept a transformed response.
-
-
noTransform() - Method in class com.squareup.okhttp.CacheControl
-
 
-
- - - -

O

-
-
of(String...) - Static method in class com.squareup.okhttp.Headers
-
-
Returns headers for the alternating header names and values.
-
-
of(Map<String, String>) - Static method in class com.squareup.okhttp.Headers
-
-
Returns headers for the header names and values in the Map.
-
-
OkHttpClient - Class in com.squareup.okhttp
-
-
Configures and creates HTTP connections.
-
-
OkHttpClient() - Constructor for class com.squareup.okhttp.OkHttpClient
-
 
-
onFailure(Request, IOException) - Method in interface com.squareup.okhttp.Callback
-
-
Called when the request could not be executed due to cancellation, a - connectivity problem or timeout.
-
-
onlyIfCached() - Method in class com.squareup.okhttp.CacheControl.Builder
-
-
Only accept the response if it is in the cache.
-
-
onlyIfCached() - Method in class com.squareup.okhttp.CacheControl
-
-
This field's name "only-if-cached" is misleading.
-
-
onResponse(Response) - Method in interface com.squareup.okhttp.Callback
-
-
Called when the HTTP response was successfully returned by the remote - server.
-
-
- - - -

P

-
-
PARALLEL - Static variable in class com.squareup.okhttp.MultipartBuilder
-
-
This type is syntactically identical to "multipart/mixed", but the - semantics are different.
-
-
parse(Headers) - Static method in class com.squareup.okhttp.CacheControl
-
-
Returns the cache directives of headers.
-
-
parse(String) - Static method in class com.squareup.okhttp.HttpUrl
-
-
Returns a new HttpUrl representing url if it is a well-formed HTTP or HTTPS - URL, or null if it isn't.
-
-
parse(String) - Static method in class com.squareup.okhttp.MediaType
-
-
Returns a media type for string, or null if string is not a - well-formed media type.
-
-
password(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
password() - Method in class com.squareup.okhttp.HttpUrl
-
-
Returns the decoded password, or an empty string if none is present.
-
-
patch(RequestBody) - Method in class com.squareup.okhttp.Request.Builder
-
 
-
pathSegments() - Method in class com.squareup.okhttp.HttpUrl
-
 
-
pathSize() - Method in class com.squareup.okhttp.HttpUrl
-
 
-
peerCertificates() - Method in class com.squareup.okhttp.Handshake
-
-
Returns a possibly-empty list of certificates that identify the remote peer.
-
-
peerPrincipal() - Method in class com.squareup.okhttp.Handshake
-
-
Returns the remote peer's principle, or null if that peer is anonymous.
-
-
pin(Certificate) - Static method in class com.squareup.okhttp.CertificatePinner
-
-
Returns the SHA-1 of certificate's public key.
-
-
port(int) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
port() - Method in class com.squareup.okhttp.HttpUrl
-
-
Returns the explicitly-specified port if one was provided, or the default port for this URL's - scheme.
-
-
post(RequestBody) - Method in class com.squareup.okhttp.Request.Builder
-
 
-
priorResponse(Response) - Method in class com.squareup.okhttp.Response.Builder
-
 
-
priorResponse() - Method in class com.squareup.okhttp.Response
-
-
Returns the response for the HTTP redirect or authorization challenge that - triggered this response, or null if this response wasn't triggered by an - automatic retry.
-
-
proceed(Request) - Method in interface com.squareup.okhttp.Interceptor.Chain
-
 
-
Protocol - Enum in com.squareup.okhttp
-
-
Protocols that OkHttp implements for ALPN - selection.
-
-
protocol(Protocol) - Method in class com.squareup.okhttp.Response.Builder
-
 
-
protocol() - Method in class com.squareup.okhttp.Response
-
-
Returns the HTTP protocol, such as Protocol.HTTP_1_1 or Protocol.HTTP_1_0.
-
-
put(RequestBody) - Method in class com.squareup.okhttp.Request.Builder
-
 
-
- - - -

Q

-
-
query(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
query() - Method in class com.squareup.okhttp.HttpUrl
-
 
-
queryParameter(String) - Method in class com.squareup.okhttp.HttpUrl
-
-
Returns the first query parameter named name decoded using UTF-8, or null if there is - no such query parameter.
-
-
queryParameterName(int) - Method in class com.squareup.okhttp.HttpUrl
-
 
-
queryParameterNames() - Method in class com.squareup.okhttp.HttpUrl
-
 
-
queryParameterValue(int) - Method in class com.squareup.okhttp.HttpUrl
-
 
-
queryParameterValues(String) - Method in class com.squareup.okhttp.HttpUrl
-
 
-
querySize() - Method in class com.squareup.okhttp.HttpUrl
-
 
-
- - - -

R

-
-
removeAll(String) - Method in class com.squareup.okhttp.Headers.Builder
-
 
-
removeAllEncodedQueryParameters(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
removeAllQueryParameters(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
removeHeader(String) - Method in class com.squareup.okhttp.Request.Builder
-
 
-
removeHeader(String) - Method in class com.squareup.okhttp.Response.Builder
-
 
-
removePathSegment(int) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
request() - Method in interface com.squareup.okhttp.Interceptor.Chain
-
 
-
Request - Class in com.squareup.okhttp
-
-
An HTTP request.
-
-
request(Request) - Method in class com.squareup.okhttp.Response.Builder
-
 
-
request() - Method in class com.squareup.okhttp.Response
-
-
The wire-level request that initiated this HTTP response.
-
-
Request.Builder - Class in com.squareup.okhttp
-
 
-
RequestBody - Class in com.squareup.okhttp
-
 
-
RequestBody() - Constructor for class com.squareup.okhttp.RequestBody
-
 
-
requiresTunnel() - Method in class com.squareup.okhttp.Route
-
-
Returns true if this route tunnels HTTPS through an HTTP proxy.
-
-
resolve(String) - Method in class com.squareup.okhttp.HttpUrl
-
-
Returns the URL that would be retrieved by following link from this URL.
-
-
Response - Class in com.squareup.okhttp
-
-
An HTTP response.
-
-
Response.Builder - Class in com.squareup.okhttp
-
 
-
ResponseBody - Class in com.squareup.okhttp
-
 
-
ResponseBody() - Constructor for class com.squareup.okhttp.ResponseBody
-
 
-
Route - Class in com.squareup.okhttp
-
-
The concrete route used by a connection to reach an abstract origin server.
-
-
Route(Address, Proxy, InetSocketAddress) - Constructor for class com.squareup.okhttp.Route
-
 
-
- - - -

S

-
-
scheme(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
scheme() - Method in class com.squareup.okhttp.HttpUrl
-
-
Returns either "http" or "https".
-
-
set(String, String) - Method in class com.squareup.okhttp.Headers.Builder
-
-
Set a field with the specified value.
-
-
setAuthenticator(Authenticator) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the authenticator used to respond to challenges from the remote web - server or proxy server.
-
-
setCache(Cache) - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
setCertificatePinner(CertificatePinner) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the certificate pinner that constrains which certificates are trusted.
-
-
setConnectionPool(ConnectionPool) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the connection pool used to recycle HTTP and HTTPS connections.
-
-
setConnectionSpecs(List<ConnectionSpec>) - Method in class com.squareup.okhttp.OkHttpClient
-
 
-
setConnectTimeout(long, TimeUnit) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the default connect timeout for new connections.
-
-
setCookieHandler(CookieHandler) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the cookie handler to be used to read outgoing cookies and write - incoming cookies.
-
-
setDispatcher(Dispatcher) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the dispatcher used to set policy and execute asynchronous requests.
-
-
setDns(Dns) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the DNS service used to lookup IP addresses for hostnames.
-
-
setEncodedPathSegment(int, String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
setEncodedQueryParameter(String, String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
setFollowRedirects(boolean) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Configure this client to follow redirects.
-
-
setFollowSslRedirects(boolean) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Configure this client to follow redirects from HTTPS to HTTP and from HTTP - to HTTPS.
-
-
setHostnameVerifier(HostnameVerifier) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the verifier used to confirm that response certificates apply to - requested hostnames for HTTPS connections.
-
-
setMaxRequests(int) - Method in class com.squareup.okhttp.Dispatcher
-
-
Set the maximum number of requests to execute concurrently.
-
-
setMaxRequestsPerHost(int) - Method in class com.squareup.okhttp.Dispatcher
-
-
Set the maximum number of requests for each host to execute concurrently.
-
-
setPathSegment(int, String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
setProtocols(List<Protocol>) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Configure the protocols used by this client to communicate with remote - servers.
-
-
setProxy(Proxy) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the HTTP proxy that will be used by connections created by this - client.
-
-
setProxySelector(ProxySelector) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the proxy selection policy to be used if no proxy - is specified explicitly.
-
-
setQueryParameter(String, String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
setReadTimeout(long, TimeUnit) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the default read timeout for new connections.
-
-
setRetryOnConnectionFailure(boolean) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Configure this client to retry or not when a connectivity problem is encountered.
-
-
setSocketFactory(SocketFactory) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the socket factory used to create connections.
-
-
setSslSocketFactory(SSLSocketFactory) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the socket factory used to secure HTTPS connections.
-
-
setWriteTimeout(long, TimeUnit) - Method in class com.squareup.okhttp.OkHttpClient
-
-
Sets the default write timeout for new connections.
-
-
size() - Method in class com.squareup.okhttp.Headers
-
-
Returns the number of field values.
-
-
sMaxAgeSeconds() - Method in class com.squareup.okhttp.CacheControl
-
-
The "s-maxage" directive is the max age for shared caches.
-
-
source() - Method in class com.squareup.okhttp.ResponseBody
-
 
-
string() - Method in class com.squareup.okhttp.ResponseBody
-
-
Returns the response as a string decoded with the charset of the - Content-Type header.
-
-
subtype() - Method in class com.squareup.okhttp.MediaType
-
-
Returns a specific media subtype, such as "plain" or "png", "mpeg", - "mp4" or "xml".
-
-
supportsTlsExtensions(boolean) - Method in class com.squareup.okhttp.ConnectionSpec.Builder
-
 
-
supportsTlsExtensions() - Method in class com.squareup.okhttp.ConnectionSpec
-
 
-
SYSTEM - Static variable in interface com.squareup.okhttp.Dns
-
-
A DNS that uses InetAddress.getAllByName(java.lang.String) to ask the underlying operating system to - lookup IP addresses.
-
-
- - - -

T

-
-
tag(Object) - Method in class com.squareup.okhttp.Request.Builder
-
-
Attaches tag to the request.
-
-
tag() - Method in class com.squareup.okhttp.Request
-
 
-
TlsVersion - Enum in com.squareup.okhttp
-
-
Versions of TLS that can be offered when negotiating a secure socket.
-
-
tlsVersions(TlsVersion...) - Method in class com.squareup.okhttp.ConnectionSpec.Builder
-
 
-
tlsVersions(String...) - Method in class com.squareup.okhttp.ConnectionSpec.Builder
-
 
-
tlsVersions() - Method in class com.squareup.okhttp.ConnectionSpec
-
-
Returns the TLS versions to use when negotiating a connection.
-
-
toMultimap() - Method in class com.squareup.okhttp.Headers
-
 
-
toString() - Method in class com.squareup.okhttp.CacheControl
-
 
-
toString() - Method in class com.squareup.okhttp.Challenge
-
 
-
toString() - Method in class com.squareup.okhttp.ConnectionSpec
-
 
-
toString() - Method in class com.squareup.okhttp.Headers
-
 
-
toString() - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
toString() - Method in class com.squareup.okhttp.HttpUrl
-
 
-
toString() - Method in class com.squareup.okhttp.MediaType
-
-
Returns the encoded media type, like "text/plain; charset=utf-8", - appropriate for use in a Content-Type header.
-
-
toString() - Method in enum com.squareup.okhttp.Protocol
-
-
Returns the string used to identify this protocol for ALPN, like - "http/1.1", "spdy/3.1" or "h2".
-
-
toString() - Method in class com.squareup.okhttp.Request
-
 
-
toString() - Method in class com.squareup.okhttp.Response
-
 
-
type() - Method in class com.squareup.okhttp.MediaType
-
-
Returns the high-level media type, such as "text", "image", "audio", - "video", or "application".
-
-
type(MediaType) - Method in class com.squareup.okhttp.MultipartBuilder
-
-
Set the MIME type.
-
-
- - - -

U

-
-
uri() - Method in class com.squareup.okhttp.HttpUrl
-
-
Returns this URL as a java.net.URI.
-
-
uri() - Method in class com.squareup.okhttp.Request
-
 
-
url() - Method in class com.squareup.okhttp.Address
-
-
Returns a URL with the hostname and port of the origin server.
-
-
url() - Method in class com.squareup.okhttp.HttpUrl
-
-
Returns this URL as a java.net.URL.
-
-
url(HttpUrl) - Method in class com.squareup.okhttp.Request.Builder
-
 
-
url(String) - Method in class com.squareup.okhttp.Request.Builder
-
-
Sets the URL target of this request.
-
-
url(URL) - Method in class com.squareup.okhttp.Request.Builder
-
-
Sets the URL target of this request.
-
-
url() - Method in class com.squareup.okhttp.Request
-
 
-
urls() - Method in class com.squareup.okhttp.Cache
-
-
Returns an iterator over the URLs in this cache.
-
-
urlString() - Method in class com.squareup.okhttp.Request
-
 
-
username(String) - Method in class com.squareup.okhttp.HttpUrl.Builder
-
 
-
username() - Method in class com.squareup.okhttp.HttpUrl
-
 
-
- - - -

V

-
-
value(int) - Method in class com.squareup.okhttp.Headers
-
-
Returns the value at index or null if that is out of range.
-
-
valueOf(String) - Static method in enum com.squareup.okhttp.CipherSuite
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum com.squareup.okhttp.Protocol
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum com.squareup.okhttp.TlsVersion
-
-
Returns the enum constant of this type with the specified name.
-
-
values() - Static method in enum com.squareup.okhttp.CipherSuite
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values(String) - Method in class com.squareup.okhttp.Headers
-
-
Returns an immutable list of the header values for name.
-
-
values() - Static method in enum com.squareup.okhttp.Protocol
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum com.squareup.okhttp.TlsVersion
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
- - - -

W

-
-
writeTo(BufferedSink) - Method in class com.squareup.okhttp.RequestBody
-
-
Writes the content of this request to out.
-
-
-A B C D E F G H I J L M N O P Q R S T U V W 
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/index.html b/2.x/okhttp/index.html deleted file mode 100644 index 68fcd75ca..000000000 --- a/2.x/okhttp/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - -OkHttp 2.7.5 API - - - - - - -<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/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/2.x/okhttp/overview-tree.html b/2.x/okhttp/overview-tree.html deleted file mode 100644 index 3c75076ed..000000000 --- a/2.x/okhttp/overview-tree.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp 2.7.5 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/2.x/okhttp/package-list b/2.x/okhttp/package-list deleted file mode 100644 index ac5f84bc5..000000000 --- a/2.x/okhttp/package-list +++ /dev/null @@ -1 +0,0 @@ -com.squareup.okhttp diff --git a/2.x/okhttp/resources/background.gif b/2.x/okhttp/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}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M5|34IKI>0_Tz{5OngXe#6w*N6;;5PH%9n%56%RaWA{wJ4%515Apdj`a62bp<> zM12OuV+QZ^55ATkViO(UWgg}%9C}kb^r~=BiDyWIXZWM&kb>Q?dd$#W`4KU|2#4qh zz;sZ>ZqS5h#Kdk$&1c9AHmDUdtmHE)CqH0RIAZEE;t(^+RXF+*FlJyk;?6Vn{&MsO zZ0HwY)b4Va!F1#s^N5$-s9(&mPa*Lu4>4SxXm~l|3?PR2jB1J!Q|(4#0i$lFME^-r zA~Q(2O+PHOdcVN((R8zqi>%+yx4PA5u&+jI zZ?)Fm8m-+`n!Bnrx0PvZE7!Q)Z+NTE@K(R!nO40sZF(n~bq_b_9H`UYU#q>pPJ3UC z_UeU>J7qcy%%`ks9)BNcS^GDOn z?oKkjHNoWO1e2?M#vd12e^_AscAnLnc~-CISiYWX`D%{k^H~<37unpMYJYdSv=Om2vbAM@`Qp{{SI=yP zj6WN*eEt0G$9EPX6FU%)-ho>hWTW!yzXBIo73<0umM-=@eG&niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/2.x/okhttp/script.js b/2.x/okhttp/script.js deleted file mode 100644 index b34635693..000000000 --- a/2.x/okhttp/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/2.x/okhttp/stylesheet.css b/2.x/okhttp/stylesheet.css deleted file mode 100644 index 66c91f7d6..000000000 --- a/2.x/okhttp/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; - width:100%; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/2.x/okhttp/version.txt b/2.x/okhttp/version.txt deleted file mode 100644 index 460b6fd40..000000000 --- a/2.x/okhttp/version.txt +++ /dev/null @@ -1 +0,0 @@ -2.7.5 \ No newline at end of file diff --git a/3.x/benchmarks/META-INF/MANIFEST.MF b/3.x/benchmarks/META-INF/MANIFEST.MF deleted file mode 100644 index 83570c464..000000000 --- a/3.x/benchmarks/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_202 - diff --git a/3.x/benchmarks/allclasses-frame.html b/3.x/benchmarks/allclasses-frame.html deleted file mode 100644 index 0c12e6f8e..000000000 --- a/3.x/benchmarks/allclasses-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (Benchmarks 3.12.3 API) - - - - - -

All Classes

-
- -
- - diff --git a/3.x/benchmarks/allclasses-noframe.html b/3.x/benchmarks/allclasses-noframe.html deleted file mode 100644 index f2a4df384..000000000 --- a/3.x/benchmarks/allclasses-noframe.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (Benchmarks 3.12.3 API) - - - - - -

All Classes

-
- -
- - diff --git a/3.x/benchmarks/constant-values.html b/3.x/benchmarks/constant-values.html deleted file mode 100644 index d938a1fcb..000000000 --- a/3.x/benchmarks/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (Benchmarks 3.12.3 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/benchmarks/deprecated-list.html b/3.x/benchmarks/deprecated-list.html deleted file mode 100644 index 1bd693ca5..000000000 --- a/3.x/benchmarks/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (Benchmarks 3.12.3 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/benchmarks/help-doc.html b/3.x/benchmarks/help-doc.html deleted file mode 100644 index 4b4f4d1bb..000000000 --- a/3.x/benchmarks/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (Benchmarks 3.12.3 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/benchmarks/index-all.html b/3.x/benchmarks/index-all.html deleted file mode 100644 index 4c4bc0282..000000000 --- a/3.x/benchmarks/index-all.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - -Index (Benchmarks 3.12.3 API) - - - - - - - - -
- - - - - - - -
- - -
B M O R T  - - -

B

-
-
Benchmark - Class in okhttp3.benchmarks
-
-
This benchmark is fake, but may be useful for certain relative comparisons.
-
-
Benchmark() - Constructor for class okhttp3.benchmarks.Benchmark
-
 
-
- - - -

M

-
-
main(String[]) - Static method in class okhttp3.benchmarks.Benchmark
-
 
-
- - - -

O

-
-
okhttp3.benchmarks - package okhttp3.benchmarks
-
 
-
- - - -

R

-
-
run() - Method in class okhttp3.benchmarks.Benchmark
-
 
-
- - - -

T

-
-
toString() - Method in class okhttp3.benchmarks.Benchmark
-
 
-
-B M O R T 
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/benchmarks/index.html b/3.x/benchmarks/index.html deleted file mode 100644 index c25c3db3f..000000000 --- a/3.x/benchmarks/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - -Benchmarks 3.12.3 API - - - - - - -<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="okhttp3/benchmarks/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/3.x/benchmarks/okhttp3/benchmarks/Benchmark.html b/3.x/benchmarks/okhttp3/benchmarks/Benchmark.html deleted file mode 100644 index 156a00e70..000000000 --- a/3.x/benchmarks/okhttp3/benchmarks/Benchmark.html +++ /dev/null @@ -1,321 +0,0 @@ - - - - - - -Benchmark (Benchmarks 3.12.3 API) - - - - - - - - - - - - -
-
okhttp3.benchmarks
-

Class Benchmark

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • com.google.caliper.Benchmark
    • -
    • -
        -
      • okhttp3.benchmarks.Benchmark
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class Benchmark
    -extends com.google.caliper.Benchmark
    -
    This benchmark is fake, but may be useful for certain relative comparisons. It uses a local - connection to a MockWebServer to measure how many identical requests per second can be carried - over a fixed number of threads.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Benchmark() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidmain(java.lang.String[] args) 
      doublerun() 
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class com.google.caliper.Benchmark

        -setUp, tearDown
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Benchmark

        -
        public Benchmark()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main(java.lang.String[] args)
        -
      • -
      - - - -
        -
      • -

        run

        -
        public double run()
        -           throws java.lang.Exception
        -
        -
        Throws:
        -
        java.lang.Exception
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/benchmarks/okhttp3/benchmarks/class-use/Benchmark.html b/3.x/benchmarks/okhttp3/benchmarks/class-use/Benchmark.html deleted file mode 100644 index e0934151d..000000000 --- a/3.x/benchmarks/okhttp3/benchmarks/class-use/Benchmark.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class okhttp3.benchmarks.Benchmark (Benchmarks 3.12.3 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.benchmarks.Benchmark

-
-
No usage of okhttp3.benchmarks.Benchmark
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/benchmarks/okhttp3/benchmarks/package-frame.html b/3.x/benchmarks/okhttp3/benchmarks/package-frame.html deleted file mode 100644 index b42f6fc19..000000000 --- a/3.x/benchmarks/okhttp3/benchmarks/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -okhttp3.benchmarks (Benchmarks 3.12.3 API) - - - - - -

okhttp3.benchmarks

-
-

Classes

- -
- - diff --git a/3.x/benchmarks/okhttp3/benchmarks/package-summary.html b/3.x/benchmarks/okhttp3/benchmarks/package-summary.html deleted file mode 100644 index d5621960a..000000000 --- a/3.x/benchmarks/okhttp3/benchmarks/package-summary.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -okhttp3.benchmarks (Benchmarks 3.12.3 API) - - - - - - - - - - - -
-

Package okhttp3.benchmarks

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Benchmark -
    This benchmark is fake, but may be useful for certain relative comparisons.
    -
    -
  • -
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/benchmarks/okhttp3/benchmarks/package-tree.html b/3.x/benchmarks/okhttp3/benchmarks/package-tree.html deleted file mode 100644 index e6036307a..000000000 --- a/3.x/benchmarks/okhttp3/benchmarks/package-tree.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - -okhttp3.benchmarks Class Hierarchy (Benchmarks 3.12.3 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.benchmarks

-
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • com.google.caliper.Benchmark - -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/benchmarks/okhttp3/benchmarks/package-use.html b/3.x/benchmarks/okhttp3/benchmarks/package-use.html deleted file mode 100644 index 1716c1f32..000000000 --- a/3.x/benchmarks/okhttp3/benchmarks/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Package okhttp3.benchmarks (Benchmarks 3.12.3 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.benchmarks

-
-
No usage of okhttp3.benchmarks
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/benchmarks/overview-tree.html b/3.x/benchmarks/overview-tree.html deleted file mode 100644 index ab60a8d3b..000000000 --- a/3.x/benchmarks/overview-tree.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - -Class Hierarchy (Benchmarks 3.12.3 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • com.google.caliper.Benchmark - -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/benchmarks/package-list b/3.x/benchmarks/package-list deleted file mode 100644 index 03b31f50f..000000000 --- a/3.x/benchmarks/package-list +++ /dev/null @@ -1 +0,0 @@ -okhttp3.benchmarks diff --git a/3.x/benchmarks/script.js b/3.x/benchmarks/script.js deleted file mode 100644 index b34635693..000000000 --- a/3.x/benchmarks/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/3.x/benchmarks/stylesheet.css b/3.x/benchmarks/stylesheet.css deleted file mode 100644 index 8841f37c4..000000000 --- a/3.x/benchmarks/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/3.x/benchmarks/version.txt b/3.x/benchmarks/version.txt deleted file mode 100644 index 4c8b864a1..000000000 --- a/3.x/benchmarks/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.12.3 \ No newline at end of file diff --git a/3.x/index.html b/3.x/index.html deleted file mode 100644 index 22cd9b284..000000000 --- a/3.x/index.html +++ /dev/null @@ -1,12 +0,0 @@ - -com.squareup.okhttp3 - -

com.squareup.okhttp3

- - - diff --git a/3.x/logging-interceptor/META-INF/MANIFEST.MF b/3.x/logging-interceptor/META-INF/MANIFEST.MF deleted file mode 100644 index 83570c464..000000000 --- a/3.x/logging-interceptor/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_202 - diff --git a/3.x/logging-interceptor/allclasses-frame.html b/3.x/logging-interceptor/allclasses-frame.html deleted file mode 100644 index dc0e6d090..000000000 --- a/3.x/logging-interceptor/allclasses-frame.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - -All Classes (OkHttp Logging Interceptor 3.14.0 API) - - - - - -

All Classes

-
- - diff --git a/3.x/logging-interceptor/allclasses-noframe.html b/3.x/logging-interceptor/allclasses-noframe.html deleted file mode 100644 index 34f3b6bc4..000000000 --- a/3.x/logging-interceptor/allclasses-noframe.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - -All Classes (OkHttp Logging Interceptor 3.14.0 API) - - - - - -

All Classes

- - - diff --git a/3.x/logging-interceptor/constant-values.html b/3.x/logging-interceptor/constant-values.html deleted file mode 100644 index 4911eed06..000000000 --- a/3.x/logging-interceptor/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/deprecated-list.html b/3.x/logging-interceptor/deprecated-list.html deleted file mode 100644 index 6b3949f2b..000000000 --- a/3.x/logging-interceptor/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/help-doc.html b/3.x/logging-interceptor/help-doc.html deleted file mode 100644 index cca8e437a..000000000 --- a/3.x/logging-interceptor/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/index-all.html b/3.x/logging-interceptor/index-all.html deleted file mode 100644 index 1c6243266..000000000 --- a/3.x/logging-interceptor/index-all.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - -Index (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
C D F G H I L O R S V  - - -

C

-
-
callEnd(Call) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
callFailed(Call, IOException) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
callStart(Call) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
connectEnd(Call, InetSocketAddress, Proxy, Protocol) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
connectFailed(Call, InetSocketAddress, Proxy, Protocol, IOException) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
connectionAcquired(Call, Connection) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
connectionReleased(Call, Connection) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
connectStart(Call, InetSocketAddress, Proxy) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
create(Call) - Method in class okhttp3.logging.LoggingEventListener.Factory
-
 
-
- - - -

D

-
-
DEFAULT - Static variable in interface okhttp3.logging.HttpLoggingInterceptor.Logger
-
-
A HttpLoggingInterceptor.Logger defaults output appropriate for the current platform.
-
-
dnsEnd(Call, String, List<InetAddress>) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
dnsStart(Call, String) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
- - - -

F

-
-
Factory() - Constructor for class okhttp3.logging.LoggingEventListener.Factory
-
 
-
Factory(HttpLoggingInterceptor.Logger) - Constructor for class okhttp3.logging.LoggingEventListener.Factory
-
 
-
- - - -

G

-
-
getLevel() - Method in class okhttp3.logging.HttpLoggingInterceptor
-
 
-
- - - -

H

-
-
HttpLoggingInterceptor - Class in okhttp3.logging
-
-
An OkHttp interceptor which logs request and response information.
-
-
HttpLoggingInterceptor() - Constructor for class okhttp3.logging.HttpLoggingInterceptor
-
 
-
HttpLoggingInterceptor(HttpLoggingInterceptor.Logger) - Constructor for class okhttp3.logging.HttpLoggingInterceptor
-
 
-
HttpLoggingInterceptor.Level - Enum in okhttp3.logging
-
 
-
HttpLoggingInterceptor.Logger - Interface in okhttp3.logging
-
 
-
- - - -

I

-
-
intercept(Interceptor.Chain) - Method in class okhttp3.logging.HttpLoggingInterceptor
-
 
-
- - - -

L

-
-
log(String) - Method in interface okhttp3.logging.HttpLoggingInterceptor.Logger
-
 
-
LoggingEventListener - Class in okhttp3.logging
-
-
An OkHttp EventListener, which logs call events.
-
-
LoggingEventListener.Factory - Class in okhttp3.logging
-
 
-
- - - -

O

-
-
okhttp3.logging - package okhttp3.logging
-
-
An OkHttp interceptor which logs HTTP request and response data.
-
-
- - - -

R

-
-
redactHeader(String) - Method in class okhttp3.logging.HttpLoggingInterceptor
-
 
-
requestBodyEnd(Call, long) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
requestBodyStart(Call) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
requestFailed(Call, IOException) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
requestHeadersEnd(Call, Request) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
requestHeadersStart(Call) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
responseBodyEnd(Call, long) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
responseBodyStart(Call) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
responseFailed(Call, IOException) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
responseHeadersEnd(Call, Response) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
responseHeadersStart(Call) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
- - - -

S

-
-
secureConnectEnd(Call, Handshake) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
secureConnectStart(Call) - Method in class okhttp3.logging.LoggingEventListener
-
 
-
setLevel(HttpLoggingInterceptor.Level) - Method in class okhttp3.logging.HttpLoggingInterceptor
-
-
Change the level at which this interceptor logs.
-
-
- - - -

V

-
-
valueOf(String) - Static method in enum okhttp3.logging.HttpLoggingInterceptor.Level
-
-
Returns the enum constant of this type with the specified name.
-
-
values() - Static method in enum okhttp3.logging.HttpLoggingInterceptor.Level
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
-C D F G H I L O R S V 
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/index.html b/3.x/logging-interceptor/index.html deleted file mode 100644 index 40ee1926f..000000000 --- a/3.x/logging-interceptor/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - -OkHttp Logging Interceptor 3.14.0 API - - - - - - -<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="okhttp3/logging/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Level.html b/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Level.html deleted file mode 100644 index 32ff58343..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Level.html +++ /dev/null @@ -1,421 +0,0 @@ - - - - - - -HttpLoggingInterceptor.Level (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.logging
-

Enum HttpLoggingInterceptor.Level

-
-
- -
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      BASIC -
      Logs request and response lines.
      -
      BODY -
      Logs request and response lines and their respective headers and bodies (if present).
      -
      HEADERS -
      Logs request and response lines and their respective headers.
      -
      NONE -
      No logs.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static HttpLoggingInterceptor.LevelvalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static HttpLoggingInterceptor.Level[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - - - - - -
        -
      • -

        BASIC

        -
        public static final HttpLoggingInterceptor.Level BASIC
        -
        Logs request and response lines. - -

        Example: -

        
        - --> POST /greeting http/1.1 (3-byte body)
        -
        - <-- 200 OK (22ms, 6-byte body)
        - 
        -
      • -
      - - - -
        -
      • -

        HEADERS

        -
        public static final HttpLoggingInterceptor.Level HEADERS
        -
        Logs request and response lines and their respective headers. - -

        Example: -

        
        - --> POST /greeting http/1.1
        - Host: example.com
        - Content-Type: plain/text
        - Content-Length: 3
        - --> END POST
        -
        - <-- 200 OK (22ms)
        - Content-Type: plain/text
        - Content-Length: 6
        - <-- END HTTP
        - 
        -
      • -
      - - - -
        -
      • -

        BODY

        -
        public static final HttpLoggingInterceptor.Level BODY
        -
        Logs request and response lines and their respective headers and bodies (if present). - -

        Example: -

        
        - --> POST /greeting http/1.1
        - Host: example.com
        - Content-Type: plain/text
        - Content-Length: 3
        -
        - Hi?
        - --> END POST
        -
        - <-- 200 OK (22ms)
        - Content-Type: plain/text
        - Content-Length: 6
        -
        - Hello!
        - <-- END HTTP
        - 
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static HttpLoggingInterceptor.Level[] values()
        -
        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: -
        -for (HttpLoggingInterceptor.Level c : HttpLoggingInterceptor.Level.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static HttpLoggingInterceptor.Level valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Logger.html b/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Logger.html deleted file mode 100644 index 4096e1546..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Logger.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - -HttpLoggingInterceptor.Logger (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.logging
-

Interface HttpLoggingInterceptor.Logger

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    HttpLoggingInterceptor
    -
    -
    -
    -
    public static interface HttpLoggingInterceptor.Logger
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.html b/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.html deleted file mode 100644 index 09d8d0a40..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.html +++ /dev/null @@ -1,372 +0,0 @@ - - - - - - -HttpLoggingInterceptor (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.logging
-

Class HttpLoggingInterceptor

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.logging.HttpLoggingInterceptor
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Interceptor
    -
    -
    -
    -
    public final class HttpLoggingInterceptor
    -extends java.lang.Object
    -implements Interceptor
    -
    An OkHttp interceptor which logs request and response information. Can be applied as an - application interceptor or as a network interceptor.

    The format of the logs created by - this class should not be considered stable and may change slightly between releases. If you need - a stable logging format, use your own interceptor.

    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/okhttp3/logging/LoggingEventListener.Factory.html b/3.x/logging-interceptor/okhttp3/logging/LoggingEventListener.Factory.html deleted file mode 100644 index 3a8c1023e..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/LoggingEventListener.Factory.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -LoggingEventListener.Factory (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.logging
-

Class LoggingEventListener.Factory

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.logging.LoggingEventListener.Factory
    • -
    -
  • -
-
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/okhttp3/logging/LoggingEventListener.html b/3.x/logging-interceptor/okhttp3/logging/LoggingEventListener.html deleted file mode 100644 index 64c19b2ed..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/LoggingEventListener.html +++ /dev/null @@ -1,690 +0,0 @@ - - - - - - -LoggingEventListener (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.logging
-

Class LoggingEventListener

-
-
- -
-
    -
  • -
    -
    -
    public final class LoggingEventListener
    -extends EventListener
    -
    An OkHttp EventListener, which logs call events. Can be applied as an - event listener factory. - -

    The format of the logs created by this class should not be considered stable and may change - slightly between releases. If you need a stable logging format, use your own event listener.

    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Level.html b/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Level.html deleted file mode 100644 index c5d24ebec..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Level.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - -Uses of Class okhttp3.logging.HttpLoggingInterceptor.Level (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.logging.HttpLoggingInterceptor.Level

-
-
- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Logger.html b/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Logger.html deleted file mode 100644 index 8bed31af2..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Logger.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - -Uses of Interface okhttp3.logging.HttpLoggingInterceptor.Logger (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.logging.HttpLoggingInterceptor.Logger

-
-
- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.html b/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.html deleted file mode 100644 index 5ba2e1b99..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -Uses of Class okhttp3.logging.HttpLoggingInterceptor (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.logging.HttpLoggingInterceptor

-
-
- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/okhttp3/logging/class-use/LoggingEventListener.Factory.html b/3.x/logging-interceptor/okhttp3/logging/class-use/LoggingEventListener.Factory.html deleted file mode 100644 index 0fef3a584..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/class-use/LoggingEventListener.Factory.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class okhttp3.logging.LoggingEventListener.Factory (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.logging.LoggingEventListener.Factory

-
-
No usage of okhttp3.logging.LoggingEventListener.Factory
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/okhttp3/logging/class-use/LoggingEventListener.html b/3.x/logging-interceptor/okhttp3/logging/class-use/LoggingEventListener.html deleted file mode 100644 index ce672b3a5..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/class-use/LoggingEventListener.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class okhttp3.logging.LoggingEventListener (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.logging.LoggingEventListener

-
-
No usage of okhttp3.logging.LoggingEventListener
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/okhttp3/logging/package-frame.html b/3.x/logging-interceptor/okhttp3/logging/package-frame.html deleted file mode 100644 index 3e3a93019..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/package-frame.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - -okhttp3.logging (OkHttp Logging Interceptor 3.14.0 API) - - - - - -

okhttp3.logging

- - - diff --git a/3.x/logging-interceptor/okhttp3/logging/package-summary.html b/3.x/logging-interceptor/okhttp3/logging/package-summary.html deleted file mode 100644 index ef8b99f11..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/package-summary.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - -okhttp3.logging (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - -
-

@EverythingIsNonNull -

-

Package okhttp3.logging

-
-
An OkHttp interceptor which logs HTTP request and response data.
-
-

See: Description

-
-
- - - - -

Package okhttp3.logging Description

-
An OkHttp interceptor which logs HTTP request and response data.
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/okhttp3/logging/package-tree.html b/3.x/logging-interceptor/okhttp3/logging/package-tree.html deleted file mode 100644 index 325b80775..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/package-tree.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - -okhttp3.logging Class Hierarchy (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.logging

-
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

-
    -
  • java.lang.Object - -
  • -
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/okhttp3/logging/package-use.html b/3.x/logging-interceptor/okhttp3/logging/package-use.html deleted file mode 100644 index dddd92b17..000000000 --- a/3.x/logging-interceptor/okhttp3/logging/package-use.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -Uses of Package okhttp3.logging (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.logging

-
-
- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/overview-tree.html b/3.x/logging-interceptor/overview-tree.html deleted file mode 100644 index 66024e045..000000000 --- a/3.x/logging-interceptor/overview-tree.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp Logging Interceptor 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

-
    -
  • java.lang.Object - -
  • -
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/logging-interceptor/package-list b/3.x/logging-interceptor/package-list deleted file mode 100644 index 057bdc482..000000000 --- a/3.x/logging-interceptor/package-list +++ /dev/null @@ -1 +0,0 @@ -okhttp3.logging diff --git a/3.x/logging-interceptor/script.js b/3.x/logging-interceptor/script.js deleted file mode 100644 index b34635693..000000000 --- a/3.x/logging-interceptor/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/3.x/logging-interceptor/stylesheet.css b/3.x/logging-interceptor/stylesheet.css deleted file mode 100644 index 8841f37c4..000000000 --- a/3.x/logging-interceptor/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/3.x/logging-interceptor/version.txt b/3.x/logging-interceptor/version.txt deleted file mode 100644 index f982feb41..000000000 --- a/3.x/logging-interceptor/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.14.0 diff --git a/3.x/mockwebserver/META-INF/MANIFEST.MF b/3.x/mockwebserver/META-INF/MANIFEST.MF deleted file mode 100644 index b5547a843..000000000 --- a/3.x/mockwebserver/META-INF/MANIFEST.MF +++ /dev/null @@ -1,5 +0,0 @@ -Manifest-Version: 1.0 -Built-By: jwilson -Created-By: Apache Maven 3.6.0 -Build-Jdk: 1.8.0_202 - diff --git a/3.x/mockwebserver/allclasses-frame.html b/3.x/mockwebserver/allclasses-frame.html deleted file mode 100644 index 0232da237..000000000 --- a/3.x/mockwebserver/allclasses-frame.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - -All Classes (MockWebServer 3.14.0 API) - - - - - -

All Classes

- - - diff --git a/3.x/mockwebserver/allclasses-noframe.html b/3.x/mockwebserver/allclasses-noframe.html deleted file mode 100644 index ee440df61..000000000 --- a/3.x/mockwebserver/allclasses-noframe.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - -All Classes (MockWebServer 3.14.0 API) - - - - - -

All Classes

- - - diff --git a/3.x/mockwebserver/constant-values.html b/3.x/mockwebserver/constant-values.html deleted file mode 100644 index 31417f1ab..000000000 --- a/3.x/mockwebserver/constant-values.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Constant Field Values (MockWebServer 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Constant Field Values

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/deprecated-list.html b/3.x/mockwebserver/deprecated-list.html deleted file mode 100644 index 3fe40f7dd..000000000 --- a/3.x/mockwebserver/deprecated-list.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -Deprecated List (MockWebServer 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

- -
-
- - - -
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/help-doc.html b/3.x/mockwebserver/help-doc.html deleted file mode 100644 index a159b8b7b..000000000 --- a/3.x/mockwebserver/help-doc.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - -API Help (MockWebServer 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Overview

    -

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    -
  • -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/index-all.html b/3.x/mockwebserver/index-all.html deleted file mode 100644 index 748324128..000000000 --- a/3.x/mockwebserver/index-all.html +++ /dev/null @@ -1,626 +0,0 @@ - - - - - - -Index (MockWebServer 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
A B C D E G H I M N O P Q R S T U V W  - - -

A

-
-
addHeader(String) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Adds header as an HTTP header.
-
-
addHeader(String, Object) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Adds a new header with the name and value.
-
-
addHeaderLenient(String, Object) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Adds a new header with the name and value.
-
-
after() - Method in class okhttp3.mockwebserver.MockWebServer
-
 
-
awaitSuccess() - Method in class okhttp3.mockwebserver.internal.duplex.MockDuplexResponseBody
-
-
Returns once the duplex conversation completes successfully.
-
-
- - - -

B

-
-
before() - Method in class okhttp3.mockwebserver.MockWebServer
-
 
-
- - - -

C

-
-
clearHeaders() - Method in class okhttp3.mockwebserver.MockResponse
-
-
Removes all HTTP headers including any "Content-Length" and "Transfer-encoding" headers that - were added by default.
-
-
clone() - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
close() - Method in class okhttp3.mockwebserver.MockWebServer
-
 
-
- - - -

D

-
-
dispatch(RecordedRequest) - Method in class okhttp3.mockwebserver.Dispatcher
-
-
Returns a response to satisfy request.
-
-
dispatch(RecordedRequest) - Method in class okhttp3.mockwebserver.QueueDispatcher
-
 
-
Dispatcher - Class in okhttp3.mockwebserver
-
-
Handler for mock server requests.
-
-
Dispatcher() - Constructor for class okhttp3.mockwebserver.Dispatcher
-
 
-
DuplexResponseBody - Interface in okhttp3.mockwebserver.internal.duplex
-
 
-
- - - -

E

-
-
enqueue(MockResponse) - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Scripts response to be returned to a request made in sequence.
-
-
enqueueResponse(MockResponse) - Method in class okhttp3.mockwebserver.QueueDispatcher
-
 
-
exhaustRequest() - Method in class okhttp3.mockwebserver.internal.duplex.MockDuplexResponseBody
-
 
-
exhaustResponse() - Method in class okhttp3.mockwebserver.internal.duplex.MockDuplexResponseBody
-
 
-
- - - -

G

-
-
getBody() - Method in class okhttp3.mockwebserver.MockResponse
-
-
Returns a copy of the raw HTTP payload.
-
-
getBody() - Method in class okhttp3.mockwebserver.RecordedRequest
-
-
Returns the body of this POST request.
-
-
getBodyDelay(TimeUnit) - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
getBodySize() - Method in class okhttp3.mockwebserver.RecordedRequest
-
-
Returns the total size of the body of this POST request (before truncation).
-
-
getChunkSizes() - Method in class okhttp3.mockwebserver.RecordedRequest
-
-
Returns the sizes of the chunks of this request's body, or an empty list if the request's body - was empty or unchunked.
-
-
getDispatcher() - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Returns the dispatcher used to respond to HTTP requests.
-
-
getHandshake() - Method in class okhttp3.mockwebserver.RecordedRequest
-
-
Returns the TLS handshake of the connection that carried this request, or null if the request - was received without TLS.
-
-
getHeader(String) - Method in class okhttp3.mockwebserver.RecordedRequest
-
-
Returns the first header named name, or null if no such header exists.
-
-
getHeaders() - Method in class okhttp3.mockwebserver.MockResponse
-
-
Returns the HTTP headers, such as "Content-Length: 0".
-
-
getHeaders() - Method in class okhttp3.mockwebserver.RecordedRequest
-
-
Returns all headers.
-
-
getHeadersDelay(TimeUnit) - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
getHostName() - Method in class okhttp3.mockwebserver.MockWebServer
-
 
-
getHttp2ErrorCode() - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
getMethod() - Method in class okhttp3.mockwebserver.RecordedRequest
-
 
-
getPath() - Method in class okhttp3.mockwebserver.RecordedRequest
-
 
-
getPort() - Method in class okhttp3.mockwebserver.MockWebServer
-
 
-
getPushPromises() - Method in class okhttp3.mockwebserver.MockResponse
-
-
Returns the streams the server will push with this response.
-
-
getRequestCount() - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Returns the number of HTTP requests received thus far by this server.
-
-
getRequestLine() - Method in class okhttp3.mockwebserver.RecordedRequest
-
 
-
getRequestUrl() - Method in class okhttp3.mockwebserver.RecordedRequest
-
 
-
getSequenceNumber() - Method in class okhttp3.mockwebserver.RecordedRequest
-
-
Returns the index of this request on its HTTP connection.
-
-
getSettings() - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
getSocketPolicy() - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
getStatus() - Method in class okhttp3.mockwebserver.MockResponse
-
-
Returns the HTTP response line, such as "HTTP/1.1 200 OK".
-
-
getThrottleBytesPerPeriod() - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
getThrottlePeriod(TimeUnit) - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
getTlsVersion() - Method in class okhttp3.mockwebserver.RecordedRequest
-
-
Returns the connection's TLS version or null if the connection doesn't use SSL.
-
-
getTrailers() - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
getUtf8Body() - Method in class okhttp3.mockwebserver.RecordedRequest
-
-
Deprecated. - -
-
-
getWebSocketListener() - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
- - - -

H

-
-
headers() - Method in class okhttp3.mockwebserver.PushPromise
-
 
-
- - - -

I

-
-
instance - Static variable in class okhttp3.internal.duplex.MwsDuplexAccess
-
 
-
- - - -

M

-
-
method() - Method in class okhttp3.mockwebserver.PushPromise
-
 
-
MockDuplexResponseBody - Class in okhttp3.mockwebserver.internal.duplex
-
-
A scriptable request/response conversation.
-
-
MockDuplexResponseBody() - Constructor for class okhttp3.mockwebserver.internal.duplex.MockDuplexResponseBody
-
 
-
MockResponse - Class in okhttp3.mockwebserver
-
-
A scripted response to be replayed by the mock web server.
-
-
MockResponse() - Constructor for class okhttp3.mockwebserver.MockResponse
-
-
Creates a new mock response with an empty body.
-
-
MockWebServer - Class in okhttp3.mockwebserver
-
-
A scriptable web server.
-
-
MockWebServer() - Constructor for class okhttp3.mockwebserver.MockWebServer
-
 
-
MwsDuplexAccess - Class in okhttp3.internal.duplex
-
-
Internal access to MockWebServer APIs.
-
-
MwsDuplexAccess() - Constructor for class okhttp3.internal.duplex.MwsDuplexAccess
-
 
-
- - - -

N

-
-
noClientAuth() - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Configure the server to not perform SSL authentication of the client.
-
-
- - - -

O

-
-
okhttp3.internal.duplex - package okhttp3.internal.duplex
-
 
-
okhttp3.mockwebserver - package okhttp3.mockwebserver
-
 
-
okhttp3.mockwebserver.internal.duplex - package okhttp3.mockwebserver.internal.duplex
-
 
-
onRequest(RecordedRequest, BufferedSource, BufferedSink) - Method in interface okhttp3.mockwebserver.internal.duplex.DuplexResponseBody
-
 
-
onRequest(RecordedRequest, BufferedSource, BufferedSink) - Method in class okhttp3.mockwebserver.internal.duplex.MockDuplexResponseBody
-
 
-
- - - -

P

-
-
path() - Method in class okhttp3.mockwebserver.PushPromise
-
 
-
peek() - Method in class okhttp3.mockwebserver.Dispatcher
-
-
Returns an early guess of the next response, used for policy on how an incoming request should - be received.
-
-
peek() - Method in class okhttp3.mockwebserver.QueueDispatcher
-
 
-
protocols() - Method in class okhttp3.mockwebserver.MockWebServer
-
 
-
PushPromise - Class in okhttp3.mockwebserver
-
-
An HTTP request initiated by the server.
-
-
PushPromise(String, String, Headers, MockResponse) - Constructor for class okhttp3.mockwebserver.PushPromise
-
 
-
- - - -

Q

-
-
QueueDispatcher - Class in okhttp3.mockwebserver
-
-
Default dispatcher that processes a script of responses.
-
-
QueueDispatcher() - Constructor for class okhttp3.mockwebserver.QueueDispatcher
-
 
-
- - - -

R

-
-
receiveRequest(String) - Method in class okhttp3.mockwebserver.internal.duplex.MockDuplexResponseBody
-
 
-
RecordedRequest - Class in okhttp3.mockwebserver
-
-
An HTTP request that came into the mock web server.
-
-
RecordedRequest(String, Headers, List<Integer>, long, Buffer, int, Socket) - Constructor for class okhttp3.mockwebserver.RecordedRequest
-
 
-
removeHeader(String) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Removes all headers named name.
-
-
requestClientAuth() - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Configure the server to want client auth.
-
-
requestIOException() - Method in class okhttp3.mockwebserver.internal.duplex.MockDuplexResponseBody
-
 
-
requireClientAuth() - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Configure the server to need client auth.
-
-
response() - Method in class okhttp3.mockwebserver.PushPromise
-
 
-
responseQueue - Variable in class okhttp3.mockwebserver.QueueDispatcher
-
 
-
- - - -

S

-
-
sendResponse(String) - Method in class okhttp3.mockwebserver.internal.duplex.MockDuplexResponseBody
-
 
-
setBody(MockResponse, DuplexResponseBody) - Method in class okhttp3.internal.duplex.MwsDuplexAccess
-
 
-
setBody(Buffer) - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
setBody(String) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Sets the response body to the UTF-8 encoded bytes of body.
-
-
setBodyDelay(long, TimeUnit) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Set the delayed time of the response body to delay.
-
-
setBodyLimit(long) - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Sets the number of bytes of the POST body to keep in memory to the given limit.
-
-
setChunkedBody(Buffer, int) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Sets the response body to body, chunked every maxChunkSize bytes.
-
-
setChunkedBody(String, int) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Sets the response body to the UTF-8 encoded bytes of body, chunked every maxChunkSize bytes.
-
-
setDispatcher(Dispatcher) - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Sets the dispatcher used to match incoming requests to mock responses.
-
-
setFailFast(boolean) - Method in class okhttp3.mockwebserver.QueueDispatcher
-
 
-
setFailFast(MockResponse) - Method in class okhttp3.mockwebserver.QueueDispatcher
-
 
-
setHeader(String, Object) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Removes all headers named name, then adds a new header with the name and value.
-
-
setHeaders(Headers) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Replaces all headers with those specified.
-
-
setHeadersDelay(long, TimeUnit) - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
setHttp2ErrorCode(int) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Sets the HTTP/2 error code to be - returned when resetting the stream.
-
-
setProtocolNegotiationEnabled(boolean) - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Sets whether ALPN is used on incoming HTTPS connections to negotiate a protocol like HTTP/1.1 - or HTTP/2.
-
-
setProtocols(List<Protocol>) - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Indicates the protocols supported by ALPN on incoming HTTPS connections.
-
-
setResponseCode(int) - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
setServerSocketFactory(ServerSocketFactory) - Method in class okhttp3.mockwebserver.MockWebServer
-
 
-
setSocketPolicy(SocketPolicy) - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
setStatus(String) - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
setTrailers(Headers) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Replaces all trailers with those specified.
-
-
shutdown() - Method in class okhttp3.mockwebserver.Dispatcher
-
-
Release any resources held by this dispatcher.
-
-
shutdown() - Method in class okhttp3.mockwebserver.MockWebServer
-
 
-
shutdown() - Method in class okhttp3.mockwebserver.QueueDispatcher
-
 
-
sleep(long, TimeUnit) - Method in class okhttp3.mockwebserver.internal.duplex.MockDuplexResponseBody
-
 
-
SocketPolicy - Enum in okhttp3.mockwebserver
-
-
What should be done with the incoming socket.
-
-
start() - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Equivalent to start(0).
-
-
start(int) - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Starts the server on the loopback interface for the given port.
-
-
start(InetAddress, int) - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Starts the server on the given address and port.
-
-
- - - -

T

-
-
takeRequest() - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Awaits the next HTTP request, removes it, and returns it.
-
-
takeRequest(long, TimeUnit) - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Awaits the next HTTP request (waiting up to the specified wait time if necessary), removes it, - and returns it.
-
-
throttleBody(long, long, TimeUnit) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Throttles the request reader and response writer to sleep for the given period after each - series of bytesPerPeriod bytes are transferred.
-
-
toProxyAddress() - Method in class okhttp3.mockwebserver.MockWebServer
-
 
-
toString() - Method in class okhttp3.mockwebserver.MockResponse
-
 
-
toString() - Method in class okhttp3.mockwebserver.MockWebServer
-
 
-
toString() - Method in class okhttp3.mockwebserver.RecordedRequest
-
 
-
- - - -

U

-
-
url(String) - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Returns a URL for connecting to this server.
-
-
useHttps(SSLSocketFactory, boolean) - Method in class okhttp3.mockwebserver.MockWebServer
-
-
Serve requests with HTTPS rather than otherwise.
-
-
- - - -

V

-
-
valueOf(String) - Static method in enum okhttp3.mockwebserver.SocketPolicy
-
-
Returns the enum constant of this type with the specified name.
-
-
values() - Static method in enum okhttp3.mockwebserver.SocketPolicy
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
- - - -

W

-
-
withPush(PushPromise) - Method in class okhttp3.mockwebserver.MockResponse
-
-
When protocols include Protocol.HTTP_2, this attaches a pushed stream to this response.
-
-
withSettings(Settings) - Method in class okhttp3.mockwebserver.MockResponse
-
-
When protocols include HTTP/2, this pushes settings before writing the response.
-
-
withWebSocketUpgrade(WebSocketListener) - Method in class okhttp3.mockwebserver.MockResponse
-
-
Attempts to perform a web socket upgrade on the connection.
-
-
-A B C D E G H I M N O P Q R S T U V W 
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/index.html b/3.x/mockwebserver/index.html deleted file mode 100644 index 581095af5..000000000 --- a/3.x/mockwebserver/index.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - -MockWebServer 3.14.0 API - - - - - - - - - -<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="overview-summary.html">Non-frame version</a>.</p> - - - diff --git a/3.x/mockwebserver/okhttp3/internal/HeldCertificate.Builder.html b/3.x/mockwebserver/okhttp3/internal/HeldCertificate.Builder.html deleted file mode 100644 index b4986c850..000000000 --- a/3.x/mockwebserver/okhttp3/internal/HeldCertificate.Builder.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - - - -HeldCertificate.Builder (MockWebServer 3.2.0 API) - - - - - - - - - - - - -
-
okhttp3.internal
-

Class HeldCertificate.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    HeldCertificate
    -
    -
    -
    -
    public static final class HeldCertificate.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/HeldCertificate.html b/3.x/mockwebserver/okhttp3/internal/HeldCertificate.html deleted file mode 100644 index 73a27b2c2..000000000 --- a/3.x/mockwebserver/okhttp3/internal/HeldCertificate.html +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - -HeldCertificate (MockWebServer 3.2.0 API) - - - - - - - - - - - - -
-
okhttp3.internal
-

Class HeldCertificate

-
-
- -
-
    -
  • -
    -
    -
    public final class HeldCertificate
    -extends Object
    -
    A certificate and its private key. This can be used on the server side by HTTPS servers, or on - the client side to verify those HTTPS servers. A held certificate can also be used to sign other - held certificates, as done in practice by certificate authorities.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/SslContextBuilder.html b/3.x/mockwebserver/okhttp3/internal/SslContextBuilder.html deleted file mode 100644 index a1316fe6b..000000000 --- a/3.x/mockwebserver/okhttp3/internal/SslContextBuilder.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - -SslContextBuilder (MockWebServer 3.2.0 API) - - - - - - - - - - - - -
-
okhttp3.internal
-

Class SslContextBuilder

-
-
- -
-
    -
  • -
    -
    -
    public final class SslContextBuilder
    -extends Object
    -
    Constructs an SSL context for testing. This uses Bouncy Castle to generate a self-signed - certificate for a single hostname such as "localhost". - -

    The crypto performed by this class is relatively slow. Clients should reuse SSL context - instances where possible.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SslContextBuilder

        -
        public SslContextBuilder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        localhost

        -
        public static SSLContext localhost()
        -
        Returns a new SSL context for this host's current localhost address.
        -
      • -
      - - - -
        -
      • -

        certificateChain

        -
        public SslContextBuilder certificateChain(HeldCertificate... chain)
        -
        Configure the certificate chain to use when serving HTTPS responses. The first certificate - in this chain is the server's certificate, further certificates are included in the handshake - so the client can build a trusted path to a CA certificate.
        -
      • -
      - - - -
        -
      • -

        addTrustedCertificate

        -
        public SslContextBuilder addTrustedCertificate(X509Certificate certificate)
        -
        Add a certificate authority that this client trusts. Servers that provide certificate chains - signed by these roots (or their intermediates) will be accepted.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/class-use/HeldCertificate.Builder.html b/3.x/mockwebserver/okhttp3/internal/class-use/HeldCertificate.Builder.html deleted file mode 100644 index 5ffc25637..000000000 --- a/3.x/mockwebserver/okhttp3/internal/class-use/HeldCertificate.Builder.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.HeldCertificate.Builder (MockWebServer 3.2.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.HeldCertificate.Builder

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/class-use/HeldCertificate.html b/3.x/mockwebserver/okhttp3/internal/class-use/HeldCertificate.html deleted file mode 100644 index cee3cf35d..000000000 --- a/3.x/mockwebserver/okhttp3/internal/class-use/HeldCertificate.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.HeldCertificate (MockWebServer 3.2.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.HeldCertificate

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/class-use/SslContextBuilder.html b/3.x/mockwebserver/okhttp3/internal/class-use/SslContextBuilder.html deleted file mode 100644 index 3a704a96b..000000000 --- a/3.x/mockwebserver/okhttp3/internal/class-use/SslContextBuilder.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.SslContextBuilder (MockWebServer 3.2.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.SslContextBuilder

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/duplex/MwsDuplexAccess.html b/3.x/mockwebserver/okhttp3/internal/duplex/MwsDuplexAccess.html deleted file mode 100644 index d4240bd9a..000000000 --- a/3.x/mockwebserver/okhttp3/internal/duplex/MwsDuplexAccess.html +++ /dev/null @@ -1,313 +0,0 @@ - - - - - - -MwsDuplexAccess (MockWebServer 3.14.0 API) - - - - - - - - - - - - -
-
okhttp3.internal.duplex
-

Class MwsDuplexAccess

-
-
- -
-
    -
  • -
    -
    -
    public abstract class MwsDuplexAccess
    -extends Object
    -
    Internal access to MockWebServer APIs. Don't use this, don't use internal, these APIs are not - stable.
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MwsDuplexAccess

        -
        public MwsDuplexAccess()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/duplex/class-use/MwsDuplexAccess.html b/3.x/mockwebserver/okhttp3/internal/duplex/class-use/MwsDuplexAccess.html deleted file mode 100644 index 4555b47e3..000000000 --- a/3.x/mockwebserver/okhttp3/internal/duplex/class-use/MwsDuplexAccess.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.duplex.MwsDuplexAccess (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.duplex.MwsDuplexAccess

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/duplex/package-frame.html b/3.x/mockwebserver/okhttp3/internal/duplex/package-frame.html deleted file mode 100644 index da2732709..000000000 --- a/3.x/mockwebserver/okhttp3/internal/duplex/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -okhttp3.internal.duplex (MockWebServer 3.14.0 API) - - - - - -

okhttp3.internal.duplex

-
-

Classes

- -
- - diff --git a/3.x/mockwebserver/okhttp3/internal/duplex/package-summary.html b/3.x/mockwebserver/okhttp3/internal/duplex/package-summary.html deleted file mode 100644 index 6d5137173..000000000 --- a/3.x/mockwebserver/okhttp3/internal/duplex/package-summary.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -okhttp3.internal.duplex (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Package okhttp3.internal.duplex

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    MwsDuplexAccess -
    Internal access to MockWebServer APIs.
    -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/duplex/package-tree.html b/3.x/mockwebserver/okhttp3/internal/duplex/package-tree.html deleted file mode 100644 index bf40256e2..000000000 --- a/3.x/mockwebserver/okhttp3/internal/duplex/package-tree.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - -okhttp3.internal.duplex Class Hierarchy (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.internal.duplex

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/duplex/package-use.html b/3.x/mockwebserver/okhttp3/internal/duplex/package-use.html deleted file mode 100644 index 09921f2b7..000000000 --- a/3.x/mockwebserver/okhttp3/internal/duplex/package-use.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - -Uses of Package okhttp3.internal.duplex (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.internal.duplex

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/framed/FramedServer.html b/3.x/mockwebserver/okhttp3/internal/framed/FramedServer.html deleted file mode 100644 index 058ed5974..000000000 --- a/3.x/mockwebserver/okhttp3/internal/framed/FramedServer.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - -FramedServer (MockWebServer 3.4.1 API) - - - - - - - - - - - - -
-
okhttp3.internal.framed
-

Class FramedServer

-
-
- -
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/framed/class-use/FramedServer.html b/3.x/mockwebserver/okhttp3/internal/framed/class-use/FramedServer.html deleted file mode 100644 index 7e3ea34bd..000000000 --- a/3.x/mockwebserver/okhttp3/internal/framed/class-use/FramedServer.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.framed.FramedServer (MockWebServer 3.4.1 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.framed.FramedServer

-
-
No usage of okhttp3.internal.framed.FramedServer
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/framed/package-frame.html b/3.x/mockwebserver/okhttp3/internal/framed/package-frame.html deleted file mode 100644 index 20c2f3a17..000000000 --- a/3.x/mockwebserver/okhttp3/internal/framed/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -okhttp3.internal.framed (MockWebServer 3.4.1 API) - - - - - -

okhttp3.internal.framed

-
-

Classes

- -
- - diff --git a/3.x/mockwebserver/okhttp3/internal/framed/package-summary.html b/3.x/mockwebserver/okhttp3/internal/framed/package-summary.html deleted file mode 100644 index 7458e2ba6..000000000 --- a/3.x/mockwebserver/okhttp3/internal/framed/package-summary.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -okhttp3.internal.framed (MockWebServer 3.4.1 API) - - - - - - - - - - - -
-

Package okhttp3.internal.framed

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    FramedServer -
    A basic SPDY/HTTP_2 server that serves the contents of a local directory.
    -
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/framed/package-tree.html b/3.x/mockwebserver/okhttp3/internal/framed/package-tree.html deleted file mode 100644 index 94f09f5eb..000000000 --- a/3.x/mockwebserver/okhttp3/internal/framed/package-tree.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -okhttp3.internal.framed Class Hierarchy (MockWebServer 3.4.1 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.internal.framed

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/framed/package-use.html b/3.x/mockwebserver/okhttp3/internal/framed/package-use.html deleted file mode 100644 index a339f406a..000000000 --- a/3.x/mockwebserver/okhttp3/internal/framed/package-use.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Package okhttp3.internal.framed (MockWebServer 3.4.1 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.internal.framed

-
-
No usage of okhttp3.internal.framed
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/http2/Http2Server.html b/3.x/mockwebserver/okhttp3/internal/http2/Http2Server.html deleted file mode 100644 index f280393fe..000000000 --- a/3.x/mockwebserver/okhttp3/internal/http2/Http2Server.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - -Http2Server (MockWebServer 3.9.0 API) - - - - - - - - - - - - -
-
okhttp3.internal.http2
-

Class Http2Server

-
-
- -
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/http2/class-use/Http2Server.html b/3.x/mockwebserver/okhttp3/internal/http2/class-use/Http2Server.html deleted file mode 100644 index ba8939cb8..000000000 --- a/3.x/mockwebserver/okhttp3/internal/http2/class-use/Http2Server.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.http2.Http2Server (MockWebServer 3.9.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.http2.Http2Server

-
-
No usage of okhttp3.internal.http2.Http2Server
- - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/http2/package-frame.html b/3.x/mockwebserver/okhttp3/internal/http2/package-frame.html deleted file mode 100644 index 19bebed29..000000000 --- a/3.x/mockwebserver/okhttp3/internal/http2/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -okhttp3.internal.http2 (MockWebServer 3.9.0 API) - - - - - -

okhttp3.internal.http2

-
-

Classes

- -
- - diff --git a/3.x/mockwebserver/okhttp3/internal/http2/package-summary.html b/3.x/mockwebserver/okhttp3/internal/http2/package-summary.html deleted file mode 100644 index 34b736fa7..000000000 --- a/3.x/mockwebserver/okhttp3/internal/http2/package-summary.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -okhttp3.internal.http2 (MockWebServer 3.9.0 API) - - - - - - - - - - - -
-

Package okhttp3.internal.http2

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Http2Server -
    A basic HTTP/2 server that serves the contents of a local directory.
    -
    -
  • -
-
- - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/http2/package-tree.html b/3.x/mockwebserver/okhttp3/internal/http2/package-tree.html deleted file mode 100644 index 222be22a4..000000000 --- a/3.x/mockwebserver/okhttp3/internal/http2/package-tree.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -okhttp3.internal.http2 Class Hierarchy (MockWebServer 3.9.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.internal.http2

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/http2/package-use.html b/3.x/mockwebserver/okhttp3/internal/http2/package-use.html deleted file mode 100644 index 069cd53d2..000000000 --- a/3.x/mockwebserver/okhttp3/internal/http2/package-use.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Package okhttp3.internal.http2 (MockWebServer 3.9.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.internal.http2

-
-
No usage of okhttp3.internal.http2
- - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/package-frame.html b/3.x/mockwebserver/okhttp3/internal/package-frame.html deleted file mode 100644 index c7865969e..000000000 --- a/3.x/mockwebserver/okhttp3/internal/package-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -okhttp3.internal (MockWebServer 3.2.0 API) - - - - - -

okhttp3.internal

- - - diff --git a/3.x/mockwebserver/okhttp3/internal/package-summary.html b/3.x/mockwebserver/okhttp3/internal/package-summary.html deleted file mode 100644 index 29daeb070..000000000 --- a/3.x/mockwebserver/okhttp3/internal/package-summary.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - -okhttp3.internal (MockWebServer 3.2.0 API) - - - - - - - - - - - -
-

Package okhttp3.internal

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/package-tree.html b/3.x/mockwebserver/okhttp3/internal/package-tree.html deleted file mode 100644 index 757755053..000000000 --- a/3.x/mockwebserver/okhttp3/internal/package-tree.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - -okhttp3.internal Class Hierarchy (MockWebServer 3.2.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.internal

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/package-use.html b/3.x/mockwebserver/okhttp3/internal/package-use.html deleted file mode 100644 index a60910dcf..000000000 --- a/3.x/mockwebserver/okhttp3/internal/package-use.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - -Uses of Package okhttp3.internal (MockWebServer 3.2.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.internal

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/tls/HeldCertificate.Builder.html b/3.x/mockwebserver/okhttp3/internal/tls/HeldCertificate.Builder.html deleted file mode 100644 index 2e084096b..000000000 --- a/3.x/mockwebserver/okhttp3/internal/tls/HeldCertificate.Builder.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - -HeldCertificate.Builder (MockWebServer 3.9.0 API) - - - - - - - - - - - - -
-
okhttp3.internal.tls
-

Class HeldCertificate.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    HeldCertificate
    -
    -
    -
    -
    public static final class HeldCertificate.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/tls/HeldCertificate.html b/3.x/mockwebserver/okhttp3/internal/tls/HeldCertificate.html deleted file mode 100644 index 58a01765e..000000000 --- a/3.x/mockwebserver/okhttp3/internal/tls/HeldCertificate.html +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - -HeldCertificate (MockWebServer 3.9.0 API) - - - - - - - - - - - - -
-
okhttp3.internal.tls
-

Class HeldCertificate

-
-
- -
-
    -
  • -
    -
    -
    public final class HeldCertificate
    -extends Object
    -
    A certificate and its private key. This can be used on the server side by HTTPS servers, or on - the client side to verify those HTTPS servers. A held certificate can also be used to sign other - held certificates, as done in practice by certificate authorities.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/tls/SslClient.Builder.html b/3.x/mockwebserver/okhttp3/internal/tls/SslClient.Builder.html deleted file mode 100644 index 6b244f784..000000000 --- a/3.x/mockwebserver/okhttp3/internal/tls/SslClient.Builder.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - - -SslClient.Builder (MockWebServer 3.9.0 API) - - - - - - - - - - - - -
-
okhttp3.internal.tls
-

Class SslClient.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    SslClient
    -
    -
    -
    -
    public static class SslClient.Builder
    -extends Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Builder

        -
        public Builder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        certificateChain

        -
        public SslClient.Builder certificateChain(HeldCertificate localCert,
        -                                          HeldCertificate... chain)
        -
        Configure the certificate chain to use when serving HTTPS responses. The first certificate is - the server's certificate, further certificates are included in the handshake so the client - can build a trusted path to a CA certificate.
        -
      • -
      - - - - - - - -
        -
      • -

        addTrustedCertificate

        -
        public SslClient.Builder addTrustedCertificate(X509Certificate certificate)
        -
        Add a certificate authority that this client trusts. Servers that provide certificate chains - signed by these roots (or their intermediates) will be accepted.
        -
      • -
      - - - - - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/tls/SslClient.html b/3.x/mockwebserver/okhttp3/internal/tls/SslClient.html deleted file mode 100644 index e96a35d77..000000000 --- a/3.x/mockwebserver/okhttp3/internal/tls/SslClient.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - -SslClient (MockWebServer 3.9.0 API) - - - - - - - - - - - - -
-
okhttp3.internal.tls
-

Class SslClient

-
-
- -
-
    -
  • -
    -
    -
    public final class SslClient
    -extends Object
    -
    Combines an SSL socket factory and trust manager, a pairing enough for OkHttp or MockWebServer to - create a secure connection.
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        localhost

        -
        public static SslClient localhost()
        -
        Returns an SSL client for this host's localhost address.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/tls/class-use/HeldCertificate.Builder.html b/3.x/mockwebserver/okhttp3/internal/tls/class-use/HeldCertificate.Builder.html deleted file mode 100644 index 2aab397c0..000000000 --- a/3.x/mockwebserver/okhttp3/internal/tls/class-use/HeldCertificate.Builder.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.tls.HeldCertificate.Builder (MockWebServer 3.9.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.tls.HeldCertificate.Builder

-
-
- -
- - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/tls/class-use/HeldCertificate.html b/3.x/mockwebserver/okhttp3/internal/tls/class-use/HeldCertificate.html deleted file mode 100644 index fbefef364..000000000 --- a/3.x/mockwebserver/okhttp3/internal/tls/class-use/HeldCertificate.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.tls.HeldCertificate (MockWebServer 3.9.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.tls.HeldCertificate

-
-
- -
- - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/tls/class-use/SslClient.Builder.html b/3.x/mockwebserver/okhttp3/internal/tls/class-use/SslClient.Builder.html deleted file mode 100644 index 001f057e3..000000000 --- a/3.x/mockwebserver/okhttp3/internal/tls/class-use/SslClient.Builder.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.tls.SslClient.Builder (MockWebServer 3.9.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.tls.SslClient.Builder

-
-
- -
- - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/tls/class-use/SslClient.html b/3.x/mockwebserver/okhttp3/internal/tls/class-use/SslClient.html deleted file mode 100644 index 86bbb8e5f..000000000 --- a/3.x/mockwebserver/okhttp3/internal/tls/class-use/SslClient.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.tls.SslClient (MockWebServer 3.9.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.tls.SslClient

-
-
- -
- - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/tls/package-frame.html b/3.x/mockwebserver/okhttp3/internal/tls/package-frame.html deleted file mode 100644 index 7082e1065..000000000 --- a/3.x/mockwebserver/okhttp3/internal/tls/package-frame.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - -okhttp3.internal.tls (MockWebServer 3.9.0 API) - - - - - -

okhttp3.internal.tls

- - - diff --git a/3.x/mockwebserver/okhttp3/internal/tls/package-summary.html b/3.x/mockwebserver/okhttp3/internal/tls/package-summary.html deleted file mode 100644 index 833f895e3..000000000 --- a/3.x/mockwebserver/okhttp3/internal/tls/package-summary.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - -okhttp3.internal.tls (MockWebServer 3.9.0 API) - - - - - - - - - - - -
-

Package okhttp3.internal.tls

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    HeldCertificate -
    A certificate and its private key.
    -
    HeldCertificate.Builder 
    SslClient -
    Combines an SSL socket factory and trust manager, a pairing enough for OkHttp or MockWebServer to - create a secure connection.
    -
    SslClient.Builder 
    -
  • -
-
- - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/tls/package-tree.html b/3.x/mockwebserver/okhttp3/internal/tls/package-tree.html deleted file mode 100644 index 5c68eef59..000000000 --- a/3.x/mockwebserver/okhttp3/internal/tls/package-tree.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -okhttp3.internal.tls Class Hierarchy (MockWebServer 3.9.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.internal.tls

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/internal/tls/package-use.html b/3.x/mockwebserver/okhttp3/internal/tls/package-use.html deleted file mode 100644 index 0b1841246..000000000 --- a/3.x/mockwebserver/okhttp3/internal/tls/package-use.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -Uses of Package okhttp3.internal.tls (MockWebServer 3.9.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.internal.tls

-
-
- -
- - - - -

Copyright © 2017. All Rights Reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/Dispatcher.html b/3.x/mockwebserver/okhttp3/mockwebserver/Dispatcher.html deleted file mode 100644 index d203d3aa6..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/Dispatcher.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - - -Dispatcher (MockWebServer 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.mockwebserver
-

Class Dispatcher

-
-
- -
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    QueueDispatcher
    -
    -
    -
    -
    public abstract class Dispatcher
    -extends Object
    -
    Handler for mock server requests.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Dispatcher

        -
        public Dispatcher()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        peek

        -
        public MockResponse peek()
        -
        Returns an early guess of the next response, used for policy on how an incoming request should - be received. The default implementation returns an empty response. Mischievous implementations - can return other values to test HTTP edge cases, such as unhappy socket policies or throttled - request bodies.
        -
      • -
      - - - -
        -
      • -

        shutdown

        -
        public void shutdown()
        -
        Release any resources held by this dispatcher. Any requests that are currently being dispatched - should return immediately. Responses returned after shutdown will not be transmitted: their - socket connections have already been closed.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/MockResponse.html b/3.x/mockwebserver/okhttp3/mockwebserver/MockResponse.html deleted file mode 100644 index 55587b076..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/MockResponse.html +++ /dev/null @@ -1,852 +0,0 @@ - - - - - - -MockResponse (MockWebServer 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.mockwebserver
-

Class MockResponse

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Cloneable
    -
    -
    -
    -
    public final class MockResponse
    -extends Object
    -implements Cloneable
    -
    A scripted response to be replayed by the mock web server.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MockResponse

        -
        public MockResponse()
        -
        Creates a new mock response with an empty body.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        getStatus

        -
        public String getStatus()
        -
        Returns the HTTP response line, such as "HTTP/1.1 200 OK".
        -
      • -
      - - - -
        -
      • -

        setResponseCode

        -
        public MockResponse setResponseCode(int code)
        -
      • -
      - - - - - - - -
        -
      • -

        getHeaders

        -
        public Headers getHeaders()
        -
        Returns the HTTP headers, such as "Content-Length: 0".
        -
      • -
      - - - -
        -
      • -

        getTrailers

        -
        public Headers getTrailers()
        -
      • -
      - - - -
        -
      • -

        clearHeaders

        -
        public MockResponse clearHeaders()
        -
        Removes all HTTP headers including any "Content-Length" and "Transfer-encoding" headers that - were added by default.
        -
      • -
      - - - -
        -
      • -

        addHeader

        -
        public MockResponse addHeader(String header)
        -
        Adds header as an HTTP header. For well-formed HTTP header should contain a - name followed by a colon and a value.
        -
      • -
      - - - -
        -
      • -

        addHeader

        -
        public MockResponse addHeader(String name,
        -                              Object value)
        -
        Adds a new header with the name and value. This may be used to add multiple headers with the - same name.
        -
      • -
      - - - -
        -
      • -

        addHeaderLenient

        -
        public MockResponse addHeaderLenient(String name,
        -                                     Object value)
        -
        Adds a new header with the name and value. This may be used to add multiple headers with the - same name. Unlike addHeader(String, Object) this does not validate the name and - value.
        -
      • -
      - - - -
        -
      • -

        setHeader

        -
        public MockResponse setHeader(String name,
        -                              Object value)
        -
        Removes all headers named name, then adds a new header with the name and value.
        -
      • -
      - - - -
        -
      • -

        setHeaders

        -
        public MockResponse setHeaders(Headers headers)
        -
        Replaces all headers with those specified.
        -
      • -
      - - - -
        -
      • -

        setTrailers

        -
        public MockResponse setTrailers(Headers trailers)
        -
        Replaces all trailers with those specified.
        -
      • -
      - - - -
        -
      • -

        removeHeader

        -
        public MockResponse removeHeader(String name)
        -
        Removes all headers named name.
        -
      • -
      - - - -
        -
      • -

        getBody

        -
        public okio.Buffer getBody()
        -
        Returns a copy of the raw HTTP payload.
        -
      • -
      - - - -
        -
      • -

        setBody

        -
        public MockResponse setBody(okio.Buffer body)
        -
      • -
      - - - -
        -
      • -

        setBody

        -
        public MockResponse setBody(String body)
        -
        Sets the response body to the UTF-8 encoded bytes of body.
        -
      • -
      - - - -
        -
      • -

        setChunkedBody

        -
        public MockResponse setChunkedBody(okio.Buffer body,
        -                                   int maxChunkSize)
        -
        Sets the response body to body, chunked every maxChunkSize bytes.
        -
      • -
      - - - -
        -
      • -

        setChunkedBody

        -
        public MockResponse setChunkedBody(String body,
        -                                   int maxChunkSize)
        -
        Sets the response body to the UTF-8 encoded bytes of body, chunked every maxChunkSize bytes.
        -
      • -
      - - - -
        -
      • -

        getSocketPolicy

        -
        public SocketPolicy getSocketPolicy()
        -
      • -
      - - - - - - - -
        -
      • -

        getHttp2ErrorCode

        -
        public int getHttp2ErrorCode()
        -
      • -
      - - - - - - - -
        -
      • -

        throttleBody

        -
        public MockResponse throttleBody(long bytesPerPeriod,
        -                                 long period,
        -                                 TimeUnit unit)
        -
        Throttles the request reader and response writer to sleep for the given period after each - series of bytesPerPeriod bytes are transferred. Use this to simulate network behavior.
        -
      • -
      - - - -
        -
      • -

        getThrottleBytesPerPeriod

        -
        public long getThrottleBytesPerPeriod()
        -
      • -
      - - - -
        -
      • -

        getThrottlePeriod

        -
        public long getThrottlePeriod(TimeUnit unit)
        -
      • -
      - - - -
        -
      • -

        setBodyDelay

        -
        public MockResponse setBodyDelay(long delay,
        -                                 TimeUnit unit)
        -
        Set the delayed time of the response body to delay. This applies to the response body - only; response headers are not affected.
        -
      • -
      - - - -
        -
      • -

        getBodyDelay

        -
        public long getBodyDelay(TimeUnit unit)
        -
      • -
      - - - - - - - -
        -
      • -

        getHeadersDelay

        -
        public long getHeadersDelay(TimeUnit unit)
        -
      • -
      - - - - - - - -
        -
      • -

        getPushPromises

        -
        public List<PushPromise> getPushPromises()
        -
        Returns the streams the server will push with this response.
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        withWebSocketUpgrade

        -
        public MockResponse withWebSocketUpgrade(WebSocketListener listener)
        -
        Attempts to perform a web socket upgrade on the connection. This will overwrite any previously - set status or body.
        -
      • -
      - - - - - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/MockWebServer.html b/3.x/mockwebserver/okhttp3/mockwebserver/MockWebServer.html deleted file mode 100644 index 7fa89c300..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/MockWebServer.html +++ /dev/null @@ -1,792 +0,0 @@ - - - - - - -MockWebServer (MockWebServer 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.mockwebserver
-

Class MockWebServer

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.junit.rules.ExternalResource
    • -
    • -
        -
      • okhttp3.mockwebserver.MockWebServer
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Closeable, AutoCloseable, org.junit.rules.TestRule
    -
    -
    -
    -
    public final class MockWebServer
    -extends org.junit.rules.ExternalResource
    -implements Closeable
    -
    A scriptable web server. Callers supply canned responses and the server replays them upon request - in sequence.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MockWebServer

        -
        public MockWebServer()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        before

        -
        protected void before()
        -
        -
        Overrides:
        -
        before in class org.junit.rules.ExternalResource
        -
        -
      • -
      - - - -
        -
      • -

        getPort

        -
        public int getPort()
        -
      • -
      - - - -
        -
      • -

        getHostName

        -
        public String getHostName()
        -
      • -
      - - - -
        -
      • -

        toProxyAddress

        -
        public Proxy toProxyAddress()
        -
      • -
      - - - -
        -
      • -

        setServerSocketFactory

        -
        public void setServerSocketFactory(ServerSocketFactory serverSocketFactory)
        -
      • -
      - - - -
        -
      • -

        url

        -
        public HttpUrl url(String path)
        -
        Returns a URL for connecting to this server.
        -
        -
        Parameters:
        -
        path - the request path, such as "/".
        -
        -
      • -
      - - - -
        -
      • -

        setBodyLimit

        -
        public void setBodyLimit(long maxBodyLength)
        -
        Sets the number of bytes of the POST body to keep in memory to the given limit.
        -
      • -
      - - - -
        -
      • -

        setProtocolNegotiationEnabled

        -
        public void setProtocolNegotiationEnabled(boolean protocolNegotiationEnabled)
        -
        Sets whether ALPN is used on incoming HTTPS connections to negotiate a protocol like HTTP/1.1 - or HTTP/2. Call this method to disable negotiation and restrict connections to HTTP/1.1.
        -
      • -
      - - - -
        -
      • -

        setProtocols

        -
        public void setProtocols(List<Protocol> protocols)
        -
        Indicates the protocols supported by ALPN on incoming HTTPS connections. This list is ignored - when negotiation is disabled.
        -
        -
        Parameters:
        -
        protocols - the protocols to use, in order of preference. The list must contain - Protocol.HTTP_1_1. It must not contain null.
        -
        -
      • -
      - - - - - - - -
        -
      • -

        useHttps

        -
        public void useHttps(SSLSocketFactory sslSocketFactory,
        -                     boolean tunnelProxy)
        -
        Serve requests with HTTPS rather than otherwise.
        -
        -
        Parameters:
        -
        tunnelProxy - true to expect the HTTP CONNECT method before negotiating TLS.
        -
        -
      • -
      - - - -
        -
      • -

        noClientAuth

        -
        public void noClientAuth()
        -
        Configure the server to not perform SSL authentication of the client. This leaves - authentication to another layer such as in an HTTP cookie or header. This is the default and - most common configuration.
        -
      • -
      - - - -
        -
      • -

        requestClientAuth

        -
        public void requestClientAuth()
        -
        Configure the server to want client auth. If the - client presents a certificate that is trusted the handshake will - proceed normally. The connection will also proceed normally if the client presents no - certificate at all! But if the client presents an untrusted certificate the handshake will fail - and no connection will be established.
        -
      • -
      - - - -
        -
      • -

        requireClientAuth

        -
        public void requireClientAuth()
        -
        Configure the server to need client auth. If the - client presents a certificate that is trusted the handshake will - proceed normally. If the client presents an untrusted certificate or no certificate at all the - handshake will fail and no connection will be established.
        -
      • -
      - - - -
        -
      • -

        takeRequest

        -
        public RecordedRequest takeRequest()
        -                            throws InterruptedException
        -
        Awaits the next HTTP request, removes it, and returns it. Callers should use this to verify the - request was sent as intended. This method will block until the request is available, possibly - forever.
        -
        -
        Returns:
        -
        the head of the request queue
        -
        Throws:
        -
        InterruptedException
        -
        -
      • -
      - - - -
        -
      • -

        takeRequest

        -
        public RecordedRequest takeRequest(long timeout,
        -                                   TimeUnit unit)
        -                            throws InterruptedException
        -
        Awaits the next HTTP request (waiting up to the specified wait time if necessary), removes it, - and returns it. Callers should use this to verify the request was sent as intended within the - given time.
        -
        -
        Parameters:
        -
        timeout - how long to wait before giving up, in units of unit
        -
        unit - a TimeUnit determining how to interpret the timeout parameter
        -
        Returns:
        -
        the head of the request queue
        -
        Throws:
        -
        InterruptedException
        -
        -
      • -
      - - - -
        -
      • -

        getRequestCount

        -
        public int getRequestCount()
        -
        Returns the number of HTTP requests received thus far by this server. This may exceed the - number of HTTP connections when connection reuse is in practice.
        -
      • -
      - - - -
        -
      • -

        enqueue

        -
        public void enqueue(MockResponse response)
        -
        Scripts response to be returned to a request made in sequence. The first request is - served by the first enqueued response; the second request by the second enqueued response; and - so on.
        -
        -
        Throws:
        -
        ClassCastException - if the default dispatcher has been replaced with setDispatcher(Dispatcher).
        -
        -
      • -
      - - - - - - - -
        -
      • -

        start

        -
        public void start(int port)
        -           throws IOException
        -
        Starts the server on the loopback interface for the given port.
        -
        -
        Parameters:
        -
        port - the port to listen to, or 0 for any available port. Automated tests should always - use port 0 to avoid flakiness when a specific port is unavailable.
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        start

        -
        public void start(InetAddress inetAddress,
        -                  int port)
        -           throws IOException
        -
        Starts the server on the given address and port.
        -
        -
        Parameters:
        -
        inetAddress - the address to create the server socket on
        -
        port - the port to listen to, or 0 for any available port. Automated tests should always - use port 0 to avoid flakiness when a specific port is unavailable.
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - - - - - -
        -
      • -

        after

        -
        protected void after()
        -
        -
        Overrides:
        -
        after in class org.junit.rules.ExternalResource
        -
        -
      • -
      - - - -
        -
      • -

        getDispatcher

        -
        public Dispatcher getDispatcher()
        -
        Returns the dispatcher used to respond to HTTP requests. The default dispatcher is a QueueDispatcher but other dispatchers can be configured.
        -
      • -
      - - - -
        -
      • -

        setDispatcher

        -
        public void setDispatcher(Dispatcher dispatcher)
        -
        Sets the dispatcher used to match incoming requests to mock responses. The default dispatcher - simply serves a fixed sequence of responses from a queue; custom - dispatchers can vary the response based on timing or the content of the request.
        -
      • -
      - - - - - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/PushPromise.html b/3.x/mockwebserver/okhttp3/mockwebserver/PushPromise.html deleted file mode 100644 index 7c8bf1199..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/PushPromise.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - -PushPromise (MockWebServer 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.mockwebserver
-

Class PushPromise

-
-
- -
-
    -
  • -
    -
    -
    public final class PushPromise
    -extends Object
    -
    An HTTP request initiated by the server.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/QueueDispatcher.html b/3.x/mockwebserver/okhttp3/mockwebserver/QueueDispatcher.html deleted file mode 100644 index 9d29d0837..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/QueueDispatcher.html +++ /dev/null @@ -1,415 +0,0 @@ - - - - - - -QueueDispatcher (MockWebServer 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.mockwebserver
-

Class QueueDispatcher

-
-
- -
- -
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        QueueDispatcher

        -
        public QueueDispatcher()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        peek

        -
        public MockResponse peek()
        -
        Description copied from class: Dispatcher
        -
        Returns an early guess of the next response, used for policy on how an incoming request should - be received. The default implementation returns an empty response. Mischievous implementations - can return other values to test HTTP edge cases, such as unhappy socket policies or throttled - request bodies.
        -
        -
        Overrides:
        -
        peek in class Dispatcher
        -
        -
      • -
      - - - -
        -
      • -

        enqueueResponse

        -
        public void enqueueResponse(MockResponse response)
        -
      • -
      - - - -
        -
      • -

        shutdown

        -
        public void shutdown()
        -
        Description copied from class: Dispatcher
        -
        Release any resources held by this dispatcher. Any requests that are currently being dispatched - should return immediately. Responses returned after shutdown will not be transmitted: their - socket connections have already been closed.
        -
        -
        Overrides:
        -
        shutdown in class Dispatcher
        -
        -
      • -
      - - - -
        -
      • -

        setFailFast

        -
        public void setFailFast(boolean failFast)
        -
      • -
      - - - -
        -
      • -

        setFailFast

        -
        public void setFailFast(MockResponse failFastResponse)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/RecordedRequest.html b/3.x/mockwebserver/okhttp3/mockwebserver/RecordedRequest.html deleted file mode 100644 index 848a5da8b..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/RecordedRequest.html +++ /dev/null @@ -1,494 +0,0 @@ - - - - - - -RecordedRequest (MockWebServer 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.mockwebserver
-

Class RecordedRequest

-
-
- -
-
    -
  • -
    -
    -
    public final class RecordedRequest
    -extends Object
    -
    An HTTP request that came into the mock web server.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RecordedRequest

        -
        public RecordedRequest(String requestLine,
        -                       Headers headers,
        -                       List<Integer> chunkSizes,
        -                       long bodySize,
        -                       okio.Buffer body,
        -                       int sequenceNumber,
        -                       Socket socket)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRequestUrl

        -
        public HttpUrl getRequestUrl()
        -
      • -
      - - - -
        -
      • -

        getRequestLine

        -
        public String getRequestLine()
        -
      • -
      - - - -
        -
      • -

        getMethod

        -
        public String getMethod()
        -
      • -
      - - - -
        -
      • -

        getPath

        -
        public String getPath()
        -
      • -
      - - - -
        -
      • -

        getHeaders

        -
        public Headers getHeaders()
        -
        Returns all headers.
        -
      • -
      - - - -
        -
      • -

        getHeader

        -
        public String getHeader(String name)
        -
        Returns the first header named name, or null if no such header exists.
        -
      • -
      - - - -
        -
      • -

        getChunkSizes

        -
        public List<Integer> getChunkSizes()
        -
        Returns the sizes of the chunks of this request's body, or an empty list if the request's body - was empty or unchunked.
        -
      • -
      - - - -
        -
      • -

        getBodySize

        -
        public long getBodySize()
        -
        Returns the total size of the body of this POST request (before truncation).
        -
      • -
      - - - -
        -
      • -

        getBody

        -
        public okio.Buffer getBody()
        -
        Returns the body of this POST request. This may be truncated.
        -
      • -
      - - - - - - - -
        -
      • -

        getSequenceNumber

        -
        public int getSequenceNumber()
        -
        Returns the index of this request on its HTTP connection. Since a single HTTP connection may - serve multiple requests, each request is assigned its own sequence number.
        -
      • -
      - - - -
        -
      • -

        getTlsVersion

        -
        public TlsVersion getTlsVersion()
        -
        Returns the connection's TLS version or null if the connection doesn't use SSL.
        -
      • -
      - - - -
        -
      • -

        getHandshake

        -
        public Handshake getHandshake()
        -
        Returns the TLS handshake of the connection that carried this request, or null if the request - was received without TLS.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/SocketPolicy.html b/3.x/mockwebserver/okhttp3/mockwebserver/SocketPolicy.html deleted file mode 100644 index 200d98811..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/SocketPolicy.html +++ /dev/null @@ -1,589 +0,0 @@ - - - - - - -SocketPolicy (MockWebServer 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.mockwebserver
-

Enum SocketPolicy

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Serializable, Comparable<SocketPolicy>
    -
    -
    -
    -
    public enum SocketPolicy
    -extends Enum<SocketPolicy>
    -
    What should be done with the incoming socket. - -

    Be careful when using values like DISCONNECT_AT_END, SHUTDOWN_INPUT_AT_END - and SHUTDOWN_OUTPUT_AT_END that close a socket after a response, and where there are - follow-up requests. The client is unblocked and free to continue as soon as it has received the - entire response body. If and when the client makes a subsequent request using a pooled socket the - server may not have had time to close the socket. The socket will be closed at an indeterminate - point before or during the second request. It may be closed after client has started sending the - request body. If a request body is not retryable then the client may fail the request, making - client behavior non-deterministic. Add delays in the client to improve the chances that the - server has closed the socket before follow up requests are made.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        SHUTDOWN_SERVER_AFTER_RESPONSE

        -
        public static final SocketPolicy SHUTDOWN_SERVER_AFTER_RESPONSE
        -
        Shutdown MockWebServer after writing response.
        -
      • -
      - - - -
        -
      • -

        KEEP_OPEN

        -
        public static final SocketPolicy KEEP_OPEN
        -
        Keep the socket open after the response. This is the default HTTP/1.1 behavior.
        -
      • -
      - - - -
        -
      • -

        DISCONNECT_AT_END

        -
        public static final SocketPolicy DISCONNECT_AT_END
        -
        Close the socket after the response. This is the default HTTP/1.0 behavior. For HTTP/2 - connections, this sends a GOAWAY - frame immediately after the response and will close the connection when the client's socket - is exhausted. - -

        See SocketPolicy for reasons why this can cause test flakiness and how to avoid it.

        -
      • -
      - - - -
        -
      • -

        UPGRADE_TO_SSL_AT_END

        -
        public static final SocketPolicy UPGRADE_TO_SSL_AT_END
        -
        Wrap the socket with SSL at the completion of this request/response pair. Used for CONNECT - messages to tunnel SSL over an HTTP proxy.
        -
      • -
      - - - -
        -
      • -

        DISCONNECT_AT_START

        -
        public static final SocketPolicy DISCONNECT_AT_START
        -
        Request immediate close of connection without even reading the request. Use to simulate buggy - SSL servers closing connections in response to unrecognized TLS extensions.
        -
      • -
      - - - -
        -
      • -

        DISCONNECT_AFTER_REQUEST

        -
        public static final SocketPolicy DISCONNECT_AFTER_REQUEST
        -
        Close connection after reading the request but before writing the response. Use this to - simulate late connection pool failures.
        -
      • -
      - - - -
        -
      • -

        DISCONNECT_DURING_REQUEST_BODY

        -
        public static final SocketPolicy DISCONNECT_DURING_REQUEST_BODY
        -
        Close connection after reading half of the request body (if present).
        -
      • -
      - - - -
        -
      • -

        DISCONNECT_DURING_RESPONSE_BODY

        -
        public static final SocketPolicy DISCONNECT_DURING_RESPONSE_BODY
        -
        Close connection after writing half of the response body (if present).
        -
      • -
      - - - -
        -
      • -

        FAIL_HANDSHAKE

        -
        public static final SocketPolicy FAIL_HANDSHAKE
        -
        Don't trust the client during the SSL handshake.
        -
      • -
      - - - -
        -
      • -

        SHUTDOWN_INPUT_AT_END

        -
        public static final SocketPolicy SHUTDOWN_INPUT_AT_END
        -
        Shutdown the socket input after sending the response. For testing bad behavior. - -

        See SocketPolicy for reasons why this can cause test flakiness and how to avoid it.

        -
      • -
      - - - -
        -
      • -

        SHUTDOWN_OUTPUT_AT_END

        -
        public static final SocketPolicy SHUTDOWN_OUTPUT_AT_END
        -
        Shutdown the socket output after sending the response. For testing bad behavior. - -

        See SocketPolicy for reasons why this can cause test flakiness and how to avoid it.

        -
      • -
      - - - -
        -
      • -

        STALL_SOCKET_AT_START

        -
        public static final SocketPolicy STALL_SOCKET_AT_START
        -
        After accepting the connection and doing TLS (if configured) don't do HTTP/1.1 or HTTP/2 - framing. Ignore the socket completely until the server is shut down.
        -
      • -
      - - - -
        -
      • -

        NO_RESPONSE

        -
        public static final SocketPolicy NO_RESPONSE
        -
        Read the request but don't respond to it. Just keep the socket open. For testing read response - header timeout issue.
        -
      • -
      - - - -
        -
      • -

        RESET_STREAM_AT_START

        -
        public static final SocketPolicy RESET_STREAM_AT_START
        -
        Fail HTTP/2 requests without processing them by sending an HTTP/2 error code.
        -
      • -
      - - - -
        -
      • -

        EXPECT_CONTINUE

        -
        public static final SocketPolicy EXPECT_CONTINUE
        -
        Transmit a HTTP/1.1 100 Continue response before reading the HTTP request body. - Typically this response is sent when a client makes a request with the header Expect: 100-continue.
        -
      • -
      - - - -
        -
      • -

        CONTINUE_ALWAYS

        -
        public static final SocketPolicy CONTINUE_ALWAYS
        -
        Transmit a HTTP/1.1 100 Continue response before reading the HTTP request body even - if the client does not send the header Expect: 100-continue in its request.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static SocketPolicy[] values()
        -
        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: -
        -for (SocketPolicy c : SocketPolicy.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static SocketPolicy valueOf(String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant with the specified name
        -
        NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/Dispatcher.html b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/Dispatcher.html deleted file mode 100644 index d8512aca9..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/Dispatcher.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - -Uses of Class okhttp3.mockwebserver.Dispatcher (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.mockwebserver.Dispatcher

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/MockResponse.html b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/MockResponse.html deleted file mode 100644 index d1d3bab7d..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/MockResponse.html +++ /dev/null @@ -1,398 +0,0 @@ - - - - - - -Uses of Class okhttp3.mockwebserver.MockResponse (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.mockwebserver.MockResponse

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/MockWebServer.html b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/MockWebServer.html deleted file mode 100644 index 8f09618ba..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/MockWebServer.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.mockwebserver.MockWebServer (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.mockwebserver.MockWebServer

-
-
No usage of okhttp3.mockwebserver.MockWebServer
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/PushPromise.html b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/PushPromise.html deleted file mode 100644 index b96aa7a6b..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/PushPromise.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - -Uses of Class okhttp3.mockwebserver.PushPromise (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.mockwebserver.PushPromise

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/QueueDispatcher.html b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/QueueDispatcher.html deleted file mode 100644 index b4ddf4124..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/QueueDispatcher.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.mockwebserver.QueueDispatcher (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.mockwebserver.QueueDispatcher

-
-
No usage of okhttp3.mockwebserver.QueueDispatcher
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/RecordedRequest.html b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/RecordedRequest.html deleted file mode 100644 index f9f51f400..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/RecordedRequest.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -Uses of Class okhttp3.mockwebserver.RecordedRequest (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.mockwebserver.RecordedRequest

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/SocketPolicy.html b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/SocketPolicy.html deleted file mode 100644 index 728325b7d..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/class-use/SocketPolicy.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - -Uses of Class okhttp3.mockwebserver.SocketPolicy (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.mockwebserver.SocketPolicy

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/DuplexResponseBody.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/DuplexResponseBody.html deleted file mode 100644 index d646d8cbf..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/DuplexResponseBody.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - -DuplexResponseBody (MockWebServer 3.14.0 API) - - - - - - - - - - - - -
-
okhttp3.mockwebserver.internal.duplex
-

Interface DuplexResponseBody

-
-
-
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/MockDuplexResponseBody.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/MockDuplexResponseBody.html deleted file mode 100644 index 1adb5b5ab..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/MockDuplexResponseBody.html +++ /dev/null @@ -1,388 +0,0 @@ - - - - - - -MockDuplexResponseBody (MockWebServer 3.14.0 API) - - - - - - - - - - - - -
-
okhttp3.mockwebserver.internal.duplex
-

Class MockDuplexResponseBody

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.mockwebserver.internal.duplex.MockDuplexResponseBody
    • -
    -
  • -
-
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/class-use/DuplexResponseBody.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/class-use/DuplexResponseBody.html deleted file mode 100644 index 51c611983..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/class-use/DuplexResponseBody.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - -Uses of Interface okhttp3.mockwebserver.internal.duplex.DuplexResponseBody (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.mockwebserver.internal.duplex.DuplexResponseBody

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/class-use/MockDuplexResponseBody.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/class-use/MockDuplexResponseBody.html deleted file mode 100644 index 114c99b5b..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/class-use/MockDuplexResponseBody.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - -Uses of Class okhttp3.mockwebserver.internal.duplex.MockDuplexResponseBody (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.mockwebserver.internal.duplex.MockDuplexResponseBody

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-frame.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-frame.html deleted file mode 100644 index 77c779099..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - -okhttp3.mockwebserver.internal.duplex (MockWebServer 3.14.0 API) - - - - - -

okhttp3.mockwebserver.internal.duplex

-
-

Interfaces

- -

Classes

- -
- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-summary.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-summary.html deleted file mode 100644 index 2c0aaee58..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-summary.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - -okhttp3.mockwebserver.internal.duplex (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Package okhttp3.mockwebserver.internal.duplex

-
-
-
    -
  • - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    DuplexResponseBody 
    -
  • -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    MockDuplexResponseBody -
    A scriptable request/response conversation.
    -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-tree.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-tree.html deleted file mode 100644 index c18550ee9..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-tree.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -okhttp3.mockwebserver.internal.duplex Class Hierarchy (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.mockwebserver.internal.duplex

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-use.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-use.html deleted file mode 100644 index 7985d993e..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/duplex/package-use.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - -Uses of Package okhttp3.mockwebserver.internal.duplex (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.mockwebserver.internal.duplex

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/Http2Server.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/Http2Server.html deleted file mode 100644 index 93e18bed4..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/Http2Server.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - -Http2Server (MockWebServer 3.10.0 API) - - - - - - - - - - - - -
-
okhttp3.mockwebserver.internal.http2
-

Class Http2Server

-
-
- -
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/class-use/Http2Server.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/class-use/Http2Server.html deleted file mode 100644 index ba8d618a0..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/class-use/Http2Server.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.mockwebserver.internal.http2.Http2Server (MockWebServer 3.10.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.mockwebserver.internal.http2.Http2Server

-
-
No usage of okhttp3.mockwebserver.internal.http2.Http2Server
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-frame.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-frame.html deleted file mode 100644 index 724d2ceb0..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -okhttp3.mockwebserver.internal.http2 (MockWebServer 3.10.0 API) - - - - - -

okhttp3.mockwebserver.internal.http2

-
-

Classes

- -
- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-summary.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-summary.html deleted file mode 100644 index d6469cd40..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-summary.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -okhttp3.mockwebserver.internal.http2 (MockWebServer 3.10.0 API) - - - - - - - - - - - -
-

Package okhttp3.mockwebserver.internal.http2

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Http2Server -
    A basic HTTP/2 server that serves the contents of a local directory.
    -
    -
  • -
-
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-tree.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-tree.html deleted file mode 100644 index 637e0b36e..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-tree.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -okhttp3.mockwebserver.internal.http2 Class Hierarchy (MockWebServer 3.10.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.mockwebserver.internal.http2

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-use.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-use.html deleted file mode 100644 index e99fcaa03..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/http2/package-use.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Package okhttp3.mockwebserver.internal.http2 (MockWebServer 3.10.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.mockwebserver.internal.http2

-
-
No usage of okhttp3.mockwebserver.internal.http2
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/HeldCertificate.Builder.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/HeldCertificate.Builder.html deleted file mode 100644 index 1afaa68bf..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/HeldCertificate.Builder.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - -HeldCertificate.Builder (MockWebServer 3.10.0 API) - - - - - - - - - - - - -
-
okhttp3.mockwebserver.internal.tls
-

Class HeldCertificate.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.mockwebserver.internal.tls.HeldCertificate.Builder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    HeldCertificate
    -
    -
    -
    -
    public static final class HeldCertificate.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/HeldCertificate.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/HeldCertificate.html deleted file mode 100644 index 3442abce3..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/HeldCertificate.html +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - -HeldCertificate (MockWebServer 3.10.0 API) - - - - - - - - - - - - -
-
okhttp3.mockwebserver.internal.tls
-

Class HeldCertificate

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.mockwebserver.internal.tls.HeldCertificate
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class HeldCertificate
    -extends Object
    -
    A certificate and its private key. This can be used on the server side by HTTPS servers, or on - the client side to verify those HTTPS servers. A held certificate can also be used to sign other - held certificates, as done in practice by certificate authorities.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/SslClient.Builder.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/SslClient.Builder.html deleted file mode 100644 index 99be083c5..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/SslClient.Builder.html +++ /dev/null @@ -1,357 +0,0 @@ - - - - - - -SslClient.Builder (MockWebServer 3.10.0 API) - - - - - - - - - - - - -
-
okhttp3.mockwebserver.internal.tls
-

Class SslClient.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.mockwebserver.internal.tls.SslClient.Builder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    SslClient
    -
    -
    -
    -
    public static class SslClient.Builder
    -extends Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Builder

        -
        public Builder()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/SslClient.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/SslClient.html deleted file mode 100644 index d221ec71b..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/SslClient.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - -SslClient (MockWebServer 3.10.0 API) - - - - - - - - - - - - -
-
okhttp3.mockwebserver.internal.tls
-

Class SslClient

-
-
- -
-
    -
  • -
    -
    -
    public final class SslClient
    -extends Object
    -
    Combines an SSL socket factory and trust manager, a pairing enough for OkHttp or MockWebServer to - create a secure connection.
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        localhost

        -
        public static SslClient localhost()
        -
        Returns an SSL client for this host's localhost address.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/HeldCertificate.Builder.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/HeldCertificate.Builder.html deleted file mode 100644 index 4e351a330..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/HeldCertificate.Builder.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - -Uses of Class okhttp3.mockwebserver.internal.tls.HeldCertificate.Builder (MockWebServer 3.10.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.mockwebserver.internal.tls.HeldCertificate.Builder

-
-
- -
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/HeldCertificate.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/HeldCertificate.html deleted file mode 100644 index 6a1067aa5..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/HeldCertificate.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - -Uses of Class okhttp3.mockwebserver.internal.tls.HeldCertificate (MockWebServer 3.10.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.mockwebserver.internal.tls.HeldCertificate

-
-
- -
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/SslClient.Builder.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/SslClient.Builder.html deleted file mode 100644 index ecf4e6f1b..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/SslClient.Builder.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - -Uses of Class okhttp3.mockwebserver.internal.tls.SslClient.Builder (MockWebServer 3.10.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.mockwebserver.internal.tls.SslClient.Builder

-
-
- -
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/SslClient.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/SslClient.html deleted file mode 100644 index 8b79c4889..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/class-use/SslClient.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - -Uses of Class okhttp3.mockwebserver.internal.tls.SslClient (MockWebServer 3.10.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.mockwebserver.internal.tls.SslClient

-
-
- -
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-frame.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-frame.html deleted file mode 100644 index 5ef33349a..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-frame.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - -okhttp3.mockwebserver.internal.tls (MockWebServer 3.10.0 API) - - - - - -

okhttp3.mockwebserver.internal.tls

- - - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-summary.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-summary.html deleted file mode 100644 index 5930a3d46..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-summary.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - -okhttp3.mockwebserver.internal.tls (MockWebServer 3.10.0 API) - - - - - - - - - - - -
-

Package okhttp3.mockwebserver.internal.tls

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    HeldCertificate -
    A certificate and its private key.
    -
    HeldCertificate.Builder 
    SslClient -
    Combines an SSL socket factory and trust manager, a pairing enough for OkHttp or MockWebServer to - create a secure connection.
    -
    SslClient.Builder 
    -
  • -
-
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-tree.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-tree.html deleted file mode 100644 index 5b487623d..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-tree.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -okhttp3.mockwebserver.internal.tls Class Hierarchy (MockWebServer 3.10.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.mockwebserver.internal.tls

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-use.html b/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-use.html deleted file mode 100644 index bada6b820..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/internal/tls/package-use.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -Uses of Package okhttp3.mockwebserver.internal.tls (MockWebServer 3.10.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.mockwebserver.internal.tls

-
-
- -
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/package-frame.html b/3.x/mockwebserver/okhttp3/mockwebserver/package-frame.html deleted file mode 100644 index d513b9891..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/package-frame.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - -okhttp3.mockwebserver (MockWebServer 3.14.0 API) - - - - - -

okhttp3.mockwebserver

- - - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/package-summary.html b/3.x/mockwebserver/okhttp3/mockwebserver/package-summary.html deleted file mode 100644 index 4764be441..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/package-summary.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - -okhttp3.mockwebserver (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Package okhttp3.mockwebserver

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Dispatcher -
    Handler for mock server requests.
    -
    MockResponse -
    A scripted response to be replayed by the mock web server.
    -
    MockWebServer -
    A scriptable web server.
    -
    PushPromise -
    An HTTP request initiated by the server.
    -
    QueueDispatcher -
    Default dispatcher that processes a script of responses.
    -
    RecordedRequest -
    An HTTP request that came into the mock web server.
    -
    -
  • -
  • - - - - - - - - - - - - -
    Enum Summary 
    EnumDescription
    SocketPolicy -
    What should be done with the incoming socket.
    -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/package-tree.html b/3.x/mockwebserver/okhttp3/mockwebserver/package-tree.html deleted file mode 100644 index c28814d3a..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/package-tree.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - -okhttp3.mockwebserver Class Hierarchy (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.mockwebserver

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Enum Hierarchy

- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/package-use.html b/3.x/mockwebserver/okhttp3/mockwebserver/package-use.html deleted file mode 100644 index e6ea7ad29..000000000 --- a/3.x/mockwebserver/okhttp3/mockwebserver/package-use.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - -Uses of Package okhttp3.mockwebserver (MockWebServer 3.14.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.mockwebserver

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/overview-frame.html b/3.x/mockwebserver/overview-frame.html deleted file mode 100644 index 8c2454a7b..000000000 --- a/3.x/mockwebserver/overview-frame.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - -Overview List (MockWebServer 3.14.0 API) - - - - - - - -

 

- - diff --git a/3.x/mockwebserver/overview-summary.html b/3.x/mockwebserver/overview-summary.html deleted file mode 100644 index b40eefb21..000000000 --- a/3.x/mockwebserver/overview-summary.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - -Overview (MockWebServer 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

MockWebServer 3.14.0 API

-
-
- - - - - - - - - - - - - - - - - - - - -
Packages 
PackageDescription
okhttp3.internal.duplex 
okhttp3.mockwebserver 
okhttp3.mockwebserver.internal.duplex 
-
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/overview-tree.html b/3.x/mockwebserver/overview-tree.html deleted file mode 100644 index 26928a109..000000000 --- a/3.x/mockwebserver/overview-tree.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -Class Hierarchy (MockWebServer 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/mockwebserver/package-list b/3.x/mockwebserver/package-list deleted file mode 100644 index c3a66c808..000000000 --- a/3.x/mockwebserver/package-list +++ /dev/null @@ -1,3 +0,0 @@ -okhttp3.internal.duplex -okhttp3.mockwebserver -okhttp3.mockwebserver.internal.duplex diff --git a/3.x/mockwebserver/script.js b/3.x/mockwebserver/script.js deleted file mode 100644 index b34635693..000000000 --- a/3.x/mockwebserver/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/3.x/mockwebserver/stylesheet.css b/3.x/mockwebserver/stylesheet.css deleted file mode 100644 index 8841f37c4..000000000 --- a/3.x/mockwebserver/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/3.x/mockwebserver/version.txt b/3.x/mockwebserver/version.txt deleted file mode 100644 index f982feb41..000000000 --- a/3.x/mockwebserver/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.14.0 diff --git a/3.x/okcurl/META-INF/MANIFEST.MF b/3.x/okcurl/META-INF/MANIFEST.MF deleted file mode 100644 index 83570c464..000000000 --- a/3.x/okcurl/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_202 - diff --git a/3.x/okcurl/allclasses-frame.html b/3.x/okcurl/allclasses-frame.html deleted file mode 100644 index 5e515adef..000000000 --- a/3.x/okcurl/allclasses-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (OkCurl 3.14.0 API) - - - - - -

All Classes

-
- -
- - diff --git a/3.x/okcurl/allclasses-noframe.html b/3.x/okcurl/allclasses-noframe.html deleted file mode 100644 index 53432e210..000000000 --- a/3.x/okcurl/allclasses-noframe.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (OkCurl 3.14.0 API) - - - - - -

All Classes

-
- -
- - diff --git a/3.x/okcurl/constant-values.html b/3.x/okcurl/constant-values.html deleted file mode 100644 index 2358958d1..000000000 --- a/3.x/okcurl/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkCurl 3.14.0 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okcurl/deprecated-list.html b/3.x/okcurl/deprecated-list.html deleted file mode 100644 index b80507e48..000000000 --- a/3.x/okcurl/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkCurl 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okcurl/help-doc.html b/3.x/okcurl/help-doc.html deleted file mode 100644 index d4d143634..000000000 --- a/3.x/okcurl/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkCurl 3.14.0 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okcurl/index-all.html b/3.x/okcurl/index-all.html deleted file mode 100644 index 98c35a3ed..000000000 --- a/3.x/okcurl/index-all.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - -Index (OkCurl 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
A C D F H M O R S U V  - - -

A

-
-
allowInsecure - Variable in class okhttp3.curl.Main
-
 
-
- - - -

C

-
-
callTimeout - Variable in class okhttp3.curl.Main
-
 
-
connectTimeout - Variable in class okhttp3.curl.Main
-
 
-
- - - -

D

-
-
data - Variable in class okhttp3.curl.Main
-
 
-
- - - -

F

-
-
followRedirects - Variable in class okhttp3.curl.Main
-
 
-
- - - -

H

-
-
headers - Variable in class okhttp3.curl.Main
-
 
-
- - - -

M

-
-
Main - Class in okhttp3.curl
-
 
-
Main() - Constructor for class okhttp3.curl.Main
-
 
-
main(String...) - Static method in class okhttp3.curl.Main
-
 
-
method - Variable in class okhttp3.curl.Main
-
 
-
- - - -

O

-
-
okhttp3.curl - package okhttp3.curl
-
 
-
- - - -

R

-
-
readTimeout - Variable in class okhttp3.curl.Main
-
 
-
referer - Variable in class okhttp3.curl.Main
-
 
-
run() - Method in class okhttp3.curl.Main
-
 
-
- - - -

S

-
-
showHeaders - Variable in class okhttp3.curl.Main
-
 
-
showHttp2Frames - Variable in class okhttp3.curl.Main
-
 
-
- - - -

U

-
-
url - Variable in class okhttp3.curl.Main
-
 
-
userAgent - Variable in class okhttp3.curl.Main
-
 
-
- - - -

V

-
-
verbose - Variable in class okhttp3.curl.Main
-
 
-
version - Variable in class okhttp3.curl.Main
-
 
-
-A C D F H M O R S U V 
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okcurl/index.html b/3.x/okcurl/index.html deleted file mode 100644 index 162f5883a..000000000 --- a/3.x/okcurl/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - -OkCurl 3.14.0 API - - - - - - -<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="okhttp3/curl/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/3.x/okcurl/okhttp3/curl/Main.html b/3.x/okcurl/okhttp3/curl/Main.html deleted file mode 100644 index 82ddf6c4a..000000000 --- a/3.x/okcurl/okhttp3/curl/Main.html +++ /dev/null @@ -1,532 +0,0 @@ - - - - - - -Main (OkCurl 3.14.0 API) - - - - - - - - - - - - -
-
okhttp3.curl
-

Class Main

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • io.airlift.airline.HelpOption
    • -
    • -
        -
      • okhttp3.curl.Main
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.lang.Runnable
    -
    -
    -
    -
    @Command(name="okcurl",
    -         description="A curl for the next-generation web.")
    -public class Main
    -extends io.airlift.airline.HelpOption
    -implements java.lang.Runnable
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Main() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidmain(java.lang.String... args) 
      voidrun() 
      -
        -
      • - - -

        Methods inherited from class io.airlift.airline.HelpOption

        -showHelpIfRequested
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        method

        -
        public java.lang.String method
        -
      • -
      - - - -
        -
      • -

        data

        -
        public java.lang.String data
        -
      • -
      - - - -
        -
      • -

        headers

        -
        public java.util.List<java.lang.String> headers
        -
      • -
      - - - -
        -
      • -

        userAgent

        -
        public java.lang.String userAgent
        -
      • -
      - - - -
        -
      • -

        connectTimeout

        -
        public int connectTimeout
        -
      • -
      - - - -
        -
      • -

        readTimeout

        -
        public int readTimeout
        -
      • -
      - - - -
        -
      • -

        callTimeout

        -
        public int callTimeout
        -
      • -
      - - - -
        -
      • -

        followRedirects

        -
        public boolean followRedirects
        -
      • -
      - - - -
        -
      • -

        allowInsecure

        -
        public boolean allowInsecure
        -
      • -
      - - - -
        -
      • -

        showHeaders

        -
        public boolean showHeaders
        -
      • -
      - - - -
        -
      • -

        showHttp2Frames

        -
        public boolean showHttp2Frames
        -
      • -
      - - - -
        -
      • -

        referer

        -
        public java.lang.String referer
        -
      • -
      - - - -
        -
      • -

        version

        -
        public boolean version
        -
      • -
      - - - -
        -
      • -

        verbose

        -
        public boolean verbose
        -
      • -
      - - - -
        -
      • -

        url

        -
        public java.lang.String url
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Main

        -
        public Main()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main(java.lang.String... args)
        -
      • -
      - - - -
        -
      • -

        run

        -
        public void run()
        -
        -
        Specified by:
        -
        run in interface java.lang.Runnable
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okcurl/okhttp3/curl/class-use/Main.html b/3.x/okcurl/okhttp3/curl/class-use/Main.html deleted file mode 100644 index 03f9e5659..000000000 --- a/3.x/okcurl/okhttp3/curl/class-use/Main.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class okhttp3.curl.Main (OkCurl 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.curl.Main

-
-
No usage of okhttp3.curl.Main
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okcurl/okhttp3/curl/package-frame.html b/3.x/okcurl/okhttp3/curl/package-frame.html deleted file mode 100644 index 328ae132c..000000000 --- a/3.x/okcurl/okhttp3/curl/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -okhttp3.curl (OkCurl 3.14.0 API) - - - - - -

okhttp3.curl

-
-

Classes

- -
- - diff --git a/3.x/okcurl/okhttp3/curl/package-summary.html b/3.x/okcurl/okhttp3/curl/package-summary.html deleted file mode 100644 index 9096adfc7..000000000 --- a/3.x/okcurl/okhttp3/curl/package-summary.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -okhttp3.curl (OkCurl 3.14.0 API) - - - - - - - - - - - -
-

Package okhttp3.curl

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Main 
    -
  • -
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okcurl/okhttp3/curl/package-tree.html b/3.x/okcurl/okhttp3/curl/package-tree.html deleted file mode 100644 index ae01ddd96..000000000 --- a/3.x/okcurl/okhttp3/curl/package-tree.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - -okhttp3.curl Class Hierarchy (OkCurl 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.curl

-
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • io.airlift.airline.HelpOption -
        -
      • okhttp3.curl.Main (implements java.lang.Runnable)
      • -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okcurl/okhttp3/curl/package-use.html b/3.x/okcurl/okhttp3/curl/package-use.html deleted file mode 100644 index 8a09b4c6e..000000000 --- a/3.x/okcurl/okhttp3/curl/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Package okhttp3.curl (OkCurl 3.14.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.curl

-
-
No usage of okhttp3.curl
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okcurl/overview-tree.html b/3.x/okcurl/overview-tree.html deleted file mode 100644 index 0b837811f..000000000 --- a/3.x/okcurl/overview-tree.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - -Class Hierarchy (OkCurl 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • io.airlift.airline.HelpOption -
        -
      • okhttp3.curl.Main (implements java.lang.Runnable)
      • -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okcurl/package-list b/3.x/okcurl/package-list deleted file mode 100644 index c3348cb1b..000000000 --- a/3.x/okcurl/package-list +++ /dev/null @@ -1 +0,0 @@ -okhttp3.curl diff --git a/3.x/okcurl/script.js b/3.x/okcurl/script.js deleted file mode 100644 index b34635693..000000000 --- a/3.x/okcurl/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/3.x/okcurl/stylesheet.css b/3.x/okcurl/stylesheet.css deleted file mode 100644 index 8841f37c4..000000000 --- a/3.x/okcurl/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/3.x/okcurl/version.txt b/3.x/okcurl/version.txt deleted file mode 100644 index f982feb41..000000000 --- a/3.x/okcurl/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.14.0 diff --git a/3.x/okhttp-android-support/META-INF/MANIFEST.MF b/3.x/okhttp-android-support/META-INF/MANIFEST.MF deleted file mode 100644 index adc50dbb0..000000000 --- a/3.x/okhttp-android-support/META-INF/MANIFEST.MF +++ /dev/null @@ -1,5 +0,0 @@ -Manifest-Version: 1.0 -Built-By: jwilson -Created-By: Apache Maven 3.6.0 -Build-Jdk: 1.8.0_162 - diff --git a/3.x/okhttp-android-support/allclasses-frame.html b/3.x/okhttp-android-support/allclasses-frame.html deleted file mode 100644 index af37fcc82..000000000 --- a/3.x/okhttp-android-support/allclasses-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -All Classes (OkHttp Android Platform Support 3.13.1 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-android-support/allclasses-noframe.html b/3.x/okhttp-android-support/allclasses-noframe.html deleted file mode 100644 index 4fe41c06f..000000000 --- a/3.x/okhttp-android-support/allclasses-noframe.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -All Classes (OkHttp Android Platform Support 3.13.1 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-android-support/constant-values.html b/3.x/okhttp-android-support/constant-values.html deleted file mode 100644 index 29b12a0fd..000000000 --- a/3.x/okhttp-android-support/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/deprecated-list.html b/3.x/okhttp-android-support/deprecated-list.html deleted file mode 100644 index 89269b31d..000000000 --- a/3.x/okhttp-android-support/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/help-doc.html b/3.x/okhttp-android-support/help-doc.html deleted file mode 100644 index 24c8df301..000000000 --- a/3.x/okhttp-android-support/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/index-all.html b/3.x/okhttp-android-support/index-all.html deleted file mode 100644 index ea00c8ed5..000000000 --- a/3.x/okhttp-android-support/index-all.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - -Index (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - -
- - - - - - - -
- - -
A C D F G I M O P S  - - -

A

-
-
AndroidInternal - Class in okhttp3
-
-
Back doors to enable the use of OkHttp within the Android platform libraries.
-
-
AndroidShimResponseCache - Class in okhttp3
-
-
A class provided for use by Android so that it can continue supporting a ResponseCache - with stats.
-
-
- - - -

C

-
-
close() - Method in class okhttp3.AndroidShimResponseCache
-
-
Uninstalls the cache and releases any active resources.
-
-
create(File, long) - Static method in class okhttp3.AndroidShimResponseCache
-
 
-
- - - -

D

-
-
delete() - Method in class okhttp3.AndroidShimResponseCache
-
-
Uninstalls the cache and deletes all of its stored contents.
-
-
- - - -

F

-
-
flush() - Method in class okhttp3.AndroidShimResponseCache
-
-
Force buffered operations to the filesystem.
-
-
- - - -

G

-
-
get(URI, String, Map<String, List<String>>) - Method in class okhttp3.AndroidShimResponseCache
-
 
-
getCache() - Method in class okhttp3.AndroidShimResponseCache
-
 
-
getCache() - Method in interface okhttp3.OkCacheContainer
-
 
-
getHitCount() - Method in class okhttp3.AndroidShimResponseCache
-
-
Returns the number of HTTP requests whose response was provided by the cache.
-
-
getNetworkCount() - Method in class okhttp3.AndroidShimResponseCache
-
-
Returns the number of HTTP requests that required the network to either supply a response or - validate a locally cached response.
-
-
getRequestCount() - Method in class okhttp3.AndroidShimResponseCache
-
-
Returns the total number of HTTP requests that were made.
-
-
- - - -

I

-
-
isEquivalent(File, long) - Method in class okhttp3.AndroidShimResponseCache
-
 
-
- - - -

M

-
-
maxSize() - Method in class okhttp3.AndroidShimResponseCache
-
-
Returns the maximum number of bytes that this cache should use to store its data.
-
-
- - - -

O

-
-
OkCacheContainer - Interface in okhttp3
-
-
An interface that allows OkHttp to detect that a ResponseCache contains a Cache.
-
-
okhttp3 - package okhttp3
-
 
-
- - - -

P

-
-
put(URI, URLConnection) - Method in class okhttp3.AndroidShimResponseCache
-
 
-
- - - -

S

-
-
setResponseCache(OkUrlFactory, ResponseCache) - Static method in class okhttp3.AndroidInternal
-
-
Sets the response cache to be used to read and write cached responses.
-
-
size() - Method in class okhttp3.AndroidShimResponseCache
-
-
Returns the number of bytes currently being used to store the values in this cache.
-
-
-A C D F G I M O P S 
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/index.html b/3.x/okhttp-android-support/index.html deleted file mode 100644 index 6a9d3f3c2..000000000 --- a/3.x/okhttp-android-support/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - -OkHttp Android Platform Support 3.13.1 API - - - - - - -<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="okhttp3/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/3.x/okhttp-android-support/okhttp3/AndroidInternal.html b/3.x/okhttp-android-support/okhttp3/AndroidInternal.html deleted file mode 100644 index 20c022036..000000000 --- a/3.x/okhttp-android-support/okhttp3/AndroidInternal.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - -AndroidInternal (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - - - - - -
-
okhttp3
-

Class AndroidInternal

-
-
- -
-
    -
  • -
    -
    -
    public class AndroidInternal
    -extends Object
    -
    Back doors to enable the use of OkHttp within the Android platform libraries. OkHttp is used to - provide the default HttpURLConnection / HttpsURLConnection - implementation including support for a custom ResponseCache.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setResponseCache

        -
        public static void setResponseCache(OkUrlFactory okUrlFactory,
        -                                    ResponseCache responseCache)
        -
        Sets the response cache to be used to read and write cached responses.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/okhttp3/AndroidShimResponseCache.html b/3.x/okhttp-android-support/okhttp3/AndroidShimResponseCache.html deleted file mode 100644 index 686ed1537..000000000 --- a/3.x/okhttp-android-support/okhttp3/AndroidShimResponseCache.html +++ /dev/null @@ -1,488 +0,0 @@ - - - - - - -AndroidShimResponseCache (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - - - - - -
-
okhttp3
-

Class AndroidShimResponseCache

-
-
- -
-
    -
  • -
    -
    -
    public class AndroidShimResponseCache
    -extends ResponseCache
    -
    A class provided for use by Android so that it can continue supporting a ResponseCache - with stats.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        isEquivalent

        -
        public boolean isEquivalent(File directory,
        -                            long maxSize)
        -
      • -
      - - - -
        -
      • -

        getCache

        -
        public Cache getCache()
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        size

        -
        public long size()
        -          throws IOException
        -
        Returns the number of bytes currently being used to store the values in this cache. This may be - greater than the maxSize() if a background deletion is pending.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        maxSize

        -
        public long maxSize()
        -
        Returns the maximum number of bytes that this cache should use to store its data.
        -
      • -
      - - - -
        -
      • -

        flush

        -
        public void flush()
        -           throws IOException
        -
        Force buffered operations to the filesystem. This ensures that responses written to the cache - will be available the next time the cache is opened, even if this process is killed.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        getNetworkCount

        -
        public int getNetworkCount()
        -
        Returns the number of HTTP requests that required the network to either supply a response or - validate a locally cached response.
        -
      • -
      - - - -
        -
      • -

        getHitCount

        -
        public int getHitCount()
        -
        Returns the number of HTTP requests whose response was provided by the cache. This may include - conditional GET requests that were validated over the network.
        -
      • -
      - - - -
        -
      • -

        getRequestCount

        -
        public int getRequestCount()
        -
        Returns the total number of HTTP requests that were made. This includes both client requests - and requests that were made on the client's behalf to handle a redirects and retries.
        -
      • -
      - - - -
        -
      • -

        close

        -
        public void close()
        -           throws IOException
        -
        Uninstalls the cache and releases any active resources. Stored contents will remain on the - filesystem.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        delete

        -
        public void delete()
        -            throws IOException
        -
        Uninstalls the cache and deletes all of its stored contents.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/okhttp3/OkCacheContainer.html b/3.x/okhttp-android-support/okhttp3/OkCacheContainer.html deleted file mode 100644 index 3a4730bf4..000000000 --- a/3.x/okhttp-android-support/okhttp3/OkCacheContainer.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - -OkCacheContainer (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - - - - - -
-
okhttp3
-

Interface OkCacheContainer

-
-
-
-
    -
  • -
    -
    -
    public interface OkCacheContainer
    -
    An interface that allows OkHttp to detect that a ResponseCache contains a Cache.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getCache

        -
        Cache getCache()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/okhttp3/class-use/AndroidInternal.html b/3.x/okhttp-android-support/okhttp3/class-use/AndroidInternal.html deleted file mode 100644 index 2525a36dd..000000000 --- a/3.x/okhttp-android-support/okhttp3/class-use/AndroidInternal.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class okhttp3.AndroidInternal (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.AndroidInternal

-
-
No usage of okhttp3.AndroidInternal
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/okhttp3/class-use/AndroidShimResponseCache.html b/3.x/okhttp-android-support/okhttp3/class-use/AndroidShimResponseCache.html deleted file mode 100644 index 0d4455dca..000000000 --- a/3.x/okhttp-android-support/okhttp3/class-use/AndroidShimResponseCache.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -Uses of Class okhttp3.AndroidShimResponseCache (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.AndroidShimResponseCache

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/okhttp3/class-use/OkCacheContainer.html b/3.x/okhttp-android-support/okhttp3/class-use/OkCacheContainer.html deleted file mode 100644 index ce3bc27b6..000000000 --- a/3.x/okhttp-android-support/okhttp3/class-use/OkCacheContainer.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Interface okhttp3.OkCacheContainer (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.OkCacheContainer

-
-
No usage of okhttp3.OkCacheContainer
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/okhttp3/package-frame.html b/3.x/okhttp-android-support/okhttp3/package-frame.html deleted file mode 100644 index 3fef5d383..000000000 --- a/3.x/okhttp-android-support/okhttp3/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -okhttp3 (OkHttp Android Platform Support 3.13.1 API) - - - - - -

okhttp3

-
-

Interfaces

- -

Classes

- -
- - diff --git a/3.x/okhttp-android-support/okhttp3/package-summary.html b/3.x/okhttp-android-support/okhttp3/package-summary.html deleted file mode 100644 index 0107418ea..000000000 --- a/3.x/okhttp-android-support/okhttp3/package-summary.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - -okhttp3 (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - - - - -
-

@EverythingIsNonNull -

-

Package okhttp3

-
-
-
    -
  • - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    OkCacheContainer -
    An interface that allows OkHttp to detect that a ResponseCache contains a Cache.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    AndroidInternal -
    Back doors to enable the use of OkHttp within the Android platform libraries.
    -
    AndroidShimResponseCache -
    A class provided for use by Android so that it can continue supporting a ResponseCache - with stats.
    -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/okhttp3/package-tree.html b/3.x/okhttp-android-support/okhttp3/package-tree.html deleted file mode 100644 index 16b186591..000000000 --- a/3.x/okhttp-android-support/okhttp3/package-tree.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -okhttp3 Class Hierarchy (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3

-
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/okhttp3/package-use.html b/3.x/okhttp-android-support/okhttp3/package-use.html deleted file mode 100644 index 0e655d313..000000000 --- a/3.x/okhttp-android-support/okhttp3/package-use.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - -Uses of Package okhttp3 (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/overview-tree.html b/3.x/okhttp-android-support/overview-tree.html deleted file mode 100644 index 05843b65b..000000000 --- a/3.x/okhttp-android-support/overview-tree.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp Android Platform Support 3.13.1 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-android-support/package-list b/3.x/okhttp-android-support/package-list deleted file mode 100644 index 80c510a07..000000000 --- a/3.x/okhttp-android-support/package-list +++ /dev/null @@ -1 +0,0 @@ -okhttp3 diff --git a/3.x/okhttp-android-support/script.js b/3.x/okhttp-android-support/script.js deleted file mode 100644 index b34635693..000000000 --- a/3.x/okhttp-android-support/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/3.x/okhttp-android-support/stylesheet.css b/3.x/okhttp-android-support/stylesheet.css deleted file mode 100644 index 8841f37c4..000000000 --- a/3.x/okhttp-android-support/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/3.x/okhttp-android-support/version.txt b/3.x/okhttp-android-support/version.txt deleted file mode 100644 index 7918c7abb..000000000 --- a/3.x/okhttp-android-support/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.13.1 \ No newline at end of file diff --git a/3.x/okhttp-apache/META-INF/MANIFEST.MF b/3.x/okhttp-apache/META-INF/MANIFEST.MF deleted file mode 100644 index adc50dbb0..000000000 --- a/3.x/okhttp-apache/META-INF/MANIFEST.MF +++ /dev/null @@ -1,5 +0,0 @@ -Manifest-Version: 1.0 -Built-By: jwilson -Created-By: Apache Maven 3.6.0 -Build-Jdk: 1.8.0_162 - diff --git a/3.x/okhttp-apache/allclasses-frame.html b/3.x/okhttp-apache/allclasses-frame.html deleted file mode 100644 index 434321a46..000000000 --- a/3.x/okhttp-apache/allclasses-frame.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (OkHttp Apache HttpClient 3.13.1 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-apache/allclasses-noframe.html b/3.x/okhttp-apache/allclasses-noframe.html deleted file mode 100644 index 128cf009c..000000000 --- a/3.x/okhttp-apache/allclasses-noframe.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -All Classes (OkHttp Apache HttpClient 3.13.1 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-apache/constant-values.html b/3.x/okhttp-apache/constant-values.html deleted file mode 100644 index 981bd6445..000000000 --- a/3.x/okhttp-apache/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp Apache HttpClient 3.13.1 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-apache/deprecated-list.html b/3.x/okhttp-apache/deprecated-list.html deleted file mode 100644 index dd43dcd88..000000000 --- a/3.x/okhttp-apache/deprecated-list.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -Deprecated List (OkHttp Apache HttpClient 3.13.1 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

- -
-
- - -
    -
  • - - - - - - - - - - -
    Deprecated Classes 
    Class and Description
    okhttp3.apache.OkApacheClient -
    OkHttp will be dropping its ability to be used with HttpClient in an upcoming - release. Applications that need this should either downgrade to the Apache implementation or - upgrade to OkHttp's Request/Response API.
    -
    -
  • -
-
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-apache/help-doc.html b/3.x/okhttp-apache/help-doc.html deleted file mode 100644 index 3185aadfc..000000000 --- a/3.x/okhttp-apache/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp Apache HttpClient 3.13.1 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-apache/index-all.html b/3.x/okhttp-apache/index-all.html deleted file mode 100644 index 124654cb0..000000000 --- a/3.x/okhttp-apache/index-all.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - -Index (OkHttp Apache HttpClient 3.13.1 API) - - - - - - - - -
- - - - - - - -
- - -
E G O  - - -

E

-
-
execute(HttpUriRequest) - Method in class okhttp3.apache.OkApacheClient
-
-
Deprecated.
-
execute(HttpUriRequest, HttpContext) - Method in class okhttp3.apache.OkApacheClient
-
-
Deprecated.
-
execute(HttpHost, HttpRequest) - Method in class okhttp3.apache.OkApacheClient
-
-
Deprecated.
-
execute(HttpHost, HttpRequest, HttpContext) - Method in class okhttp3.apache.OkApacheClient
-
-
Deprecated.
-
execute(HttpUriRequest, ResponseHandler<? extends T>) - Method in class okhttp3.apache.OkApacheClient
-
-
Deprecated.
-
execute(HttpUriRequest, ResponseHandler<? extends T>, HttpContext) - Method in class okhttp3.apache.OkApacheClient
-
-
Deprecated.
-
execute(HttpHost, HttpRequest, ResponseHandler<? extends T>) - Method in class okhttp3.apache.OkApacheClient
-
-
Deprecated.
-
execute(HttpHost, HttpRequest, ResponseHandler<? extends T>, HttpContext) - Method in class okhttp3.apache.OkApacheClient
-
-
Deprecated.
-
- - - -

G

-
-
getConnectionManager() - Method in class okhttp3.apache.OkApacheClient
-
-
Deprecated.
-
getParams() - Method in class okhttp3.apache.OkApacheClient
-
-
Deprecated.
-
- - - -

O

-
-
OkApacheClient - Class in okhttp3.apache
-
-
Deprecated. -
OkHttp will be dropping its ability to be used with HttpClient in an upcoming - release. Applications that need this should either downgrade to the Apache implementation or - upgrade to OkHttp's Request/Response API.
-
-
-
OkApacheClient() - Constructor for class okhttp3.apache.OkApacheClient
-
-
Deprecated.
-
OkApacheClient(OkHttpClient) - Constructor for class okhttp3.apache.OkApacheClient
-
-
Deprecated.
-
okhttp3.apache - package okhttp3.apache
-
 
-
-E G O 
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-apache/index.html b/3.x/okhttp-apache/index.html deleted file mode 100644 index 2096afa6f..000000000 --- a/3.x/okhttp-apache/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - -OkHttp Apache HttpClient 3.13.1 API - - - - - - -<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="okhttp3/apache/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/3.x/okhttp-apache/okhttp3/apache/OkApacheClient.html b/3.x/okhttp-apache/okhttp3/apache/OkApacheClient.html deleted file mode 100644 index 7a78159f5..000000000 --- a/3.x/okhttp-apache/okhttp3/apache/OkApacheClient.html +++ /dev/null @@ -1,534 +0,0 @@ - - - - - - -OkApacheClient (OkHttp Apache HttpClient 3.13.1 API) - - - - - - - - - - - - -
-
okhttp3.apache
-

Class OkApacheClient

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    org.apache.http.client.HttpClient
    -
    -
    -
    Deprecated.  -
    OkHttp will be dropping its ability to be used with HttpClient in an upcoming - release. Applications that need this should either downgrade to the Apache implementation or - upgrade to OkHttp's Request/Response API.
    -
    -
    -
    public final class OkApacheClient
    -extends Object
    -implements org.apache.http.client.HttpClient
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and TypeMethod and Description
      org.apache.http.HttpResponseexecute(org.apache.http.HttpHost host, - org.apache.http.HttpRequest request) -
      Deprecated. 
      org.apache.http.HttpResponseexecute(org.apache.http.HttpHost host, - org.apache.http.HttpRequest request, - org.apache.http.protocol.HttpContext context) -
      Deprecated. 
      <T> Texecute(org.apache.http.HttpHost host, - org.apache.http.HttpRequest request, - org.apache.http.client.ResponseHandler<? extends T> handler) -
      Deprecated. 
      <T> Texecute(org.apache.http.HttpHost host, - org.apache.http.HttpRequest request, - org.apache.http.client.ResponseHandler<? extends T> handler, - org.apache.http.protocol.HttpContext context) -
      Deprecated. 
      org.apache.http.HttpResponseexecute(org.apache.http.client.methods.HttpUriRequest request) -
      Deprecated. 
      org.apache.http.HttpResponseexecute(org.apache.http.client.methods.HttpUriRequest request, - org.apache.http.protocol.HttpContext context) -
      Deprecated. 
      <T> Texecute(org.apache.http.client.methods.HttpUriRequest request, - org.apache.http.client.ResponseHandler<? extends T> handler) -
      Deprecated. 
      <T> Texecute(org.apache.http.client.methods.HttpUriRequest request, - org.apache.http.client.ResponseHandler<? extends T> handler, - org.apache.http.protocol.HttpContext context) -
      Deprecated. 
      org.apache.http.conn.ClientConnectionManagergetConnectionManager() -
      Deprecated. 
      org.apache.http.params.HttpParamsgetParams() -
      Deprecated. 
      - -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        OkApacheClient

        -
        public OkApacheClient()
        -
        Deprecated. 
        -
      • -
      - - - -
        -
      • -

        OkApacheClient

        -
        public OkApacheClient(OkHttpClient client)
        -
        Deprecated. 
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getParams

        -
        public org.apache.http.params.HttpParams getParams()
        -
        Deprecated. 
        -
        -
        Specified by:
        -
        getParams in interface org.apache.http.client.HttpClient
        -
        -
      • -
      - - - -
        -
      • -

        getConnectionManager

        -
        public org.apache.http.conn.ClientConnectionManager getConnectionManager()
        -
        Deprecated. 
        -
        -
        Specified by:
        -
        getConnectionManager in interface org.apache.http.client.HttpClient
        -
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest request)
        -                                     throws IOException
        -
        Deprecated. 
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest request,
        -                                            org.apache.http.protocol.HttpContext context)
        -                                     throws IOException
        -
        Deprecated. 
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public org.apache.http.HttpResponse execute(org.apache.http.HttpHost host,
        -                                            org.apache.http.HttpRequest request)
        -                                     throws IOException
        -
        Deprecated. 
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public org.apache.http.HttpResponse execute(org.apache.http.HttpHost host,
        -                                            org.apache.http.HttpRequest request,
        -                                            org.apache.http.protocol.HttpContext context)
        -                                     throws IOException
        -
        Deprecated. 
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public <T> T execute(org.apache.http.client.methods.HttpUriRequest request,
        -                     org.apache.http.client.ResponseHandler<? extends T> handler)
        -              throws IOException
        -
        Deprecated. 
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public <T> T execute(org.apache.http.client.methods.HttpUriRequest request,
        -                     org.apache.http.client.ResponseHandler<? extends T> handler,
        -                     org.apache.http.protocol.HttpContext context)
        -              throws IOException
        -
        Deprecated. 
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public <T> T execute(org.apache.http.HttpHost host,
        -                     org.apache.http.HttpRequest request,
        -                     org.apache.http.client.ResponseHandler<? extends T> handler)
        -              throws IOException
        -
        Deprecated. 
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        execute

        -
        public <T> T execute(org.apache.http.HttpHost host,
        -                     org.apache.http.HttpRequest request,
        -                     org.apache.http.client.ResponseHandler<? extends T> handler,
        -                     org.apache.http.protocol.HttpContext context)
        -              throws IOException
        -
        Deprecated. 
        -
        -
        Specified by:
        -
        execute in interface org.apache.http.client.HttpClient
        -
        Throws:
        -
        IOException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-apache/okhttp3/apache/class-use/OkApacheClient.html b/3.x/okhttp-apache/okhttp3/apache/class-use/OkApacheClient.html deleted file mode 100644 index fb62feb19..000000000 --- a/3.x/okhttp-apache/okhttp3/apache/class-use/OkApacheClient.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class okhttp3.apache.OkApacheClient (OkHttp Apache HttpClient 3.13.1 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.apache.OkApacheClient

-
-
No usage of okhttp3.apache.OkApacheClient
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-apache/okhttp3/apache/package-frame.html b/3.x/okhttp-apache/okhttp3/apache/package-frame.html deleted file mode 100644 index beaef85ac..000000000 --- a/3.x/okhttp-apache/okhttp3/apache/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -okhttp3.apache (OkHttp Apache HttpClient 3.13.1 API) - - - - - -

okhttp3.apache

-
-

Classes

- -
- - diff --git a/3.x/okhttp-apache/okhttp3/apache/package-summary.html b/3.x/okhttp-apache/okhttp3/apache/package-summary.html deleted file mode 100644 index f5646a564..000000000 --- a/3.x/okhttp-apache/okhttp3/apache/package-summary.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - -okhttp3.apache (OkHttp Apache HttpClient 3.13.1 API) - - - - - - - - - - - -
-

Package okhttp3.apache

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    OkApacheClientDeprecated -
    OkHttp will be dropping its ability to be used with HttpClient in an upcoming - release.
    -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-apache/okhttp3/apache/package-tree.html b/3.x/okhttp-apache/okhttp3/apache/package-tree.html deleted file mode 100644 index 3a3278e62..000000000 --- a/3.x/okhttp-apache/okhttp3/apache/package-tree.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -okhttp3.apache Class Hierarchy (OkHttp Apache HttpClient 3.13.1 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.apache

-
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • okhttp3.apache.OkApacheClient (implements org.apache.http.client.HttpClient)
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-apache/okhttp3/apache/package-use.html b/3.x/okhttp-apache/okhttp3/apache/package-use.html deleted file mode 100644 index 331b9e897..000000000 --- a/3.x/okhttp-apache/okhttp3/apache/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Package okhttp3.apache (OkHttp Apache HttpClient 3.13.1 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.apache

-
-
No usage of okhttp3.apache
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-apache/overview-tree.html b/3.x/okhttp-apache/overview-tree.html deleted file mode 100644 index 1fa63aee6..000000000 --- a/3.x/okhttp-apache/overview-tree.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp Apache HttpClient 3.13.1 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • okhttp3.apache.OkApacheClient (implements org.apache.http.client.HttpClient)
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-apache/package-list b/3.x/okhttp-apache/package-list deleted file mode 100644 index eeaa709aa..000000000 --- a/3.x/okhttp-apache/package-list +++ /dev/null @@ -1 +0,0 @@ -okhttp3.apache diff --git a/3.x/okhttp-apache/script.js b/3.x/okhttp-apache/script.js deleted file mode 100644 index b34635693..000000000 --- a/3.x/okhttp-apache/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/3.x/okhttp-apache/stylesheet.css b/3.x/okhttp-apache/stylesheet.css deleted file mode 100644 index 8841f37c4..000000000 --- a/3.x/okhttp-apache/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/3.x/okhttp-apache/version.txt b/3.x/okhttp-apache/version.txt deleted file mode 100644 index 7918c7abb..000000000 --- a/3.x/okhttp-apache/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.13.1 \ No newline at end of file diff --git a/3.x/okhttp-dnsoverhttps/META-INF/MANIFEST.MF b/3.x/okhttp-dnsoverhttps/META-INF/MANIFEST.MF deleted file mode 100644 index 83570c464..000000000 --- a/3.x/okhttp-dnsoverhttps/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_202 - diff --git a/3.x/okhttp-dnsoverhttps/allclasses-frame.html b/3.x/okhttp-dnsoverhttps/allclasses-frame.html deleted file mode 100644 index cc982fc8c..000000000 --- a/3.x/okhttp-dnsoverhttps/allclasses-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -All Classes (OkHttp DNS over HTTPS 3.14.0 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-dnsoverhttps/allclasses-noframe.html b/3.x/okhttp-dnsoverhttps/allclasses-noframe.html deleted file mode 100644 index 02355e3b4..000000000 --- a/3.x/okhttp-dnsoverhttps/allclasses-noframe.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -All Classes (OkHttp DNS over HTTPS 3.14.0 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-dnsoverhttps/constant-values.html b/3.x/okhttp-dnsoverhttps/constant-values.html deleted file mode 100644 index 8c3a27c6d..000000000 --- a/3.x/okhttp-dnsoverhttps/constant-values.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - -Constant Field Values (OkHttp DNS over HTTPS 3.14.0 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

- -
-
- - -

okhttp3.dnsoverhttps.*

- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-dnsoverhttps/deprecated-list.html b/3.x/okhttp-dnsoverhttps/deprecated-list.html deleted file mode 100644 index 374c6bd18..000000000 --- a/3.x/okhttp-dnsoverhttps/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkHttp DNS over HTTPS 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-dnsoverhttps/help-doc.html b/3.x/okhttp-dnsoverhttps/help-doc.html deleted file mode 100644 index 948abda10..000000000 --- a/3.x/okhttp-dnsoverhttps/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp DNS over HTTPS 3.14.0 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-dnsoverhttps/index-all.html b/3.x/okhttp-dnsoverhttps/index-all.html deleted file mode 100644 index 82e3656a5..000000000 --- a/3.x/okhttp-dnsoverhttps/index-all.html +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - -Index (OkHttp DNS over HTTPS 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
B C D I L M O P R S U  - - -

B

-
-
bootstrapDnsHosts(List<InetAddress>) - Method in class okhttp3.dnsoverhttps.DnsOverHttps.Builder
-
 
-
bootstrapDnsHosts(InetAddress...) - Method in class okhttp3.dnsoverhttps.DnsOverHttps.Builder
-
 
-
build() - Method in class okhttp3.dnsoverhttps.DnsOverHttps.Builder
-
 
-
Builder() - Constructor for class okhttp3.dnsoverhttps.DnsOverHttps.Builder
-
 
-
- - - -

C

-
-
client(OkHttpClient) - Method in class okhttp3.dnsoverhttps.DnsOverHttps.Builder
-
 
-
client() - Method in class okhttp3.dnsoverhttps.DnsOverHttps
-
 
-
- - - -

D

-
-
DNS_MESSAGE - Static variable in class okhttp3.dnsoverhttps.DnsOverHttps
-
 
-
DnsOverHttps - Class in okhttp3.dnsoverhttps
-
-
DNS over HTTPS implementation.
-
-
DnsOverHttps.Builder - Class in okhttp3.dnsoverhttps
-
 
-
- - - -

I

-
-
includeIPv6(boolean) - Method in class okhttp3.dnsoverhttps.DnsOverHttps.Builder
-
 
-
includeIPv6() - Method in class okhttp3.dnsoverhttps.DnsOverHttps
-
 
-
- - - -

L

-
-
lookup(String) - Method in class okhttp3.dnsoverhttps.DnsOverHttps
-
 
-
- - - -

M

-
-
MAX_RESPONSE_SIZE - Static variable in class okhttp3.dnsoverhttps.DnsOverHttps
-
 
-
- - - -

O

-
-
okhttp3.dnsoverhttps - package okhttp3.dnsoverhttps
-
-
A DNS over HTTPS implementation for OkHttp.
-
-
- - - -

P

-
-
post(boolean) - Method in class okhttp3.dnsoverhttps.DnsOverHttps.Builder
-
 
-
post() - Method in class okhttp3.dnsoverhttps.DnsOverHttps
-
 
-
- - - -

R

-
-
resolvePrivateAddresses(boolean) - Method in class okhttp3.dnsoverhttps.DnsOverHttps.Builder
-
 
-
resolvePrivateAddresses() - Method in class okhttp3.dnsoverhttps.DnsOverHttps
-
 
-
resolvePublicAddresses(boolean) - Method in class okhttp3.dnsoverhttps.DnsOverHttps.Builder
-
 
-
resolvePublicAddresses() - Method in class okhttp3.dnsoverhttps.DnsOverHttps
-
 
-
- - - -

S

-
-
systemDns(Dns) - Method in class okhttp3.dnsoverhttps.DnsOverHttps.Builder
-
 
-
- - - -

U

-
-
url(HttpUrl) - Method in class okhttp3.dnsoverhttps.DnsOverHttps.Builder
-
 
-
url() - Method in class okhttp3.dnsoverhttps.DnsOverHttps
-
 
-
-B C D I L M O P R S U 
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-dnsoverhttps/index.html b/3.x/okhttp-dnsoverhttps/index.html deleted file mode 100644 index dd99de03d..000000000 --- a/3.x/okhttp-dnsoverhttps/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - -OkHttp DNS over HTTPS 3.14.0 API - - - - - - -<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="okhttp3/dnsoverhttps/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/DnsOverHttps.Builder.html b/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/DnsOverHttps.Builder.html deleted file mode 100644 index 72fed3465..000000000 --- a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/DnsOverHttps.Builder.html +++ /dev/null @@ -1,394 +0,0 @@ - - - - - - -DnsOverHttps.Builder (OkHttp DNS over HTTPS 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.dnsoverhttps
-

Class DnsOverHttps.Builder

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.dnsoverhttps.DnsOverHttps.Builder
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    DnsOverHttps
    -
    -
    -
    -
    public static final class DnsOverHttps.Builder
    -extends java.lang.Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/DnsOverHttps.html b/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/DnsOverHttps.html deleted file mode 100644 index 39babdac6..000000000 --- a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/DnsOverHttps.html +++ /dev/null @@ -1,421 +0,0 @@ - - - - - - -DnsOverHttps (OkHttp DNS over HTTPS 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.dnsoverhttps
-

Class DnsOverHttps

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.dnsoverhttps.DnsOverHttps
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Dns
    -
    -
    -
    -
    public class DnsOverHttps
    -extends java.lang.Object
    -implements Dns
    -
    DNS over HTTPS implementation. - - Implementation of https://tools.ietf.org/html/draft-ietf-doh-dns-over-https-13 - -
    A DNS API client encodes a single DNS query into an HTTP request - using either the HTTP GET or POST method and the other requirements - of this section. The DNS API server defines the URI used by the - request through the use of a URI Template.
    - -

    Warning: This is a non-final API.

    - -

    As of OkHttp 3.11, this feature is an unstable preview: the API is subject to change, - and the implementation is incomplete. We expect that OkHttp 3.12 or 3.13 will finalize this API. - Until then, expect API and behavior changes when you update your OkHttp dependency.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        DNS_MESSAGE

        -
        public static final MediaType DNS_MESSAGE
        -
      • -
      - - - -
        -
      • -

        MAX_RESPONSE_SIZE

        -
        public static final int MAX_RESPONSE_SIZE
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        url

        -
        public HttpUrl url()
        -
      • -
      - - - -
        -
      • -

        post

        -
        public boolean post()
        -
      • -
      - - - -
        -
      • -

        includeIPv6

        -
        public boolean includeIPv6()
        -
      • -
      - - - - - - - -
        -
      • -

        resolvePrivateAddresses

        -
        public boolean resolvePrivateAddresses()
        -
      • -
      - - - -
        -
      • -

        resolvePublicAddresses

        -
        public boolean resolvePublicAddresses()
        -
      • -
      - - - -
        -
      • -

        lookup

        -
        public java.util.List<java.net.InetAddress> lookup(java.lang.String hostname)
        -                                            throws java.net.UnknownHostException
        -
        -
        Specified by:
        -
        lookup in interface Dns
        -
        Throws:
        -
        java.net.UnknownHostException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/class-use/DnsOverHttps.Builder.html b/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/class-use/DnsOverHttps.Builder.html deleted file mode 100644 index 1cf52760c..000000000 --- a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/class-use/DnsOverHttps.Builder.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - -Uses of Class okhttp3.dnsoverhttps.DnsOverHttps.Builder (OkHttp DNS over HTTPS 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.dnsoverhttps.DnsOverHttps.Builder

-
-
- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/class-use/DnsOverHttps.html b/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/class-use/DnsOverHttps.html deleted file mode 100644 index 7f698b123..000000000 --- a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/class-use/DnsOverHttps.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -Uses of Class okhttp3.dnsoverhttps.DnsOverHttps (OkHttp DNS over HTTPS 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.dnsoverhttps.DnsOverHttps

-
-
- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-frame.html b/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-frame.html deleted file mode 100644 index e4f85258b..000000000 --- a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -okhttp3.dnsoverhttps (OkHttp DNS over HTTPS 3.14.0 API) - - - - - -

okhttp3.dnsoverhttps

- - - diff --git a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-summary.html b/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-summary.html deleted file mode 100644 index b5de85382..000000000 --- a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-summary.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -okhttp3.dnsoverhttps (OkHttp DNS over HTTPS 3.14.0 API) - - - - - - - - - - - -
-

@EverythingIsNonNull -

-

Package okhttp3.dnsoverhttps

-
-
A DNS over HTTPS implementation for OkHttp.
-
-

See: Description

-
-
- - - - -

Package okhttp3.dnsoverhttps Description

-
A DNS over HTTPS implementation for OkHttp.
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-tree.html b/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-tree.html deleted file mode 100644 index 20f8f4898..000000000 --- a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-tree.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - -okhttp3.dnsoverhttps Class Hierarchy (OkHttp DNS over HTTPS 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.dnsoverhttps

-
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-use.html b/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-use.html deleted file mode 100644 index 74cd00afe..000000000 --- a/3.x/okhttp-dnsoverhttps/okhttp3/dnsoverhttps/package-use.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - -Uses of Package okhttp3.dnsoverhttps (OkHttp DNS over HTTPS 3.14.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.dnsoverhttps

-
-
- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-dnsoverhttps/overview-tree.html b/3.x/okhttp-dnsoverhttps/overview-tree.html deleted file mode 100644 index 3eebf6858..000000000 --- a/3.x/okhttp-dnsoverhttps/overview-tree.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp DNS over HTTPS 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-dnsoverhttps/package-list b/3.x/okhttp-dnsoverhttps/package-list deleted file mode 100644 index 99f4dc479..000000000 --- a/3.x/okhttp-dnsoverhttps/package-list +++ /dev/null @@ -1 +0,0 @@ -okhttp3.dnsoverhttps diff --git a/3.x/okhttp-dnsoverhttps/script.js b/3.x/okhttp-dnsoverhttps/script.js deleted file mode 100644 index b34635693..000000000 --- a/3.x/okhttp-dnsoverhttps/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/3.x/okhttp-dnsoverhttps/stylesheet.css b/3.x/okhttp-dnsoverhttps/stylesheet.css deleted file mode 100644 index 8841f37c4..000000000 --- a/3.x/okhttp-dnsoverhttps/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/3.x/okhttp-dnsoverhttps/version.txt b/3.x/okhttp-dnsoverhttps/version.txt deleted file mode 100644 index f982feb41..000000000 --- a/3.x/okhttp-dnsoverhttps/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.14.0 diff --git a/3.x/okhttp-sse/META-INF/MANIFEST.MF b/3.x/okhttp-sse/META-INF/MANIFEST.MF deleted file mode 100644 index b5547a843..000000000 --- a/3.x/okhttp-sse/META-INF/MANIFEST.MF +++ /dev/null @@ -1,5 +0,0 @@ -Manifest-Version: 1.0 -Built-By: jwilson -Created-By: Apache Maven 3.6.0 -Build-Jdk: 1.8.0_202 - diff --git a/3.x/okhttp-sse/allclasses-frame.html b/3.x/okhttp-sse/allclasses-frame.html deleted file mode 100644 index 890aca75f..000000000 --- a/3.x/okhttp-sse/allclasses-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -All Classes (OkHttp Server-Sent Events 3.14.0 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-sse/allclasses-noframe.html b/3.x/okhttp-sse/allclasses-noframe.html deleted file mode 100644 index 715394e02..000000000 --- a/3.x/okhttp-sse/allclasses-noframe.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -All Classes (OkHttp Server-Sent Events 3.14.0 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-sse/constant-values.html b/3.x/okhttp-sse/constant-values.html deleted file mode 100644 index 38a370b54..000000000 --- a/3.x/okhttp-sse/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/deprecated-list.html b/3.x/okhttp-sse/deprecated-list.html deleted file mode 100644 index beb525e09..000000000 --- a/3.x/okhttp-sse/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/help-doc.html b/3.x/okhttp-sse/help-doc.html deleted file mode 100644 index 8824a1a4e..000000000 --- a/3.x/okhttp-sse/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/index-all.html b/3.x/okhttp-sse/index-all.html deleted file mode 100644 index e44bd6111..000000000 --- a/3.x/okhttp-sse/index-all.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - -Index (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
C E N O P R  - - -

C

-
-
cancel() - Method in interface okhttp3.sse.EventSource
-
-
Immediately and violently release resources held by this event source.
-
-
createFactory(OkHttpClient) - Static method in class okhttp3.sse.EventSources
-
 
-
- - - -

E

-
-
EventSource - Interface in okhttp3.sse
-
 
-
EventSource.Factory - Interface in okhttp3.sse
-
 
-
EventSourceListener - Class in okhttp3.sse
-
 
-
EventSourceListener() - Constructor for class okhttp3.sse.EventSourceListener
-
 
-
EventSources - Class in okhttp3.sse
-
 
-
- - - -

N

-
-
newEventSource(Request, EventSourceListener) - Method in interface okhttp3.sse.EventSource.Factory
-
-
Creates a new event source and immediately returns it.
-
-
- - - -

O

-
-
okhttp3.sse - package okhttp3.sse
-
-
Support for server-sent events.
-
-
onClosed(EventSource) - Method in class okhttp3.sse.EventSourceListener
-
-
TODO description.
-
-
onEvent(EventSource, String, String, String) - Method in class okhttp3.sse.EventSourceListener
-
-
TODO description.
-
-
onFailure(EventSource, Throwable, Response) - Method in class okhttp3.sse.EventSourceListener
-
-
Invoked when an event source has been closed due to an error reading from or writing to the - network.
-
-
onOpen(EventSource, Response) - Method in class okhttp3.sse.EventSourceListener
-
-
Invoked when an event source has been accepted by the remote peer and may begin transmitting - events.
-
-
- - - -

P

-
-
processResponse(Response, EventSourceListener) - Static method in class okhttp3.sse.EventSources
-
 
-
- - - -

R

-
-
request() - Method in interface okhttp3.sse.EventSource
-
-
Returns the original request that initiated this event source.
-
-
-C E N O P R 
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/index.html b/3.x/okhttp-sse/index.html deleted file mode 100644 index a914d51ca..000000000 --- a/3.x/okhttp-sse/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - -OkHttp Server-Sent Events 3.14.0 API - - - - - - -<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="okhttp3/sse/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/3.x/okhttp-sse/okhttp3/internal/sse/RealEventSource.html b/3.x/okhttp-sse/okhttp3/internal/sse/RealEventSource.html deleted file mode 100644 index ed8742997..000000000 --- a/3.x/okhttp-sse/okhttp3/internal/sse/RealEventSource.html +++ /dev/null @@ -1,429 +0,0 @@ - - - - - - -RealEventSource (OkHttp Server-Sent Events 3.12.0 API) - - - - - - - - - - - - -
-
okhttp3.internal.sse
-

Class RealEventSource

-
-
- -
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/internal/sse/ServerSentEventReader.Callback.html b/3.x/okhttp-sse/okhttp3/internal/sse/ServerSentEventReader.Callback.html deleted file mode 100644 index 87033b680..000000000 --- a/3.x/okhttp-sse/okhttp3/internal/sse/ServerSentEventReader.Callback.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - -ServerSentEventReader.Callback (OkHttp Server-Sent Events 3.12.0 API) - - - - - - - - - - - - -
-
okhttp3.internal.sse
-

Interface ServerSentEventReader.Callback

-
-
-
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/internal/sse/ServerSentEventReader.html b/3.x/okhttp-sse/okhttp3/internal/sse/ServerSentEventReader.html deleted file mode 100644 index e930c6c74..000000000 --- a/3.x/okhttp-sse/okhttp3/internal/sse/ServerSentEventReader.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - -ServerSentEventReader (OkHttp Server-Sent Events 3.12.0 API) - - - - - - - - - - - - -
-
okhttp3.internal.sse
-

Class ServerSentEventReader

-
-
- -
-
    -
  • -
    -
    -
    public final class ServerSentEventReader
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/internal/sse/class-use/RealEventSource.html b/3.x/okhttp-sse/okhttp3/internal/sse/class-use/RealEventSource.html deleted file mode 100644 index c256379dd..000000000 --- a/3.x/okhttp-sse/okhttp3/internal/sse/class-use/RealEventSource.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.sse.RealEventSource (OkHttp Server-Sent Events 3.12.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.sse.RealEventSource

-
-
No usage of okhttp3.internal.sse.RealEventSource
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/internal/sse/class-use/ServerSentEventReader.Callback.html b/3.x/okhttp-sse/okhttp3/internal/sse/class-use/ServerSentEventReader.Callback.html deleted file mode 100644 index 9aa140cf0..000000000 --- a/3.x/okhttp-sse/okhttp3/internal/sse/class-use/ServerSentEventReader.Callback.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Interface okhttp3.internal.sse.ServerSentEventReader.Callback (OkHttp Server-Sent Events 3.12.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.internal.sse.ServerSentEventReader.Callback

-
-
- -
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/internal/sse/class-use/ServerSentEventReader.html b/3.x/okhttp-sse/okhttp3/internal/sse/class-use/ServerSentEventReader.html deleted file mode 100644 index 9eb6ee73e..000000000 --- a/3.x/okhttp-sse/okhttp3/internal/sse/class-use/ServerSentEventReader.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.sse.ServerSentEventReader (OkHttp Server-Sent Events 3.12.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.sse.ServerSentEventReader

-
-
No usage of okhttp3.internal.sse.ServerSentEventReader
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/internal/sse/package-frame.html b/3.x/okhttp-sse/okhttp3/internal/sse/package-frame.html deleted file mode 100644 index 536110a78..000000000 --- a/3.x/okhttp-sse/okhttp3/internal/sse/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -okhttp3.internal.sse (OkHttp Server-Sent Events 3.12.0 API) - - - - - -

okhttp3.internal.sse

- - - diff --git a/3.x/okhttp-sse/okhttp3/internal/sse/package-summary.html b/3.x/okhttp-sse/okhttp3/internal/sse/package-summary.html deleted file mode 100644 index 116b81068..000000000 --- a/3.x/okhttp-sse/okhttp3/internal/sse/package-summary.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - -okhttp3.internal.sse (OkHttp Server-Sent Events 3.12.0 API) - - - - - - - - - - - -
-

@EverythingIsNonNull -

-

Package okhttp3.internal.sse

-
-
Private support classes for server-sent events.
-
-

See: Description

-
-
- - - - -

Package okhttp3.internal.sse Description

-
Private support classes for server-sent events.
-
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/internal/sse/package-tree.html b/3.x/okhttp-sse/okhttp3/internal/sse/package-tree.html deleted file mode 100644 index c76eddcbe..000000000 --- a/3.x/okhttp-sse/okhttp3/internal/sse/package-tree.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -okhttp3.internal.sse Class Hierarchy (OkHttp Server-Sent Events 3.12.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.internal.sse

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/internal/sse/package-use.html b/3.x/okhttp-sse/okhttp3/internal/sse/package-use.html deleted file mode 100644 index cc92784fd..000000000 --- a/3.x/okhttp-sse/okhttp3/internal/sse/package-use.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - -Uses of Package okhttp3.internal.sse (OkHttp Server-Sent Events 3.12.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.internal.sse

-
-
- -
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/sse/EventSource.Factory.html b/3.x/okhttp-sse/okhttp3/sse/EventSource.Factory.html deleted file mode 100644 index 7009292c8..000000000 --- a/3.x/okhttp-sse/okhttp3/sse/EventSource.Factory.html +++ /dev/null @@ -1,234 +0,0 @@ - - - - - - -EventSource.Factory (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.sse
-

Interface EventSource.Factory

-
-
-
-
    -
  • -
    -
    Enclosing interface:
    -
    EventSource
    -
    -
    -
    -
    public static interface EventSource.Factory
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        newEventSource

        -
        EventSource newEventSource(Request request,
        -                           EventSourceListener listener)
        -
        Creates a new event source and immediately returns it. Creating an event source initiates an - asynchronous process to connect the socket. Once that succeeds or fails, listener - will be notified. The caller must cancel the returned event source when it is no longer - in use.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/sse/EventSource.html b/3.x/okhttp-sse/okhttp3/sse/EventSource.html deleted file mode 100644 index c7f026add..000000000 --- a/3.x/okhttp-sse/okhttp3/sse/EventSource.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - -EventSource (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.sse
-

Interface EventSource

-
-
-
-
    -
  • -
    -
    -
    public interface EventSource
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeInterface and Description
      static interface EventSource.Factory 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidcancel() -
      Immediately and violently release resources held by this event source.
      -
      Requestrequest() -
      Returns the original request that initiated this event source.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        request

        -
        Request request()
        -
        Returns the original request that initiated this event source.
        -
      • -
      - - - -
        -
      • -

        cancel

        -
        void cancel()
        -
        Immediately and violently release resources held by this event source. This does nothing if - the event source has already been closed or canceled.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/sse/EventSourceListener.html b/3.x/okhttp-sse/okhttp3/sse/EventSourceListener.html deleted file mode 100644 index 72cc3c3ae..000000000 --- a/3.x/okhttp-sse/okhttp3/sse/EventSourceListener.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - - -EventSourceListener (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.sse
-

Class EventSourceListener

-
-
- -
-
    -
  • -
    -
    -
    public abstract class EventSourceListener
    -extends Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        EventSourceListener

        -
        public EventSourceListener()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onOpen

        -
        public void onOpen(EventSource eventSource,
        -                   Response response)
        -
        Invoked when an event source has been accepted by the remote peer and may begin transmitting - events.
        -
      • -
      - - - - - - - -
        -
      • -

        onClosed

        -
        public void onClosed(EventSource eventSource)
        -
        TODO description. - No further calls to this listener will be made.
        -
      • -
      - - - -
        -
      • -

        onFailure

        -
        public void onFailure(EventSource eventSource,
        -                      @Nullable
        -                      Throwable t,
        -                      @Nullable
        -                      Response response)
        -
        Invoked when an event source has been closed due to an error reading from or writing to the - network. Incoming events may have been lost. No further calls to this listener will be made.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/sse/EventSources.html b/3.x/okhttp-sse/okhttp3/sse/EventSources.html deleted file mode 100644 index 26b1568d5..000000000 --- a/3.x/okhttp-sse/okhttp3/sse/EventSources.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - -EventSources (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.sse
-

Class EventSources

-
-
- -
-
    -
  • -
    -
    -
    public final class EventSources
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/sse/class-use/EventSource.Factory.html b/3.x/okhttp-sse/okhttp3/sse/class-use/EventSource.Factory.html deleted file mode 100644 index 3f23c9843..000000000 --- a/3.x/okhttp-sse/okhttp3/sse/class-use/EventSource.Factory.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -Uses of Interface okhttp3.sse.EventSource.Factory (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.sse.EventSource.Factory

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/sse/class-use/EventSource.html b/3.x/okhttp-sse/okhttp3/sse/class-use/EventSource.html deleted file mode 100644 index 138b22d28..000000000 --- a/3.x/okhttp-sse/okhttp3/sse/class-use/EventSource.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - -Uses of Interface okhttp3.sse.EventSource (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.sse.EventSource

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/sse/class-use/EventSourceListener.html b/3.x/okhttp-sse/okhttp3/sse/class-use/EventSourceListener.html deleted file mode 100644 index 4f6d0ceb6..000000000 --- a/3.x/okhttp-sse/okhttp3/sse/class-use/EventSourceListener.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - -Uses of Class okhttp3.sse.EventSourceListener (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.sse.EventSourceListener

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/sse/class-use/EventSources.html b/3.x/okhttp-sse/okhttp3/sse/class-use/EventSources.html deleted file mode 100644 index 0202cc23f..000000000 --- a/3.x/okhttp-sse/okhttp3/sse/class-use/EventSources.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class okhttp3.sse.EventSources (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.sse.EventSources

-
-
No usage of okhttp3.sse.EventSources
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/sse/package-frame.html b/3.x/okhttp-sse/okhttp3/sse/package-frame.html deleted file mode 100644 index 194943b27..000000000 --- a/3.x/okhttp-sse/okhttp3/sse/package-frame.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - -okhttp3.sse (OkHttp Server-Sent Events 3.14.0 API) - - - - - -

okhttp3.sse

- - - diff --git a/3.x/okhttp-sse/okhttp3/sse/package-summary.html b/3.x/okhttp-sse/okhttp3/sse/package-summary.html deleted file mode 100644 index f0a17d82a..000000000 --- a/3.x/okhttp-sse/okhttp3/sse/package-summary.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -okhttp3.sse (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - -
-

@EverythingIsNonNull -

-

Package okhttp3.sse

-
-
Support for server-sent events.
-
-

See: Description

-
-
- - - - -

Package okhttp3.sse Description

-
Support for server-sent events.
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/sse/package-tree.html b/3.x/okhttp-sse/okhttp3/sse/package-tree.html deleted file mode 100644 index 5cc82bb41..000000000 --- a/3.x/okhttp-sse/okhttp3/sse/package-tree.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - -okhttp3.sse Class Hierarchy (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.sse

-
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/okhttp3/sse/package-use.html b/3.x/okhttp-sse/okhttp3/sse/package-use.html deleted file mode 100644 index 916ef00e3..000000000 --- a/3.x/okhttp-sse/okhttp3/sse/package-use.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - -Uses of Package okhttp3.sse (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.sse

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/overview-frame.html b/3.x/okhttp-sse/overview-frame.html deleted file mode 100644 index 432bf6ff2..000000000 --- a/3.x/okhttp-sse/overview-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -Overview List (OkHttp Server-Sent Events 3.12.0 API) - - - - - - - -

 

- - diff --git a/3.x/okhttp-sse/overview-summary.html b/3.x/okhttp-sse/overview-summary.html deleted file mode 100644 index c27b75070..000000000 --- a/3.x/okhttp-sse/overview-summary.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - -Overview (OkHttp Server-Sent Events 3.12.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

OkHttp Server-Sent Events 3.12.0 API

-
-
- - - - - - - - - - - - - - - - -
Packages 
PackageDescription
okhttp3.internal.sse -
Private support classes for server-sent events.
-
okhttp3.sse -
Support for server-sent events.
-
-
- -
- - - - - - - -
- - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-sse/overview-tree.html b/3.x/okhttp-sse/overview-tree.html deleted file mode 100644 index 3f92ffa37..000000000 --- a/3.x/okhttp-sse/overview-tree.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp Server-Sent Events 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-sse/package-list b/3.x/okhttp-sse/package-list deleted file mode 100644 index e92849e4e..000000000 --- a/3.x/okhttp-sse/package-list +++ /dev/null @@ -1 +0,0 @@ -okhttp3.sse diff --git a/3.x/okhttp-sse/script.js b/3.x/okhttp-sse/script.js deleted file mode 100644 index b34635693..000000000 --- a/3.x/okhttp-sse/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/3.x/okhttp-sse/stylesheet.css b/3.x/okhttp-sse/stylesheet.css deleted file mode 100644 index 8841f37c4..000000000 --- a/3.x/okhttp-sse/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/3.x/okhttp-sse/version.txt b/3.x/okhttp-sse/version.txt deleted file mode 100644 index f982feb41..000000000 --- a/3.x/okhttp-sse/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.14.0 diff --git a/3.x/okhttp-testing-support/META-INF/MANIFEST.MF b/3.x/okhttp-testing-support/META-INF/MANIFEST.MF deleted file mode 100644 index 1a12ffb44..000000000 --- a/3.x/okhttp-testing-support/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_162 - diff --git a/3.x/okhttp-testing-support/allclasses-frame.html b/3.x/okhttp-testing-support/allclasses-frame.html deleted file mode 100644 index edebf9caf..000000000 --- a/3.x/okhttp-testing-support/allclasses-frame.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - -All Classes (OkHttp test support classes 3.14.2 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-testing-support/allclasses-noframe.html b/3.x/okhttp-testing-support/allclasses-noframe.html deleted file mode 100644 index d7cad2513..000000000 --- a/3.x/okhttp-testing-support/allclasses-noframe.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - -All Classes (OkHttp test support classes 3.14.2 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-testing-support/constant-values.html b/3.x/okhttp-testing-support/constant-values.html deleted file mode 100644 index bf7b8fd53..000000000 --- a/3.x/okhttp-testing-support/constant-values.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Constant Field Values (OkHttp test support classes 3.14.2 API) - - - - - - - - -
- - - - - - - -
- - -
-

Constant Field Values

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/deprecated-list.html b/3.x/okhttp-testing-support/deprecated-list.html deleted file mode 100644 index 2ca38d696..000000000 --- a/3.x/okhttp-testing-support/deprecated-list.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Deprecated List (OkHttp test support classes 3.14.2 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/help-doc.html b/3.x/okhttp-testing-support/help-doc.html deleted file mode 100644 index 490d02ade..000000000 --- a/3.x/okhttp-testing-support/help-doc.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - -API Help (OkHttp test support classes 3.14.2 API) - - - - - - - - -
- - - - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Overview

    -

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    -
  • -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/index-all.html b/3.x/okhttp-testing-support/index-all.html deleted file mode 100644 index 09bc89f00..000000000 --- a/3.x/okhttp-testing-support/index-all.html +++ /dev/null @@ -1,461 +0,0 @@ - - - - - - -Index (OkHttp test support classes 3.14.2 API) - - - - - - - - -
- - - - - - - -
- - -
A C D E F G H I L O P R S T U V W  - - -

A

-
-
addProxy(Proxy) - Method in class okhttp3.FakeProxySelector
-
 
-
allocate(int) - Method in class okhttp3.FakeDns
-
-
Allocates and returns count fake addresses like [255.0.0.100, 255.0.0.101].
-
-
appendingSink(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
-
 
-
apply(Statement, Description) - Method in class okhttp3.internal.io.InMemoryFileSystem
-
 
-
apply(Statement, Description) - Method in class okhttp3.OkHttpClientTestRule
-
 
-
assertNoMoreSinks() - Method in class okhttp3.internal.duplex.AsyncRequestBody
-
 
-
assertRequests(String...) - Method in class okhttp3.FakeDns
-
 
-
assertResponseCookies(String...) - Method in class okhttp3.RecordingCookieJar
-
 
-
AsyncRequestBody - Class in okhttp3.internal.duplex
-
-
A duplex request body that keeps the provided sinks so they can be written to later.
-
-
AsyncRequestBody() - Constructor for class okhttp3.internal.duplex.AsyncRequestBody
-
 
-
awaitGarbageCollection() - Static method in class okhttp3.TestUtil
-
-
See FinalizationTester for discussion on how to best trigger GC in tests.
-
-
- - - -

C

-
-
calls - Variable in class okhttp3.RecordingHostnameVerifier
-
 
-
clear(String) - Method in class okhttp3.FakeDns
-
-
Clears the results for hostname.
-
-
client - Variable in class okhttp3.OkHttpClientTestRule
-
 
-
connectFailed(URI, SocketAddress, IOException) - Method in class okhttp3.FakeProxySelector
-
 
-
contentLength() - Method in class okhttp3.ForwardingRequestBody
-
 
-
contentLength() - Method in class okhttp3.ForwardingResponseBody
-
 
-
contentType() - Method in class okhttp3.ForwardingRequestBody
-
 
-
contentType() - Method in class okhttp3.ForwardingResponseBody
-
 
-
contentType() - Method in class okhttp3.internal.duplex.AsyncRequestBody
-
 
-
- - - -

D

-
-
defaultClient() - Static method in class okhttp3.TestUtil
-
-
Returns an OkHttpClient for all tests to use as a starting point.
-
-
delegate() - Method in class okhttp3.ForwardingRequestBody
-
 
-
delegate() - Method in class okhttp3.ForwardingResponseBody
-
 
-
delete(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
-
 
-
deleteContents(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
-
 
-
- - - -

E

-
-
enqueueRequestCookies(Cookie...) - Method in class okhttp3.RecordingCookieJar
-
 
-
ensureAllConnectionsReleased(OkHttpClient) - Static method in class okhttp3.TestUtil
-
 
-
ensureResourcesClosed() - Method in class okhttp3.internal.io.InMemoryFileSystem
-
 
-
exists(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
-
 
-
- - - -

F

-
-
FakeDns - Class in okhttp3
-
 
-
FakeDns() - Constructor for class okhttp3.FakeDns
-
 
-
FakeProxySelector - Class in okhttp3
-
 
-
FakeProxySelector() - Constructor for class okhttp3.FakeProxySelector
-
 
-
FakeSSLSession - Class in okhttp3
-
 
-
FakeSSLSession(Certificate...) - Constructor for class okhttp3.FakeSSLSession
-
 
-
ForwardingRequestBody - Class in okhttp3
-
 
-
ForwardingRequestBody(RequestBody) - Constructor for class okhttp3.ForwardingRequestBody
-
 
-
ForwardingResponseBody - Class in okhttp3
-
 
-
ForwardingResponseBody(ResponseBody) - Constructor for class okhttp3.ForwardingResponseBody
-
 
-
- - - -

G

-
-
getApplicationBufferSize() - Method in class okhttp3.FakeSSLSession
-
 
-
getCipherSuite() - Method in class okhttp3.FakeSSLSession
-
 
-
getCreationTime() - Method in class okhttp3.FakeSSLSession
-
 
-
getId() - Method in class okhttp3.FakeSSLSession
-
 
-
getLastAccessedTime() - Method in class okhttp3.FakeSSLSession
-
 
-
getLocalCertificates() - Method in class okhttp3.FakeSSLSession
-
 
-
getLocalPrincipal() - Method in class okhttp3.FakeSSLSession
-
 
-
getPacketBufferSize() - Method in class okhttp3.FakeSSLSession
-
 
-
getPeerCertificateChain() - Method in class okhttp3.FakeSSLSession
-
 
-
getPeerCertificates() - Method in class okhttp3.FakeSSLSession
-
 
-
getPeerHost() - Method in class okhttp3.FakeSSLSession
-
 
-
getPeerPort() - Method in class okhttp3.FakeSSLSession
-
 
-
getPeerPrincipal() - Method in class okhttp3.FakeSSLSession
-
 
-
getProtocol() - Method in class okhttp3.FakeSSLSession
-
 
-
getSessionContext() - Method in class okhttp3.FakeSSLSession
-
 
-
getValue(String) - Method in class okhttp3.FakeSSLSession
-
 
-
getValueNames() - Method in class okhttp3.FakeSSLSession
-
 
-
- - - -

H

-
-
headerEntries(String...) - Static method in class okhttp3.TestUtil
-
 
-
- - - -

I

-
-
InMemoryFileSystem - Class in okhttp3.internal.io
-
-
A simple file system where all files are held in memory.
-
-
InMemoryFileSystem() - Constructor for class okhttp3.internal.io.InMemoryFileSystem
-
 
-
InstallUncaughtExceptionHandlerListener - Class in okhttp3.testing
-
-
A RunListener used to install an aggressive default Thread.UncaughtExceptionHandler similar to the one found on Android.
-
-
InstallUncaughtExceptionHandlerListener() - Constructor for class okhttp3.testing.InstallUncaughtExceptionHandlerListener
-
 
-
intercept(Interceptor.Chain) - Method in class okhttp3.UppercaseRequestInterceptor
-
 
-
intercept(Interceptor.Chain) - Method in class okhttp3.UppercaseResponseInterceptor
-
 
-
invalidate() - Method in class okhttp3.FakeSSLSession
-
 
-
isDuplex() - Method in class okhttp3.ForwardingRequestBody
-
 
-
isDuplex() - Method in class okhttp3.internal.duplex.AsyncRequestBody
-
 
-
isValid() - Method in class okhttp3.FakeSSLSession
-
 
-
- - - -

L

-
-
loadForRequest(HttpUrl) - Method in class okhttp3.RecordingCookieJar
-
 
-
lookup(String, int) - Method in class okhttp3.FakeDns
-
 
-
lookup(String) - Method in class okhttp3.FakeDns
-
 
-
- - - -

O

-
-
okhttp3 - package okhttp3
-
 
-
okhttp3.internal.duplex - package okhttp3.internal.duplex
-
 
-
okhttp3.internal.io - package okhttp3.internal.io
-
 
-
okhttp3.testing - package okhttp3.testing
-
 
-
OkHttpClientTestRule - Class in okhttp3
-
 
-
OkHttpClientTestRule() - Constructor for class okhttp3.OkHttpClientTestRule
-
 
-
- - - -

P

-
-
proxies - Variable in class okhttp3.FakeProxySelector
-
 
-
putValue(String, Object) - Method in class okhttp3.FakeSSLSession
-
 
-
- - - -

R

-
-
RecordingCookieJar - Class in okhttp3
-
 
-
RecordingCookieJar() - Constructor for class okhttp3.RecordingCookieJar
-
 
-
RecordingHostnameVerifier - Class in okhttp3
-
 
-
RecordingHostnameVerifier() - Constructor for class okhttp3.RecordingHostnameVerifier
-
 
-
removeValue(String) - Method in class okhttp3.FakeSSLSession
-
 
-
rename(File, File) - Method in class okhttp3.internal.io.InMemoryFileSystem
-
 
-
repeat(char, int) - Static method in class okhttp3.TestUtil
-
 
-
- - - -

S

-
-
saveFromResponse(HttpUrl, List<Cookie>) - Method in class okhttp3.RecordingCookieJar
-
 
-
select(URI) - Method in class okhttp3.FakeProxySelector
-
 
-
set(String, List<InetAddress>) - Method in class okhttp3.FakeDns
-
-
Sets the results for hostname.
-
-
sink(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
-
 
-
size(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
-
 
-
source() - Method in class okhttp3.ForwardingResponseBody
-
 
-
source(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
-
 
-
- - - -

T

-
-
takeResponseCookies() - Method in class okhttp3.RecordingCookieJar
-
 
-
takeSink() - Method in class okhttp3.internal.duplex.AsyncRequestBody
-
 
-
testRunFinished(Result) - Method in class okhttp3.testing.InstallUncaughtExceptionHandlerListener
-
 
-
testRunStarted(Description) - Method in class okhttp3.testing.InstallUncaughtExceptionHandlerListener
-
 
-
testStarted(Description) - Method in class okhttp3.testing.InstallUncaughtExceptionHandlerListener
-
 
-
TestUtil - Class in okhttp3
-
 
-
toString() - Method in class okhttp3.ForwardingRequestBody
-
 
-
toString() - Method in class okhttp3.ForwardingResponseBody
-
 
-
- - - -

U

-
-
UNREACHABLE_ADDRESS - Static variable in class okhttp3.TestUtil
-
 
-
UppercaseRequestInterceptor - Class in okhttp3
-
-
Rewrites the request body sent to the server to be all uppercase.
-
-
UppercaseRequestInterceptor() - Constructor for class okhttp3.UppercaseRequestInterceptor
-
 
-
UppercaseResponseInterceptor - Class in okhttp3
-
-
Rewrites the response body returned from the server to be all uppercase.
-
-
UppercaseResponseInterceptor() - Constructor for class okhttp3.UppercaseResponseInterceptor
-
 
-
- - - -

V

-
-
verify(String, SSLSession) - Method in class okhttp3.RecordingHostnameVerifier
-
 
-
- - - -

W

-
-
writeTo(BufferedSink) - Method in class okhttp3.ForwardingRequestBody
-
 
-
writeTo(BufferedSink) - Method in class okhttp3.internal.duplex.AsyncRequestBody
-
 
-
-A C D E F G H I L O P R S T U V W 
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/index.html b/3.x/okhttp-testing-support/index.html deleted file mode 100644 index 250aab299..000000000 --- a/3.x/okhttp-testing-support/index.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - -OkHttp test support classes 3.14.2 API - - - - - - - - - -<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="overview-summary.html">Non-frame version</a>.</p> - - - diff --git a/3.x/okhttp-testing-support/okhttp3/FakeDns.html b/3.x/okhttp-testing-support/okhttp3/FakeDns.html deleted file mode 100644 index c60084ad9..000000000 --- a/3.x/okhttp-testing-support/okhttp3/FakeDns.html +++ /dev/null @@ -1,383 +0,0 @@ - - - - - - -FakeDns (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3
-

Class FakeDns

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.FakeDns
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Dns
    -
    -
    -
    -
    public final class FakeDns
    -extends java.lang.Object
    -implements Dns
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      FakeDns() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.util.List<java.net.InetAddress>allocate(int count) -
      Allocates and returns count fake addresses like [255.0.0.100, 255.0.0.101].
      -
      voidassertRequests(java.lang.String... expectedHosts) 
      FakeDnsclear(java.lang.String hostname) -
      Clears the results for hostname.
      -
      java.util.List<java.net.InetAddress>lookup(java.lang.String hostname) 
      java.net.InetAddresslookup(java.lang.String hostname, - int index) 
      FakeDnsset(java.lang.String hostname, - java.util.List<java.net.InetAddress> addresses) -
      Sets the results for hostname.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FakeDns

        -
        public FakeDns()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        set

        -
        public FakeDns set(java.lang.String hostname,
        -                   java.util.List<java.net.InetAddress> addresses)
        -
        Sets the results for hostname.
        -
      • -
      - - - -
        -
      • -

        clear

        -
        public FakeDns clear(java.lang.String hostname)
        -
        Clears the results for hostname.
        -
      • -
      - - - -
        -
      • -

        lookup

        -
        public java.net.InetAddress lookup(java.lang.String hostname,
        -                                   int index)
        -                            throws java.net.UnknownHostException
        -
        -
        Throws:
        -
        java.net.UnknownHostException
        -
        -
      • -
      - - - -
        -
      • -

        lookup

        -
        public java.util.List<java.net.InetAddress> lookup(java.lang.String hostname)
        -                                            throws java.net.UnknownHostException
        -
        -
        Specified by:
        -
        lookup in interface Dns
        -
        Throws:
        -
        java.net.UnknownHostException
        -
        -
      • -
      - - - -
        -
      • -

        assertRequests

        -
        public void assertRequests(java.lang.String... expectedHosts)
        -
      • -
      - - - -
        -
      • -

        allocate

        -
        public java.util.List<java.net.InetAddress> allocate(int count)
        -
        Allocates and returns count fake addresses like [255.0.0.100, 255.0.0.101].
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/FakeProxySelector.html b/3.x/okhttp-testing-support/okhttp3/FakeProxySelector.html deleted file mode 100644 index 6f79c1537..000000000 --- a/3.x/okhttp-testing-support/okhttp3/FakeProxySelector.html +++ /dev/null @@ -1,359 +0,0 @@ - - - - - - -FakeProxySelector (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3
-

Class FakeProxySelector

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.net.ProxySelector
    • -
    • -
        -
      • okhttp3.FakeProxySelector
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class FakeProxySelector
    -extends java.net.ProxySelector
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      java.util.List<java.net.Proxy>proxies 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      FakeProxySelector() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      FakeProxySelectoraddProxy(java.net.Proxy proxy) 
      voidconnectFailed(java.net.URI uri, - java.net.SocketAddress sa, - java.io.IOException ioe) 
      java.util.List<java.net.Proxy>select(java.net.URI uri) 
      -
        -
      • - - -

        Methods inherited from class java.net.ProxySelector

        -getDefault, setDefault
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        proxies

        -
        public final java.util.List<java.net.Proxy> proxies
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FakeProxySelector

        -
        public FakeProxySelector()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        select

        -
        public java.util.List<java.net.Proxy> select(java.net.URI uri)
        -
        -
        Specified by:
        -
        select in class java.net.ProxySelector
        -
        -
      • -
      - - - -
        -
      • -

        connectFailed

        -
        public void connectFailed(java.net.URI uri,
        -                          java.net.SocketAddress sa,
        -                          java.io.IOException ioe)
        -
        -
        Specified by:
        -
        connectFailed in class java.net.ProxySelector
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/FakeSSLSession.html b/3.x/okhttp-testing-support/okhttp3/FakeSSLSession.html deleted file mode 100644 index 699f5bf23..000000000 --- a/3.x/okhttp-testing-support/okhttp3/FakeSSLSession.html +++ /dev/null @@ -1,638 +0,0 @@ - - - - - - -FakeSSLSession (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3
-

Class FakeSSLSession

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.FakeSSLSession
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    javax.net.ssl.SSLSession
    -
    -
    -
    -
    public final class FakeSSLSession
    -extends java.lang.Object
    -implements javax.net.ssl.SSLSession
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FakeSSLSession

        -
        public FakeSSLSession(java.security.cert.Certificate... certificates)
        -               throws java.lang.Exception
        -
        -
        Throws:
        -
        java.lang.Exception
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getApplicationBufferSize

        -
        public int getApplicationBufferSize()
        -
        -
        Specified by:
        -
        getApplicationBufferSize in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        getCipherSuite

        -
        public java.lang.String getCipherSuite()
        -
        -
        Specified by:
        -
        getCipherSuite in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        getCreationTime

        -
        public long getCreationTime()
        -
        -
        Specified by:
        -
        getCreationTime in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        getId

        -
        public byte[] getId()
        -
        -
        Specified by:
        -
        getId in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        getLastAccessedTime

        -
        public long getLastAccessedTime()
        -
        -
        Specified by:
        -
        getLastAccessedTime in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        getLocalCertificates

        -
        public java.security.cert.Certificate[] getLocalCertificates()
        -
        -
        Specified by:
        -
        getLocalCertificates in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        getLocalPrincipal

        -
        public java.security.Principal getLocalPrincipal()
        -
        -
        Specified by:
        -
        getLocalPrincipal in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        getPacketBufferSize

        -
        public int getPacketBufferSize()
        -
        -
        Specified by:
        -
        getPacketBufferSize in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        getPeerCertificates

        -
        public java.security.cert.Certificate[] getPeerCertificates()
        -                                                     throws javax.net.ssl.SSLPeerUnverifiedException
        -
        -
        Specified by:
        -
        getPeerCertificates in interface javax.net.ssl.SSLSession
        -
        Throws:
        -
        javax.net.ssl.SSLPeerUnverifiedException
        -
        -
      • -
      - - - -
        -
      • -

        getPeerCertificateChain

        -
        public javax.security.cert.X509Certificate[] getPeerCertificateChain()
        -                                                              throws javax.net.ssl.SSLPeerUnverifiedException
        -
        -
        Specified by:
        -
        getPeerCertificateChain in interface javax.net.ssl.SSLSession
        -
        Throws:
        -
        javax.net.ssl.SSLPeerUnverifiedException
        -
        -
      • -
      - - - -
        -
      • -

        getPeerHost

        -
        public java.lang.String getPeerHost()
        -
        -
        Specified by:
        -
        getPeerHost in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        getPeerPort

        -
        public int getPeerPort()
        -
        -
        Specified by:
        -
        getPeerPort in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        getPeerPrincipal

        -
        public java.security.Principal getPeerPrincipal()
        -                                         throws javax.net.ssl.SSLPeerUnverifiedException
        -
        -
        Specified by:
        -
        getPeerPrincipal in interface javax.net.ssl.SSLSession
        -
        Throws:
        -
        javax.net.ssl.SSLPeerUnverifiedException
        -
        -
      • -
      - - - -
        -
      • -

        getProtocol

        -
        public java.lang.String getProtocol()
        -
        -
        Specified by:
        -
        getProtocol in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        getSessionContext

        -
        public javax.net.ssl.SSLSessionContext getSessionContext()
        -
        -
        Specified by:
        -
        getSessionContext in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        putValue

        -
        public void putValue(java.lang.String s,
        -                     java.lang.Object obj)
        -
        -
        Specified by:
        -
        putValue in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        removeValue

        -
        public void removeValue(java.lang.String s)
        -
        -
        Specified by:
        -
        removeValue in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        getValue

        -
        public java.lang.Object getValue(java.lang.String s)
        -
        -
        Specified by:
        -
        getValue in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        getValueNames

        -
        public java.lang.String[] getValueNames()
        -
        -
        Specified by:
        -
        getValueNames in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        invalidate

        -
        public void invalidate()
        -
        -
        Specified by:
        -
        invalidate in interface javax.net.ssl.SSLSession
        -
        -
      • -
      - - - -
        -
      • -

        isValid

        -
        public boolean isValid()
        -
        -
        Specified by:
        -
        isValid in interface javax.net.ssl.SSLSession
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/ForwardingRequestBody.html b/3.x/okhttp-testing-support/okhttp3/ForwardingRequestBody.html deleted file mode 100644 index d99c36bad..000000000 --- a/3.x/okhttp-testing-support/okhttp3/ForwardingRequestBody.html +++ /dev/null @@ -1,377 +0,0 @@ - - - - - - -ForwardingRequestBody (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3
-

Class ForwardingRequestBody

-
-
- -
-
    -
  • -
    -
    -
    public class ForwardingRequestBody
    -extends RequestBody
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ForwardingRequestBody

        -
        public ForwardingRequestBody(RequestBody delegate)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        delegate

        -
        public final RequestBody delegate()
        -
      • -
      - - - - - - - -
        -
      • -

        contentLength

        -
        public long contentLength()
        -                   throws java.io.IOException
        -
        -
        Overrides:
        -
        contentLength in class RequestBody
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        writeTo

        -
        public void writeTo(okio.BufferedSink sink)
        -             throws java.io.IOException
        -
        -
        Specified by:
        -
        writeTo in class RequestBody
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/ForwardingResponseBody.html b/3.x/okhttp-testing-support/okhttp3/ForwardingResponseBody.html deleted file mode 100644 index 2d14420c2..000000000 --- a/3.x/okhttp-testing-support/okhttp3/ForwardingResponseBody.html +++ /dev/null @@ -1,358 +0,0 @@ - - - - - - -ForwardingResponseBody (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3
-

Class ForwardingResponseBody

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Closeable, java.lang.AutoCloseable
    -
    -
    -
    -
    public class ForwardingResponseBody
    -extends ResponseBody
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ForwardingResponseBody

        -
        public ForwardingResponseBody(ResponseBody delegate)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - - - - - -
        -
      • -

        source

        -
        public okio.BufferedSource source()
        -
        -
        Specified by:
        -
        source in class ResponseBody
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/OkHttpClientTestRule.html b/3.x/okhttp-testing-support/okhttp3/OkHttpClientTestRule.html deleted file mode 100644 index 7f07195b0..000000000 --- a/3.x/okhttp-testing-support/okhttp3/OkHttpClientTestRule.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - -OkHttpClientTestRule (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3
-

Class OkHttpClientTestRule

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.OkHttpClientTestRule
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    org.junit.rules.TestRule
    -
    -
    -
    -
    public class OkHttpClientTestRule
    -extends java.lang.Object
    -implements org.junit.rules.TestRule
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      OkHttpClientclient 
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      org.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, - org.junit.runner.Description description) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        OkHttpClientTestRule

        -
        public OkHttpClientTestRule()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        apply

        -
        public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
        -                                               org.junit.runner.Description description)
        -
        -
        Specified by:
        -
        apply in interface org.junit.rules.TestRule
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/RecordingCookieJar.html b/3.x/okhttp-testing-support/okhttp3/RecordingCookieJar.html deleted file mode 100644 index ae408f6ff..000000000 --- a/3.x/okhttp-testing-support/okhttp3/RecordingCookieJar.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - - -RecordingCookieJar (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3
-

Class RecordingCookieJar

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.RecordingCookieJar
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    CookieJar
    -
    -
    -
    -
    public final class RecordingCookieJar
    -extends java.lang.Object
    -implements CookieJar
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RecordingCookieJar

        -
        public RecordingCookieJar()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        enqueueRequestCookies

        -
        public void enqueueRequestCookies(Cookie... cookies)
        -
      • -
      - - - -
        -
      • -

        takeResponseCookies

        -
        public java.util.List<Cookie> takeResponseCookies()
        -
      • -
      - - - -
        -
      • -

        assertResponseCookies

        -
        public void assertResponseCookies(java.lang.String... cookies)
        -
      • -
      - - - - - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/RecordingHostnameVerifier.html b/3.x/okhttp-testing-support/okhttp3/RecordingHostnameVerifier.html deleted file mode 100644 index 47d7583ac..000000000 --- a/3.x/okhttp-testing-support/okhttp3/RecordingHostnameVerifier.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - -RecordingHostnameVerifier (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3
-

Class RecordingHostnameVerifier

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.RecordingHostnameVerifier
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    javax.net.ssl.HostnameVerifier
    -
    -
    -
    -
    public final class RecordingHostnameVerifier
    -extends java.lang.Object
    -implements javax.net.ssl.HostnameVerifier
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      java.util.List<java.lang.String>calls 
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleanverify(java.lang.String hostname, - javax.net.ssl.SSLSession session) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        calls

        -
        public final java.util.List<java.lang.String> calls
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RecordingHostnameVerifier

        -
        public RecordingHostnameVerifier()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        verify

        -
        public boolean verify(java.lang.String hostname,
        -                      javax.net.ssl.SSLSession session)
        -
        -
        Specified by:
        -
        verify in interface javax.net.ssl.HostnameVerifier
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/TestUtil.html b/3.x/okhttp-testing-support/okhttp3/TestUtil.html deleted file mode 100644 index 092b24fb2..000000000 --- a/3.x/okhttp-testing-support/okhttp3/TestUtil.html +++ /dev/null @@ -1,348 +0,0 @@ - - - - - - -TestUtil (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3
-

Class TestUtil

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.TestUtil
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public final class TestUtil
    -extends java.lang.Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        UNREACHABLE_ADDRESS

        -
        public static final java.net.InetSocketAddress UNREACHABLE_ADDRESS
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        defaultClient

        -
        public static OkHttpClient defaultClient()
        -
        Returns an OkHttpClient for all tests to use as a starting point. - -

        The shared instance allows all tests to share a single connection pool, which prevents idle - connections from consuming unnecessary resources while connections wait to be evicted. - -

        This client is also configured to be slightly more deterministic, returning a single IP - address for all hosts, regardless of the actual number of IP addresses reported by DNS.

        -
      • -
      - - - - - - - -
        -
      • -

        repeat

        -
        public static java.lang.String repeat(char c,
        -                                      int count)
        -
      • -
      - - - -
        -
      • -

        awaitGarbageCollection

        -
        public static void awaitGarbageCollection()
        -                                   throws java.lang.Exception
        -
        See FinalizationTester for discussion on how to best trigger GC in tests. - https://android.googlesource.com/platform/libcore/+/master/support/src/test/java/libcore/ - java/lang/ref/FinalizationTester.java
        -
        -
        Throws:
        -
        java.lang.Exception
        -
        -
      • -
      - - - -
        -
      • -

        ensureAllConnectionsReleased

        -
        public static void ensureAllConnectionsReleased(OkHttpClient client)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/UppercaseRequestInterceptor.html b/3.x/okhttp-testing-support/okhttp3/UppercaseRequestInterceptor.html deleted file mode 100644 index 07801730b..000000000 --- a/3.x/okhttp-testing-support/okhttp3/UppercaseRequestInterceptor.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - -UppercaseRequestInterceptor (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3
-

Class UppercaseRequestInterceptor

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.UppercaseRequestInterceptor
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Interceptor
    -
    -
    -
    -
    public final class UppercaseRequestInterceptor
    -extends java.lang.Object
    -implements Interceptor
    -
    Rewrites the request body sent to the server to be all uppercase.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        UppercaseRequestInterceptor

        -
        public UppercaseRequestInterceptor()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/UppercaseResponseInterceptor.html b/3.x/okhttp-testing-support/okhttp3/UppercaseResponseInterceptor.html deleted file mode 100644 index f1e892e77..000000000 --- a/3.x/okhttp-testing-support/okhttp3/UppercaseResponseInterceptor.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - -UppercaseResponseInterceptor (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3
-

Class UppercaseResponseInterceptor

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.UppercaseResponseInterceptor
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Interceptor
    -
    -
    -
    -
    public final class UppercaseResponseInterceptor
    -extends java.lang.Object
    -implements Interceptor
    -
    Rewrites the response body returned from the server to be all uppercase.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        UppercaseResponseInterceptor

        -
        public UppercaseResponseInterceptor()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/class-use/FakeDns.html b/3.x/okhttp-testing-support/okhttp3/class-use/FakeDns.html deleted file mode 100644 index 96fc69e4f..000000000 --- a/3.x/okhttp-testing-support/okhttp3/class-use/FakeDns.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - -Uses of Class okhttp3.FakeDns (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.FakeDns

-
-
-
    -
  • - - - - - - - - - - - - -
    Packages that use FakeDns 
    PackageDescription
    okhttp3 
    -
  • -
  • -
      -
    • - - -

      Uses of FakeDns in okhttp3

      - - - - - - - - - - - - - - - - -
      Methods in okhttp3 that return FakeDns 
      Modifier and TypeMethod and Description
      FakeDnsFakeDns.clear(java.lang.String hostname) -
      Clears the results for hostname.
      -
      FakeDnsFakeDns.set(java.lang.String hostname, - java.util.List<java.net.InetAddress> addresses) -
      Sets the results for hostname.
      -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/class-use/FakeProxySelector.html b/3.x/okhttp-testing-support/okhttp3/class-use/FakeProxySelector.html deleted file mode 100644 index 2d26cb782..000000000 --- a/3.x/okhttp-testing-support/okhttp3/class-use/FakeProxySelector.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - -Uses of Class okhttp3.FakeProxySelector (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.FakeProxySelector

-
-
- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/class-use/FakeSSLSession.html b/3.x/okhttp-testing-support/okhttp3/class-use/FakeSSLSession.html deleted file mode 100644 index d8d0747b2..000000000 --- a/3.x/okhttp-testing-support/okhttp3/class-use/FakeSSLSession.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.FakeSSLSession (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.FakeSSLSession

-
-
No usage of okhttp3.FakeSSLSession
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/class-use/ForwardingRequestBody.html b/3.x/okhttp-testing-support/okhttp3/class-use/ForwardingRequestBody.html deleted file mode 100644 index ae251b345..000000000 --- a/3.x/okhttp-testing-support/okhttp3/class-use/ForwardingRequestBody.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.ForwardingRequestBody (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.ForwardingRequestBody

-
-
No usage of okhttp3.ForwardingRequestBody
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/class-use/ForwardingResponseBody.html b/3.x/okhttp-testing-support/okhttp3/class-use/ForwardingResponseBody.html deleted file mode 100644 index ebc2ff2e8..000000000 --- a/3.x/okhttp-testing-support/okhttp3/class-use/ForwardingResponseBody.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.ForwardingResponseBody (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.ForwardingResponseBody

-
-
No usage of okhttp3.ForwardingResponseBody
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/class-use/OkHttpClientTestRule.html b/3.x/okhttp-testing-support/okhttp3/class-use/OkHttpClientTestRule.html deleted file mode 100644 index d232da19d..000000000 --- a/3.x/okhttp-testing-support/okhttp3/class-use/OkHttpClientTestRule.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.OkHttpClientTestRule (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.OkHttpClientTestRule

-
-
No usage of okhttp3.OkHttpClientTestRule
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/class-use/RecordingCookieJar.html b/3.x/okhttp-testing-support/okhttp3/class-use/RecordingCookieJar.html deleted file mode 100644 index 74cc3d7b5..000000000 --- a/3.x/okhttp-testing-support/okhttp3/class-use/RecordingCookieJar.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.RecordingCookieJar (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.RecordingCookieJar

-
-
No usage of okhttp3.RecordingCookieJar
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/class-use/RecordingHostnameVerifier.html b/3.x/okhttp-testing-support/okhttp3/class-use/RecordingHostnameVerifier.html deleted file mode 100644 index 1a686b6b1..000000000 --- a/3.x/okhttp-testing-support/okhttp3/class-use/RecordingHostnameVerifier.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.RecordingHostnameVerifier (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.RecordingHostnameVerifier

-
-
No usage of okhttp3.RecordingHostnameVerifier
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/class-use/TestUtil.html b/3.x/okhttp-testing-support/okhttp3/class-use/TestUtil.html deleted file mode 100644 index 2fb0ac7cf..000000000 --- a/3.x/okhttp-testing-support/okhttp3/class-use/TestUtil.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.TestUtil (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.TestUtil

-
-
No usage of okhttp3.TestUtil
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/class-use/UppercaseRequestInterceptor.html b/3.x/okhttp-testing-support/okhttp3/class-use/UppercaseRequestInterceptor.html deleted file mode 100644 index dcf4b95e6..000000000 --- a/3.x/okhttp-testing-support/okhttp3/class-use/UppercaseRequestInterceptor.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.UppercaseRequestInterceptor (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.UppercaseRequestInterceptor

-
-
No usage of okhttp3.UppercaseRequestInterceptor
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/class-use/UppercaseResponseInterceptor.html b/3.x/okhttp-testing-support/okhttp3/class-use/UppercaseResponseInterceptor.html deleted file mode 100644 index dfb07b4a2..000000000 --- a/3.x/okhttp-testing-support/okhttp3/class-use/UppercaseResponseInterceptor.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.UppercaseResponseInterceptor (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.UppercaseResponseInterceptor

-
-
No usage of okhttp3.UppercaseResponseInterceptor
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/internal/duplex/AsyncRequestBody.html b/3.x/okhttp-testing-support/okhttp3/internal/duplex/AsyncRequestBody.html deleted file mode 100644 index a03ded92b..000000000 --- a/3.x/okhttp-testing-support/okhttp3/internal/duplex/AsyncRequestBody.html +++ /dev/null @@ -1,356 +0,0 @@ - - - - - - -AsyncRequestBody (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3.internal.duplex
-

Class AsyncRequestBody

-
-
-
    -
  • java.lang.Object
  • -
  • - -
  • -
-
-
    -
  • -
    -
    -
    public final class AsyncRequestBody
    -extends RequestBody
    -
    A duplex request body that keeps the provided sinks so they can be written to later.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AsyncRequestBody

        -
        public AsyncRequestBody()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        writeTo

        -
        public void writeTo(okio.BufferedSink sink)
        -
        -
        Specified by:
        -
        writeTo in class RequestBody
        -
        -
      • -
      - - - - - - - -
        -
      • -

        takeSink

        -
        public okio.BufferedSink takeSink()
        -                           throws java.lang.InterruptedException
        -
        -
        Throws:
        -
        java.lang.InterruptedException
        -
        -
      • -
      - - - -
        -
      • -

        assertNoMoreSinks

        -
        public void assertNoMoreSinks()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/internal/duplex/class-use/AsyncRequestBody.html b/3.x/okhttp-testing-support/okhttp3/internal/duplex/class-use/AsyncRequestBody.html deleted file mode 100644 index 1049efc99..000000000 --- a/3.x/okhttp-testing-support/okhttp3/internal/duplex/class-use/AsyncRequestBody.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.duplex.AsyncRequestBody (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.duplex.AsyncRequestBody

-
-
No usage of okhttp3.internal.duplex.AsyncRequestBody
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/internal/duplex/package-frame.html b/3.x/okhttp-testing-support/okhttp3/internal/duplex/package-frame.html deleted file mode 100644 index 0b3430b80..000000000 --- a/3.x/okhttp-testing-support/okhttp3/internal/duplex/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -okhttp3.internal.duplex (OkHttp test support classes 3.14.2 API) - - - - - -

okhttp3.internal.duplex

-
-

Classes

- -
- - diff --git a/3.x/okhttp-testing-support/okhttp3/internal/duplex/package-summary.html b/3.x/okhttp-testing-support/okhttp3/internal/duplex/package-summary.html deleted file mode 100644 index 4968c7dcc..000000000 --- a/3.x/okhttp-testing-support/okhttp3/internal/duplex/package-summary.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -okhttp3.internal.duplex (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Package okhttp3.internal.duplex

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    AsyncRequestBody -
    A duplex request body that keeps the provided sinks so they can be written to later.
    -
    -
  • -
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/internal/duplex/package-tree.html b/3.x/okhttp-testing-support/okhttp3/internal/duplex/package-tree.html deleted file mode 100644 index d9e218a07..000000000 --- a/3.x/okhttp-testing-support/okhttp3/internal/duplex/package-tree.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -okhttp3.internal.duplex Class Hierarchy (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.internal.duplex

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/internal/duplex/package-use.html b/3.x/okhttp-testing-support/okhttp3/internal/duplex/package-use.html deleted file mode 100644 index e0da9ebd2..000000000 --- a/3.x/okhttp-testing-support/okhttp3/internal/duplex/package-use.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Package okhttp3.internal.duplex (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.internal.duplex

-
-
No usage of okhttp3.internal.duplex
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/internal/io/InMemoryFileSystem.html b/3.x/okhttp-testing-support/okhttp3/internal/io/InMemoryFileSystem.html deleted file mode 100644 index 8abfa21aa..000000000 --- a/3.x/okhttp-testing-support/okhttp3/internal/io/InMemoryFileSystem.html +++ /dev/null @@ -1,469 +0,0 @@ - - - - - - -InMemoryFileSystem (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3.internal.io
-

Class InMemoryFileSystem

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • okhttp3.internal.io.InMemoryFileSystem
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    okhttp3.internal.io.FileSystem, org.junit.rules.TestRule
    -
    -
    -
    -
    public final class InMemoryFileSystem
    -extends java.lang.Object
    -implements okhttp3.internal.io.FileSystem, org.junit.rules.TestRule
    -
    A simple file system where all files are held in memory. Not safe for concurrent use.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      -
        -
      • - - -

        Fields inherited from interface okhttp3.internal.io.FileSystem

        -SYSTEM
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      InMemoryFileSystem() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      okio.SinkappendingSink(java.io.File file) 
      org.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, - org.junit.runner.Description description) 
      voiddelete(java.io.File file) 
      voiddeleteContents(java.io.File directory) 
      voidensureResourcesClosed() 
      booleanexists(java.io.File file) 
      voidrename(java.io.File from, - java.io.File to) 
      okio.Sinksink(java.io.File file) 
      longsize(java.io.File file) 
      okio.Sourcesource(java.io.File file) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        InMemoryFileSystem

        -
        public InMemoryFileSystem()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        apply

        -
        public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
        -                                               org.junit.runner.Description description)
        -
        -
        Specified by:
        -
        apply in interface org.junit.rules.TestRule
        -
        -
      • -
      - - - -
        -
      • -

        ensureResourcesClosed

        -
        public void ensureResourcesClosed()
        -
      • -
      - - - -
        -
      • -

        source

        -
        public okio.Source source(java.io.File file)
        -                   throws java.io.FileNotFoundException
        -
        -
        Specified by:
        -
        source in interface okhttp3.internal.io.FileSystem
        -
        Throws:
        -
        java.io.FileNotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        sink

        -
        public okio.Sink sink(java.io.File file)
        -               throws java.io.FileNotFoundException
        -
        -
        Specified by:
        -
        sink in interface okhttp3.internal.io.FileSystem
        -
        Throws:
        -
        java.io.FileNotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        appendingSink

        -
        public okio.Sink appendingSink(java.io.File file)
        -                        throws java.io.FileNotFoundException
        -
        -
        Specified by:
        -
        appendingSink in interface okhttp3.internal.io.FileSystem
        -
        Throws:
        -
        java.io.FileNotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        delete

        -
        public void delete(java.io.File file)
        -            throws java.io.IOException
        -
        -
        Specified by:
        -
        delete in interface okhttp3.internal.io.FileSystem
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        rename

        -
        public void rename(java.io.File from,
        -                   java.io.File to)
        -            throws java.io.IOException
        -
        -
        Specified by:
        -
        rename in interface okhttp3.internal.io.FileSystem
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        deleteContents

        -
        public void deleteContents(java.io.File directory)
        -                    throws java.io.IOException
        -
        -
        Specified by:
        -
        deleteContents in interface okhttp3.internal.io.FileSystem
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/internal/io/class-use/InMemoryFileSystem.html b/3.x/okhttp-testing-support/okhttp3/internal/io/class-use/InMemoryFileSystem.html deleted file mode 100644 index 4d607b383..000000000 --- a/3.x/okhttp-testing-support/okhttp3/internal/io/class-use/InMemoryFileSystem.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.io.InMemoryFileSystem (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.io.InMemoryFileSystem

-
-
No usage of okhttp3.internal.io.InMemoryFileSystem
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/internal/io/package-frame.html b/3.x/okhttp-testing-support/okhttp3/internal/io/package-frame.html deleted file mode 100644 index 20972f2d7..000000000 --- a/3.x/okhttp-testing-support/okhttp3/internal/io/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -okhttp3.internal.io (OkHttp test support classes 3.14.2 API) - - - - - -

okhttp3.internal.io

-
-

Classes

- -
- - diff --git a/3.x/okhttp-testing-support/okhttp3/internal/io/package-summary.html b/3.x/okhttp-testing-support/okhttp3/internal/io/package-summary.html deleted file mode 100644 index 1e9e390c3..000000000 --- a/3.x/okhttp-testing-support/okhttp3/internal/io/package-summary.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -okhttp3.internal.io (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Package okhttp3.internal.io

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    InMemoryFileSystem -
    A simple file system where all files are held in memory.
    -
    -
  • -
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/internal/io/package-tree.html b/3.x/okhttp-testing-support/okhttp3/internal/io/package-tree.html deleted file mode 100644 index d6d0ccdc3..000000000 --- a/3.x/okhttp-testing-support/okhttp3/internal/io/package-tree.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - -okhttp3.internal.io Class Hierarchy (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.internal.io

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/internal/io/package-use.html b/3.x/okhttp-testing-support/okhttp3/internal/io/package-use.html deleted file mode 100644 index 5a6a90bfc..000000000 --- a/3.x/okhttp-testing-support/okhttp3/internal/io/package-use.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Package okhttp3.internal.io (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.internal.io

-
-
No usage of okhttp3.internal.io
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/package-frame.html b/3.x/okhttp-testing-support/okhttp3/package-frame.html deleted file mode 100644 index 895fe5c15..000000000 --- a/3.x/okhttp-testing-support/okhttp3/package-frame.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - -okhttp3 (OkHttp test support classes 3.14.2 API) - - - - - -

okhttp3

- - - diff --git a/3.x/okhttp-testing-support/okhttp3/package-summary.html b/3.x/okhttp-testing-support/okhttp3/package-summary.html deleted file mode 100644 index 643da5eca..000000000 --- a/3.x/okhttp-testing-support/okhttp3/package-summary.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -okhttp3 (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

@EverythingIsNonNull -

-

Package okhttp3

-
-
- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/package-tree.html b/3.x/okhttp-testing-support/okhttp3/package-tree.html deleted file mode 100644 index 7971c72d6..000000000 --- a/3.x/okhttp-testing-support/okhttp3/package-tree.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - -okhttp3 Class Hierarchy (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/package-use.html b/3.x/okhttp-testing-support/okhttp3/package-use.html deleted file mode 100644 index 11a4313f8..000000000 --- a/3.x/okhttp-testing-support/okhttp3/package-use.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - -Uses of Package okhttp3 (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3

-
-
- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/testing/InstallUncaughtExceptionHandlerListener.html b/3.x/okhttp-testing-support/okhttp3/testing/InstallUncaughtExceptionHandlerListener.html deleted file mode 100644 index ed3af2e72..000000000 --- a/3.x/okhttp-testing-support/okhttp3/testing/InstallUncaughtExceptionHandlerListener.html +++ /dev/null @@ -1,343 +0,0 @@ - - - - - - -InstallUncaughtExceptionHandlerListener (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - - -
-
okhttp3.testing
-

Class InstallUncaughtExceptionHandlerListener

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.junit.runner.notification.RunListener
    • -
    • -
        -
      • okhttp3.testing.InstallUncaughtExceptionHandlerListener
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class InstallUncaughtExceptionHandlerListener
    -extends org.junit.runner.notification.RunListener
    -
    A RunListener used to install an aggressive default Thread.UncaughtExceptionHandler similar to the one found on Android. No exceptions - should escape from OkHttp that might cause apps to be killed or tests to fail on Android.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      -
        -
      • - - -

        Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener

        -org.junit.runner.notification.RunListener.ThreadSafe
      • -
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidtestRunFinished(org.junit.runner.Result result) 
      voidtestRunStarted(org.junit.runner.Description description) 
      voidtestStarted(org.junit.runner.Description description) 
      -
        -
      • - - -

        Methods inherited from class org.junit.runner.notification.RunListener

        -testAssumptionFailure, testFailure, testFinished, testIgnored
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        InstallUncaughtExceptionHandlerListener

        -
        public InstallUncaughtExceptionHandlerListener()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        testRunStarted

        -
        public void testRunStarted(org.junit.runner.Description description)
        -
        -
        Overrides:
        -
        testRunStarted in class org.junit.runner.notification.RunListener
        -
        -
      • -
      - - - -
        -
      • -

        testStarted

        -
        public void testStarted(org.junit.runner.Description description)
        -
        -
        Overrides:
        -
        testStarted in class org.junit.runner.notification.RunListener
        -
        -
      • -
      - - - -
        -
      • -

        testRunFinished

        -
        public void testRunFinished(org.junit.runner.Result result)
        -                     throws java.lang.Exception
        -
        -
        Overrides:
        -
        testRunFinished in class org.junit.runner.notification.RunListener
        -
        Throws:
        -
        java.lang.Exception
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/testing/RecordingHostnameVerifier.html b/3.x/okhttp-testing-support/okhttp3/testing/RecordingHostnameVerifier.html deleted file mode 100644 index 167d86d43..000000000 --- a/3.x/okhttp-testing-support/okhttp3/testing/RecordingHostnameVerifier.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - -RecordingHostnameVerifier (OkHttp test support classes 3.0.0 API) - - - - - - - - - - - - -
-
okhttp3.testing
-

Class RecordingHostnameVerifier

-
-
- -
- -
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RecordingHostnameVerifier

        -
        public RecordingHostnameVerifier()
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/testing/class-use/InstallUncaughtExceptionHandlerListener.html b/3.x/okhttp-testing-support/okhttp3/testing/class-use/InstallUncaughtExceptionHandlerListener.html deleted file mode 100644 index c847387fc..000000000 --- a/3.x/okhttp-testing-support/okhttp3/testing/class-use/InstallUncaughtExceptionHandlerListener.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.testing.InstallUncaughtExceptionHandlerListener (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.testing.InstallUncaughtExceptionHandlerListener

-
-
No usage of okhttp3.testing.InstallUncaughtExceptionHandlerListener
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/testing/class-use/RecordingHostnameVerifier.html b/3.x/okhttp-testing-support/okhttp3/testing/class-use/RecordingHostnameVerifier.html deleted file mode 100644 index 2da95c403..000000000 --- a/3.x/okhttp-testing-support/okhttp3/testing/class-use/RecordingHostnameVerifier.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.testing.RecordingHostnameVerifier (OkHttp test support classes 3.0.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.testing.RecordingHostnameVerifier

-
-
No usage of okhttp3.testing.RecordingHostnameVerifier
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/testing/package-frame.html b/3.x/okhttp-testing-support/okhttp3/testing/package-frame.html deleted file mode 100644 index b193e24ec..000000000 --- a/3.x/okhttp-testing-support/okhttp3/testing/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -okhttp3.testing (OkHttp test support classes 3.14.2 API) - - - - - -

okhttp3.testing

- - - diff --git a/3.x/okhttp-testing-support/okhttp3/testing/package-summary.html b/3.x/okhttp-testing-support/okhttp3/testing/package-summary.html deleted file mode 100644 index a9a8a3947..000000000 --- a/3.x/okhttp-testing-support/okhttp3/testing/package-summary.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -okhttp3.testing (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Package okhttp3.testing

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    InstallUncaughtExceptionHandlerListener -
    A RunListener used to install an aggressive default Thread.UncaughtExceptionHandler similar to the one found on Android.
    -
    -
  • -
-
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/testing/package-tree.html b/3.x/okhttp-testing-support/okhttp3/testing/package-tree.html deleted file mode 100644 index 2adc5a6b3..000000000 --- a/3.x/okhttp-testing-support/okhttp3/testing/package-tree.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -okhttp3.testing Class Hierarchy (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.testing

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/okhttp3/testing/package-use.html b/3.x/okhttp-testing-support/okhttp3/testing/package-use.html deleted file mode 100644 index fb54201d7..000000000 --- a/3.x/okhttp-testing-support/okhttp3/testing/package-use.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Package okhttp3.testing (OkHttp test support classes 3.14.2 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.testing

-
-
No usage of okhttp3.testing
- - - - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/overview-frame.html b/3.x/okhttp-testing-support/overview-frame.html deleted file mode 100644 index 2ae06f6c4..000000000 --- a/3.x/okhttp-testing-support/overview-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - -Overview List (OkHttp test support classes 3.14.2 API) - - - - - - - -

 

- - diff --git a/3.x/okhttp-testing-support/overview-summary.html b/3.x/okhttp-testing-support/overview-summary.html deleted file mode 100644 index 57f395a72..000000000 --- a/3.x/okhttp-testing-support/overview-summary.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Overview (OkHttp test support classes 3.14.2 API) - - - - - - - - -
- - - - - - - -
- - -
-

OkHttp test support classes 3.14.2 API

-
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Packages 
PackageDescription
okhttp3 
okhttp3.internal.duplex 
okhttp3.internal.io 
okhttp3.testing 
-
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/overview-tree.html b/3.x/okhttp-testing-support/overview-tree.html deleted file mode 100644 index b5c5c8f12..000000000 --- a/3.x/okhttp-testing-support/overview-tree.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp test support classes 3.14.2 API) - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - - - -
- - -

Copyright © 2019. All Rights Reserved.

- - diff --git a/3.x/okhttp-testing-support/package-list b/3.x/okhttp-testing-support/package-list deleted file mode 100644 index 32f0d229f..000000000 --- a/3.x/okhttp-testing-support/package-list +++ /dev/null @@ -1,4 +0,0 @@ -okhttp3 -okhttp3.internal.duplex -okhttp3.internal.io -okhttp3.testing diff --git a/3.x/okhttp-testing-support/script.js b/3.x/okhttp-testing-support/script.js deleted file mode 100644 index b34635693..000000000 --- a/3.x/okhttp-testing-support/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/3.x/okhttp-testing-support/stylesheet.css b/3.x/okhttp-testing-support/stylesheet.css deleted file mode 100644 index 8841f37c4..000000000 --- a/3.x/okhttp-testing-support/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/3.x/okhttp-testing-support/version.txt b/3.x/okhttp-testing-support/version.txt deleted file mode 100644 index c47b34584..000000000 --- a/3.x/okhttp-testing-support/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.14.2 \ No newline at end of file diff --git a/3.x/okhttp-tls/META-INF/MANIFEST.MF b/3.x/okhttp-tls/META-INF/MANIFEST.MF deleted file mode 100644 index b5547a843..000000000 --- a/3.x/okhttp-tls/META-INF/MANIFEST.MF +++ /dev/null @@ -1,5 +0,0 @@ -Manifest-Version: 1.0 -Built-By: jwilson -Created-By: Apache Maven 3.6.0 -Build-Jdk: 1.8.0_202 - diff --git a/3.x/okhttp-tls/allclasses-frame.html b/3.x/okhttp-tls/allclasses-frame.html deleted file mode 100644 index 49120cde2..000000000 --- a/3.x/okhttp-tls/allclasses-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -All Classes (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-tls/allclasses-noframe.html b/3.x/okhttp-tls/allclasses-noframe.html deleted file mode 100644 index f6d9f430e..000000000 --- a/3.x/okhttp-tls/allclasses-noframe.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -All Classes (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-tls/constant-values.html b/3.x/okhttp-tls/constant-values.html deleted file mode 100644 index 6be957276..000000000 --- a/3.x/okhttp-tls/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/deprecated-list.html b/3.x/okhttp-tls/deprecated-list.html deleted file mode 100644 index fdc365673..000000000 --- a/3.x/okhttp-tls/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/help-doc.html b/3.x/okhttp-tls/help-doc.html deleted file mode 100644 index 74859570e..000000000 --- a/3.x/okhttp-tls/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/index-all.html b/3.x/okhttp-tls/index-all.html deleted file mode 100644 index f8b58f5fc..000000000 --- a/3.x/okhttp-tls/index-all.html +++ /dev/null @@ -1,321 +0,0 @@ - - - - - - -Index (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
A B C D E H K O P R S T V  - - -

A

-
-
addPlatformTrustedCertificates() - Method in class okhttp3.tls.HandshakeCertificates.Builder
-
-
Add all of the host platform's trusted root certificates.
-
-
addSubjectAlternativeName(String) - Method in class okhttp3.tls.HeldCertificate.Builder
-
-
Adds a subject alternative name (SAN) to the certificate.
-
-
addTrustedCertificate(X509Certificate) - Method in class okhttp3.tls.HandshakeCertificates.Builder
-
-
Add a trusted root certificate to use when authenticating a peer.
-
-
- - - -

B

-
-
build() - Method in class okhttp3.tls.HandshakeCertificates.Builder
-
 
-
build() - Method in class okhttp3.tls.HeldCertificate.Builder
-
 
-
Builder() - Constructor for class okhttp3.tls.HandshakeCertificates.Builder
-
 
-
Builder() - Constructor for class okhttp3.tls.HeldCertificate.Builder
-
 
-
- - - -

C

-
-
certificate() - Method in class okhttp3.tls.HeldCertificate
-
 
-
certificateAuthority(int) - Method in class okhttp3.tls.HeldCertificate.Builder
-
-
Set this certificate to be a signing certificate, with up to maxIntermediateCas - intermediate signing certificates beneath it.
-
-
certificatePem() - Method in class okhttp3.tls.HeldCertificate
-
-
Returns the certificate encoded in PEM - format.
-
-
commonName(String) - Method in class okhttp3.tls.HeldCertificate.Builder
-
-
Set this certificate's common name (CN).
-
-
- - - -

D

-
-
duration(long, TimeUnit) - Method in class okhttp3.tls.HeldCertificate.Builder
-
-
Sets the certificate to be valid immediately and until the specified duration has elapsed.
-
-
- - - -

E

-
-
ecdsa256() - Method in class okhttp3.tls.HeldCertificate.Builder
-
-
Configure the certificate to generate a 256-bit ECDSA key, which provides about 128 bits of - security.
-
-
- - - -

H

-
-
HandshakeCertificates - Class in okhttp3.tls
-
-
Certificates to identify which peers to trust and also to earn the trust of those peers in kind.
-
-
HandshakeCertificates.Builder - Class in okhttp3.tls
-
 
-
heldCertificate(HeldCertificate, X509Certificate...) - Method in class okhttp3.tls.HandshakeCertificates.Builder
-
-
Configure the certificate chain to use when being authenticated.
-
-
HeldCertificate - Class in okhttp3.tls
-
-
A certificate and its private key.
-
-
HeldCertificate(KeyPair, X509Certificate) - Constructor for class okhttp3.tls.HeldCertificate
-
 
-
HeldCertificate.Builder - Class in okhttp3.tls
-
-
Build a held certificate with reasonable defaults.
-
-
- - - -

K

-
-
keyManager() - Method in class okhttp3.tls.HandshakeCertificates
-
 
-
keyPair(KeyPair) - Method in class okhttp3.tls.HeldCertificate.Builder
-
-
Sets the public/private key pair used for this certificate.
-
-
keyPair(PublicKey, PrivateKey) - Method in class okhttp3.tls.HeldCertificate.Builder
-
-
Sets the public/private key pair used for this certificate.
-
-
keyPair() - Method in class okhttp3.tls.HeldCertificate
-
 
-
- - - -

O

-
-
okhttp3.tls - package okhttp3.tls
-
-
OkHttp Transport Layer Security (TLS) library.
-
-
organizationalUnit(String) - Method in class okhttp3.tls.HeldCertificate.Builder
-
-
Sets the certificate's organizational unit (OU).
-
-
- - - -

P

-
-
privateKeyPkcs1Pem() - Method in class okhttp3.tls.HeldCertificate
-
-
Returns the RSA private key encoded in PKCS - #1 PEM format.
-
-
privateKeyPkcs8Pem() - Method in class okhttp3.tls.HeldCertificate
-
-
Returns the RSA private key encoded in PKCS - #8 PEM format.
-
-
- - - -

R

-
-
rsa2048() - Method in class okhttp3.tls.HeldCertificate.Builder
-
-
Configure the certificate to generate a 2048-bit RSA key, which provides about 112 bits of - security.
-
-
- - - -

S

-
-
serialNumber(BigInteger) - Method in class okhttp3.tls.HeldCertificate.Builder
-
-
Sets this certificate's serial number.
-
-
serialNumber(long) - Method in class okhttp3.tls.HeldCertificate.Builder
-
-
Sets this certificate's serial number.
-
-
signedBy(HeldCertificate) - Method in class okhttp3.tls.HeldCertificate.Builder
-
-
Set the certificate that will issue this certificate.
-
-
sslContext() - Method in class okhttp3.tls.HandshakeCertificates
-
 
-
sslSocketFactory() - Method in class okhttp3.tls.HandshakeCertificates
-
 
-
- - - -

T

-
-
trustManager() - Method in class okhttp3.tls.HandshakeCertificates
-
 
-
- - - -

V

-
-
validityInterval(long, long) - Method in class okhttp3.tls.HeldCertificate.Builder
-
-
Sets the certificate to be valid in [notBefore..notAfter].
-
-
-A B C D E H K O P R S T V 
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/index.html b/3.x/okhttp-tls/index.html deleted file mode 100644 index 20256b647..000000000 --- a/3.x/okhttp-tls/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - -OkHttp Transport Layer Security (TLS) 3.14.0 API - - - - - - -<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="okhttp3/tls/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/3.x/okhttp-tls/okhttp3/tls/HandshakeCertificates.Builder.html b/3.x/okhttp-tls/okhttp3/tls/HandshakeCertificates.Builder.html deleted file mode 100644 index 88e8431dd..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/HandshakeCertificates.Builder.html +++ /dev/null @@ -1,342 +0,0 @@ - - - - - - -HandshakeCertificates.Builder (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.tls
-

Class HandshakeCertificates.Builder

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Builder

        -
        public Builder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        heldCertificate

        -
        public HandshakeCertificates.Builder heldCertificate(HeldCertificate heldCertificate,
        -                                                     X509Certificate... intermediates)
        -
        Configure the certificate chain to use when being authenticated. The first certificate is - the held certificate, further certificates are included in the handshake so the peer can - build a trusted path to a trusted root certificate. - -

        The chain should include all intermediate certificates but does not need the root - certificate that we expect to be known by the remote peer. The peer already has that - certificate so transmitting it is unnecessary.

        -
      • -
      - - - -
        -
      • -

        addTrustedCertificate

        -
        public HandshakeCertificates.Builder addTrustedCertificate(X509Certificate certificate)
        -
        Add a trusted root certificate to use when authenticating a peer. Peers must provide - a chain of certificates whose root is one of these.
        -
      • -
      - - - -
        -
      • -

        addPlatformTrustedCertificates

        -
        public HandshakeCertificates.Builder addPlatformTrustedCertificates()
        -
        Add all of the host platform's trusted root certificates. This set varies by platform - (Android vs. Java), by platform release (Android 4.4 vs. Android 9), and with user - customizations. - -

        Most TLS clients that connect to hosts on the public Internet should call this method. - Otherwise it is necessary to manually prepare a comprehensive set of trusted roots. - -

        If the host platform is compromised or misconfigured this may contain untrustworthy root - certificates. Applications that connect to a known set of servers may be able to mitigate - this problem with certificate pinning.

        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/HandshakeCertificates.html b/3.x/okhttp-tls/okhttp3/tls/HandshakeCertificates.html deleted file mode 100644 index 35b1a4756..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/HandshakeCertificates.html +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - -HandshakeCertificates (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.tls
-

Class HandshakeCertificates

-
-
- -
-
    -
  • -
    -
    -
    public final class HandshakeCertificates
    -extends Object
    -
    Certificates to identify which peers to trust and also to earn the trust of those peers in kind. - Client and server exchange these certificates during the handshake phase of a TLS connection. - -

    Server Authentication

    - -

    This is the most common form of TLS authentication: clients verify that servers are trusted - and that they own the hostnames that they represent. Server authentication is required. - -

    To perform server authentication: - -

      -
    • The server's handshake certificates must have a held - certificate (a certificate and its private key). The certificate's subject alternative - names must match the server's hostname. The server must also have is a (possibly-empty) - chain of intermediate certificates to establish trust from a root certificate to the - server's certificate. The root certificate is not included in this chain. -
    • The client's handshake certificates must include a set of trusted root certificates. They - will be used to authenticate the server's certificate chain. Typically this is a set of - well-known root certificates that is distributed with the HTTP client or its platform. It - may be augmented by certificates private to an organization or service. -
    - -

    Client Authentication

    - -

    This is authentication of the client by the server during the TLS handshake. Client - authentication is optional. - -

    To perform client authentication: - -

      -
    • The client's handshake certificates must have a held - certificate (a certificate and its private key). The client must also have a - (possibly-empty) chain of intermediate certificates to establish trust from a root - certificate to the client's certificate. The root certificate is not included in this - chain. -
    • The server's handshake certificates must include a set of trusted root certificates. They - will be used to authenticate the client's certificate chain. Typically this is not the same - set of root certificates used in server authentication. Instead it will be a small set of - roots private to an organization or service. -
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/HeldCertificate.Builder.html b/3.x/okhttp-tls/okhttp3/tls/HeldCertificate.Builder.html deleted file mode 100644 index 89d67a782..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/HeldCertificate.Builder.html +++ /dev/null @@ -1,516 +0,0 @@ - - - - - - -HeldCertificate.Builder (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.tls
-

Class HeldCertificate.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    HeldCertificate
    -
    -
    -
    -
    public static final class HeldCertificate.Builder
    -extends Object
    -
    Build a held certificate with reasonable defaults.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Builder

        -
        public Builder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        validityInterval

        -
        public HeldCertificate.Builder validityInterval(long notBefore,
        -                                                long notAfter)
        -
        Sets the certificate to be valid in [notBefore..notAfter]. Both endpoints are - specified in the format of System.currentTimeMillis(). Specify -1L for both values - to use the default interval, 24 hours starting when the certificate is created.
        -
      • -
      - - - -
        -
      • -

        duration

        -
        public HeldCertificate.Builder duration(long duration,
        -                                        TimeUnit unit)
        -
        Sets the certificate to be valid immediately and until the specified duration has elapsed. - The precision of this field is seconds; further precision will be truncated.
        -
      • -
      - - - -
        -
      • -

        addSubjectAlternativeName

        -
        public HeldCertificate.Builder addSubjectAlternativeName(String altName)
        -
        Adds a subject alternative name (SAN) to the certificate. This is usually a literal hostname, - a literal IP address, or a hostname pattern. If no subject alternative names are added that - extension will be omitted.
        -
      • -
      - - - - - - - -
        -
      • -

        organizationalUnit

        -
        public HeldCertificate.Builder organizationalUnit(String ou)
        -
        Sets the certificate's organizational unit (OU). If unset this field will be omitted.
        -
      • -
      - - - -
        -
      • -

        serialNumber

        -
        public HeldCertificate.Builder serialNumber(BigInteger serialNumber)
        -
        Sets this certificate's serial number. If unset the serial number will be 1.
        -
      • -
      - - - -
        -
      • -

        serialNumber

        -
        public HeldCertificate.Builder serialNumber(long serialNumber)
        -
        Sets this certificate's serial number. If unset the serial number will be 1.
        -
      • -
      - - - -
        -
      • -

        keyPair

        -
        public HeldCertificate.Builder keyPair(KeyPair keyPair)
        -
        Sets the public/private key pair used for this certificate. If unset a key pair will be - generated.
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        certificateAuthority

        -
        public HeldCertificate.Builder certificateAuthority(int maxIntermediateCas)
        -
        Set this certificate to be a signing certificate, with up to maxIntermediateCas - intermediate signing certificates beneath it. - -

        By default this certificate cannot not sign other certificates. Set this to 0 so this - certificate can sign other certificates (but those certificates cannot themselves sign - certificates). Set this to 1 so this certificate can sign intermediate certificates that can - themselves sign certificates. Add one for each additional layer of intermediates to permit.

        -
      • -
      - - - -
        -
      • -

        ecdsa256

        -
        public HeldCertificate.Builder ecdsa256()
        -
        Configure the certificate to generate a 256-bit ECDSA key, which provides about 128 bits of - security. ECDSA keys are noticeably faster than RSA keys. - -

        This is the default configuration and has been since this API was introduced in OkHttp - 3.11.0. Note that the default may change in future releases.

        -
      • -
      - - - -
        -
      • -

        rsa2048

        -
        public HeldCertificate.Builder rsa2048()
        -
        Configure the certificate to generate a 2048-bit RSA key, which provides about 112 bits of - security. RSA keys are interoperable with very old clients that don't support ECDSA.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/HeldCertificate.html b/3.x/okhttp-tls/okhttp3/tls/HeldCertificate.html deleted file mode 100644 index 9ddd80cf3..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/HeldCertificate.html +++ /dev/null @@ -1,428 +0,0 @@ - - - - - - -HeldCertificate (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3.tls
-

Class HeldCertificate

-
-
- -
-
    -
  • -
    -
    -
    public final class HeldCertificate
    -extends Object
    -
    A certificate and its private key. These are some properties of certificates that are used with - TLS: - -
      -
    • A common name. This is a string identifier for the certificate. It usually - describes the purpose of the certificate like "Entrust Root Certification Authority - G2" - or "www.squareup.com". -
    • A set of hostnames. These are in the certificate's subject alternative - name (SAN) extension. A subject alternative name is either a literal hostname (squareup.com), a literal IP address (74.122.190.80), or a hostname pattern (*.api.squareup.com). -
    • A validity interval. A certificate should not be used before its validity - interval starts or after it ends. -
    • A public key. This cryptographic key is used for asymmetric encryption - digital signatures. Note that the private key is not a part of the certificate! -
    • A signature issued by another certificate's private key. This mechanism - allows a trusted third-party to endorse a certificate. Third parties should only endorse - certificates once they've confirmed that the owner of the private key is also the owner of - the certificate's other properties. -
    - -

    Certificates are signed by other certificates and a sequence of them is called a certificate - chain. The chain terminates in a self-signed "root" certificate. Signing certificates in the - middle of the chain are called "intermediates". Organizations that offer certificate signing are - called certificate authorities (CAs). - -

    Browsers and other HTTP clients need a set of trusted root certificates to authenticate their - peers. Sets of root certificates are managed by either the HTTP client (like Firefox), or the - host platform (like Android). In July 2018 Android had 134 trusted root certificates for its HTTP - clients to trust. - -

    For example, in order to establish a secure connection to https://www.squareup.com/, - these three certificates are used.

    
    -
    - www.squareup.com certificate:
    -
    -   Common Name: www.squareup.com
    -   Subject Alternative Names: www.squareup.com, squareup.com, account.squareup.com...
    -   Validity: 2018-07-03T20:18:17Z – 2019-08-01T20:48:15Z
    -   Public Key: d107beecc17325f55da976bcbab207ba4df68bd3f8fce7c3b5850311128264fd53e1baa342f58d93...
    -   Signature: 1fb0e66fac05322721fe3a3917f7c98dee1729af39c99eab415f22d8347b508acdf0bab91781c3720...
    -
    - signed by intermediate certificate:
    -
    -   Common Name: Entrust Certification Authority - L1M
    -   Subject Alternative Names: none
    -   Validity: 2014-12-15T15:25:03Z – 2030-10-15T15:55:03Z
    -   Public Key: d081c13923c2b1d1ecf757dd55243691202248f7fcca520ab0ab3f33b5b08407f6df4e7ab0fb9822...
    -   Signature: b487c784221a29c0a478ecf54f1bb484976f77eed4cf59afa843962f1d58dea6f3155b2ed9439c4c4...
    -
    - signed by root certificate:
    -
    -   Common Name: Entrust Root Certification Authority - G2
    -   Subject Alternative Names: none
    -   Validity: 2009-07-07T17:25:54Z – 2030-12-07T17:55:54Z
    -   Public Key: ba84b672db9e0c6be299e93001a776ea32b895411ac9da614e5872cffef68279bf7361060aa527d8...
    -   Self-signed Signature: 799f1d96c6b6793f228d87d3870304606a6b9a2e59897311ac43d1f513ff8d392bc0f...
    -
    - 
    - -

    In this example the HTTP client already knows and trusts the last certificate, "Entrust Root - Certification Authority - G2". That certificate is used to verify the signature of the - intermediate certificate, "Entrust Certification Authority - L1M". The intermediate certificate - is used to verify the signature of the "www.squareup.com" certificate. - -

    This roles are reversed for client authentication. In that case the client has a private key - and a chain of certificates. The server uses a set of trusted root certificates to authenticate - the client. Subject alternative names are not used for client authentication.

    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/class-use/HandshakeCertificates.Builder.html b/3.x/okhttp-tls/okhttp3/tls/class-use/HandshakeCertificates.Builder.html deleted file mode 100644 index 72801744a..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/class-use/HandshakeCertificates.Builder.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - -Uses of Class okhttp3.tls.HandshakeCertificates.Builder (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.tls.HandshakeCertificates.Builder

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/class-use/HandshakeCertificates.html b/3.x/okhttp-tls/okhttp3/tls/class-use/HandshakeCertificates.html deleted file mode 100644 index 9dd5a0b41..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/class-use/HandshakeCertificates.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -Uses of Class okhttp3.tls.HandshakeCertificates (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.tls.HandshakeCertificates

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/class-use/HeldCertificate.Builder.html b/3.x/okhttp-tls/okhttp3/tls/class-use/HeldCertificate.Builder.html deleted file mode 100644 index 0d039f855..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/class-use/HeldCertificate.Builder.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - -Uses of Class okhttp3.tls.HeldCertificate.Builder (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.tls.HeldCertificate.Builder

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/class-use/HeldCertificate.html b/3.x/okhttp-tls/okhttp3/tls/class-use/HeldCertificate.html deleted file mode 100644 index 2470c4878..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/class-use/HeldCertificate.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -Uses of Class okhttp3.tls.HeldCertificate (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.tls.HeldCertificate

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/internal/TlsUtil.html b/3.x/okhttp-tls/okhttp3/tls/internal/TlsUtil.html deleted file mode 100644 index 6ff1956ea..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/internal/TlsUtil.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - - -TlsUtil (OkHttp Transport Layer Security (TLS) 3.12.0 API) - - - - - - - - - - - - -
-
okhttp3.tls.internal
-

Class TlsUtil

-
-
- -
-
    -
  • -
    -
    -
    public final class TlsUtil
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/internal/class-use/TlsUtil.html b/3.x/okhttp-tls/okhttp3/tls/internal/class-use/TlsUtil.html deleted file mode 100644 index 2db7c4323..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/internal/class-use/TlsUtil.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.tls.internal.TlsUtil (OkHttp Transport Layer Security (TLS) 3.12.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.tls.internal.TlsUtil

-
-
No usage of okhttp3.tls.internal.TlsUtil
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/internal/package-frame.html b/3.x/okhttp-tls/okhttp3/tls/internal/package-frame.html deleted file mode 100644 index 103ecc4d9..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/internal/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -okhttp3.tls.internal (OkHttp Transport Layer Security (TLS) 3.12.0 API) - - - - - -

okhttp3.tls.internal

-
-

Classes

- -
- - diff --git a/3.x/okhttp-tls/okhttp3/tls/internal/package-summary.html b/3.x/okhttp-tls/okhttp3/tls/internal/package-summary.html deleted file mode 100644 index 89f8372bf..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/internal/package-summary.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -okhttp3.tls.internal (OkHttp Transport Layer Security (TLS) 3.12.0 API) - - - - - - - - - - - -
-

Package okhttp3.tls.internal

-
-
-
    -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    TlsUtil 
    -
  • -
-
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/internal/package-tree.html b/3.x/okhttp-tls/okhttp3/tls/internal/package-tree.html deleted file mode 100644 index 618161786..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/internal/package-tree.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - -okhttp3.tls.internal Class Hierarchy (OkHttp Transport Layer Security (TLS) 3.12.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.tls.internal

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/internal/package-use.html b/3.x/okhttp-tls/okhttp3/tls/internal/package-use.html deleted file mode 100644 index 073f28004..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/internal/package-use.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Package okhttp3.tls.internal (OkHttp Transport Layer Security (TLS) 3.12.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.tls.internal

-
-
No usage of okhttp3.tls.internal
- - - - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/package-frame.html b/3.x/okhttp-tls/okhttp3/tls/package-frame.html deleted file mode 100644 index 5f11ffdce..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/package-frame.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - -okhttp3.tls (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - -

okhttp3.tls

- - - diff --git a/3.x/okhttp-tls/okhttp3/tls/package-summary.html b/3.x/okhttp-tls/okhttp3/tls/package-summary.html deleted file mode 100644 index 5ad5bd6f3..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/package-summary.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -okhttp3.tls (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - -
-

@EverythingIsNonNull -

-

Package okhttp3.tls

-
-
OkHttp Transport Layer Security (TLS) library.
-
-

See: Description

-
-
- - - - -

Package okhttp3.tls Description

-
OkHttp Transport Layer Security (TLS) library.
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/package-tree.html b/3.x/okhttp-tls/okhttp3/tls/package-tree.html deleted file mode 100644 index ffbe1cbfe..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/package-tree.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - -okhttp3.tls Class Hierarchy (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.tls

-
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/okhttp3/tls/package-use.html b/3.x/okhttp-tls/okhttp3/tls/package-use.html deleted file mode 100644 index 54bc5b9a2..000000000 --- a/3.x/okhttp-tls/okhttp3/tls/package-use.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - -Uses of Package okhttp3.tls (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.tls

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/overview-frame.html b/3.x/okhttp-tls/overview-frame.html deleted file mode 100644 index c5a94e746..000000000 --- a/3.x/okhttp-tls/overview-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -Overview List (OkHttp Transport Layer Security (TLS) 3.12.0 API) - - - - - - - -

 

- - diff --git a/3.x/okhttp-tls/overview-summary.html b/3.x/okhttp-tls/overview-summary.html deleted file mode 100644 index 735ace92a..000000000 --- a/3.x/okhttp-tls/overview-summary.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -Overview (OkHttp Transport Layer Security (TLS) 3.12.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

OkHttp Transport Layer Security (TLS) 3.12.0 API

-
-
- - - - - - - - - - - - - - - - -
Packages 
PackageDescription
okhttp3.tls -
OkHttp Transport Layer Security (TLS) library.
-
okhttp3.tls.internal 
-
- -
- - - - - - - -
- - -

Copyright © 2018. All rights reserved.

- - diff --git a/3.x/okhttp-tls/overview-tree.html b/3.x/okhttp-tls/overview-tree.html deleted file mode 100644 index ced22e1ea..000000000 --- a/3.x/okhttp-tls/overview-tree.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp Transport Layer Security (TLS) 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-tls/package-list b/3.x/okhttp-tls/package-list deleted file mode 100644 index f353f2fbb..000000000 --- a/3.x/okhttp-tls/package-list +++ /dev/null @@ -1 +0,0 @@ -okhttp3.tls diff --git a/3.x/okhttp-tls/script.js b/3.x/okhttp-tls/script.js deleted file mode 100644 index b34635693..000000000 --- a/3.x/okhttp-tls/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/3.x/okhttp-tls/stylesheet.css b/3.x/okhttp-tls/stylesheet.css deleted file mode 100644 index 8841f37c4..000000000 --- a/3.x/okhttp-tls/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/3.x/okhttp-tls/version.txt b/3.x/okhttp-tls/version.txt deleted file mode 100644 index f982feb41..000000000 --- a/3.x/okhttp-tls/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.14.0 diff --git a/3.x/okhttp-urlconnection/META-INF/MANIFEST.MF b/3.x/okhttp-urlconnection/META-INF/MANIFEST.MF deleted file mode 100644 index b5547a843..000000000 --- a/3.x/okhttp-urlconnection/META-INF/MANIFEST.MF +++ /dev/null @@ -1,5 +0,0 @@ -Manifest-Version: 1.0 -Built-By: jwilson -Created-By: Apache Maven 3.6.0 -Build-Jdk: 1.8.0_202 - diff --git a/3.x/okhttp-urlconnection/allclasses-frame.html b/3.x/okhttp-urlconnection/allclasses-frame.html deleted file mode 100644 index cd1dbec80..000000000 --- a/3.x/okhttp-urlconnection/allclasses-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -All Classes (OkHttp URLConnection 3.14.0 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-urlconnection/allclasses-noframe.html b/3.x/okhttp-urlconnection/allclasses-noframe.html deleted file mode 100644 index a0d710135..000000000 --- a/3.x/okhttp-urlconnection/allclasses-noframe.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -All Classes (OkHttp URLConnection 3.14.0 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-urlconnection/constant-values.html b/3.x/okhttp-urlconnection/constant-values.html deleted file mode 100644 index da9dee5e7..000000000 --- a/3.x/okhttp-urlconnection/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp URLConnection 3.14.0 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/deprecated-list.html b/3.x/okhttp-urlconnection/deprecated-list.html deleted file mode 100644 index 872aee865..000000000 --- a/3.x/okhttp-urlconnection/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkHttp URLConnection 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/help-doc.html b/3.x/okhttp-urlconnection/help-doc.html deleted file mode 100644 index 8b7c9cbca..000000000 --- a/3.x/okhttp-urlconnection/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp URLConnection 3.14.0 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/index-all.html b/3.x/okhttp-urlconnection/index-all.html deleted file mode 100644 index accd9ee12..000000000 --- a/3.x/okhttp-urlconnection/index-all.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -Index (OkHttp URLConnection 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
A J L O S  - - -

A

-
-
authenticate(Route, Response) - Method in class okhttp3.JavaNetAuthenticator
-
 
-
- - - -

J

-
-
JavaNetAuthenticator - Class in okhttp3
-
- -
-
JavaNetAuthenticator() - Constructor for class okhttp3.JavaNetAuthenticator
-
 
-
JavaNetCookieJar - Class in okhttp3
-
-
A cookie jar that delegates to a CookieHandler.
-
-
JavaNetCookieJar(CookieHandler) - Constructor for class okhttp3.JavaNetCookieJar
-
 
-
- - - -

L

-
-
loadForRequest(HttpUrl) - Method in class okhttp3.JavaNetCookieJar
-
 
-
- - - -

O

-
-
okhttp3 - package okhttp3
-
 
-
- - - -

S

-
-
saveFromResponse(HttpUrl, List<Cookie>) - Method in class okhttp3.JavaNetCookieJar
-
 
-
-A J L O S 
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/index.html b/3.x/okhttp-urlconnection/index.html deleted file mode 100644 index 2501d18cb..000000000 --- a/3.x/okhttp-urlconnection/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - -OkHttp URLConnection 3.14.0 API - - - - - - -<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="okhttp3/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/3.x/okhttp-urlconnection/okhttp3/JavaNetAuthenticator.html b/3.x/okhttp-urlconnection/okhttp3/JavaNetAuthenticator.html deleted file mode 100644 index cb43a443b..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/JavaNetAuthenticator.html +++ /dev/null @@ -1,303 +0,0 @@ - - - - - - -JavaNetAuthenticator (OkHttp URLConnection 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class JavaNetAuthenticator

-
-
- -
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/JavaNetCookieJar.html b/3.x/okhttp-urlconnection/okhttp3/JavaNetCookieJar.html deleted file mode 100644 index 1ce5ca376..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/JavaNetCookieJar.html +++ /dev/null @@ -1,317 +0,0 @@ - - - - - - -JavaNetCookieJar (OkHttp URLConnection 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class JavaNetCookieJar

-
-
- -
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/OkUrlFactory.html b/3.x/okhttp-urlconnection/okhttp3/OkUrlFactory.html deleted file mode 100644 index 4b202aa2e..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/OkUrlFactory.html +++ /dev/null @@ -1,373 +0,0 @@ - - - - - - -OkUrlFactory (OkHttp URLConnection 3.13.0 API) - - - - - - - - - - - - -
-
okhttp3
-

Class OkUrlFactory

-
-
- -
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/class-use/JavaNetAuthenticator.html b/3.x/okhttp-urlconnection/okhttp3/class-use/JavaNetAuthenticator.html deleted file mode 100644 index 8150566f2..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/class-use/JavaNetAuthenticator.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class okhttp3.JavaNetAuthenticator (OkHttp URLConnection 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.JavaNetAuthenticator

-
-
No usage of okhttp3.JavaNetAuthenticator
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/class-use/JavaNetCookieJar.html b/3.x/okhttp-urlconnection/okhttp3/class-use/JavaNetCookieJar.html deleted file mode 100644 index 187d1d8c8..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/class-use/JavaNetCookieJar.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class okhttp3.JavaNetCookieJar (OkHttp URLConnection 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.JavaNetCookieJar

-
-
No usage of okhttp3.JavaNetCookieJar
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/class-use/OkUrlFactory.html b/3.x/okhttp-urlconnection/okhttp3/class-use/OkUrlFactory.html deleted file mode 100644 index 33a53c4ab..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/class-use/OkUrlFactory.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -Uses of Class okhttp3.OkUrlFactory (OkHttp URLConnection 3.13.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.OkUrlFactory

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/internal/JavaNetCookieJar.html b/3.x/okhttp-urlconnection/okhttp3/internal/JavaNetCookieJar.html deleted file mode 100644 index 1d792b314..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/internal/JavaNetCookieJar.html +++ /dev/null @@ -1,317 +0,0 @@ - - - - - - -JavaNetCookieJar (OkHttp URLConnection 3.0.0-RC1 API) - - - - - - - - - - - - -
-
okhttp3.internal
-

Class JavaNetCookieJar

-
-
- -
- -
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/internal/JavaNetHeaders.html b/3.x/okhttp-urlconnection/okhttp3/internal/JavaNetHeaders.html deleted file mode 100644 index 2ff89b6b3..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/internal/JavaNetHeaders.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -JavaNetHeaders (OkHttp URLConnection 3.0.0-RC1 API) - - - - - - - - - - - - -
-
okhttp3.internal
-

Class JavaNetHeaders

-
-
- -
-
    -
  • -
    -
    -
    public final class JavaNetHeaders
    -extends Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toMultimap

        -
        public static Map<String,List<String>> toMultimap(Headers headers,
        -                                                  String valueForNullKey)
        -
        Returns an immutable map containing each field to its list of values.
        -
        -
        Parameters:
        -
        valueForNullKey - the request line for requests, or the status line for responses. If - non-null, this value is mapped to the null key.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/internal/SystemPropertiesConnectionPool.html b/3.x/okhttp-urlconnection/okhttp3/internal/SystemPropertiesConnectionPool.html deleted file mode 100644 index 8cf0fd777..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/internal/SystemPropertiesConnectionPool.html +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - -SystemPropertiesConnectionPool (OkHttp URLConnection 3.0.0-RC1 API) - - - - - - - - - - - - -
-
okhttp3.internal
-

Class SystemPropertiesConnectionPool

-
-
- -
-
    -
  • -
    -
    -
    public final class SystemPropertiesConnectionPool
    -extends Object
    -
    A shared connection pool that uses system properties for tuning parameters: - -
      -
    • http.keepAlive true if HTTP and SPDY connections should be pooled at all. Default - is true. -
    • http.maxConnections maximum number of idle connections to each to keep in the - pool. Default is 5. -
    • http.keepAliveDuration Time in milliseconds to keep the connection alive in the - pool before closing it. Default is 5 minutes. This property isn't used by HttpURLConnection. -
    - -

    The default instance doesn't 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.

    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/internal/class-use/JavaNetCookieJar.html b/3.x/okhttp-urlconnection/okhttp3/internal/class-use/JavaNetCookieJar.html deleted file mode 100644 index ce4474495..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/internal/class-use/JavaNetCookieJar.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.JavaNetCookieJar (OkHttp URLConnection 3.0.0-RC1 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.JavaNetCookieJar

-
-
No usage of okhttp3.internal.JavaNetCookieJar
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/internal/class-use/JavaNetHeaders.html b/3.x/okhttp-urlconnection/okhttp3/internal/class-use/JavaNetHeaders.html deleted file mode 100644 index 8aecc5f92..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/internal/class-use/JavaNetHeaders.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.JavaNetHeaders (OkHttp URLConnection 3.0.0-RC1 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.JavaNetHeaders

-
-
No usage of okhttp3.internal.JavaNetHeaders
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/internal/class-use/SystemPropertiesConnectionPool.html b/3.x/okhttp-urlconnection/okhttp3/internal/class-use/SystemPropertiesConnectionPool.html deleted file mode 100644 index 6ad825345..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/internal/class-use/SystemPropertiesConnectionPool.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Class okhttp3.internal.SystemPropertiesConnectionPool (OkHttp URLConnection 3.0.0-RC1 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.internal.SystemPropertiesConnectionPool

-
-
No usage of okhttp3.internal.SystemPropertiesConnectionPool
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/internal/package-frame.html b/3.x/okhttp-urlconnection/okhttp3/internal/package-frame.html deleted file mode 100644 index 570369376..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/internal/package-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -okhttp3.internal (OkHttp URLConnection 3.0.0-RC1 API) - - - - - -

okhttp3.internal

- - - diff --git a/3.x/okhttp-urlconnection/okhttp3/internal/package-summary.html b/3.x/okhttp-urlconnection/okhttp3/internal/package-summary.html deleted file mode 100644 index 3807620b9..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/internal/package-summary.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -okhttp3.internal (OkHttp URLConnection 3.0.0-RC1 API) - - - - - - - - - - - -
-

Package okhttp3.internal

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/internal/package-tree.html b/3.x/okhttp-urlconnection/okhttp3/internal/package-tree.html deleted file mode 100644 index 4379a0609..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/internal/package-tree.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - -okhttp3.internal Class Hierarchy (OkHttp URLConnection 3.0.0-RC1 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.internal

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/internal/package-use.html b/3.x/okhttp-urlconnection/okhttp3/internal/package-use.html deleted file mode 100644 index 6f6f02fef..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/internal/package-use.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Uses of Package okhttp3.internal (OkHttp URLConnection 3.0.0-RC1 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.internal

-
-
No usage of okhttp3.internal
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/package-frame.html b/3.x/okhttp-urlconnection/okhttp3/package-frame.html deleted file mode 100644 index 2ca8a76dd..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/package-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -okhttp3 (OkHttp URLConnection 3.14.0 API) - - - - - -

okhttp3

- - - diff --git a/3.x/okhttp-urlconnection/okhttp3/package-summary.html b/3.x/okhttp-urlconnection/okhttp3/package-summary.html deleted file mode 100644 index 7ca8692b0..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/package-summary.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -okhttp3 (OkHttp URLConnection 3.14.0 API) - - - - - - - - - - - -
-

@EverythingIsNonNull -

-

Package okhttp3

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/package-tree.html b/3.x/okhttp-urlconnection/okhttp3/package-tree.html deleted file mode 100644 index 6720e11ff..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/package-tree.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - -okhttp3 Class Hierarchy (OkHttp URLConnection 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3

-
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/okhttp3/package-use.html b/3.x/okhttp-urlconnection/okhttp3/package-use.html deleted file mode 100644 index ff2285344..000000000 --- a/3.x/okhttp-urlconnection/okhttp3/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Package okhttp3 (OkHttp URLConnection 3.14.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3

-
-
No usage of okhttp3
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/overview-frame.html b/3.x/okhttp-urlconnection/overview-frame.html deleted file mode 100644 index 2a7b8d49f..000000000 --- a/3.x/okhttp-urlconnection/overview-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -Overview List (OkHttp URLConnection 3.0.0-RC1 API) - - - - - - -
-

Packages

- -
-

 

- - diff --git a/3.x/okhttp-urlconnection/overview-summary.html b/3.x/okhttp-urlconnection/overview-summary.html deleted file mode 100644 index 8fcda2f0b..000000000 --- a/3.x/okhttp-urlconnection/overview-summary.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Overview (OkHttp URLConnection 3.0.0-RC1 API) - - - - - - - - -
- - - - - - - -
- - -
-

OkHttp URLConnection 3.0.0-RC1 API

-
-
- - - - - - - - - - - - - - - - -
Packages 
PackageDescription
okhttp3 
okhttp3.internal 
-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-urlconnection/overview-tree.html b/3.x/okhttp-urlconnection/overview-tree.html deleted file mode 100644 index c3b9fe089..000000000 --- a/3.x/okhttp-urlconnection/overview-tree.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp URLConnection 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp-urlconnection/package-list b/3.x/okhttp-urlconnection/package-list deleted file mode 100644 index 80c510a07..000000000 --- a/3.x/okhttp-urlconnection/package-list +++ /dev/null @@ -1 +0,0 @@ -okhttp3 diff --git a/3.x/okhttp-urlconnection/script.js b/3.x/okhttp-urlconnection/script.js deleted file mode 100644 index b34635693..000000000 --- a/3.x/okhttp-urlconnection/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/3.x/okhttp-urlconnection/stylesheet.css b/3.x/okhttp-urlconnection/stylesheet.css deleted file mode 100644 index 8841f37c4..000000000 --- a/3.x/okhttp-urlconnection/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/3.x/okhttp-urlconnection/version.txt b/3.x/okhttp-urlconnection/version.txt deleted file mode 100644 index f982feb41..000000000 --- a/3.x/okhttp-urlconnection/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.14.0 diff --git a/3.x/okhttp-ws/META-INF/MANIFEST.MF b/3.x/okhttp-ws/META-INF/MANIFEST.MF deleted file mode 100644 index 0dc2d8902..000000000 --- a/3.x/okhttp-ws/META-INF/MANIFEST.MF +++ /dev/null @@ -1,6 +0,0 @@ -Manifest-Version: 1.0 -Archiver-Version: Plexus Archiver -Created-By: Apache Maven -Built-By: jwilson -Build-Jdk: 1.8.0_92 - diff --git a/3.x/okhttp-ws/allclasses-frame.html b/3.x/okhttp-ws/allclasses-frame.html deleted file mode 100644 index 4484db9eb..000000000 --- a/3.x/okhttp-ws/allclasses-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -All Classes (OkHttp Web Sockets 3.4.2 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-ws/allclasses-noframe.html b/3.x/okhttp-ws/allclasses-noframe.html deleted file mode 100644 index 8df14e90d..000000000 --- a/3.x/okhttp-ws/allclasses-noframe.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -All Classes (OkHttp Web Sockets 3.4.2 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp-ws/constant-values.html b/3.x/okhttp-ws/constant-values.html deleted file mode 100644 index 596d0c7ee..000000000 --- a/3.x/okhttp-ws/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp Web Sockets 3.4.2 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/deprecated-list.html b/3.x/okhttp-ws/deprecated-list.html deleted file mode 100644 index 913b4128b..000000000 --- a/3.x/okhttp-ws/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Deprecated List (OkHttp Web Sockets 3.4.2 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/help-doc.html b/3.x/okhttp-ws/help-doc.html deleted file mode 100644 index baccda995..000000000 --- a/3.x/okhttp-ws/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp Web Sockets 3.4.2 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/index-all.html b/3.x/okhttp-ws/index-all.html deleted file mode 100644 index fd396f4a4..000000000 --- a/3.x/okhttp-ws/index-all.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - -Index (OkHttp Web Sockets 3.4.2 API) - - - - - - - - -
- - - - - - - -
- - -
B C E O S T W  - - -

B

-
-
BINARY - Static variable in interface okhttp3.ws.WebSocket
-
-
A MediaType indicating binary frames should be used when sending the message.
-
-
- - - -

C

-
-
cancel() - Method in class okhttp3.ws.WebSocketCall
-
-
Cancels the request, if possible.
-
-
close(int, String) - Method in interface okhttp3.ws.WebSocket
-
-
Send a close frame to the server.
-
-
create(OkHttpClient, Request) - Static method in class okhttp3.ws.WebSocketCall
-
-
Prepares the request to create a web socket at some point in the future.
-
-
- - - -

E

-
-
enqueue(WebSocketListener) - Method in class okhttp3.ws.WebSocketCall
-
-
Schedules the request to be executed at some point in the future.
-
-
- - - -

O

-
-
okhttp3.ws - package okhttp3.ws
-
 
-
onClose(int, String) - Method in interface okhttp3.ws.WebSocketListener
-
-
Called when the server sends a close message.
-
-
onFailure(IOException, Response) - Method in interface okhttp3.ws.WebSocketListener
-
-
Called when the transport or protocol layer of this web socket errors during communication.
-
-
onMessage(ResponseBody) - Method in interface okhttp3.ws.WebSocketListener
-
-
Called when a server message is received.
-
-
onOpen(WebSocket, Response) - Method in interface okhttp3.ws.WebSocketListener
-
-
Called when the request has successfully been upgraded to a web socket.
-
-
onPong(Buffer) - Method in interface okhttp3.ws.WebSocketListener
-
-
Called when a server pong is received.
-
-
- - - -

S

-
-
sendMessage(RequestBody) - Method in interface okhttp3.ws.WebSocket
-
-
Send a message payload to the server.
-
-
sendPing(Buffer) - Method in interface okhttp3.ws.WebSocket
-
-
Send a ping to the server with optional payload.
-
-
- - - -

T

-
-
TEXT - Static variable in interface okhttp3.ws.WebSocket
-
-
A MediaType indicating UTF-8 text frames should be used when sending the message.
-
-
- - - -

W

-
-
WebSocket - Interface in okhttp3.ws
-
-
Blocking interface to connect and write to a web socket.
-
-
WebSocketCall - Class in okhttp3.ws
-
 
-
WebSocketListener - Interface in okhttp3.ws
-
-
Listener for server-initiated messages on a connected WebSocket.
-
-
-B C E O S T W 
- -
- - - - - - - -
- - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/index.html b/3.x/okhttp-ws/index.html deleted file mode 100644 index 8333bd1ad..000000000 --- a/3.x/okhttp-ws/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - -OkHttp Web Sockets 3.4.2 API - - - - - - -<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="okhttp3/ws/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/3.x/okhttp-ws/okhttp3/ws/WebSocket.html b/3.x/okhttp-ws/okhttp3/ws/WebSocket.html deleted file mode 100644 index 405c99f50..000000000 --- a/3.x/okhttp-ws/okhttp3/ws/WebSocket.html +++ /dev/null @@ -1,342 +0,0 @@ - - - - - - -WebSocket (OkHttp Web Sockets 3.4.2 API) - - - - - - - - - - - - -
-
okhttp3.ws
-

Interface WebSocket

-
-
-
-
    -
  • -
    -
    -
    public interface WebSocket
    -
    Blocking interface to connect and write to a web socket.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static MediaTypeBINARY -
      A MediaType indicating binary frames should be used when sending the message.
      -
      static MediaTypeTEXT -
      A MediaType indicating UTF-8 text frames should be used when sending the message.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidclose(int code, - String reason) -
      Send a close frame to the server.
      -
      voidsendMessage(RequestBody message) -
      Send a message payload to the server.
      -
      voidsendPing(okio.Buffer payload) -
      Send a ping to the server with optional payload.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        TEXT

        -
        static final MediaType TEXT
        -
        A MediaType indicating UTF-8 text frames should be used when sending the message.
        -
      • -
      - - - -
        -
      • -

        BINARY

        -
        static final MediaType BINARY
        -
        A MediaType indicating binary frames should be used when sending the message.
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/okhttp3/ws/WebSocketCall.html b/3.x/okhttp-ws/okhttp3/ws/WebSocketCall.html deleted file mode 100644 index ac169cbde..000000000 --- a/3.x/okhttp-ws/okhttp3/ws/WebSocketCall.html +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - -WebSocketCall (OkHttp Web Sockets 3.4.2 API) - - - - - - - - - - - - -
-
okhttp3.ws
-

Class WebSocketCall

-
-
- -
-
    -
  • -
    -
    -
    public final class WebSocketCall
    -extends Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        create

        -
        public static WebSocketCall create(OkHttpClient client,
        -                                   Request request)
        -
        Prepares the request to create a web socket at some point in the future.
        -
      • -
      - - - -
        -
      • -

        enqueue

        -
        public void enqueue(WebSocketListener listener)
        -
        Schedules the request to be executed at some point in the future. - -

        The dispatcher defines when the request will run: usually - immediately unless there are several other requests currently being executed. - -

        This client will later call back responseCallback with either an HTTP response or a - failure exception. If you cancel() a request before it completes the callback will not - be invoked.

        -
        -
        Throws:
        -
        IllegalStateException - when the call has already been executed.
        -
        -
      • -
      - - - -
        -
      • -

        cancel

        -
        public void cancel()
        -
        Cancels the request, if possible. Requests that are already complete cannot be canceled.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/okhttp3/ws/WebSocketListener.html b/3.x/okhttp-ws/okhttp3/ws/WebSocketListener.html deleted file mode 100644 index baee6d1a9..000000000 --- a/3.x/okhttp-ws/okhttp3/ws/WebSocketListener.html +++ /dev/null @@ -1,323 +0,0 @@ - - - - - - -WebSocketListener (OkHttp Web Sockets 3.4.2 API) - - - - - - - - - - - - -
-
okhttp3.ws
-

Interface WebSocketListener

-
-
-
-
    -
  • -
    -
    -
    public interface WebSocketListener
    -
    Listener for server-initiated messages on a connected WebSocket.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidonClose(int code, - String reason) -
      Called when the server sends a close message.
      -
      voidonFailure(IOException e, - Response response) -
      Called when the transport or protocol layer of this web socket errors during communication.
      -
      voidonMessage(ResponseBody message) -
      Called when a server message is received.
      -
      voidonOpen(WebSocket webSocket, - Response response) -
      Called when the request has successfully been upgraded to a web socket.
      -
      voidonPong(okio.Buffer payload) -
      Called when a server pong is received.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onOpen

        -
        void onOpen(WebSocket webSocket,
        -            Response response)
        -
        Called when the request has successfully been upgraded to a web socket. This method is called - on the message reading thread to allow setting up any state before the message, pong, and close callbacks start. - -

        Do not use this callback to write to the web socket. Start a new thread or use - another thread in your application.

        -
      • -
      - - - -
        -
      • -

        onFailure

        -
        void onFailure(IOException e,
        -               Response response)
        -
        Called when the transport or protocol layer of this web socket errors during communication.
        -
        -
        Parameters:
        -
        response - Present when the failure is a direct result of the response (e.g., failed - upgrade, non-101 response code, etc.). null otherwise.
        -
        -
      • -
      - - - -
        -
      • -

        onMessage

        -
        void onMessage(ResponseBody message)
        -        throws IOException
        -
        Called when a server message is received. The type indicates whether the payload should be interpreted as UTF-8 text or binary data. - -

        Implementations must call source.close() before returning. This - indicates completion of parsing the message payload and will consume any remaining bytes in the - message. - -

        The content type of message will be either - WebSocket.TEXT or WebSocket.BINARY which indicates the format of the message.

        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        onPong

        -
        void onPong(okio.Buffer payload)
        -
        Called when a server pong is received. This is usually a result of calling WebSocket.sendPing(Buffer) but might also be unsolicited.
        -
      • -
      - - - -
        -
      • -

        onClose

        -
        void onClose(int code,
        -             String reason)
        -
        Called when the server sends a close message. This may have been initiated from a call to - close() or as an unprompted message from the server.
        -
        -
        Parameters:
        -
        code - The RFC-compliant - status code.
        -
        reason - Reason for close or an empty string.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/okhttp3/ws/class-use/WebSocket.html b/3.x/okhttp-ws/okhttp3/ws/class-use/WebSocket.html deleted file mode 100644 index e72c66a6c..000000000 --- a/3.x/okhttp-ws/okhttp3/ws/class-use/WebSocket.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Uses of Interface okhttp3.ws.WebSocket (OkHttp Web Sockets 3.4.2 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.ws.WebSocket

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/okhttp3/ws/class-use/WebSocketCall.html b/3.x/okhttp-ws/okhttp3/ws/class-use/WebSocketCall.html deleted file mode 100644 index fcdadd8f4..000000000 --- a/3.x/okhttp-ws/okhttp3/ws/class-use/WebSocketCall.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Uses of Class okhttp3.ws.WebSocketCall (OkHttp Web Sockets 3.4.2 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.ws.WebSocketCall

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/okhttp3/ws/class-use/WebSocketListener.html b/3.x/okhttp-ws/okhttp3/ws/class-use/WebSocketListener.html deleted file mode 100644 index a33e2fd5a..000000000 --- a/3.x/okhttp-ws/okhttp3/ws/class-use/WebSocketListener.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -Uses of Interface okhttp3.ws.WebSocketListener (OkHttp Web Sockets 3.4.2 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.ws.WebSocketListener

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/okhttp3/ws/package-frame.html b/3.x/okhttp-ws/okhttp3/ws/package-frame.html deleted file mode 100644 index 614d35232..000000000 --- a/3.x/okhttp-ws/okhttp3/ws/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -okhttp3.ws (OkHttp Web Sockets 3.4.2 API) - - - - - -

okhttp3.ws

-
-

Interfaces

- -

Classes

- -
- - diff --git a/3.x/okhttp-ws/okhttp3/ws/package-summary.html b/3.x/okhttp-ws/okhttp3/ws/package-summary.html deleted file mode 100644 index 7e0685d77..000000000 --- a/3.x/okhttp-ws/okhttp3/ws/package-summary.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - -okhttp3.ws (OkHttp Web Sockets 3.4.2 API) - - - - - - - - - - - -
-

Package okhttp3.ws

-
-
-
    -
  • - - - - - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    WebSocket -
    Blocking interface to connect and write to a web socket.
    -
    WebSocketListener -
    Listener for server-initiated messages on a connected WebSocket.
    -
    -
  • -
  • - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    WebSocketCall 
    -
  • -
-
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/okhttp3/ws/package-tree.html b/3.x/okhttp-ws/okhttp3/ws/package-tree.html deleted file mode 100644 index e57bb9e99..000000000 --- a/3.x/okhttp-ws/okhttp3/ws/package-tree.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - -okhttp3.ws Class Hierarchy (OkHttp Web Sockets 3.4.2 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3.ws

-
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/okhttp3/ws/package-use.html b/3.x/okhttp-ws/okhttp3/ws/package-use.html deleted file mode 100644 index f70fd9a12..000000000 --- a/3.x/okhttp-ws/okhttp3/ws/package-use.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Uses of Package okhttp3.ws (OkHttp Web Sockets 3.4.2 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3.ws

-
-
- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/overview-tree.html b/3.x/okhttp-ws/overview-tree.html deleted file mode 100644 index 2523af289..000000000 --- a/3.x/okhttp-ws/overview-tree.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp Web Sockets 3.4.2 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- - - - -

Copyright © 2016. All Rights Reserved.

- - diff --git a/3.x/okhttp-ws/package-list b/3.x/okhttp-ws/package-list deleted file mode 100644 index ac850988d..000000000 --- a/3.x/okhttp-ws/package-list +++ /dev/null @@ -1 +0,0 @@ -okhttp3.ws diff --git a/3.x/okhttp-ws/script.js b/3.x/okhttp-ws/script.js deleted file mode 100644 index b34635693..000000000 --- a/3.x/okhttp-ws/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/3.x/okhttp-ws/stylesheet.css b/3.x/okhttp-ws/stylesheet.css deleted file mode 100644 index 8841f37c4..000000000 --- a/3.x/okhttp-ws/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/3.x/okhttp-ws/version.txt b/3.x/okhttp-ws/version.txt deleted file mode 100644 index a423d4217..000000000 --- a/3.x/okhttp-ws/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.4.2 \ No newline at end of file diff --git a/3.x/okhttp/META-INF/MANIFEST.MF b/3.x/okhttp/META-INF/MANIFEST.MF deleted file mode 100644 index b5547a843..000000000 --- a/3.x/okhttp/META-INF/MANIFEST.MF +++ /dev/null @@ -1,5 +0,0 @@ -Manifest-Version: 1.0 -Built-By: jwilson -Created-By: Apache Maven 3.6.0 -Build-Jdk: 1.8.0_202 - diff --git a/3.x/okhttp/allclasses-frame.html b/3.x/okhttp/allclasses-frame.html deleted file mode 100644 index 6dc76ad87..000000000 --- a/3.x/okhttp/allclasses-frame.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - -All Classes (OkHttp 3.14.0 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp/allclasses-noframe.html b/3.x/okhttp/allclasses-noframe.html deleted file mode 100644 index b8627c797..000000000 --- a/3.x/okhttp/allclasses-noframe.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - -All Classes (OkHttp 3.14.0 API) - - - - - -

All Classes

- - - diff --git a/3.x/okhttp/constant-values.html b/3.x/okhttp/constant-values.html deleted file mode 100644 index 86ea7cd52..000000000 --- a/3.x/okhttp/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Constant Field Values (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Constant Field Values

-

Contents

-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/deprecated-list.html b/3.x/okhttp/deprecated-list.html deleted file mode 100644 index c7098a24c..000000000 --- a/3.x/okhttp/deprecated-list.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - -Deprecated List (OkHttp 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

- -
-
- - - - - - - -
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/help-doc.html b/3.x/okhttp/help-doc.html deleted file mode 100644 index ef8704359..000000000 --- a/3.x/okhttp/help-doc.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -API Help (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
-
    -
  • -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    -
      -
    • Interfaces (italic)
    • -
    • Classes
    • -
    • Enums
    • -
    • Exceptions
    • -
    • Errors
    • -
    • Annotation Types
    • -
    -
  • -
  • -

    Class/Interface

    -

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
      -
    • Class inheritance diagram
    • -
    • Direct Subclasses
    • -
    • All Known Subinterfaces
    • -
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • -
    -
      -
    • Nested Class Summary
    • -
    • Field Summary
    • -
    • Constructor Summary
    • -
    • Method Summary
    • -
    -
      -
    • Field Detail
    • -
    • Constructor Detail
    • -
    • Method Detail
    • -
    -

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    -
  • -
  • -

    Annotation Type

    -

    Each annotation type has its own separate page with the following sections:

    -
      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • -
    • Required Element Summary
    • -
    • Optional Element Summary
    • -
    • Element Detail
    • -
    -
  • -
  • -

    Enum

    -

    Each enum has its own separate page with the following sections:

    -
      -
    • Enum declaration
    • -
    • Enum description
    • -
    • Enum Constant Summary
    • -
    • Enum Constant Detail
    • -
    -
  • -
  • -

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    -
  • -
  • -

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    -
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • -
    -
  • -
  • -

    Deprecated API

    -

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    -
  • -
  • -

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    -
  • -
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    -
  • -
  • -

    Serialized Form

    -

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    -
  • -
  • -

    Constant Field Values

    -

    The Constant Field Values page lists the static final fields and their values.

    -
  • -
-This help file applies to API documentation generated using the standard doclet.
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/index-all.html b/3.x/okhttp/index-all.html deleted file mode 100644 index ef7e4c8aa..000000000 --- a/3.x/okhttp/index-all.html +++ /dev/null @@ -1,2495 +0,0 @@ - - - - - - -Index (OkHttp 3.14.0 API) - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I J K L M N O P Q R S T U V W  - - -

A

-
-
add(String, String...) - Method in class okhttp3.CertificatePinner.Builder
-
-
Pins certificates for pattern.
-
-
add(String, String) - Method in class okhttp3.FormBody.Builder
-
 
-
add(String) - Method in class okhttp3.Headers.Builder
-
-
Add an header line containing a field name, a literal colon, and a value.
-
-
add(String, String) - Method in class okhttp3.Headers.Builder
-
-
Add a header with the specified name and value.
-
-
add(String, Date) - Method in class okhttp3.Headers.Builder
-
-
Add a header with the specified name and formatted date.
-
-
add(String, Instant) - Method in class okhttp3.Headers.Builder
-
-
Add a header with the specified name and formatted instant.
-
-
addAll(Headers) - Method in class okhttp3.Headers.Builder
-
-
Adds all headers from an existing collection.
-
-
addEncoded(String, String) - Method in class okhttp3.FormBody.Builder
-
 
-
addEncodedPathSegment(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
addEncodedPathSegments(String) - Method in class okhttp3.HttpUrl.Builder
-
-
Adds a set of encoded path segments separated by a slash (either \ or /).
-
-
addEncodedQueryParameter(String, String) - Method in class okhttp3.HttpUrl.Builder
-
-
Adds the pre-encoded query parameter to this URL's query string.
-
-
addFormDataPart(String, String) - Method in class okhttp3.MultipartBody.Builder
-
-
Add a form data part to the body.
-
-
addFormDataPart(String, String, RequestBody) - Method in class okhttp3.MultipartBody.Builder
-
-
Add a form data part to the body.
-
-
addHeader(String, String) - Method in class okhttp3.Request.Builder
-
-
Adds a header with name and value.
-
-
addHeader(String, String) - Method in class okhttp3.Response.Builder
-
-
Adds a header with name and value.
-
-
addInterceptor(Interceptor) - Method in class okhttp3.OkHttpClient.Builder
-
 
-
addNetworkInterceptor(Interceptor) - Method in class okhttp3.OkHttpClient.Builder
-
 
-
addPart(RequestBody) - Method in class okhttp3.MultipartBody.Builder
-
-
Add a part to the body.
-
-
addPart(Headers, RequestBody) - Method in class okhttp3.MultipartBody.Builder
-
-
Add a part to the body.
-
-
addPart(MultipartBody.Part) - Method in class okhttp3.MultipartBody.Builder
-
-
Add a part to the body.
-
-
addPathSegment(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
addPathSegments(String) - Method in class okhttp3.HttpUrl.Builder
-
-
Adds a set of path segments separated by a slash (either \ or /).
-
-
addQueryParameter(String, String) - Method in class okhttp3.HttpUrl.Builder
-
-
Encodes the query parameter using UTF-8 and adds it to this URL's query string.
-
-
Address - Class in okhttp3
-
-
A specification for a connection to an origin server.
-
-
Address(String, int, Dns, SocketFactory, SSLSocketFactory, HostnameVerifier, CertificatePinner, Authenticator, Proxy, List<Protocol>, List<ConnectionSpec>, ProxySelector) - Constructor for class okhttp3.Address
-
 
-
address() - Method in class okhttp3.Route
-
 
-
addUnsafeNonAscii(String, String) - Method in class okhttp3.Headers.Builder
-
-
Add a header with the specified name and value.
-
-
allEnabledCipherSuites() - Method in class okhttp3.ConnectionSpec.Builder
-
 
-
allEnabledTlsVersions() - Method in class okhttp3.ConnectionSpec.Builder
-
 
-
ALTERNATIVE - Static variable in class okhttp3.MultipartBody
-
-
The "multipart/alternative" type is syntactically identical to "multipart/mixed", but the - semantics are different.
-
-
authenticate(Route, Response) - Method in interface okhttp3.Authenticator
-
-
Returns a request that includes a credential to satisfy an authentication challenge in response.
-
-
Authenticator - Interface in okhttp3
-
-
Performs either preemptive authentication before connecting to a proxy server, - or reactive authentication after receiving a challenge from either an origin web - server or proxy server.
-
-
authenticator() - Method in class okhttp3.OkHttpClient
-
 
-
authenticator(Authenticator) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the authenticator used to respond to challenges from origin servers.
-
-
authParams() - Method in class okhttp3.Challenge
-
-
Returns the auth params, including realm and charset if present, but as - strings.
-
-
- - - -

B

-
-
basic(String, String) - Static method in class okhttp3.Credentials
-
-
Returns an auth credential for the Basic scheme.
-
-
basic(String, String, Charset) - Static method in class okhttp3.Credentials
-
 
-
body() - Method in class okhttp3.MultipartBody.Part
-
 
-
body() - Method in class okhttp3.Request
-
 
-
body() - Method in class okhttp3.Response
-
-
Returns a non-null value if this response was passed to Callback.onResponse(okhttp3.Call, okhttp3.Response) or returned - from Call.execute().
-
-
body(ResponseBody) - Method in class okhttp3.Response.Builder
-
 
-
boundary() - Method in class okhttp3.MultipartBody
-
 
-
build() - Method in class okhttp3.CacheControl.Builder
-
 
-
build() - Method in class okhttp3.CertificatePinner.Builder
-
 
-
build() - Method in class okhttp3.ConnectionSpec.Builder
-
 
-
build() - Method in class okhttp3.Cookie.Builder
-
 
-
build() - Method in class okhttp3.FormBody.Builder
-
 
-
build() - Method in class okhttp3.Headers.Builder
-
 
-
build() - Method in class okhttp3.HttpUrl.Builder
-
 
-
build() - Method in class okhttp3.MultipartBody.Builder
-
-
Assemble the specified parts into a request body.
-
-
build() - Method in class okhttp3.OkHttpClient.Builder
-
 
-
build() - Method in class okhttp3.Request.Builder
-
 
-
build() - Method in class okhttp3.Response.Builder
-
 
-
Builder() - Constructor for class okhttp3.CacheControl.Builder
-
 
-
Builder() - Constructor for class okhttp3.CertificatePinner.Builder
-
 
-
Builder(ConnectionSpec) - Constructor for class okhttp3.ConnectionSpec.Builder
-
 
-
Builder() - Constructor for class okhttp3.Cookie.Builder
-
 
-
Builder() - Constructor for class okhttp3.FormBody.Builder
-
 
-
Builder(Charset) - Constructor for class okhttp3.FormBody.Builder
-
 
-
Builder() - Constructor for class okhttp3.Headers.Builder
-
 
-
Builder() - Constructor for class okhttp3.HttpUrl.Builder
-
 
-
Builder() - Constructor for class okhttp3.MultipartBody.Builder
-
 
-
Builder(String) - Constructor for class okhttp3.MultipartBody.Builder
-
 
-
Builder() - Constructor for class okhttp3.OkHttpClient.Builder
-
 
-
Builder() - Constructor for class okhttp3.Request.Builder
-
 
-
Builder() - Constructor for class okhttp3.Response.Builder
-
 
-
byteCount() - Method in class okhttp3.Headers
-
-
Returns the number of bytes required to encode these headers using HTTP/1.1.
-
-
bytes() - Method in class okhttp3.ResponseBody
-
-
Returns the response as a byte array.
-
-
byteStream() - Method in class okhttp3.ResponseBody
-
 
-
- - - -

C

-
-
Cache - Class in okhttp3
-
-
Caches HTTP and HTTPS responses to the filesystem so they may be reused, saving time and - bandwidth.
-
-
Cache(File, long) - Constructor for class okhttp3.Cache
-
-
Create a cache of at most maxSize bytes in directory.
-
-
cache(Cache) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the response cache to be used to read and write cached responses.
-
-
cache() - Method in class okhttp3.OkHttpClient
-
 
-
CacheControl - Class in okhttp3
-
-
A Cache-Control header with cache directives from a server or client.
-
-
cacheControl(CacheControl) - Method in class okhttp3.Request.Builder
-
-
Sets this request's Cache-Control header, replacing any cache control headers already - present.
-
-
cacheControl() - Method in class okhttp3.Request
-
-
Returns the cache control directives for this response.
-
-
cacheControl() - Method in class okhttp3.Response
-
-
Returns the cache control directives for this response.
-
-
CacheControl.Builder - Class in okhttp3
-
-
Builds a Cache-Control request header.
-
-
cacheResponse(Response) - Method in class okhttp3.Response.Builder
-
 
-
cacheResponse() - Method in class okhttp3.Response
-
-
Returns the raw response received from the cache.
-
-
Call - Interface in okhttp3
-
-
A call is a request that has been prepared for execution.
-
-
call() - Method in interface okhttp3.Interceptor.Chain
-
 
-
Call.Factory - Interface in okhttp3
-
 
-
Callback - Interface in okhttp3
-
 
-
callEnd(Call) - Method in class okhttp3.EventListener
-
-
Invoked immediately after a call has completely ended.
-
-
callFailed(Call, IOException) - Method in class okhttp3.EventListener
-
-
Invoked when a call fails permanently.
-
-
callStart(Call) - Method in class okhttp3.EventListener
-
-
Invoked as soon as a call is enqueued or executed by a client.
-
-
callTimeout(long, TimeUnit) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the default timeout for complete calls.
-
-
callTimeout(Duration) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the default timeout for complete calls.
-
-
callTimeoutMillis() - Method in class okhttp3.OkHttpClient
-
-
Default call timeout (in milliseconds).
-
-
cancel() - Method in interface okhttp3.Call
-
-
Cancels the request, if possible.
-
-
cancel() - Method in interface okhttp3.WebSocket
-
-
Immediately and violently release resources held by this web socket, discarding any enqueued - messages.
-
-
cancelAll() - Method in class okhttp3.Dispatcher
-
-
Cancel all calls currently enqueued or executing.
-
-
certificatePinner() - Method in class okhttp3.Address
-
-
Returns this address's certificate pinner, or null if this is not an HTTPS address.
-
-
CertificatePinner - Class in okhttp3
-
-
Constrains which certificates are trusted.
-
-
certificatePinner(CertificatePinner) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the certificate pinner that constrains which certificates are trusted.
-
-
certificatePinner() - Method in class okhttp3.OkHttpClient
-
 
-
CertificatePinner.Builder - Class in okhttp3
-
-
Builds a configured certificate pinner.
-
-
Challenge - Class in okhttp3
-
-
An RFC 7235 challenge.
-
-
Challenge(String, Map<String, String>) - Constructor for class okhttp3.Challenge
-
 
-
Challenge(String, String) - Constructor for class okhttp3.Challenge
-
 
-
challenges() - Method in class okhttp3.Response
-
-
Returns the RFC 7235 authorization challenges appropriate for this response's code.
-
-
charset() - Method in class okhttp3.Challenge
-
-
Returns the charset that should be used to encode the credentials.
-
-
charset() - Method in class okhttp3.MediaType
-
-
Returns the charset of this media type, or null if this media type doesn't specify a charset.
-
-
charset(Charset) - Method in class okhttp3.MediaType
-
-
Returns the charset of this media type, or defaultValue if either this media type - doesn't specify a charset, of it its charset is unsupported by the current runtime.
-
-
charStream() - Method in class okhttp3.ResponseBody
-
-
Returns the response as a character stream.
-
-
check(String, List<Certificate>) - Method in class okhttp3.CertificatePinner
-
-
Confirms that at least one of the certificates pinned for hostname is in peerCertificates.
-
-
check(String, Certificate...) - Method in class okhttp3.CertificatePinner
-
-
Deprecated. - -
-
-
CipherSuite - Class in okhttp3
-
- -
-
cipherSuite() - Method in class okhttp3.Handshake
-
-
Returns the cipher suite used for the connection.
-
-
cipherSuites(CipherSuite...) - Method in class okhttp3.ConnectionSpec.Builder
-
 
-
cipherSuites(String...) - Method in class okhttp3.ConnectionSpec.Builder
-
 
-
cipherSuites() - Method in class okhttp3.ConnectionSpec
-
-
Returns the cipher suites to use for a connection.
-
-
CLEARTEXT - Static variable in class okhttp3.ConnectionSpec
-
-
Unencrypted, unauthenticated connections for http: URLs.
-
-
clone() - Method in interface okhttp3.Call
-
-
Create a new, identical call to this one which can be enqueued or executed even if this call - has already been.
-
-
close() - Method in class okhttp3.Cache
-
 
-
close() - Method in class okhttp3.Response
-
-
Closes the response body.
-
-
close() - Method in class okhttp3.ResponseBody
-
 
-
close(int, String) - Method in interface okhttp3.WebSocket
-
-
Attempts to initiate a graceful shutdown of this web socket.
-
-
code(int) - Method in class okhttp3.Response.Builder
-
 
-
code() - Method in class okhttp3.Response
-
-
Returns the HTTP status code.
-
-
COMPATIBLE_TLS - Static variable in class okhttp3.ConnectionSpec
-
-
A backwards-compatible fallback configuration that works on obsolete client platforms and can - connect to obsolete servers.
-
-
connectEnd(Call, InetSocketAddress, Proxy, Protocol) - Method in class okhttp3.EventListener
-
-
Invoked immediately after a socket connection was attempted.
-
-
connectFailed(Call, InetSocketAddress, Proxy, Protocol, IOException) - Method in class okhttp3.EventListener
-
-
Invoked when a connection attempt fails.
-
-
Connection - Interface in okhttp3
-
-
The sockets and streams of an HTTP, HTTPS, or HTTPS+HTTP/2 connection.
-
-
connection() - Method in interface okhttp3.Interceptor.Chain
-
-
Returns the connection the request will be executed on.
-
-
connectionAcquired(Call, Connection) - Method in class okhttp3.EventListener
-
-
Invoked after a connection has been acquired for the call.
-
-
connectionCount() - Method in class okhttp3.ConnectionPool
-
-
Returns total number of connections in the pool.
-
-
ConnectionPool - Class in okhttp3
-
-
Manages reuse of HTTP and HTTP/2 connections for reduced network latency.
-
-
ConnectionPool() - Constructor for class okhttp3.ConnectionPool
-
-
Create a new connection pool with tuning parameters appropriate for a single-user application.
-
-
ConnectionPool(int, long, TimeUnit) - Constructor for class okhttp3.ConnectionPool
-
 
-
connectionPool(ConnectionPool) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the connection pool used to recycle HTTP and HTTPS connections.
-
-
connectionPool() - Method in class okhttp3.OkHttpClient
-
 
-
connectionReleased(Call, Connection) - Method in class okhttp3.EventListener
-
-
Invoked after a connection has been released for the call.
-
-
ConnectionSpec - Class in okhttp3
-
-
Specifies configuration for the socket connection that HTTP traffic travels through.
-
-
ConnectionSpec.Builder - Class in okhttp3
-
 
-
connectionSpecs() - Method in class okhttp3.Address
-
 
-
connectionSpecs(List<ConnectionSpec>) - Method in class okhttp3.OkHttpClient.Builder
-
 
-
connectionSpecs() - Method in class okhttp3.OkHttpClient
-
 
-
connectStart(Call, InetSocketAddress, Proxy) - Method in class okhttp3.EventListener
-
-
Invoked just prior to initiating a socket connection.
-
-
connectTimeout(long, TimeUnit) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the default connect timeout for new connections.
-
-
connectTimeout(Duration) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the default connect timeout for new connections.
-
-
connectTimeoutMillis() - Method in interface okhttp3.Interceptor.Chain
-
 
-
connectTimeoutMillis() - Method in class okhttp3.OkHttpClient
-
-
Default connect timeout (in milliseconds).
-
-
contentLength() - Method in class okhttp3.FormBody
-
 
-
contentLength() - Method in class okhttp3.MultipartBody
-
 
-
contentLength() - Method in class okhttp3.RequestBody
-
-
Returns the number of bytes that will be written to sink in a call to RequestBody.writeTo(okio.BufferedSink), - or -1 if that count is unknown.
-
-
contentLength() - Method in class okhttp3.ResponseBody
-
-
Returns the number of bytes in that will returned by ResponseBody.bytes(), or ResponseBody.byteStream(), or - -1 if unknown.
-
-
contentType() - Method in class okhttp3.FormBody
-
 
-
contentType() - Method in class okhttp3.MultipartBody
-
- -
-
contentType() - Method in class okhttp3.RequestBody
-
-
Returns the Content-Type header for this body.
-
-
contentType() - Method in class okhttp3.ResponseBody
-
 
-
Cookie - Class in okhttp3
-
-
An RFC 6265 Cookie.
-
-
Cookie.Builder - Class in okhttp3
-
-
Builds a cookie.
-
-
CookieJar - Interface in okhttp3
-
-
Provides policy and persistence for HTTP cookies.
-
-
cookieJar(CookieJar) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the handler that can accept cookies from incoming HTTP responses and provides cookies to - outgoing HTTP requests.
-
-
cookieJar() - Method in class okhttp3.OkHttpClient
-
 
-
create(Call) - Method in interface okhttp3.EventListener.Factory
-
-
Creates an instance of the EventListener for a particular Call.
-
-
create(RequestBody) - Static method in class okhttp3.MultipartBody.Part
-
 
-
create(Headers, RequestBody) - Static method in class okhttp3.MultipartBody.Part
-
 
-
create(MediaType, String) - Static method in class okhttp3.RequestBody
-
-
Returns a new request body that transmits content.
-
-
create(MediaType, ByteString) - Static method in class okhttp3.RequestBody
-
-
Returns a new request body that transmits content.
-
-
create(MediaType, byte[]) - Static method in class okhttp3.RequestBody
-
-
Returns a new request body that transmits content.
-
-
create(MediaType, byte[], int, int) - Static method in class okhttp3.RequestBody
-
-
Returns a new request body that transmits content.
-
-
create(MediaType, File) - Static method in class okhttp3.RequestBody
-
-
Returns a new request body that transmits the content of file.
-
-
create(MediaType, String) - Static method in class okhttp3.ResponseBody
-
-
Returns a new response body that transmits content.
-
-
create(MediaType, byte[]) - Static method in class okhttp3.ResponseBody
-
-
Returns a new response body that transmits content.
-
-
create(MediaType, ByteString) - Static method in class okhttp3.ResponseBody
-
-
Returns a new response body that transmits content.
-
-
create(MediaType, long, BufferedSource) - Static method in class okhttp3.ResponseBody
-
-
Returns a new response body that transmits content.
-
-
createFormData(String, String) - Static method in class okhttp3.MultipartBody.Part
-
 
-
createFormData(String, String, RequestBody) - Static method in class okhttp3.MultipartBody.Part
-
 
-
Credentials - Class in okhttp3
-
-
Factory for HTTP authorization credentials.
-
-
- - - -

D

-
-
DEFAULT - Static variable in class okhttp3.CertificatePinner
-
 
-
defaultPort(String) - Static method in class okhttp3.HttpUrl
-
-
Returns 80 if scheme.equals("http"), 443 if scheme.equals("https") and -1 - otherwise.
-
-
delete() - Method in class okhttp3.Cache
-
-
Closes the cache and deletes all of its stored values.
-
-
delete(RequestBody) - Method in class okhttp3.Request.Builder
-
 
-
delete() - Method in class okhttp3.Request.Builder
-
 
-
DIGEST - Static variable in class okhttp3.MultipartBody
-
-
This type is syntactically identical to "multipart/mixed", but the semantics are different.
-
-
directory() - Method in class okhttp3.Cache
-
 
-
Dispatcher - Class in okhttp3
-
-
Policy on when async requests are executed.
-
-
Dispatcher(ExecutorService) - Constructor for class okhttp3.Dispatcher
-
 
-
Dispatcher() - Constructor for class okhttp3.Dispatcher
-
 
-
dispatcher(Dispatcher) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the dispatcher used to set policy and execute asynchronous requests.
-
-
dispatcher() - Method in class okhttp3.OkHttpClient
-
 
-
dns() - Method in class okhttp3.Address
-
-
Returns the service that will be used to resolve IP addresses for hostnames.
-
-
Dns - Interface in okhttp3
-
-
A domain name service that resolves IP addresses for host names.
-
-
dns(Dns) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the DNS service used to lookup IP addresses for hostnames.
-
-
dns() - Method in class okhttp3.OkHttpClient
-
 
-
dnsEnd(Call, String, List<InetAddress>) - Method in class okhttp3.EventListener
-
-
Invoked immediately after a DNS lookup.
-
-
dnsStart(Call, String) - Method in class okhttp3.EventListener
-
-
Invoked just prior to a DNS lookup.
-
-
domain(String) - Method in class okhttp3.Cookie.Builder
-
-
Set the domain pattern for this cookie.
-
-
domain() - Method in class okhttp3.Cookie
-
-
Returns the cookie's domain.
-
-
- - - -

E

-
-
encodedFragment(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
encodedFragment() - Method in class okhttp3.HttpUrl
-
-
Returns this URL's encoded fragment, like "abc" for http://host/#abc.
-
-
encodedName(int) - Method in class okhttp3.FormBody
-
 
-
encodedPassword(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
encodedPassword() - Method in class okhttp3.HttpUrl
-
-
Returns the password, or an empty string if none is set.
-
-
encodedPath(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
encodedPath() - Method in class okhttp3.HttpUrl
-
-
Returns the entire path of this URL encoded for use in HTTP resource resolution.
-
-
encodedPathSegments() - Method in class okhttp3.HttpUrl
-
-
Returns a list of encoded path segments like ["a", "b", "c"] for the URL http://host/a/b/c.
-
-
encodedQuery(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
encodedQuery() - Method in class okhttp3.HttpUrl
-
-
Returns the query of this URL, encoded for use in HTTP resource resolution.
-
-
encodedUsername(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
encodedUsername() - Method in class okhttp3.HttpUrl
-
-
Returns the username, or an empty string if none is set.
-
-
encodedValue(int) - Method in class okhttp3.FormBody
-
 
-
enqueue(Callback) - Method in interface okhttp3.Call
-
-
Schedules the request to be executed at some point in the future.
-
-
equals(Object) - Method in class okhttp3.Address
-
 
-
equals(Object) - Method in class okhttp3.CertificatePinner
-
 
-
equals(Object) - Method in class okhttp3.Challenge
-
 
-
equals(Object) - Method in class okhttp3.ConnectionSpec
-
 
-
equals(Object) - Method in class okhttp3.Cookie
-
 
-
equals(Object) - Method in class okhttp3.Handshake
-
 
-
equals(Object) - Method in class okhttp3.Headers
-
-
Returns true if other is a Headers object with the same headers, with the same - casing, in the same order.
-
-
equals(Object) - Method in class okhttp3.HttpUrl
-
 
-
equals(Object) - Method in class okhttp3.MediaType
-
 
-
equals(Object) - Method in class okhttp3.Route
-
 
-
EventListener - Class in okhttp3
-
-
Listener for metrics events.
-
-
EventListener() - Constructor for class okhttp3.EventListener
-
 
-
eventListener(EventListener) - Method in class okhttp3.OkHttpClient.Builder
-
-
Configure a single client scoped listener that will receive all analytic events - for this client.
-
-
EventListener.Factory - Interface in okhttp3
-
 
-
eventListenerFactory(EventListener.Factory) - Method in class okhttp3.OkHttpClient.Builder
-
-
Configure a factory to provide per-call scoped listeners that will receive analytic events - for this client.
-
-
eventListenerFactory() - Method in class okhttp3.OkHttpClient
-
 
-
evictAll() - Method in class okhttp3.Cache
-
-
Deletes all values stored in the cache.
-
-
evictAll() - Method in class okhttp3.ConnectionPool
-
-
Close and remove all idle connections in the pool.
-
-
execute() - Method in interface okhttp3.Call
-
-
Invokes the request immediately, and blocks until the response can be processed or is in - error.
-
-
executorService() - Method in class okhttp3.Dispatcher
-
 
-
expiresAt(long) - Method in class okhttp3.Cookie.Builder
-
 
-
expiresAt() - Method in class okhttp3.Cookie
-
-
Returns the time that this cookie expires, in the same format as System.currentTimeMillis().
-
-
- - - -

F

-
-
flush() - Method in class okhttp3.Cache
-
 
-
followRedirects(boolean) - Method in class okhttp3.OkHttpClient.Builder
-
-
Configure this client to follow redirects.
-
-
followRedirects() - Method in class okhttp3.OkHttpClient
-
 
-
followSslRedirects(boolean) - Method in class okhttp3.OkHttpClient.Builder
-
-
Configure this client to follow redirects from HTTPS to HTTP and from HTTP to HTTPS.
-
-
followSslRedirects() - Method in class okhttp3.OkHttpClient
-
 
-
FORCE_CACHE - Static variable in class okhttp3.CacheControl
-
-
Cache control request directives that uses the cache only, even if the cached response is - stale.
-
-
FORCE_NETWORK - Static variable in class okhttp3.CacheControl
-
-
Cache control request directives that require network validation of responses.
-
-
forJavaName(String) - Static method in class okhttp3.CipherSuite
-
 
-
forJavaName(String) - Static method in enum okhttp3.TlsVersion
-
 
-
FORM - Static variable in class okhttp3.MultipartBody
-
-
The media-type multipart/form-data follows the rules of all multipart MIME data streams as - outlined in RFC 2046.
-
-
FormBody - Class in okhttp3
-
 
-
FormBody.Builder - Class in okhttp3
-
 
-
fragment(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
fragment() - Method in class okhttp3.HttpUrl
-
-
Returns this URL's fragment, like "abc" for http://host/#abc.
-
-
- - - -

G

-
-
get(SSLSession) - Static method in class okhttp3.Handshake
-
 
-
get(TlsVersion, CipherSuite, List<Certificate>, List<Certificate>) - Static method in class okhttp3.Handshake
-
 
-
get(String) - Method in class okhttp3.Headers.Builder
-
-
Equivalent to build().get(name), but potentially faster.
-
-
get(String) - Method in class okhttp3.Headers
-
-
Returns the last value corresponding to the specified field, or null.
-
-
get(String) - Static method in class okhttp3.HttpUrl
-
-
Returns a new HttpUrl representing url.
-
-
get(URL) - Static method in class okhttp3.HttpUrl
-
-
Returns an HttpUrl for url if its protocol is http or https, or - null if it has any other protocol.
-
-
get(URI) - Static method in class okhttp3.HttpUrl
-
 
-
get(String) - Static method in class okhttp3.MediaType
-
-
Returns a media type for string.
-
-
get(String) - Static method in enum okhttp3.Protocol
-
-
Returns the protocol identified by protocol.
-
-
get() - Method in class okhttp3.Request.Builder
-
 
-
getDate(String) - Method in class okhttp3.Headers
-
-
Returns the last value corresponding to the specified field parsed as an HTTP date, or null if - either the field is absent or cannot be parsed as a date.
-
-
getInstant(String) - Method in class okhttp3.Headers
-
-
Returns the last value corresponding to the specified field parsed as an HTTP date, or null if - either the field is absent or cannot be parsed as a date.
-
-
getMaxRequests() - Method in class okhttp3.Dispatcher
-
 
-
getMaxRequestsPerHost() - Method in class okhttp3.Dispatcher
-
 
-
- - - -

H

-
-
handshake() - Method in interface okhttp3.Connection
-
-
Returns the TLS handshake used to establish this connection, or null if the connection is not - HTTPS.
-
-
Handshake - Class in okhttp3
-
-
A record of a TLS handshake.
-
-
handshake(Handshake) - Method in class okhttp3.Response.Builder
-
 
-
handshake() - Method in class okhttp3.Response
-
-
Returns the TLS handshake of the connection that carried this response, or null if the response - was received without TLS.
-
-
hashCode() - Method in class okhttp3.Address
-
 
-
hashCode() - Method in class okhttp3.CertificatePinner
-
 
-
hashCode() - Method in class okhttp3.Challenge
-
 
-
hashCode() - Method in class okhttp3.ConnectionSpec
-
 
-
hashCode() - Method in class okhttp3.Cookie
-
 
-
hashCode() - Method in class okhttp3.Handshake
-
 
-
hashCode() - Method in class okhttp3.Headers
-
 
-
hashCode() - Method in class okhttp3.HttpUrl
-
 
-
hashCode() - Method in class okhttp3.MediaType
-
 
-
hashCode() - Method in class okhttp3.Route
-
 
-
head() - Method in class okhttp3.Request.Builder
-
 
-
header(String, String) - Method in class okhttp3.Request.Builder
-
-
Sets the header named name to value.
-
-
header(String) - Method in class okhttp3.Request
-
 
-
header(String, String) - Method in class okhttp3.Response.Builder
-
-
Sets the header named name to value.
-
-
header(String) - Method in class okhttp3.Response
-
 
-
header(String, String) - Method in class okhttp3.Response
-
 
-
Headers - Class in okhttp3
-
-
The header fields of a single HTTP message.
-
-
headers() - Method in class okhttp3.MultipartBody.Part
-
 
-
headers(Headers) - Method in class okhttp3.Request.Builder
-
-
Removes all headers on this builder and adds headers.
-
-
headers() - Method in class okhttp3.Request
-
 
-
headers(String) - Method in class okhttp3.Request
-
 
-
headers(Headers) - Method in class okhttp3.Response.Builder
-
-
Removes all headers on this builder and adds headers.
-
-
headers(String) - Method in class okhttp3.Response
-
 
-
headers() - Method in class okhttp3.Response
-
 
-
Headers.Builder - Class in okhttp3
-
 
-
hitCount() - Method in class okhttp3.Cache
-
 
-
host(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
host() - Method in class okhttp3.HttpUrl
-
-
Returns the host address suitable for use with InetAddress.getAllByName(String).
-
-
hostnameVerifier() - Method in class okhttp3.Address
-
-
Returns the hostname verifier, or null if this is not an HTTPS address.
-
-
hostnameVerifier(HostnameVerifier) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the verifier used to confirm that response certificates apply to requested hostnames for - HTTPS connections.
-
-
hostnameVerifier() - Method in class okhttp3.OkHttpClient
-
 
-
hostOnly() - Method in class okhttp3.Cookie
-
-
Returns true if this cookie's domain should be interpreted as a single host name, or false if - it should be interpreted as a pattern.
-
-
hostOnlyDomain(String) - Method in class okhttp3.Cookie.Builder
-
-
Set the host-only domain for this cookie.
-
-
httpOnly() - Method in class okhttp3.Cookie.Builder
-
 
-
httpOnly() - Method in class okhttp3.Cookie
-
-
Returns true if this cookie should be limited to only HTTP APIs.
-
-
HttpUrl - Class in okhttp3
-
-
A uniform resource locator (URL) with a scheme of either http or https.
-
-
HttpUrl.Builder - Class in okhttp3
-
 
-
- - - -

I

-
-
idleConnectionCount() - Method in class okhttp3.ConnectionPool
-
-
Returns the number of idle connections in the pool.
-
-
immutable() - Method in class okhttp3.CacheControl.Builder
-
 
-
immutable() - Method in class okhttp3.CacheControl
-
 
-
initialize() - Method in class okhttp3.Cache
-
-
Initialize the cache.
-
-
intercept(Interceptor.Chain) - Method in interface okhttp3.Interceptor
-
 
-
Interceptor - Interface in okhttp3
-
-
Observes, modifies, and potentially short-circuits requests going out and the corresponding - responses coming back in.
-
-
Interceptor.Chain - Interface in okhttp3
-
 
-
interceptors() - Method in class okhttp3.OkHttpClient.Builder
-
-
Returns a modifiable list of interceptors that observe the full span of each call: from - before the connection is established (if any) until after the response source is selected - (either the origin server, cache, or both).
-
-
interceptors() - Method in class okhttp3.OkHttpClient
-
-
Returns an immutable list of interceptors that observe the full span of each call: from before - the connection is established (if any) until after the response source is selected (either the - origin server, cache, or both).
-
-
isCanceled() - Method in interface okhttp3.Call
-
 
-
isClosed() - Method in class okhttp3.Cache
-
 
-
isCompatible(SSLSocket) - Method in class okhttp3.ConnectionSpec
-
-
Returns true if the socket, as currently configured, supports this connection spec.
-
-
isDuplex() - Method in class okhttp3.RequestBody
-
-
A duplex request body is special in how it is transmitted on the network and - in the API contract between OkHttp and the application.
-
-
isExecuted() - Method in interface okhttp3.Call
-
-
Returns true if this call has been either executed or enqueued.
-
-
isHttps() - Method in class okhttp3.HttpUrl
-
 
-
isHttps() - Method in class okhttp3.Request
-
 
-
isOneShot() - Method in class okhttp3.RequestBody
-
-
Returns true if this body expects at most one call to RequestBody.writeTo(okio.BufferedSink) and can be transmitted - at most once.
-
-
isPrivate() - Method in class okhttp3.CacheControl
-
 
-
isPublic() - Method in class okhttp3.CacheControl
-
 
-
isRedirect() - Method in class okhttp3.Response
-
-
Returns true if this response redirects to another resource.
-
-
isSuccessful() - Method in class okhttp3.Response
-
-
Returns true if the code is in [200..300), which means the request was successfully received, - understood, and accepted.
-
-
isTls() - Method in class okhttp3.ConnectionSpec
-
 
-
- - - -

J

-
-
javaName() - Method in class okhttp3.CipherSuite
-
-
Returns the Java name of this cipher suite.
-
-
javaName() - Method in enum okhttp3.TlsVersion
-
 
-
- - - -

K

-
-
key(HttpUrl) - Static method in class okhttp3.Cache
-
 
-
- - - -

L

-
-
loadForRequest(HttpUrl) - Method in interface okhttp3.CookieJar
-
-
Load cookies from the jar for an HTTP request to url.
-
-
localCertificates() - Method in class okhttp3.Handshake
-
-
Returns a possibly-empty list of certificates that identify this peer.
-
-
localPrincipal() - Method in class okhttp3.Handshake
-
-
Returns the local principle, or null if this peer is anonymous.
-
-
lookup(String) - Method in interface okhttp3.Dns
-
-
Returns the IP addresses of hostname, in the order they will be attempted by OkHttp.
-
-
- - - -

M

-
-
matches(HttpUrl) - Method in class okhttp3.Cookie
-
-
Returns true if this cookie should be included on a request to url.
-
-
maxAge(int, TimeUnit) - Method in class okhttp3.CacheControl.Builder
-
-
Sets the maximum age of a cached response.
-
-
maxAgeSeconds() - Method in class okhttp3.CacheControl
-
-
The duration past the response's served date that it can be served without validation.
-
-
maxSize() - Method in class okhttp3.Cache
-
-
Max size of the cache (in bytes).
-
-
maxStale(int, TimeUnit) - Method in class okhttp3.CacheControl.Builder
-
-
Accept cached responses that have exceeded their freshness lifetime by up to maxStale.
-
-
maxStaleSeconds() - Method in class okhttp3.CacheControl
-
 
-
MediaType - Class in okhttp3
-
-
An RFC 2045 Media Type, appropriate to describe - the content type of an HTTP request or response body.
-
-
message(String) - Method in class okhttp3.Response.Builder
-
 
-
message() - Method in class okhttp3.Response
-
-
Returns the HTTP status message.
-
-
method(String, RequestBody) - Method in class okhttp3.Request.Builder
-
 
-
method() - Method in class okhttp3.Request
-
 
-
minFresh(int, TimeUnit) - Method in class okhttp3.CacheControl.Builder
-
-
Sets the minimum number of seconds that a response will continue to be fresh for.
-
-
minFreshSeconds() - Method in class okhttp3.CacheControl
-
 
-
MIXED - Static variable in class okhttp3.MultipartBody
-
-
The "mixed" subtype of "multipart" is intended for use when the body parts are independent and - need to be bundled in a particular order.
-
-
MODERN_TLS - Static variable in class okhttp3.ConnectionSpec
-
-
A modern TLS configuration that works on most client platforms and can connect to most servers.
-
-
MultipartBody - Class in okhttp3
-
-
An RFC 2387-compliant request body.
-
-
MultipartBody.Builder - Class in okhttp3
-
 
-
MultipartBody.Part - Class in okhttp3
-
 
-
mustRevalidate() - Method in class okhttp3.CacheControl
-
 
-
- - - -

N

-
-
name(String) - Method in class okhttp3.Cookie.Builder
-
 
-
name() - Method in class okhttp3.Cookie
-
-
Returns a non-empty string with this cookie's name.
-
-
name(int) - Method in class okhttp3.FormBody
-
 
-
name(int) - Method in class okhttp3.Headers
-
-
Returns the field at position.
-
-
names() - Method in class okhttp3.Headers
-
-
Returns an immutable case-insensitive set of header names.
-
-
networkCount() - Method in class okhttp3.Cache
-
 
-
networkInterceptors() - Method in class okhttp3.OkHttpClient.Builder
-
-
Returns a modifiable list of interceptors that observe a single network request and response.
-
-
networkInterceptors() - Method in class okhttp3.OkHttpClient
-
-
Returns an immutable list of interceptors that observe a single network request and response.
-
-
networkResponse(Response) - Method in class okhttp3.Response.Builder
-
 
-
networkResponse() - Method in class okhttp3.Response
-
-
Returns the raw response received from the network.
-
-
newBuilder() - Method in class okhttp3.Headers
-
 
-
newBuilder() - Method in class okhttp3.HttpUrl
-
 
-
newBuilder(String) - Method in class okhttp3.HttpUrl
-
-
Returns a builder for the URL that would be retrieved by following link from this URL, - or null if the resulting URL is not well-formed.
-
-
newBuilder() - Method in class okhttp3.OkHttpClient
-
 
-
newBuilder() - Method in class okhttp3.Request
-
 
-
newBuilder() - Method in class okhttp3.Response
-
 
-
newCall(Request) - Method in interface okhttp3.Call.Factory
-
 
-
newCall(Request) - Method in class okhttp3.OkHttpClient
-
-
Prepares the request to be executed at some point in the future.
-
-
newWebSocket(Request, WebSocketListener) - Method in class okhttp3.OkHttpClient
-
-
Uses request to connect a new web socket.
-
-
newWebSocket(Request, WebSocketListener) - Method in interface okhttp3.WebSocket.Factory
-
-
Creates a new web socket and immediately returns it.
-
-
NO_COOKIES - Static variable in interface okhttp3.CookieJar
-
-
A cookie jar that never accepts any cookies.
-
-
noCache() - Method in class okhttp3.CacheControl.Builder
-
-
Don't accept an unvalidated cached response.
-
-
noCache() - Method in class okhttp3.CacheControl
-
-
In a response, this field's name "no-cache" is misleading.
-
-
NONE - Static variable in interface okhttp3.Authenticator
-
-
An authenticator that knows no credentials and makes no attempt to authenticate.
-
-
NONE - Static variable in class okhttp3.EventListener
-
 
-
noStore() - Method in class okhttp3.CacheControl.Builder
-
-
Don't store the server's response in any cache.
-
-
noStore() - Method in class okhttp3.CacheControl
-
-
If true, this response should not be cached.
-
-
noTransform() - Method in class okhttp3.CacheControl.Builder
-
-
Don't accept a transformed response.
-
-
noTransform() - Method in class okhttp3.CacheControl
-
 
-
- - - -

O

-
-
of(String...) - Static method in class okhttp3.Headers
-
-
Returns headers for the alternating header names and values.
-
-
of(Map<String, String>) - Static method in class okhttp3.Headers
-
-
Returns headers for the header names and values in the Map.
-
-
okhttp3 - package okhttp3
-
-
An HTTP+HTTP/2 client for Android and Java applications.
-
-
OkHttpClient - Class in okhttp3
-
-
Factory for calls, which can be used to send HTTP requests and read their - responses.
-
-
OkHttpClient() - Constructor for class okhttp3.OkHttpClient
-
 
-
OkHttpClient.Builder - Class in okhttp3
-
 
-
onClosed(WebSocket, int, String) - Method in class okhttp3.WebSocketListener
-
-
Invoked when both peers have indicated that no more messages will be transmitted and the - connection has been successfully released.
-
-
onClosing(WebSocket, int, String) - Method in class okhttp3.WebSocketListener
-
-
Invoked when the remote peer has indicated that no more incoming messages will be - transmitted.
-
-
onFailure(Call, IOException) - Method in interface okhttp3.Callback
-
-
Called when the request could not be executed due to cancellation, a connectivity problem or - timeout.
-
-
onFailure(WebSocket, Throwable, Response) - Method in class okhttp3.WebSocketListener
-
-
Invoked when a web socket has been closed due to an error reading from or writing to the - network.
-
-
onlyIfCached() - Method in class okhttp3.CacheControl.Builder
-
-
Only accept the response if it is in the cache.
-
-
onlyIfCached() - Method in class okhttp3.CacheControl
-
-
This field's name "only-if-cached" is misleading.
-
-
onMessage(WebSocket, String) - Method in class okhttp3.WebSocketListener
-
-
Invoked when a text (type 0x1) message has been received.
-
-
onMessage(WebSocket, ByteString) - Method in class okhttp3.WebSocketListener
-
-
Invoked when a binary (type 0x2) message has been received.
-
-
onOpen(WebSocket, Response) - Method in class okhttp3.WebSocketListener
-
-
Invoked when a web socket has been accepted by the remote peer and may begin transmitting - messages.
-
-
onResponse(Call, Response) - Method in interface okhttp3.Callback
-
-
Called when the HTTP response was successfully returned by the remote server.
-
-
- - - -

P

-
-
PARALLEL - Static variable in class okhttp3.MultipartBody
-
-
This type is syntactically identical to "multipart/mixed", but the semantics are different.
-
-
parse(Headers) - Static method in class okhttp3.CacheControl
-
-
Returns the cache directives of headers.
-
-
parse(HttpUrl, String) - Static method in class okhttp3.Cookie
-
-
Attempt to parse a Set-Cookie HTTP header value setCookie as a cookie.
-
-
parse(String) - Static method in class okhttp3.HttpUrl
-
-
Returns a new HttpUrl representing url if it is a well-formed HTTP or HTTPS - URL, or null if it isn't.
-
-
parse(String) - Static method in class okhttp3.MediaType
-
-
Returns a media type for string, or null if string is not a well-formed media - type.
-
-
parseAll(HttpUrl, Headers) - Static method in class okhttp3.Cookie
-
-
Returns all of the cookies from a set of HTTP response headers.
-
-
part(int) - Method in class okhttp3.MultipartBody
-
 
-
parts() - Method in class okhttp3.MultipartBody
-
 
-
password(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
password() - Method in class okhttp3.HttpUrl
-
-
Returns the decoded password, or an empty string if none is present.
-
-
patch(RequestBody) - Method in class okhttp3.Request.Builder
-
 
-
path(String) - Method in class okhttp3.Cookie.Builder
-
 
-
path() - Method in class okhttp3.Cookie
-
-
Returns this cookie's path.
-
-
pathSegments() - Method in class okhttp3.HttpUrl
-
-
Returns a list of path segments like ["a", "b", "c"] for the URL http://host/a/b/c.
-
-
pathSize() - Method in class okhttp3.HttpUrl
-
-
Returns the number of segments in this URL's path.
-
-
peekBody(long) - Method in class okhttp3.Response
-
-
Peeks up to byteCount bytes from the response body and returns them as a new response - body.
-
-
peerCertificates() - Method in class okhttp3.Handshake
-
-
Returns a possibly-empty list of certificates that identify the remote peer.
-
-
peerPrincipal() - Method in class okhttp3.Handshake
-
-
Returns the remote peer's principle, or null if that peer is anonymous.
-
-
persistent() - Method in class okhttp3.Cookie
-
-
Returns true if this cookie does not expire at the end of the current session.
-
-
pin(Certificate) - Static method in class okhttp3.CertificatePinner
-
-
Returns the SHA-256 of certificate's public key.
-
-
pingInterval(long, TimeUnit) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the interval between HTTP/2 and web socket pings initiated by this client.
-
-
pingInterval(Duration) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the interval between HTTP/2 and web socket pings initiated by this client.
-
-
pingIntervalMillis() - Method in class okhttp3.OkHttpClient
-
-
Web socket and HTTP/2 ping interval (in milliseconds).
-
-
port(int) - Method in class okhttp3.HttpUrl.Builder
-
 
-
port() - Method in class okhttp3.HttpUrl
-
-
Returns the explicitly-specified port if one was provided, or the default port for this URL's - scheme.
-
-
post(RequestBody) - Method in class okhttp3.Request.Builder
-
 
-
priorResponse(Response) - Method in class okhttp3.Response.Builder
-
 
-
priorResponse() - Method in class okhttp3.Response
-
-
Returns the response for the HTTP redirect or authorization challenge that triggered this - response, or null if this response wasn't triggered by an automatic retry.
-
-
proceed(Request) - Method in interface okhttp3.Interceptor.Chain
-
 
-
protocol() - Method in interface okhttp3.Connection
-
-
Returns the protocol negotiated by this connection, or Protocol.HTTP_1_1 if no protocol - has been negotiated.
-
-
Protocol - Enum in okhttp3
-
-
Protocols that OkHttp implements for ALPN selection.
-
-
protocol(Protocol) - Method in class okhttp3.Response.Builder
-
 
-
protocol() - Method in class okhttp3.Response
-
-
Returns the HTTP protocol, such as Protocol.HTTP_1_1 or Protocol.HTTP_1_0.
-
-
protocols() - Method in class okhttp3.Address
-
-
Returns the protocols the client supports.
-
-
protocols(List<Protocol>) - Method in class okhttp3.OkHttpClient.Builder
-
-
Configure the protocols used by this client to communicate with remote servers.
-
-
protocols() - Method in class okhttp3.OkHttpClient
-
 
-
proxy() - Method in class okhttp3.Address
-
-
Returns this address's explicitly-specified HTTP proxy, or null to delegate to the proxy selector.
-
-
proxy(Proxy) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the HTTP proxy that will be used by connections created by this client.
-
-
proxy() - Method in class okhttp3.OkHttpClient
-
 
-
proxy() - Method in class okhttp3.Route
-
-
Returns the Proxy of this route.
-
-
proxyAuthenticator() - Method in class okhttp3.Address
-
-
Returns the client's proxy authenticator.
-
-
proxyAuthenticator(Authenticator) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the authenticator used to respond to challenges from proxy servers.
-
-
proxyAuthenticator() - Method in class okhttp3.OkHttpClient
-
 
-
proxySelector() - Method in class okhttp3.Address
-
-
Returns this address's proxy selector.
-
-
proxySelector(ProxySelector) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the proxy selection policy to be used if no proxy is specified - explicitly.
-
-
proxySelector() - Method in class okhttp3.OkHttpClient
-
 
-
put(RequestBody) - Method in class okhttp3.Request.Builder
-
 
-
- - - -

Q

-
-
query(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
query() - Method in class okhttp3.HttpUrl
-
-
Returns this URL's query, like "abc" for http://host/?abc.
-
-
queryParameter(String) - Method in class okhttp3.HttpUrl
-
-
Returns the first query parameter named name decoded using UTF-8, or null if there is - no such query parameter.
-
-
queryParameterName(int) - Method in class okhttp3.HttpUrl
-
-
Returns the name of the query parameter at index.
-
-
queryParameterNames() - Method in class okhttp3.HttpUrl
-
-
Returns the distinct query parameter names in this URL, like ["a", "b"] for http://host/?a=apple&b=banana.
-
-
queryParameterValue(int) - Method in class okhttp3.HttpUrl
-
-
Returns the value of the query parameter at index.
-
-
queryParameterValues(String) - Method in class okhttp3.HttpUrl
-
-
Returns all values for the query parameter name ordered by their appearance in this - URL.
-
-
querySize() - Method in class okhttp3.HttpUrl
-
-
Returns the number of query parameters in this URL, like 2 for http://host/?a=apple&b=banana.
-
-
queuedCalls() - Method in class okhttp3.Dispatcher
-
-
Returns a snapshot of the calls currently awaiting execution.
-
-
queuedCallsCount() - Method in class okhttp3.Dispatcher
-
 
-
queueSize() - Method in interface okhttp3.WebSocket
-
-
Returns the size in bytes of all messages enqueued to be transmitted to the server.
-
-
- - - -

R

-
-
readTimeout(long, TimeUnit) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the default read timeout for new connections.
-
-
readTimeout(Duration) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the default read timeout for new connections.
-
-
readTimeoutMillis() - Method in interface okhttp3.Interceptor.Chain
-
 
-
readTimeoutMillis() - Method in class okhttp3.OkHttpClient
-
-
Default read timeout (in milliseconds).
-
-
realm() - Method in class okhttp3.Challenge
-
-
Returns the protection space.
-
-
receivedResponseAtMillis(long) - Method in class okhttp3.Response.Builder
-
 
-
receivedResponseAtMillis() - Method in class okhttp3.Response
-
-
Returns a timestamp taken immediately after OkHttp - received this response's headers from the network.
-
-
redact() - Method in class okhttp3.HttpUrl
-
-
Returns a string with containing this URL with its username, password, query, and fragment - stripped, and its path replaced with /....
-
-
removeAll(String) - Method in class okhttp3.Headers.Builder
-
 
-
removeAllEncodedQueryParameters(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
removeAllQueryParameters(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
removeHeader(String) - Method in class okhttp3.Request.Builder
-
-
Removes all headers named name on this builder.
-
-
removeHeader(String) - Method in class okhttp3.Response.Builder
-
-
Removes all headers named name on this builder.
-
-
removePathSegment(int) - Method in class okhttp3.HttpUrl.Builder
-
 
-
request() - Method in interface okhttp3.Call
-
-
Returns the original request that initiated this call.
-
-
request() - Method in interface okhttp3.Interceptor.Chain
-
 
-
Request - Class in okhttp3
-
-
An HTTP request.
-
-
request(Request) - Method in class okhttp3.Response.Builder
-
 
-
request() - Method in class okhttp3.Response
-
-
The wire-level request that initiated this HTTP response.
-
-
request() - Method in interface okhttp3.WebSocket
-
-
Returns the original request that initiated this web socket.
-
-
Request.Builder - Class in okhttp3
-
 
-
RequestBody - Class in okhttp3
-
 
-
RequestBody() - Constructor for class okhttp3.RequestBody
-
 
-
requestBodyEnd(Call, long) - Method in class okhttp3.EventListener
-
-
Invoked immediately after sending a request body.
-
-
requestBodyStart(Call) - Method in class okhttp3.EventListener
-
-
Invoked just prior to sending a request body.
-
-
requestCount() - Method in class okhttp3.Cache
-
 
-
requestFailed(Call, IOException) - Method in class okhttp3.EventListener
-
-
Invoked when a request fails to be written.
-
-
requestHeadersEnd(Call, Request) - Method in class okhttp3.EventListener
-
-
Invoked immediately after sending request headers.
-
-
requestHeadersStart(Call) - Method in class okhttp3.EventListener
-
-
Invoked just prior to sending request headers.
-
-
requiresTunnel() - Method in class okhttp3.Route
-
-
Returns true if this route tunnels HTTPS through an HTTP proxy.
-
-
resolve(String) - Method in class okhttp3.HttpUrl
-
-
Returns the URL that would be retrieved by following link from this URL, or null if - the resulting URL is not well-formed.
-
-
Response - Class in okhttp3
-
-
An HTTP response.
-
-
Response.Builder - Class in okhttp3
-
 
-
ResponseBody - Class in okhttp3
-
-
A one-shot stream from the origin server to the client application with the raw bytes of the - response body.
-
-
ResponseBody() - Constructor for class okhttp3.ResponseBody
-
 
-
responseBodyEnd(Call, long) - Method in class okhttp3.EventListener
-
-
Invoked immediately after receiving a response body and completing reading it.
-
-
responseBodyStart(Call) - Method in class okhttp3.EventListener
-
-
Invoked just prior to receiving the response body.
-
-
responseFailed(Call, IOException) - Method in class okhttp3.EventListener
-
-
Invoked when a response fails to be read.
-
-
responseHeadersEnd(Call, Response) - Method in class okhttp3.EventListener
-
-
Invoked immediately after receiving response headers.
-
-
responseHeadersStart(Call) - Method in class okhttp3.EventListener
-
-
Invoked just prior to receiving response headers.
-
-
RESTRICTED_TLS - Static variable in class okhttp3.ConnectionSpec
-
-
A secure TLS connection that requires a recent client platform and a recent server.
-
-
retryOnConnectionFailure(boolean) - Method in class okhttp3.OkHttpClient.Builder
-
-
Configure this client to retry or not when a connectivity problem is encountered.
-
-
retryOnConnectionFailure() - Method in class okhttp3.OkHttpClient
-
 
-
route() - Method in interface okhttp3.Connection
-
-
Returns the route used by this connection.
-
-
Route - Class in okhttp3
-
-
The concrete route used by a connection to reach an abstract origin server.
-
-
Route(Address, Proxy, InetSocketAddress) - Constructor for class okhttp3.Route
-
 
-
runningCalls() - Method in class okhttp3.Dispatcher
-
-
Returns a snapshot of the calls currently being executed.
-
-
runningCallsCount() - Method in class okhttp3.Dispatcher
-
 
-
- - - -

S

-
-
saveFromResponse(HttpUrl, List<Cookie>) - Method in interface okhttp3.CookieJar
-
-
Saves cookies from an HTTP response to this store according to this jar's policy.
-
-
scheme() - Method in class okhttp3.Challenge
-
-
Returns the authentication scheme, like Basic.
-
-
scheme(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
scheme() - Method in class okhttp3.HttpUrl
-
-
Returns either "http" or "https".
-
-
secure() - Method in class okhttp3.Cookie.Builder
-
 
-
secure() - Method in class okhttp3.Cookie
-
-
Returns true if this cookie should be limited to only HTTPS requests.
-
-
secureConnectEnd(Call, Handshake) - Method in class okhttp3.EventListener
-
-
Invoked immediately after a TLS connection was attempted.
-
-
secureConnectStart(Call) - Method in class okhttp3.EventListener
-
-
Invoked just prior to initiating a TLS connection.
-
-
send(String) - Method in interface okhttp3.WebSocket
-
-
Attempts to enqueue text to be UTF-8 encoded and sent as a the data of a text (type - 0x1) message.
-
-
send(ByteString) - Method in interface okhttp3.WebSocket
-
-
Attempts to enqueue bytes to be sent as a the data of a binary (type 0x2) - message.
-
-
sentRequestAtMillis(long) - Method in class okhttp3.Response.Builder
-
 
-
sentRequestAtMillis() - Method in class okhttp3.Response
-
-
Returns a timestamp taken immediately before OkHttp - transmitted the initiating request over the network.
-
-
set(String, Date) - Method in class okhttp3.Headers.Builder
-
-
Set a field with the specified date.
-
-
set(String, Instant) - Method in class okhttp3.Headers.Builder
-
-
Set a field with the specified instant.
-
-
set(String, String) - Method in class okhttp3.Headers.Builder
-
-
Set a field with the specified value.
-
-
setEncodedPathSegment(int, String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
setEncodedQueryParameter(String, String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
setIdleCallback(Runnable) - Method in class okhttp3.Dispatcher
-
-
Set a callback to be invoked each time the dispatcher becomes idle (when the number of running - calls returns to zero).
-
-
setMaxRequests(int) - Method in class okhttp3.Dispatcher
-
-
Set the maximum number of requests to execute concurrently.
-
-
setMaxRequestsPerHost(int) - Method in class okhttp3.Dispatcher
-
-
Set the maximum number of requests for each host to execute concurrently.
-
-
setPathSegment(int, String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
setQueryParameter(String, String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
setType(MediaType) - Method in class okhttp3.MultipartBody.Builder
-
-
Set the MIME type.
-
-
size() - Method in class okhttp3.Cache
-
 
-
size() - Method in class okhttp3.FormBody
-
-
The number of key-value pairs in this form-encoded body.
-
-
size() - Method in class okhttp3.Headers
-
-
Returns the number of field values.
-
-
size() - Method in class okhttp3.MultipartBody
-
-
The number of parts in this multipart body.
-
-
sMaxAgeSeconds() - Method in class okhttp3.CacheControl
-
-
The "s-maxage" directive is the max age for shared caches.
-
-
socket() - Method in interface okhttp3.Connection
-
-
Returns the socket that this connection is using.
-
-
socketAddress() - Method in class okhttp3.Route
-
 
-
socketFactory() - Method in class okhttp3.Address
-
-
Returns the socket factory for new connections.
-
-
socketFactory(SocketFactory) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the socket factory used to create connections.
-
-
socketFactory() - Method in class okhttp3.OkHttpClient
-
 
-
source() - Method in class okhttp3.ResponseBody
-
 
-
sslSocketFactory() - Method in class okhttp3.Address
-
-
Returns the SSL socket factory, or null if this is not an HTTPS address.
-
-
sslSocketFactory(SSLSocketFactory) - Method in class okhttp3.OkHttpClient.Builder
-
-
Deprecated. -
SSLSocketFactory does not expose its X509TrustManager, which is - a field that OkHttp needs to build a clean certificate chain. This method instead must - use reflection to extract the trust manager. Applications should prefer to call OkHttpClient.Builder.sslSocketFactory(SSLSocketFactory, X509TrustManager), which avoids such reflection.
-
-
-
sslSocketFactory(SSLSocketFactory, X509TrustManager) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the socket factory and trust manager used to secure HTTPS connections.
-
-
sslSocketFactory() - Method in class okhttp3.OkHttpClient
-
 
-
string() - Method in class okhttp3.ResponseBody
-
-
Returns the response as a string.
-
-
subtype() - Method in class okhttp3.MediaType
-
-
Returns a specific media subtype, such as "plain" or "png", "mpeg", "mp4" or "xml".
-
-
supportsTlsExtensions(boolean) - Method in class okhttp3.ConnectionSpec.Builder
-
-
Deprecated. -
since OkHttp 3.13 all TLS-connections are expected to support TLS extensions. - In a future release setting this to true will be unnecessary and setting it to false will - have no effect.
-
-
-
supportsTlsExtensions() - Method in class okhttp3.ConnectionSpec
-
 
-
SYSTEM - Static variable in interface okhttp3.Dns
-
-
A DNS that uses InetAddress.getAllByName(java.lang.String) to ask the underlying operating system to - lookup IP addresses.
-
-
- - - -

T

-
-
tag(Object) - Method in class okhttp3.Request.Builder
-
-
Attaches tag to the request using Object.class as a key.
-
-
tag(Class<? super T>, T) - Method in class okhttp3.Request.Builder
-
-
Attaches tag to the request using type as a key.
-
-
tag() - Method in class okhttp3.Request
-
-
Returns the tag attached with Object.class as a key, or null if no tag is attached with - that key.
-
-
tag(Class<? extends T>) - Method in class okhttp3.Request
-
-
Returns the tag attached with type as a key, or null if no tag is attached with that - key.
-
-
timeout() - Method in interface okhttp3.Call
-
-
Returns a timeout that spans the entire call: resolving DNS, connecting, writing the request - body, server processing, and reading the response body.
-
-
TLS_AES_128_CCM_8_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_AES_128_CCM_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_AES_128_GCM_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_AES_256_GCM_SHA384 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_CHACHA20_POLY1305_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DH_anon_WITH_3DES_EDE_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DH_anon_WITH_AES_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DH_anon_WITH_AES_128_CBC_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DH_anon_WITH_AES_128_GCM_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DH_anon_WITH_AES_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DH_anon_WITH_AES_256_CBC_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DH_anon_WITH_AES_256_GCM_SHA384 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DH_anon_WITH_DES_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DH_anon_WITH_RC4_128_MD5 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_DSS_WITH_AES_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_DSS_WITH_AES_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_DSS_WITH_DES_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_RSA_WITH_AES_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_RSA_WITH_AES_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_DHE_RSA_WITH_DES_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_anon_WITH_AES_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_anon_WITH_AES_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_anon_WITH_NULL_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_anon_WITH_RC4_128_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_ECDSA_WITH_NULL_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_ECDSA_WITH_RC4_128_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_RSA_WITH_AES_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_RSA_WITH_NULL_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDH_RSA_WITH_RC4_128_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_ECDSA_WITH_NULL_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_ECDSA_WITH_RC4_128_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_RSA_WITH_NULL_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_ECDHE_RSA_WITH_RC4_128_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_EMPTY_RENEGOTIATION_INFO_SCSV - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_FALLBACK_SCSV - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_KRB5_EXPORT_WITH_RC4_40_MD5 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_KRB5_EXPORT_WITH_RC4_40_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_KRB5_WITH_3DES_EDE_CBC_MD5 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_KRB5_WITH_3DES_EDE_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_KRB5_WITH_DES_CBC_MD5 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_KRB5_WITH_DES_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_KRB5_WITH_RC4_128_MD5 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_KRB5_WITH_RC4_128_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_PSK_WITH_3DES_EDE_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_PSK_WITH_AES_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_PSK_WITH_AES_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_PSK_WITH_RC4_128_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_EXPORT_WITH_DES40_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_EXPORT_WITH_RC4_40_MD5 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_3DES_EDE_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_AES_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_AES_128_CBC_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_AES_128_GCM_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_AES_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_AES_256_CBC_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_AES_256_GCM_SHA384 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_CAMELLIA_128_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_CAMELLIA_256_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_DES_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_NULL_MD5 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_NULL_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_NULL_SHA256 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_RC4_128_MD5 - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_RC4_128_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
TLS_RSA_WITH_SEED_CBC_SHA - Static variable in class okhttp3.CipherSuite
-
 
-
tlsVersion() - Method in class okhttp3.Handshake
-
-
Returns the TLS version used for this connection.
-
-
TlsVersion - Enum in okhttp3
-
-
Versions of TLS that can be offered when negotiating a secure socket.
-
-
tlsVersions(TlsVersion...) - Method in class okhttp3.ConnectionSpec.Builder
-
 
-
tlsVersions(String...) - Method in class okhttp3.ConnectionSpec.Builder
-
 
-
tlsVersions() - Method in class okhttp3.ConnectionSpec
-
-
Returns the TLS versions to use when negotiating a connection.
-
-
toMultimap() - Method in class okhttp3.Headers
-
 
-
topPrivateDomain() - Method in class okhttp3.HttpUrl
-
-
Returns the domain name of this URL's HttpUrl.host() that is one level beneath the public - suffix by consulting the public suffix list.
-
-
toString() - Method in class okhttp3.Address
-
 
-
toString() - Method in class okhttp3.CacheControl
-
 
-
toString() - Method in class okhttp3.Challenge
-
 
-
toString() - Method in class okhttp3.CipherSuite
-
 
-
toString() - Method in class okhttp3.ConnectionSpec
-
 
-
toString() - Method in class okhttp3.Cookie
-
 
-
toString() - Method in class okhttp3.Handshake
-
 
-
toString() - Method in class okhttp3.Headers
-
 
-
toString() - Method in class okhttp3.HttpUrl.Builder
-
 
-
toString() - Method in class okhttp3.HttpUrl
-
 
-
toString() - Method in class okhttp3.MediaType
-
-
Returns the encoded media type, like "text/plain; charset=utf-8", appropriate for use in a - Content-Type header.
-
-
toString() - Method in enum okhttp3.Protocol
-
-
Returns the string used to identify this protocol for ALPN, like "http/1.1", "spdy/3.1" or - "h2".
-
-
toString() - Method in class okhttp3.Request
-
 
-
toString() - Method in class okhttp3.Response
-
 
-
toString() - Method in class okhttp3.Route
-
 
-
trailers() - Method in class okhttp3.Response
-
-
Returns the trailers after the HTTP response, which may be empty.
-
-
type() - Method in class okhttp3.MediaType
-
-
Returns the high-level media type, such as "text", "image", "audio", "video", or - "application".
-
-
type() - Method in class okhttp3.MultipartBody
-
 
-
- - - -

U

-
-
uri() - Method in class okhttp3.HttpUrl
-
-
Returns this URL as a java.net.URI.
-
-
url() - Method in class okhttp3.Address
-
-
Returns a URL with the hostname and port of the origin server.
-
-
url() - Method in class okhttp3.HttpUrl
-
-
Returns this URL as a java.net.URL.
-
-
url(HttpUrl) - Method in class okhttp3.Request.Builder
-
 
-
url(String) - Method in class okhttp3.Request.Builder
-
-
Sets the URL target of this request.
-
-
url(URL) - Method in class okhttp3.Request.Builder
-
-
Sets the URL target of this request.
-
-
url() - Method in class okhttp3.Request
-
 
-
urls() - Method in class okhttp3.Cache
-
-
Returns an iterator over the URLs in this cache.
-
-
username(String) - Method in class okhttp3.HttpUrl.Builder
-
 
-
username() - Method in class okhttp3.HttpUrl
-
-
Returns the decoded username, or an empty string if none is present.
-
-
- - - -

V

-
-
value(String) - Method in class okhttp3.Cookie.Builder
-
 
-
value() - Method in class okhttp3.Cookie
-
-
Returns a possibly-empty string with this cookie's value.
-
-
value(int) - Method in class okhttp3.FormBody
-
 
-
value(int) - Method in class okhttp3.Headers
-
-
Returns the value at index.
-
-
valueOf(String) - Static method in enum okhttp3.Protocol
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum okhttp3.TlsVersion
-
-
Returns the enum constant of this type with the specified name.
-
-
values(String) - Method in class okhttp3.Headers
-
-
Returns an immutable list of the header values for name.
-
-
values() - Static method in enum okhttp3.Protocol
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum okhttp3.TlsVersion
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
- - - -

W

-
-
WebSocket - Interface in okhttp3
-
-
A non-blocking interface to a web socket.
-
-
WebSocket.Factory - Interface in okhttp3
-
 
-
WebSocketListener - Class in okhttp3
-
 
-
WebSocketListener() - Constructor for class okhttp3.WebSocketListener
-
 
-
withCharset(Charset) - Method in class okhttp3.Challenge
-
-
Returns a copy of this charset that expects a credential encoded with charset.
-
-
withConnectTimeout(int, TimeUnit) - Method in interface okhttp3.Interceptor.Chain
-
 
-
withReadTimeout(int, TimeUnit) - Method in interface okhttp3.Interceptor.Chain
-
 
-
withWriteTimeout(int, TimeUnit) - Method in interface okhttp3.Interceptor.Chain
-
 
-
writeAbortCount() - Method in class okhttp3.Cache
-
 
-
writeSuccessCount() - Method in class okhttp3.Cache
-
 
-
writeTimeout(long, TimeUnit) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the default write timeout for new connections.
-
-
writeTimeout(Duration) - Method in class okhttp3.OkHttpClient.Builder
-
-
Sets the default write timeout for new connections.
-
-
writeTimeoutMillis() - Method in interface okhttp3.Interceptor.Chain
-
 
-
writeTimeoutMillis() - Method in class okhttp3.OkHttpClient
-
-
Default write timeout (in milliseconds).
-
-
writeTo(BufferedSink) - Method in class okhttp3.FormBody
-
 
-
writeTo(BufferedSink) - Method in class okhttp3.MultipartBody
-
 
-
writeTo(BufferedSink) - Method in class okhttp3.RequestBody
-
-
Writes the content of this request to sink.
-
-
-A B C D E F G H I J K L M N O P Q R S T U V W 
- -
- - - - - - - -
- - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/index.html b/3.x/okhttp/index.html deleted file mode 100644 index 02085e39e..000000000 --- a/3.x/okhttp/index.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - -OkHttp 3.14.0 API - - - - - - - -<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="okhttp3/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/3.x/okhttp/okhttp3/Address.html b/3.x/okhttp/okhttp3/Address.html deleted file mode 100644 index 54df445f5..000000000 --- a/3.x/okhttp/okhttp3/Address.html +++ /dev/null @@ -1,524 +0,0 @@ - - - - - - -Address (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Address

-
-
- -
-
    -
  • -
    -
    -
    public final class Address
    -extends Object
    -
    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 no - proxy is explicitly requested), this also includes that proxy information. For secure - connections the address also includes the SSL socket factory, hostname verifier, and certificate - pinner. - -

    HTTP requests that share the same Address may also share the same Connection.

    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        url

        -
        public HttpUrl url()
        -
        Returns a URL with the hostname and port of the origin server. The path, query, and fragment of - this URL are always empty, since they are not significant for planning a route.
        -
      • -
      - - - -
        -
      • -

        dns

        -
        public Dns dns()
        -
        Returns the service that will be used to resolve IP addresses for hostnames.
        -
      • -
      - - - -
        -
      • -

        socketFactory

        -
        public SocketFactory socketFactory()
        -
        Returns the socket factory for new connections.
        -
      • -
      - - - -
        -
      • -

        proxyAuthenticator

        -
        public Authenticator proxyAuthenticator()
        -
        Returns the client's proxy authenticator.
        -
      • -
      - - - -
        -
      • -

        protocols

        -
        public List<Protocol> protocols()
        -
        Returns the protocols the client supports. This method always returns a non-null list that - contains minimally Protocol.HTTP_1_1.
        -
      • -
      - - - - - - - -
        -
      • -

        proxySelector

        -
        public ProxySelector proxySelector()
        -
        Returns this address's proxy selector. Only used if the proxy is null. If none of this - selector's proxies are reachable, a direct connection will be attempted.
        -
      • -
      - - - -
        -
      • -

        proxy

        -
        @Nullable
        -public Proxy proxy()
        -
        Returns this address's explicitly-specified HTTP proxy, or null to delegate to the proxy selector.
        -
      • -
      - - - -
        -
      • -

        sslSocketFactory

        -
        @Nullable
        -public SSLSocketFactory sslSocketFactory()
        -
        Returns the SSL socket factory, or null if this is not an HTTPS address.
        -
      • -
      - - - -
        -
      • -

        hostnameVerifier

        -
        @Nullable
        -public HostnameVerifier hostnameVerifier()
        -
        Returns the hostname verifier, or null if this is not an HTTPS address.
        -
      • -
      - - - -
        -
      • -

        certificatePinner

        -
        @Nullable
        -public CertificatePinner certificatePinner()
        -
        Returns this address's certificate pinner, or null if this is not an HTTPS address.
        -
      • -
      - - - - - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Authenticator.html b/3.x/okhttp/okhttp3/Authenticator.html deleted file mode 100644 index febfa8e0d..000000000 --- a/3.x/okhttp/okhttp3/Authenticator.html +++ /dev/null @@ -1,350 +0,0 @@ - - - - - - -Authenticator (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Interface Authenticator

-
-
-
-
    -
  • -
    -
    -
    public interface Authenticator
    -
    Performs either preemptive authentication before connecting to a proxy server, - or reactive authentication after receiving a challenge from either an origin web - server or proxy server. - -

    Preemptive Authentication

    - -

    To make HTTPS calls using an HTTP proxy server OkHttp must first negotiate a connection with - the proxy. This proxy connection is called a "TLS Tunnel" and is specified by RFC 2817. The HTTP CONNECT request that creates - this tunnel connection is special: it does not participate in any interceptors or event listeners. It doesn't include the motivating - request's HTTP headers or even its full URL; only the target server's hostname is sent to the - proxy. - -

    Prior to sending any CONNECT request OkHttp always calls the proxy authenticator so that it - may prepare preemptive authentication. OkHttp will call authenticate(okhttp3.Route, okhttp3.Response) with a fake HTTP/1.1 407 Proxy Authentication Required response that has a Proxy-Authenticate: - OkHttp-Preemptive challenge. The proxy authenticator may return either either an authenticated - request, or null to connect without authentication. -

       
    -    for (Challenge challenge : response.challenges()) {
    -      // If this is preemptive auth, use a preemptive credential.
    -      if (challenge.scheme().equalsIgnoreCase("OkHttp-Preemptive")) {
    -        return response.request().newBuilder()
    -            .header("Proxy-Authorization", "secret")
    -            .build();
    -      }
    -    }
    -
    -    return null; // Didn't find a preemptive auth scheme.
    - 
    - -

    Reactive Authentication

    - -

    Implementations authenticate by returning a follow-up request that includes an authorization - header, or they may decline the challenge by returning null. In this case the unauthenticated - response will be returned to the caller that triggered it. - -

    Implementations should check if the initial request already included an attempt to - authenticate. If so it is likely that further attempts will not be useful and the authenticator - should give up. - -

    When reactive authentication is requested by an origin web server, the response code is 401 - and the implementation should respond with a new request that sets the "Authorization" header. -

       
    -
    -    if (response.request().header("Authorization") != null) {
    -      return null; // Give up, we've already failed to authenticate.
    -    }
    -
    -    String credential = Credentials.basic(...)
    -    return response.request().newBuilder()
    -        .header("Authorization", credential)
    -        .build();
    - 
    - -

    When reactive authentication is requested by a proxy server, the response code is 407 and the - implementation should respond with a new request that sets the "Proxy-Authorization" header. -

       
    -
    -    if (response.request().header("Proxy-Authorization") != null) {
    -      return null; // Give up, we've already failed to authenticate.
    -    }
    -
    -    String credential = Credentials.basic(...)
    -    return response.request().newBuilder()
    -        .header("Proxy-Authorization", credential)
    -        .build();
    - 
    - -

    The proxy authenticator may implement preemptive authentication, reactive authentication, or - both. - -

    Applications may configure OkHttp with an authenticator for origin servers, or proxy servers, - or both.

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static AuthenticatorNONE -
      An authenticator that knows no credentials and makes no attempt to authenticate.
      -
      -
    • -
    - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        NONE

        -
        static final Authenticator NONE
        -
        An authenticator that knows no credentials and makes no attempt to authenticate.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        authenticate

        -
        @Nullable
        -Request authenticate(@Nullable
        -                               Route route,
        -                               Response response)
        -                        throws IOException
        -
        Returns a request that includes a credential to satisfy an authentication challenge in response. Returns null if the challenge cannot be satisfied. - -

        The route is best effort, it currently may not always be provided even when logically - available. It may also not be provided when an authenticator is re-used manually in an - application interceptor, such as when implementing client-specific retries.

        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Cache.html b/3.x/okhttp/okhttp3/Cache.html deleted file mode 100644 index 7a713edd9..000000000 --- a/3.x/okhttp/okhttp3/Cache.html +++ /dev/null @@ -1,629 +0,0 @@ - - - - - - -Cache (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Cache

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Closeable, Flushable, AutoCloseable
    -
    -
    -
    -
    public final class Cache
    -extends Object
    -implements Closeable, Flushable
    -
    Caches HTTP and HTTPS responses to the filesystem so they may be reused, saving time and - bandwidth. - -

    Cache Optimization

    - -

    To measure cache effectiveness, this class tracks three statistics: -

      -
    • Request Count: the number of HTTP - requests issued since this cache was created. -
    • Network Count: the number of those - requests that required network use. -
    • Hit Count: the number of those requests - whose responses were served by the cache. -
    - - 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 GET. 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. - -

    The best way to improve the cache hit rate is by configuring the web server to return - cacheable responses. Although this client honors all HTTP/1.1 (RFC 7234) cache headers, it doesn't cache - partial responses. - -

    Force a Network Response

    - -

    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 no-cache directive:

       
    -
    -   Request request = new Request.Builder()
    -       .cacheControl(new CacheControl.Builder().noCache().build())
    -       .url("http://publicobject.com/helloworld.txt")
    -       .build();
    - 
    - - If it is only necessary to force a cached response to be validated by the server, use the more - efficient max-age=0 directive instead:
       
    -
    -   Request request = new Request.Builder()
    -       .cacheControl(new CacheControl.Builder()
    -           .maxAge(0, TimeUnit.SECONDS)
    -           .build())
    -       .url("http://publicobject.com/helloworld.txt")
    -       .build();
    - 
    - -

    Force a Cache Response

    - -

    Sometimes you'll want to show resources if they are available immediately, but not otherwise. - This can be used so your application can show something while waiting for the latest data - to be downloaded. To restrict a request to locally-cached resources, add the only-if-cached directive:

       
    -
    -     Request request = new Request.Builder()
    -         .cacheControl(new CacheControl.Builder()
    -             .onlyIfCached()
    -             .build())
    -         .url("http://publicobject.com/helloworld.txt")
    -         .build();
    -     Response forceCacheResponse = client.newCall(request).execute();
    -     if (forceCacheResponse.code() != 504) {
    -       // The resource was cached! Show it.
    -     } else {
    -       // The resource was not cached.
    -     }
    - 
    - This technique works even better in situations where a stale response is better than no response. - To permit stale cached responses, use the max-stale directive with the maximum staleness - in seconds:
       
    -
    -   Request request = new Request.Builder()
    -       .cacheControl(new CacheControl.Builder()
    -           .maxStale(365, TimeUnit.DAYS)
    -           .build())
    -       .url("http://publicobject.com/helloworld.txt")
    -       .build();
    - 
    - -

    The CacheControl class can configure request caching directives and parse response - caching directives. It even offers convenient constants CacheControl.FORCE_NETWORK and - CacheControl.FORCE_CACHE that address the use cases above.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Cache

        -
        public Cache(File directory,
        -             long maxSize)
        -
        Create a cache of at most maxSize bytes in directory.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        initialize

        -
        public void initialize()
        -                throws IOException
        -
        Initialize the cache. This will include reading the journal files from the storage and building - up the necessary in-memory cache information. - -

        The initialization time may vary depending on the journal file size and the current actual - cache size. The application needs to be aware of calling this function during the - initialization phase and preferably in a background worker thread. - -

        Note that if the application chooses to not call this method to initialize the cache. By - default, the okhttp will perform lazy initialization upon the first usage of the cache.

        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        delete

        -
        public void delete()
        -            throws IOException
        -
        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.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        evictAll

        -
        public void evictAll()
        -              throws IOException
        -
        Deletes all values stored in the cache. In-flight writes to the cache will complete normally, - but the corresponding responses will not be stored.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        urls

        -
        public Iterator<String> urls()
        -                      throws IOException
        -
        Returns an iterator over the URLs in this cache. This iterator doesn't throw ConcurrentModificationException, but if new responses are added while iterating, their URLs - will not be returned. If existing responses are evicted during iteration, they will be absent - (unless they were already returned). - -

        The iterator supports Iterator.remove(). Removing a URL from the iterator evicts - the corresponding response from the cache. Use this to evict selected responses.

        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        writeAbortCount

        -
        public int writeAbortCount()
        -
      • -
      - - - -
        -
      • -

        writeSuccessCount

        -
        public int writeSuccessCount()
        -
      • -
      - - - - - - - -
        -
      • -

        maxSize

        -
        public long maxSize()
        -
        Max size of the cache (in bytes).
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        directory

        -
        public File directory()
        -
      • -
      - - - -
        -
      • -

        isClosed

        -
        public boolean isClosed()
        -
      • -
      - - - -
        -
      • -

        networkCount

        -
        public int networkCount()
        -
      • -
      - - - -
        -
      • -

        hitCount

        -
        public int hitCount()
        -
      • -
      - - - -
        -
      • -

        requestCount

        -
        public int requestCount()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/CacheControl.Builder.html b/3.x/okhttp/okhttp3/CacheControl.Builder.html deleted file mode 100644 index e0eade7eb..000000000 --- a/3.x/okhttp/okhttp3/CacheControl.Builder.html +++ /dev/null @@ -1,423 +0,0 @@ - - - - - - -CacheControl.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class CacheControl.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    CacheControl
    -
    -
    -
    -
    public static final class CacheControl.Builder
    -extends Object
    -
    Builds a Cache-Control request header.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Builder

        -
        public Builder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        noCache

        -
        public CacheControl.Builder noCache()
        -
        Don't accept an unvalidated cached response.
        -
      • -
      - - - -
        -
      • -

        noStore

        -
        public CacheControl.Builder noStore()
        -
        Don't store the server's response in any cache.
        -
      • -
      - - - -
        -
      • -

        maxAge

        -
        public CacheControl.Builder maxAge(int maxAge,
        -                                   TimeUnit timeUnit)
        -
        Sets the maximum age of a cached response. If the cache response's age exceeds maxAge, it will not be used and a network request will be made.
        -
        -
        Parameters:
        -
        maxAge - a non-negative integer. This is stored and transmitted with TimeUnit.SECONDS precision; finer precision will be lost.
        -
        -
      • -
      - - - -
        -
      • -

        maxStale

        -
        public CacheControl.Builder maxStale(int maxStale,
        -                                     TimeUnit timeUnit)
        -
        Accept cached responses that have exceeded their freshness lifetime by up to maxStale. If unspecified, stale cache responses will not be used.
        -
        -
        Parameters:
        -
        maxStale - a non-negative integer. This is stored and transmitted with TimeUnit.SECONDS precision; finer precision will be lost.
        -
        -
      • -
      - - - -
        -
      • -

        minFresh

        -
        public CacheControl.Builder minFresh(int minFresh,
        -                                     TimeUnit timeUnit)
        -
        Sets the minimum number of seconds that a response will continue to be fresh for. If the - response will be stale when minFresh have elapsed, the cached response will not be - used and a network request will be made.
        -
        -
        Parameters:
        -
        minFresh - a non-negative integer. This is stored and transmitted with TimeUnit.SECONDS precision; finer precision will be lost.
        -
        -
      • -
      - - - -
        -
      • -

        onlyIfCached

        -
        public CacheControl.Builder onlyIfCached()
        -
        Only accept the response if it is in the cache. If the response isn't cached, a 504 - Unsatisfiable Request response will be returned.
        -
      • -
      - - - -
        -
      • -

        noTransform

        -
        public CacheControl.Builder noTransform()
        -
        Don't accept a transformed response.
        -
      • -
      - - - - - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/CacheControl.html b/3.x/okhttp/okhttp3/CacheControl.html deleted file mode 100644 index 1e45f35d3..000000000 --- a/3.x/okhttp/okhttp3/CacheControl.html +++ /dev/null @@ -1,522 +0,0 @@ - - - - - - -CacheControl (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class CacheControl

-
-
- -
-
    -
  • -
    -
    -
    public final class CacheControl
    -extends Object
    -
    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. - -

    See RFC 7234, 5.2.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        FORCE_NETWORK

        -
        public static final CacheControl FORCE_NETWORK
        -
        Cache control request directives that require network validation of responses. Note that such - requests may be assisted by the cache via conditional GET requests.
        -
      • -
      - - - -
        -
      • -

        FORCE_CACHE

        -
        public static final CacheControl FORCE_CACHE
        -
        Cache control request directives that uses the cache only, even if the cached response is - stale. If the response isn't available in the cache or requires server validation, the call - will fail with a 504 Unsatisfiable Request.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        noCache

        -
        public boolean noCache()
        -
        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. - -

        In a request, it means do not use a cache to satisfy the request.

        -
      • -
      - - - -
        -
      • -

        noStore

        -
        public boolean noStore()
        -
        If true, this response should not be cached.
        -
      • -
      - - - -
        -
      • -

        maxAgeSeconds

        -
        public int maxAgeSeconds()
        -
        The duration past the response's served date that it can be served without validation.
        -
      • -
      - - - -
        -
      • -

        sMaxAgeSeconds

        -
        public int sMaxAgeSeconds()
        -
        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.
        -
      • -
      - - - -
        -
      • -

        isPrivate

        -
        public boolean isPrivate()
        -
      • -
      - - - -
        -
      • -

        isPublic

        -
        public boolean isPublic()
        -
      • -
      - - - -
        -
      • -

        mustRevalidate

        -
        public boolean mustRevalidate()
        -
      • -
      - - - -
        -
      • -

        maxStaleSeconds

        -
        public int maxStaleSeconds()
        -
      • -
      - - - -
        -
      • -

        minFreshSeconds

        -
        public int minFreshSeconds()
        -
      • -
      - - - -
        -
      • -

        onlyIfCached

        -
        public boolean onlyIfCached()
        -
        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.
        -
      • -
      - - - -
        -
      • -

        noTransform

        -
        public boolean noTransform()
        -
      • -
      - - - -
        -
      • -

        immutable

        -
        public boolean immutable()
        -
      • -
      - - - -
        -
      • -

        parse

        -
        public static CacheControl parse(Headers headers)
        -
        Returns the cache directives of headers. This honors both Cache-Control and Pragma - headers if they are present.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Call.Factory.html b/3.x/okhttp/okhttp3/Call.Factory.html deleted file mode 100644 index 5de00f368..000000000 --- a/3.x/okhttp/okhttp3/Call.Factory.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - -Call.Factory (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Interface Call.Factory

-
-
-
-
    -
  • -
    -
    All Known Implementing Classes:
    -
    OkHttpClient
    -
    -
    -
    Enclosing interface:
    -
    Call
    -
    -
    -
    -
    public static interface Call.Factory
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Call.html b/3.x/okhttp/okhttp3/Call.html deleted file mode 100644 index b6ebeebb1..000000000 --- a/3.x/okhttp/okhttp3/Call.html +++ /dev/null @@ -1,407 +0,0 @@ - - - - - - -Call (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Interface Call

-
-
-
-
    -
  • -
    -
    All Superinterfaces:
    -
    Cloneable
    -
    -
    -
    -
    public interface Call
    -extends Cloneable
    -
    A call is a request that has been prepared for execution. A call can be canceled. As this object - represents a single request/response pair (stream), it cannot be executed twice.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeInterface and Description
      static interface Call.Factory 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidcancel() -
      Cancels the request, if possible.
      -
      Callclone() -
      Create a new, identical call to this one which can be enqueued or executed even if this call - has already been.
      -
      voidenqueue(Callback responseCallback) -
      Schedules the request to be executed at some point in the future.
      -
      Responseexecute() -
      Invokes the request immediately, and blocks until the response can be processed or is in - error.
      -
      booleanisCanceled() 
      booleanisExecuted() -
      Returns true if this call has been either executed or enqueued.
      -
      Requestrequest() -
      Returns the original request that initiated this call.
      -
      okio.Timeouttimeout() -
      Returns a timeout that spans the entire call: resolving DNS, connecting, writing the request - body, server processing, and reading the response body.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        request

        -
        Request request()
        -
        Returns the original request that initiated this call.
        -
      • -
      - - - -
        -
      • -

        execute

        -
        Response execute()
        -          throws IOException
        -
        Invokes the request immediately, and blocks until the response can be processed or is in - error. - -

        To avoid leaking resources callers should close the Response which in turn will - close the underlying ResponseBody. - -

        
        -
        -   // ensure the response (and underlying response body) is closed
        -   try (Response response = client.newCall(request).execute()) {
        -     ...
        -   }
        -
        - 
        - -

        The caller may read the response body with the response's Response.body method. To - avoid leaking resources callers must close the response body or the - Response. - -

        Note that transport-layer success (receiving a HTTP response code, headers and body) does - not necessarily indicate application-layer success: response may still indicate an - unhappy HTTP response code like 404 or 500.

        -
        -
        Throws:
        -
        IOException - if the request could not be executed due to cancellation, a connectivity - problem or timeout. Because networks can fail during an exchange, it is possible that the - remote server accepted the request before the failure.
        -
        IllegalStateException - when the call has already been executed.
        -
        -
      • -
      - - - -
        -
      • -

        enqueue

        -
        void enqueue(Callback responseCallback)
        -
        Schedules the request to be executed at some point in the future. - -

        The dispatcher defines when the request will run: usually - immediately unless there are several other requests currently being executed. - -

        This client will later call back responseCallback with either an HTTP response or a - failure exception.

        -
        -
        Throws:
        -
        IllegalStateException - when the call has already been executed.
        -
        -
      • -
      - - - -
        -
      • -

        cancel

        -
        void cancel()
        -
        Cancels the request, if possible. Requests that are already complete cannot be canceled.
        -
      • -
      - - - -
        -
      • -

        isExecuted

        -
        boolean isExecuted()
        -
        Returns true if this call has been either executed or enqueued. It is an error to execute a call more than once.
        -
      • -
      - - - -
        -
      • -

        isCanceled

        -
        boolean isCanceled()
        -
      • -
      - - - -
        -
      • -

        timeout

        -
        okio.Timeout timeout()
        -
        Returns a timeout that spans the entire call: resolving DNS, connecting, writing the request - body, server processing, and reading the response body. If the call requires redirects or - retries all must complete within one timeout period. - -

        Configure the client's default timeout with OkHttpClient.Builder.callTimeout.

        -
      • -
      - - - -
        -
      • -

        clone

        -
        Call clone()
        -
        Create a new, identical call to this one which can be enqueued or executed even if this call - has already been.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Callback.html b/3.x/okhttp/okhttp3/Callback.html deleted file mode 100644 index 6c7238b54..000000000 --- a/3.x/okhttp/okhttp3/Callback.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - -Callback (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Interface Callback

-
-
-
-
    -
  • -
    -
    -
    public interface Callback
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidonFailure(Call call, - IOException e) -
      Called when the request could not be executed due to cancellation, a connectivity problem or - timeout.
      -
      voidonResponse(Call call, - Response response) -
      Called when the HTTP response was successfully returned by the remote server.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onFailure

        -
        void onFailure(Call call,
        -               IOException e)
        -
        Called when the request could not be executed due to cancellation, a connectivity problem or - timeout. Because networks can fail during an exchange, it is possible that the remote server - accepted the request before the failure.
        -
      • -
      - - - -
        -
      • -

        onResponse

        -
        void onResponse(Call call,
        -                Response response)
        -         throws IOException
        -
        Called when the HTTP response was successfully returned by the remote server. The callback may - proceed to read the response body with Response.body. The response is still live until - its response body is closed. The recipient of the callback may - consume the response body on another thread. - -

        Note that transport-layer success (receiving a HTTP response code, headers and body) does - not necessarily indicate application-layer success: response may still indicate an - unhappy HTTP response code like 404 or 500.

        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/CertificatePinner.Builder.html b/3.x/okhttp/okhttp3/CertificatePinner.Builder.html deleted file mode 100644 index 3da8fc5fc..000000000 --- a/3.x/okhttp/okhttp3/CertificatePinner.Builder.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - -CertificatePinner.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class CertificatePinner.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    CertificatePinner
    -
    -
    -
    -
    public static final class CertificatePinner.Builder
    -extends Object
    -
    Builds a configured certificate pinner.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Builder

        -
        public Builder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        add

        -
        public CertificatePinner.Builder add(String pattern,
        -                                     String... pins)
        -
        Pins certificates for pattern.
        -
        -
        Parameters:
        -
        pattern - lower-case host name or wildcard pattern such as *.example.com.
        -
        pins - SHA-256 or SHA-1 hashes. Each pin is a hash of a certificate's Subject Public Key - Info, base64-encoded and prefixed with either sha256/ or sha1/.
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/CertificatePinner.html b/3.x/okhttp/okhttp3/CertificatePinner.html deleted file mode 100644 index 728e3197a..000000000 --- a/3.x/okhttp/okhttp3/CertificatePinner.html +++ /dev/null @@ -1,481 +0,0 @@ - - - - - - -CertificatePinner (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class CertificatePinner

-
-
- -
-
    -
  • -
    -
    -
    public final class CertificatePinner
    -extends Object
    -
    Constrains which certificates are trusted. Pinning certificates defends against attacks on - certificate authorities. It also prevents connections through man-in-the-middle certificate - authorities either known or unknown to the application's user. - -

    This class currently pins a certificate's Subject Public Key Info as described on Adam Langley's Weblog. Pins are either base64 SHA-256 hashes as - in HTTP Public Key Pinning (HPKP) or SHA-1 - base64 hashes as in Chromium's static certificates. - -

    Setting up Certificate Pinning

    - -

    The easiest way to pin a host is turn on pinning with a broken configuration and read the - expected configuration when the connection fails. Be sure to do this on a trusted network, and - without man-in-the-middle tools like Charles or Fiddler. - -

    For example, to pin https://publicobject.com, start with a broken - configuration:

       
    -
    -     String hostname = "publicobject.com";
    -     CertificatePinner certificatePinner = new CertificatePinner.Builder()
    -         .add(hostname, "sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=")
    -         .build();
    -     OkHttpClient client = OkHttpClient.Builder()
    -         .certificatePinner(certificatePinner)
    -         .build();
    -
    -     Request request = new Request.Builder()
    -         .url("https://" + hostname)
    -         .build();
    -     client.newCall(request).execute();
    - 
    - - As expected, this fails with a certificate pinning exception:
       
    -
    - javax.net.ssl.SSLPeerUnverifiedException: Certificate pinning failure!
    -   Peer certificate chain:
    -     sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=: CN=publicobject.com, OU=PositiveSSL
    -     sha256/klO23nT2ehFDXCfx3eHTDRESMz3asj1muO+4aIdjiuY=: CN=COMODO RSA Secure Server CA
    -     sha256/grX4Ta9HpZx6tSHkmCrvpApTQGo67CYDnvprLg5yRME=: CN=COMODO RSA Certification Authority
    -     sha256/lCppFqbkrlJ3EcVFAkeip0+44VaoJUymbnOaEUk7tEU=: CN=AddTrust External CA Root
    -   Pinned certificates for publicobject.com:
    -     sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
    -   at okhttp3.CertificatePinner.check(CertificatePinner.java)
    -   at okhttp3.Connection.upgradeToTls(Connection.java)
    -   at okhttp3.Connection.connect(Connection.java)
    -   at okhttp3.Connection.connectAndSetOwner(Connection.java)
    - 
    - - Follow up by pasting the public key hashes from the exception into the - certificate pinner's configuration:
       
    -
    -     CertificatePinner certificatePinner = new CertificatePinner.Builder()
    -       .add("publicobject.com", "sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=")
    -       .add("publicobject.com", "sha256/klO23nT2ehFDXCfx3eHTDRESMz3asj1muO+4aIdjiuY=")
    -       .add("publicobject.com", "sha256/grX4Ta9HpZx6tSHkmCrvpApTQGo67CYDnvprLg5yRME=")
    -       .add("publicobject.com", "sha256/lCppFqbkrlJ3EcVFAkeip0+44VaoJUymbnOaEUk7tEU=")
    -       .build();
    - 
    - - Pinning is per-hostname and/or per-wildcard pattern. To pin both publicobject.com and - www.publicobject.com, you must configure both hostnames. - -

    Wildcard pattern rules: -

      -
    1. Asterisk * is only permitted in the left-most domain name label and must be the - only character in that label (i.e., must match the whole left-most label). For example, - *.example.com is permitted, while *a.example.com, a*.example.com, - a*b.example.com, a.*.example.com are not permitted. -
    2. Asterisk * cannot match across domain name labels. For example, - *.example.com matches test.example.com but does not match - sub.test.example.com. -
    3. Wildcard patterns for single-label domain names are not permitted. -
    - - If hostname pinned directly and via wildcard pattern, both direct and wildcard pins will be used. - For example: *.example.com pinned with pin1 and a.example.com pinned with - pin2, to check a.example.com both pin1 and pin2 will be used. - -

    Warning: Certificate Pinning is Dangerous!

    - -

    Pinning certificates limits your server team's abilities to update their TLS certificates. By - pinning certificates, you take on additional operational complexity and limit your ability to - migrate between certificate authorities. Do not use certificate pinning without the blessing of - your server's TLS administrator! - -

    Note about self-signed certificates

    - -

    CertificatePinner can not be used to pin self-signed certificate if such certificate - is not accepted by TrustManager.

    -
    -
    See Also:
    -
    OWASP: - Certificate and Public Key Pinning
    -
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Challenge.html b/3.x/okhttp/okhttp3/Challenge.html deleted file mode 100644 index ad374fa57..000000000 --- a/3.x/okhttp/okhttp3/Challenge.html +++ /dev/null @@ -1,410 +0,0 @@ - - - - - - -Challenge (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Challenge

-
-
- -
-
    -
  • -
    -
    -
    public final class Challenge
    -extends Object
    -
    An RFC 7235 challenge.
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        withCharset

        -
        public Challenge withCharset(Charset charset)
        -
        Returns a copy of this charset that expects a credential encoded with charset.
        -
      • -
      - - - -
        -
      • -

        scheme

        -
        public String scheme()
        -
        Returns the authentication scheme, like Basic.
        -
      • -
      - - - -
        -
      • -

        authParams

        -
        public Map<String,String> authParams()
        -
        Returns the auth params, including realm and charset if present, but as - strings. The map's keys are lowercase and should be treated case-insensitively.
        -
      • -
      - - - -
        -
      • -

        realm

        -
        public String realm()
        -
        Returns the protection space.
        -
      • -
      - - - -
        -
      • -

        charset

        -
        public Charset charset()
        -
        Returns the charset that should be used to encode the credentials.
        -
      • -
      - - - - - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/CipherSuite.html b/3.x/okhttp/okhttp3/CipherSuite.html deleted file mode 100644 index 0b3f23379..000000000 --- a/3.x/okhttp/okhttp3/CipherSuite.html +++ /dev/null @@ -1,1865 +0,0 @@ - - - - - - -CipherSuite (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class CipherSuite

-
-
- -
-
    -
  • -
    -
    -
    public final class CipherSuite
    -extends Object
    -
    TLS cipher - suites. - -

    Not all cipher suites are supported on all platforms. As newer cipher suites - are created (for stronger privacy, better performance, etc.) they will be adopted by the platform - and then exposed here. Cipher suites that are not available on either Android (through API level - 24) or Java (through JDK 9) are omitted for brevity. - -

    See Android SSLEngine - which lists the cipher suites supported by Android. - -

    See JDK 10 Providers - which lists the cipher suites supported by Oracle. - -

    See NativeCrypto.java - from conscrypt, which lists the cipher suites supported by Conscrypt.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        TLS_RSA_WITH_NULL_MD5

        -
        public static final CipherSuite TLS_RSA_WITH_NULL_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_NULL_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_NULL_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_EXPORT_WITH_RC4_40_MD5

        -
        public static final CipherSuite TLS_RSA_EXPORT_WITH_RC4_40_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_RC4_128_MD5

        -
        public static final CipherSuite TLS_RSA_WITH_RC4_128_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_EXPORT_WITH_DES40_CBC_SHA

        -
        public static final CipherSuite TLS_RSA_EXPORT_WITH_DES40_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_DES_CBC_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_DES_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_DES_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_DES_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_DES_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_DES_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_EXPORT_WITH_RC4_40_MD5

        -
        public static final CipherSuite TLS_DH_anon_EXPORT_WITH_RC4_40_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_RC4_128_MD5

        -
        public static final CipherSuite TLS_DH_anon_WITH_RC4_128_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA

        -
        public static final CipherSuite TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_DES_CBC_SHA

        -
        public static final CipherSuite TLS_DH_anon_WITH_DES_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_DH_anon_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_WITH_DES_CBC_SHA

        -
        public static final CipherSuite TLS_KRB5_WITH_DES_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_KRB5_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_KRB5_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_WITH_DES_CBC_MD5

        -
        public static final CipherSuite TLS_KRB5_WITH_DES_CBC_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_WITH_3DES_EDE_CBC_MD5

        -
        public static final CipherSuite TLS_KRB5_WITH_3DES_EDE_CBC_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_WITH_RC4_128_MD5

        -
        public static final CipherSuite TLS_KRB5_WITH_RC4_128_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA

        -
        public static final CipherSuite TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_EXPORT_WITH_RC4_40_SHA

        -
        public static final CipherSuite TLS_KRB5_EXPORT_WITH_RC4_40_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5

        -
        public static final CipherSuite TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_KRB5_EXPORT_WITH_RC4_40_MD5

        -
        public static final CipherSuite TLS_KRB5_EXPORT_WITH_RC4_40_MD5
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_DH_anon_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_DH_anon_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_NULL_SHA256

        -
        public static final CipherSuite TLS_RSA_WITH_NULL_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_AES_256_CBC_SHA256

        -
        public static final CipherSuite TLS_RSA_WITH_AES_256_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_CAMELLIA_128_CBC_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_CAMELLIA_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_AES_256_CBC_SHA256

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_AES_256_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_AES_256_CBC_SHA256

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_AES_256_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_DH_anon_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_AES_256_CBC_SHA256

        -
        public static final CipherSuite TLS_DH_anon_WITH_AES_256_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_CAMELLIA_256_CBC_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_CAMELLIA_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_PSK_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_PSK_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_PSK_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_PSK_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_PSK_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_PSK_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_PSK_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_PSK_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_SEED_CBC_SHA

        -
        public static final CipherSuite TLS_RSA_WITH_SEED_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_RSA_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_RSA_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_RSA_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_DSS_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_DHE_DSS_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_DH_anon_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DH_anon_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_DH_anon_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_EMPTY_RENEGOTIATION_INFO_SCSV

        -
        public static final CipherSuite TLS_EMPTY_RENEGOTIATION_INFO_SCSV
        -
      • -
      - - - -
        -
      • -

        TLS_FALLBACK_SCSV

        -
        public static final CipherSuite TLS_FALLBACK_SCSV
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_NULL_SHA

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_NULL_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_NULL_SHA

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_NULL_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_NULL_SHA

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_NULL_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_NULL_SHA

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_NULL_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_anon_WITH_NULL_SHA

        -
        public static final CipherSuite TLS_ECDH_anon_WITH_NULL_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_anon_WITH_RC4_128_SHA

        -
        public static final CipherSuite TLS_ECDH_anon_WITH_RC4_128_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_anon_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_anon_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_anon_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_ECDH_anon_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA

        -
        public static final CipherSuite TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256

        -
        public static final CipherSuite TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256

        -
        public static final CipherSuite TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256

        -
        public static final CipherSuite TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256

        -
        public static final CipherSuite TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_AES_128_GCM_SHA256

        -
        public static final CipherSuite TLS_AES_128_GCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_AES_256_GCM_SHA384

        -
        public static final CipherSuite TLS_AES_256_GCM_SHA384
        -
      • -
      - - - -
        -
      • -

        TLS_CHACHA20_POLY1305_SHA256

        -
        public static final CipherSuite TLS_CHACHA20_POLY1305_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_AES_128_CCM_SHA256

        -
        public static final CipherSuite TLS_AES_128_CCM_SHA256
        -
      • -
      - - - -
        -
      • -

        TLS_AES_128_CCM_8_SHA256

        -
        public static final CipherSuite TLS_AES_128_CCM_8_SHA256
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        forJavaName

        -
        public static CipherSuite forJavaName(String javaName)
        -
        -
        Parameters:
        -
        javaName - the name used by Java APIs for this cipher suite. Different than the IANA name - for older cipher suites because the prefix is SSL_ instead of TLS_.
        -
        -
      • -
      - - - -
        -
      • -

        javaName

        -
        public String javaName()
        -
        Returns the Java name of this cipher suite. For some older cipher suites the Java name has the - prefix SSL_, causing the Java name to be different from the instance name which is - always prefixed TLS_. For example, TLS_RSA_EXPORT_WITH_RC4_40_MD5.javaName() - is "SSL_RSA_EXPORT_WITH_RC4_40_MD5".
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Connection.html b/3.x/okhttp/okhttp3/Connection.html deleted file mode 100644 index 944dfe564..000000000 --- a/3.x/okhttp/okhttp3/Connection.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - - -Connection (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Interface Connection

-
-
-
-
    -
  • -
    -
    -
    public interface Connection
    -
    The sockets and streams of an HTTP, HTTPS, or HTTPS+HTTP/2 connection. May be used for multiple - HTTP request/response exchanges. Connections may be direct to the origin server or via a proxy. - -

    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 - connection pool. - -

    Do not confuse this class with the misnamed HttpURLConnection, which isn't so much a - connection as a single request/response exchange. - -

    Modern TLS

    - -

    There are tradeoffs when selecting which options to include when negotiating a secure - connection to a remote host. Newer TLS options are quite useful: - -

      -
    • Server Name Indication (SNI) enables one IP address to negotiate secure connections for - multiple domain names. -
    • Application Layer Protocol Negotiation (ALPN) enables the HTTPS port (443) to be used to - negotiate HTTP/2. -
    - -

    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. - -

    Connection Reuse

    - -

    Each connection can carry a varying number of streams, depending on the underlying protocol - being used. HTTP/1.x connections can carry either zero or one streams. HTTP/2 connections can - carry any number of streams, dynamically configured with SETTINGS_MAX_CONCURRENT_STREAMS. - A connection currently carrying zero streams is an idle stream. We keep it alive because reusing - an existing connection is typically faster than establishing a new one. - -

    When a single logical call requires multiple streams due to redirects or authorization - challenges, we prefer to use the same physical connection for all streams in the sequence. There - are potential performance and behavior consequences to this preference. To support this feature, - this class separates allocations from streams. An allocation is created by a call, - used for one or more streams, and then released. An allocated connection won't be stolen by other - calls while a redirect or authorization challenge is being handled. - -

    When the maximum concurrent streams limit is reduced, some allocations will be rescinded. - Attempting to create new streams on these allocations will fail. - -

    Note that an allocation may be released before its stream is completed. This is intended to - make bookkeeping easier for the caller: releasing the allocation as soon as the terminal stream - has been found. But only complete the stream once its data stream has been exhausted.

    -
  • -
-
-
-
    -
  • - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        route

        -
        Route route()
        -
        Returns the route used by this connection.
        -
      • -
      - - - -
        -
      • -

        socket

        -
        Socket socket()
        -
        Returns the socket that this connection is using. Returns an SSL socket if this connection is HTTPS. If this is an HTTP/2 - connection the socket may be shared by multiple concurrent calls.
        -
      • -
      - - - -
        -
      • -

        handshake

        -
        @Nullable
        -Handshake handshake()
        -
        Returns the TLS handshake used to establish this connection, or null if the connection is not - HTTPS.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/ConnectionPool.html b/3.x/okhttp/okhttp3/ConnectionPool.html deleted file mode 100644 index cd7dd31ef..000000000 --- a/3.x/okhttp/okhttp3/ConnectionPool.html +++ /dev/null @@ -1,331 +0,0 @@ - - - - - - -ConnectionPool (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class ConnectionPool

-
-
- -
-
    -
  • -
    -
    -
    public final class ConnectionPool
    -extends Object
    -
    Manages reuse of HTTP and HTTP/2 connections for reduced network latency. HTTP requests that - share the same Address may share a Connection. This class implements the policy - of which connections to keep open for future use.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ConnectionPool

        -
        public ConnectionPool()
        -
        Create a new connection pool with tuning parameters appropriate for a single-user application. - The tuning parameters in this pool are subject to change in future OkHttp releases. Currently - this pool holds up to 5 idle connections which will be evicted after 5 minutes of inactivity.
        -
      • -
      - - - -
        -
      • -

        ConnectionPool

        -
        public ConnectionPool(int maxIdleConnections,
        -                      long keepAliveDuration,
        -                      TimeUnit timeUnit)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        idleConnectionCount

        -
        public int idleConnectionCount()
        -
        Returns the number of idle connections in the pool.
        -
      • -
      - - - -
        -
      • -

        connectionCount

        -
        public int connectionCount()
        -
        Returns total number of connections in the pool.
        -
      • -
      - - - -
        -
      • -

        evictAll

        -
        public void evictAll()
        -
        Close and remove all idle connections in the pool.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/ConnectionSpec.Builder.html b/3.x/okhttp/okhttp3/ConnectionSpec.Builder.html deleted file mode 100644 index 0c98e617e..000000000 --- a/3.x/okhttp/okhttp3/ConnectionSpec.Builder.html +++ /dev/null @@ -1,376 +0,0 @@ - - - - - - -ConnectionSpec.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class ConnectionSpec.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    ConnectionSpec
    -
    -
    -
    -
    public static final class ConnectionSpec.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/ConnectionSpec.html b/3.x/okhttp/okhttp3/ConnectionSpec.html deleted file mode 100644 index 7d5fb6580..000000000 --- a/3.x/okhttp/okhttp3/ConnectionSpec.html +++ /dev/null @@ -1,488 +0,0 @@ - - - - - - -ConnectionSpec (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class ConnectionSpec

-
-
- -
-
    -
  • -
    -
    -
    public final class ConnectionSpec
    -extends Object
    -
    Specifies configuration for the socket connection that HTTP traffic travels through. For https: URLs, this includes the TLS version and cipher suites to use when negotiating a secure - connection. - -

    The TLS versions configured in a connection spec are only be used if they are also enabled in - the SSL socket. For example, if an SSL socket does not have TLS 1.3 enabled, it will not be used - even if it is present on the connection spec. The same policy also applies to cipher suites. - -

    Use ConnectionSpec.Builder.allEnabledTlsVersions() and ConnectionSpec.Builder.allEnabledCipherSuites() to - defer all feature selection to the underlying SSL socket. - -

    The configuration of each spec changes with each OkHttp release. This is annoying: upgrading - your OkHttp library can break connectivity to certain web servers! But it’s a necessary annoyance - because the TLS ecosystem is dynamic and staying up to date is necessary to stay secure. See - OkHttp's TLS - Configuration History to track these changes.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        RESTRICTED_TLS

        -
        public static final ConnectionSpec RESTRICTED_TLS
        -
        A secure TLS connection that requires a recent client platform and a recent server.
        -
      • -
      - - - -
        -
      • -

        MODERN_TLS

        -
        public static final ConnectionSpec MODERN_TLS
        -
        A modern TLS configuration that works on most client platforms and can connect to most servers. - This is OkHttp's default configuration.
        -
      • -
      - - - -
        -
      • -

        COMPATIBLE_TLS

        -
        public static final ConnectionSpec COMPATIBLE_TLS
        -
        A backwards-compatible fallback configuration that works on obsolete client platforms and can - connect to obsolete servers. When possible, prefer to upgrade your client platform or server - rather than using this configuration.
        -
      • -
      - - - -
        -
      • -

        CLEARTEXT

        -
        public static final ConnectionSpec CLEARTEXT
        -
        Unencrypted, unauthenticated connections for http: URLs.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isTls

        -
        public boolean isTls()
        -
      • -
      - - - -
        -
      • -

        cipherSuites

        -
        @Nullable
        -public List<CipherSuite> cipherSuites()
        -
        Returns the cipher suites to use for a connection. Returns null if all of the SSL socket's - enabled cipher suites should be used.
        -
      • -
      - - - -
        -
      • -

        tlsVersions

        -
        @Nullable
        -public List<TlsVersion> tlsVersions()
        -
        Returns the TLS versions to use when negotiating a connection. Returns null if all of the SSL - socket's enabled TLS versions should be used.
        -
      • -
      - - - -
        -
      • -

        supportsTlsExtensions

        -
        public boolean supportsTlsExtensions()
        -
      • -
      - - - -
        -
      • -

        isCompatible

        -
        public boolean isCompatible(SSLSocket socket)
        -
        Returns true if the socket, as currently configured, supports this connection spec. In - order for a socket to be compatible the enabled cipher suites and protocols must intersect. - -

        For cipher suites, at least one of the required cipher suites must - match the socket's enabled cipher suites. If there are no required cipher suites the socket - must have at least one cipher suite enabled. - -

        For protocols, at least one of the required protocols must match the - socket's enabled protocols.

        -
      • -
      - - - - - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Cookie.Builder.html b/3.x/okhttp/okhttp3/Cookie.Builder.html deleted file mode 100644 index 9d103a8c8..000000000 --- a/3.x/okhttp/okhttp3/Cookie.Builder.html +++ /dev/null @@ -1,389 +0,0 @@ - - - - - - -Cookie.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Cookie.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    Cookie
    -
    -
    -
    -
    public static final class Cookie.Builder
    -extends Object
    -
    Builds a cookie. The name, value, and domain values must all be set before calling build().
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Cookie.html b/3.x/okhttp/okhttp3/Cookie.html deleted file mode 100644 index 3a920b92a..000000000 --- a/3.x/okhttp/okhttp3/Cookie.html +++ /dev/null @@ -1,517 +0,0 @@ - - - - - - -Cookie (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Cookie

-
-
- -
- -
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class Cookie.Builder -
      Builds a cookie.
      -
      -
    • -
    - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        name

        -
        public String name()
        -
        Returns a non-empty string with this cookie's name.
        -
      • -
      - - - -
        -
      • -

        value

        -
        public String value()
        -
        Returns a possibly-empty string with this cookie's value.
        -
      • -
      - - - -
        -
      • -

        persistent

        -
        public boolean persistent()
        -
        Returns true if this cookie does not expire at the end of the current session.
        -
      • -
      - - - -
        -
      • -

        expiresAt

        -
        public long expiresAt()
        -
        Returns the time that this cookie expires, in the same format as System.currentTimeMillis(). This is December 31, 9999 if the cookie is not persistent, in which case it will expire at the end of the current session. - -

        This may return a value less than the current time, in which case the cookie is already - expired. Webservers may return expired cookies as a mechanism to delete previously set cookies - that may or may not themselves be expired.

        -
      • -
      - - - -
        -
      • -

        hostOnly

        -
        public boolean hostOnly()
        -
        Returns true if this cookie's domain should be interpreted as a single host name, or false if - it should be interpreted as a pattern. This flag will be false if its Set-Cookie header - included a domain attribute. - -

        For example, suppose the cookie's domain is example.com. If this flag is true it - matches only example.com. If this flag is false it matches example.com and all subdomains including api.example.com, www.example.com, and - beta.api.example.com.

        -
      • -
      - - - -
        -
      • -

        domain

        -
        public String domain()
        -
        Returns the cookie's domain. If hostOnly() returns true this is the only domain that - matches this cookie; otherwise it matches this domain and all subdomains.
        -
      • -
      - - - -
        -
      • -

        path

        -
        public String path()
        -
        Returns this cookie's path. This cookie matches URLs prefixed with path segments that match - this path's segments. For example, if this path is /foo this cookie matches requests to - /foo and /foo/bar, but not / or /football.
        -
      • -
      - - - -
        -
      • -

        httpOnly

        -
        public boolean httpOnly()
        -
        Returns true if this cookie should be limited to only HTTP APIs. In web browsers this prevents - the cookie from being accessible to scripts.
        -
      • -
      - - - -
        -
      • -

        secure

        -
        public boolean secure()
        -
        Returns true if this cookie should be limited to only HTTPS requests.
        -
      • -
      - - - -
        -
      • -

        matches

        -
        public boolean matches(HttpUrl url)
        -
        Returns true if this cookie should be included on a request to url. In addition to this - check callers should also confirm that this cookie has not expired.
        -
      • -
      - - - -
        -
      • -

        parse

        -
        @Nullable
        -public static Cookie parse(HttpUrl url,
        -                                     String setCookie)
        -
        Attempt to parse a Set-Cookie HTTP header value setCookie as a cookie. Returns - null if setCookie is not a well-formed cookie.
        -
      • -
      - - - -
        -
      • -

        parseAll

        -
        public static List<Cookie> parseAll(HttpUrl url,
        -                                    Headers headers)
        -
        Returns all of the cookies from a set of HTTP response headers.
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/CookieJar.html b/3.x/okhttp/okhttp3/CookieJar.html deleted file mode 100644 index d09e7cbb5..000000000 --- a/3.x/okhttp/okhttp3/CookieJar.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - -CookieJar (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Interface CookieJar

-
-
-
-
    -
  • -
    -
    -
    public interface CookieJar
    -
    Provides policy and persistence for HTTP cookies. - -

    As policy, implementations of this interface are responsible for selecting which cookies to - accept and which to reject. A reasonable policy is to reject all cookies, though that may - interfere with session-based authentication schemes that require cookies. - -

    As persistence, implementations of this interface must also provide storage of cookies. Simple - implementations may store cookies in memory; sophisticated ones may use the file system or - database to hold accepted cookies. The cookie storage model specifies - policies for updating and expiring cookies.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        NO_COOKIES

        -
        static final CookieJar NO_COOKIES
        -
        A cookie jar that never accepts any cookies.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        saveFromResponse

        -
        void saveFromResponse(HttpUrl url,
        -                      List<Cookie> cookies)
        -
        Saves cookies from an HTTP response to this store according to this jar's policy. - -

        Note that this method may be called a second time for a single HTTP response if the response - includes a trailer. For this obscure HTTP feature, cookies contains only the trailer's - cookies.

        -
      • -
      - - - -
        -
      • -

        loadForRequest

        -
        List<Cookie> loadForRequest(HttpUrl url)
        -
        Load cookies from the jar for an HTTP request to url. This method returns a possibly - empty list of cookies for the network request. - -

        Simple implementations will return the accepted cookies that have not yet expired and that - match url.

        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Credentials.html b/3.x/okhttp/okhttp3/Credentials.html deleted file mode 100644 index f35005fcc..000000000 --- a/3.x/okhttp/okhttp3/Credentials.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - -Credentials (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Credentials

-
-
- -
-
    -
  • -
    -
    -
    public final class Credentials
    -extends Object
    -
    Factory for HTTP authorization credentials.
    -
  • -
-
-
- -
-
-
    -
  • - - -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Dispatcher.html b/3.x/okhttp/okhttp3/Dispatcher.html deleted file mode 100644 index 1b73a7285..000000000 --- a/3.x/okhttp/okhttp3/Dispatcher.html +++ /dev/null @@ -1,460 +0,0 @@ - - - - - - -Dispatcher (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Dispatcher

-
-
- -
-
    -
  • -
    -
    -
    public final class Dispatcher
    -extends Object
    -
    Policy on when async requests are executed. - -

    Each dispatcher uses an ExecutorService to run calls internally. If you supply your - own executor, it should be able to run the configured maximum number - of calls concurrently.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - - - - - -
        -
      • -

        Dispatcher

        -
        public Dispatcher()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        setMaxRequests

        -
        public void setMaxRequests(int maxRequests)
        -
        Set the maximum number of requests to execute concurrently. Above this requests queue in - memory, waiting for the running calls to complete. - -

        If more than maxRequests requests are in flight when this is invoked, those requests - will remain in flight.

        -
      • -
      - - - -
        -
      • -

        getMaxRequests

        -
        public int getMaxRequests()
        -
      • -
      - - - -
        -
      • -

        setMaxRequestsPerHost

        -
        public void setMaxRequestsPerHost(int maxRequestsPerHost)
        -
        Set the maximum number of requests for each host to execute concurrently. This limits requests - by the URL's host name. Note that concurrent requests to a single IP address may still exceed - this limit: multiple hostnames may share an IP address or be routed through the same HTTP - proxy. - -

        If more than maxRequestsPerHost requests are in flight when this is invoked, those - requests will remain in flight. - -

        WebSocket connections to hosts do not count against this limit.

        -
      • -
      - - - -
        -
      • -

        getMaxRequestsPerHost

        -
        public int getMaxRequestsPerHost()
        -
      • -
      - - - -
        -
      • -

        setIdleCallback

        -
        public void setIdleCallback(@Nullable
        -                            Runnable idleCallback)
        -
        Set a callback to be invoked each time the dispatcher becomes idle (when the number of running - calls returns to zero). - -

        Note: The time at which a call is considered idle is different depending - on whether it was run asynchronously or - synchronously. Asynchronous calls become idle after the - onResponse or onFailure callback has - returned. Synchronous calls become idle once execute() returns. This - means that if you are doing synchronous calls the network layer will not truly be idle until - every returned Response has been closed.

        -
      • -
      - - - -
        -
      • -

        cancelAll

        -
        public void cancelAll()
        -
        Cancel all calls currently enqueued or executing. Includes calls executed both synchronously and asynchronously.
        -
      • -
      - - - -
        -
      • -

        queuedCalls

        -
        public List<Call> queuedCalls()
        -
        Returns a snapshot of the calls currently awaiting execution.
        -
      • -
      - - - -
        -
      • -

        runningCalls

        -
        public List<Call> runningCalls()
        -
        Returns a snapshot of the calls currently being executed.
        -
      • -
      - - - -
        -
      • -

        queuedCallsCount

        -
        public int queuedCallsCount()
        -
      • -
      - - - -
        -
      • -

        runningCallsCount

        -
        public int runningCallsCount()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Dns.html b/3.x/okhttp/okhttp3/Dns.html deleted file mode 100644 index 19cc9b5e8..000000000 --- a/3.x/okhttp/okhttp3/Dns.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - -Dns (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Interface Dns

-
-
-
-
    -
  • -
    -
    -
    public interface Dns
    -
    A domain name service that resolves IP addresses for host names. Most applications will use the - system DNS service, which is the default. Some applications may provide - their own implementation to use a different DNS server, to prefer IPv6 addresses, to prefer IPv4 - addresses, or to force a specific known IP address. - -

    Implementations of this interface must be safe for concurrent use.

    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        lookup

        -
        List<InetAddress> lookup(String hostname)
        -                  throws UnknownHostException
        -
        Returns the IP addresses of hostname, in the order they will be attempted by OkHttp. If - a connection to an address fails, OkHttp will retry the connection with the next address until - either a connection is made, the set of IP addresses is exhausted, or a limit is exceeded.
        -
        -
        Throws:
        -
        UnknownHostException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/EventListener.Factory.html b/3.x/okhttp/okhttp3/EventListener.Factory.html deleted file mode 100644 index b13eec8e3..000000000 --- a/3.x/okhttp/okhttp3/EventListener.Factory.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - -EventListener.Factory (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Interface EventListener.Factory

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    EventListener
    -
    -
    -
    -
    public static interface EventListener.Factory
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        create

        -
        EventListener create(Call call)
        -
        Creates an instance of the EventListener for a particular Call. The returned - EventListener instance will be used during the lifecycle of the call. - -

        This method is invoked after the call is created. See - OkHttpClient.newCall(Request). - -

        It is an error for implementations to issue any mutating operations on the - call instance from this method.

        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/EventListener.html b/3.x/okhttp/okhttp3/EventListener.html deleted file mode 100644 index 96423bac0..000000000 --- a/3.x/okhttp/okhttp3/EventListener.html +++ /dev/null @@ -1,841 +0,0 @@ - - - - - - -EventListener (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class EventListener

-
-
- -
-
    -
  • -
    -
    -
    public abstract class EventListener
    -extends Object
    -
    Listener for metrics events. Extend this class to monitor the quantity, size, and duration of - your application's HTTP calls. - -

    All start/connect/acquire events will eventually receive a matching end/release event, - either successful (non-null parameters), or failed (non-null throwable). The first common - parameters of each event pair are used to link the event in case of concurrent or repeated - events e.g. dnsStart(call, domainName) -> dnsEnd(call, domainName, inetAddressList). - -

    Nesting is as follows -

      -
    • call -> (dns -> connect -> secure connect)* -> request events
    • -
    • call -> (connection acquire/release)*
    • -
    - -

    Request events are ordered: - requestHeaders -> requestBody -> responseHeaders -> responseBody - -

    Since connections may be reused, the dns and connect events may not be present for a call, - or may be repeated in case of failure retries, even concurrently in case of happy eyeballs type - scenarios. A redirect cross domain, or to use https may cause additional connection and request - events. - -

    All event methods must execute fast, without external locking, cannot throw exceptions, - attempt to mutate the event parameters, or be re-entrant back into the client. - Any IO - writing to files or network should be done asynchronously.

    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        EventListener

        -
        public EventListener()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        callStart

        -
        public void callStart(Call call)
        -
        Invoked as soon as a call is enqueued or executed by a client. In case of thread or stream - limits, this call may be executed well before processing the request is able to begin. - -

        This will be invoked only once for a single Call. Retries of different routes - or redirects will be handled within the boundaries of a single callStart and callEnd(okhttp3.Call)/callFailed(okhttp3.Call, java.io.IOException) pair.

        -
      • -
      - - - -
        -
      • -

        dnsStart

        -
        public void dnsStart(Call call,
        -                     String domainName)
        -
        Invoked just prior to a DNS lookup. See Dns.lookup(String). - -

        This can be invoked more than 1 time for a single Call. For example, if the response - to the Call.request() is a redirect to a different host. - -

        If the Call is able to reuse an existing pooled connection, this method will not be - invoked. See ConnectionPool.

        -
      • -
      - - - - - - - -
        -
      • -

        connectStart

        -
        public void connectStart(Call call,
        -                         InetSocketAddress inetSocketAddress,
        -                         Proxy proxy)
        -
        Invoked just prior to initiating a socket connection. - -

        This method will be invoked if no existing connection in the ConnectionPool can be - reused. - -

        This can be invoked more than 1 time for a single Call. For example, if the response - to the Call.request() is a redirect to a different address, or a connection is retried.

        -
      • -
      - - - -
        -
      • -

        secureConnectStart

        -
        public void secureConnectStart(Call call)
        -
        Invoked just prior to initiating a TLS connection. - -

        This method is invoked if the following conditions are met: -

        - -

        This can be invoked more than 1 time for a single Call. For example, if the response - to the Call.request() is a redirect to a different address, or a connection is retried.

        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        connectionAcquired

        -
        public void connectionAcquired(Call call,
        -                               Connection connection)
        -
        Invoked after a connection has been acquired for the call. - -

        This can be invoked more than 1 time for a single Call. For example, if the response - to the Call.request() is a redirect to a different address.

        -
      • -
      - - - -
        -
      • -

        connectionReleased

        -
        public void connectionReleased(Call call,
        -                               Connection connection)
        -
        Invoked after a connection has been released for the call. - -

        This method is always invoked after connectionAcquired(Call, Connection). - -

        This can be invoked more than 1 time for a single Call. For example, if the response - to the Call.request() is a redirect to a different address.

        -
      • -
      - - - -
        -
      • -

        requestHeadersStart

        -
        public void requestHeadersStart(Call call)
        -
        Invoked just prior to sending request headers. - -

        The connection is implicit, and will generally relate to the last - connectionAcquired(Call, Connection) event. - -

        This can be invoked more than 1 time for a single Call. For example, if the response - to the Call.request() is a redirect to a different address.

        -
      • -
      - - - -
        -
      • -

        requestHeadersEnd

        -
        public void requestHeadersEnd(Call call,
        -                              Request request)
        -
        Invoked immediately after sending request headers. - -

        This method is always invoked after requestHeadersStart(Call).

        -
        -
        Parameters:
        -
        request - the request sent over the network. It is an error to access the body of this - request.
        -
        -
      • -
      - - - -
        -
      • -

        requestBodyStart

        -
        public void requestBodyStart(Call call)
        -
        Invoked just prior to sending a request body. Will only be invoked for request allowing and - having a request body to send. - -

        The connection is implicit, and will generally relate to the last - connectionAcquired(Call, Connection) event. - -

        This can be invoked more than 1 time for a single Call. For example, if the response - to the Call.request() is a redirect to a different address.

        -
      • -
      - - - -
        -
      • -

        requestBodyEnd

        -
        public void requestBodyEnd(Call call,
        -                           long byteCount)
        -
        Invoked immediately after sending a request body. - -

        This method is always invoked after requestBodyStart(Call).

        -
      • -
      - - - - - - - -
        -
      • -

        responseHeadersStart

        -
        public void responseHeadersStart(Call call)
        -
        Invoked just prior to receiving response headers. - -

        The connection is implicit, and will generally relate to the last - connectionAcquired(Call, Connection) event. - -

        This can be invoked more than 1 time for a single Call. For example, if the response - to the Call.request() is a redirect to a different address.

        -
      • -
      - - - -
        -
      • -

        responseHeadersEnd

        -
        public void responseHeadersEnd(Call call,
        -                               Response response)
        -
        Invoked immediately after receiving response headers. - -

        This method is always invoked after responseHeadersStart(okhttp3.Call).

        -
        -
        Parameters:
        -
        response - the response received over the network. It is an error to access the body of - this response.
        -
        -
      • -
      - - - -
        -
      • -

        responseBodyStart

        -
        public void responseBodyStart(Call call)
        -
        Invoked just prior to receiving the response body. - -

        The connection is implicit, and will generally relate to the last - connectionAcquired(Call, Connection) event. - -

        This will usually be invoked only 1 time for a single Call, - exceptions are a limited set of cases including failure recovery.

        -
      • -
      - - - -
        -
      • -

        responseBodyEnd

        -
        public void responseBodyEnd(Call call,
        -                            long byteCount)
        -
        Invoked immediately after receiving a response body and completing reading it. - -

        Will only be invoked for requests having a response body e.g. won't be invoked for a - websocket upgrade. - -

        This method is always invoked after requestBodyStart(Call).

        -
      • -
      - - - - - - - -
        -
      • -

        callEnd

        -
        public void callEnd(Call call)
        -
        Invoked immediately after a call has completely ended. This includes delayed consumption - of response body by the caller. - -

        This method is always invoked after callStart(Call).

        -
      • -
      - - - -
        -
      • -

        callFailed

        -
        public void callFailed(Call call,
        -                       IOException ioe)
        -
        Invoked when a call fails permanently. - -

        This method is always invoked after callStart(Call).

        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/FormBody.Builder.html b/3.x/okhttp/okhttp3/FormBody.Builder.html deleted file mode 100644 index 24871cebc..000000000 --- a/3.x/okhttp/okhttp3/FormBody.Builder.html +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - -FormBody.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class FormBody.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    FormBody
    -
    -
    -
    -
    public static final class FormBody.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/FormBody.html b/3.x/okhttp/okhttp3/FormBody.html deleted file mode 100644 index 4d9fb2a04..000000000 --- a/3.x/okhttp/okhttp3/FormBody.html +++ /dev/null @@ -1,392 +0,0 @@ - - - - - - -FormBody (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class FormBody

-
-
- -
-
    -
  • -
    -
    -
    public final class FormBody
    -extends RequestBody
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        size

        -
        public int size()
        -
        The number of key-value pairs in this form-encoded body.
        -
      • -
      - - - -
        -
      • -

        encodedName

        -
        public String encodedName(int index)
        -
      • -
      - - - -
        -
      • -

        name

        -
        public String name(int index)
        -
      • -
      - - - -
        -
      • -

        encodedValue

        -
        public String encodedValue(int index)
        -
      • -
      - - - -
        -
      • -

        value

        -
        public String value(int index)
        -
      • -
      - - - - - - - - - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Handshake.html b/3.x/okhttp/okhttp3/Handshake.html deleted file mode 100644 index 1aacc5db5..000000000 --- a/3.x/okhttp/okhttp3/Handshake.html +++ /dev/null @@ -1,418 +0,0 @@ - - - - - - -Handshake (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Handshake

-
-
- -
-
    -
  • -
    -
    -
    public final class Handshake
    -extends Object
    -
    A record of a TLS handshake. For HTTPS clients, the client is local and the remote server - is its peer. - -

    This value object describes a completed handshake. Use ConnectionSpec to set policy - for new handshakes.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - -
        -
      • -

        tlsVersion

        -
        public TlsVersion tlsVersion()
        -
        Returns the TLS version used for this connection. This value wasn't tracked prior to OkHttp - 3.0. For responses cached by preceding versions this returns TlsVersion.SSL_3_0.
        -
      • -
      - - - -
        -
      • -

        cipherSuite

        -
        public CipherSuite cipherSuite()
        -
        Returns the cipher suite used for the connection.
        -
      • -
      - - - -
        -
      • -

        peerCertificates

        -
        public List<Certificate> peerCertificates()
        -
        Returns a possibly-empty list of certificates that identify the remote peer.
        -
      • -
      - - - -
        -
      • -

        peerPrincipal

        -
        @Nullable
        -public Principal peerPrincipal()
        -
        Returns the remote peer's principle, or null if that peer is anonymous.
        -
      • -
      - - - -
        -
      • -

        localCertificates

        -
        public List<Certificate> localCertificates()
        -
        Returns a possibly-empty list of certificates that identify this peer.
        -
      • -
      - - - -
        -
      • -

        localPrincipal

        -
        @Nullable
        -public Principal localPrincipal()
        -
        Returns the local principle, or null if this peer is anonymous.
        -
      • -
      - - - - - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Headers.Builder.html b/3.x/okhttp/okhttp3/Headers.Builder.html deleted file mode 100644 index 34d75cc96..000000000 --- a/3.x/okhttp/okhttp3/Headers.Builder.html +++ /dev/null @@ -1,472 +0,0 @@ - - - - - - -Headers.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Headers.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    Headers
    -
    -
    -
    -
    public static final class Headers.Builder
    -extends Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Builder

        -
        public Builder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        add

        -
        public Headers.Builder add(String line)
        -
        Add an header line containing a field name, a literal colon, and a value.
        -
      • -
      - - - -
        -
      • -

        add

        -
        public Headers.Builder add(String name,
        -                           String value)
        -
        Add a header with the specified name and value. Does validation of header names and values.
        -
      • -
      - - - -
        -
      • -

        addUnsafeNonAscii

        -
        public Headers.Builder addUnsafeNonAscii(String name,
        -                                         String value)
        -
        Add a header with the specified name and value. Does validation of header names, allowing - non-ASCII values.
        -
      • -
      - - - -
        -
      • -

        addAll

        -
        public Headers.Builder addAll(Headers headers)
        -
        Adds all headers from an existing collection.
        -
      • -
      - - - -
        -
      • -

        add

        -
        public Headers.Builder add(String name,
        -                           Date value)
        -
        Add a header with the specified name and formatted date. Does validation of header names and - value.
        -
      • -
      - - - -
        -
      • -

        add

        -
        @IgnoreJRERequirement
        -public Headers.Builder add(String name,
        -                                                 Instant value)
        -
        Add a header with the specified name and formatted instant. Does validation of header names - and value.
        -
      • -
      - - - -
        -
      • -

        set

        -
        public Headers.Builder set(String name,
        -                           Date value)
        -
        Set a field with the specified date. If the field is not found, it is added. If the field is - found, the existing values are replaced.
        -
      • -
      - - - -
        -
      • -

        set

        -
        @IgnoreJRERequirement
        -public Headers.Builder set(String name,
        -                                                 Instant value)
        -
        Set a field with the specified instant. If the field is not found, it is added. If the field - is found, the existing values are replaced.
        -
      • -
      - - - - - - - -
        -
      • -

        set

        -
        public Headers.Builder set(String name,
        -                           String value)
        -
        Set a field with the specified value. If the field is not found, it is added. If the field is - found, the existing values are replaced.
        -
      • -
      - - - -
        -
      • -

        get

        -
        @Nullable
        -public String get(String name)
        -
        Equivalent to build().get(name), but potentially faster.
        -
      • -
      - - - -
        -
      • -

        build

        -
        public Headers build()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Headers.html b/3.x/okhttp/okhttp3/Headers.html deleted file mode 100644 index 474241e9d..000000000 --- a/3.x/okhttp/okhttp3/Headers.html +++ /dev/null @@ -1,550 +0,0 @@ - - - - - - -Headers (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Headers

-
-
- -
-
    -
  • -
    -
    -
    public final class Headers
    -extends Object
    -
    The header fields of a single HTTP message. Values are uninterpreted strings; use Request - and Response for interpreted headers. This class maintains the order of the header fields - within the HTTP message. - -

    This class tracks header values line-by-line. A field with multiple comma- separated values on - the same line will be treated as a field with a single value by this class. It is the caller's - responsibility to detect and split on commas if their field permits multiple values. This - simplifies use of single-valued fields whose values routinely contain commas, such as cookies or - dates. - -

    This class trims whitespace from values. It never returns values with leading or trailing - whitespace. - -

    Instances of this class are immutable. Use Headers.Builder to create instances.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        get

        -
        @Nullable
        -public String get(String name)
        -
        Returns the last value corresponding to the specified field, or null.
        -
      • -
      - - - -
        -
      • -

        getDate

        -
        @Nullable
        -public Date getDate(String name)
        -
        Returns the last value corresponding to the specified field parsed as an HTTP date, or null if - either the field is absent or cannot be parsed as a date.
        -
      • -
      - - - -
        -
      • -

        getInstant

        -
        @IgnoreJRERequirement
        - @Nullable
        -public Instant getInstant(String name)
        -
        Returns the last value corresponding to the specified field parsed as an HTTP date, or null if - either the field is absent or cannot be parsed as a date.
        -
      • -
      - - - -
        -
      • -

        size

        -
        public int size()
        -
        Returns the number of field values.
        -
      • -
      - - - -
        -
      • -

        name

        -
        public String name(int index)
        -
        Returns the field at position.
        -
      • -
      - - - -
        -
      • -

        value

        -
        public String value(int index)
        -
        Returns the value at index.
        -
      • -
      - - - -
        -
      • -

        names

        -
        public Set<String> names()
        -
        Returns an immutable case-insensitive set of header names.
        -
      • -
      - - - -
        -
      • -

        values

        -
        public List<String> values(String name)
        -
        Returns an immutable list of the header values for name.
        -
      • -
      - - - -
        -
      • -

        byteCount

        -
        public long byteCount()
        -
        Returns the number of bytes required to encode these headers using HTTP/1.1. This is also the - approximate size of HTTP/2 headers before they are compressed with HPACK. This value is - intended to be used as a metric: smaller headers are more efficient to encode and transmit.
        -
      • -
      - - - - - - - -
        -
      • -

        equals

        -
        public boolean equals(@Nullable
        -                      Object other)
        -
        Returns true if other is a Headers object with the same headers, with the same - casing, in the same order. Note that two headers instances may be semantically equal - but not equal according to this method. In particular, none of the following sets of headers - are equal according to this method:
           
        -
        -   1. Original
        -   Content-Type: text/html
        -   Content-Length: 50
        -
        -   2. Different order
        -   Content-Length: 50
        -   Content-Type: text/html
        -
        -   3. Different case
        -   content-type: text/html
        -   content-length: 50
        -
        -   4. Different values
        -   Content-Type: text/html
        -   Content-Length: 050
        - 
        - - Applications that require semantically equal headers should convert them into a canonical form - before comparing them for equality.
        -
        -
        Overrides:
        -
        equals in class Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        of

        -
        public static Headers of(String... namesAndValues)
        -
        Returns headers for the alternating header names and values. There must be an even number of - arguments, and they must alternate between header names and values.
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static Headers of(Map<String,String> headers)
        -
        Returns headers for the header names and values in the Map.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/HttpUrl.Builder.html b/3.x/okhttp/okhttp3/HttpUrl.Builder.html deleted file mode 100644 index e76c41781..000000000 --- a/3.x/okhttp/okhttp3/HttpUrl.Builder.html +++ /dev/null @@ -1,658 +0,0 @@ - - - - - - -HttpUrl.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class HttpUrl.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    HttpUrl
    -
    -
    -
    -
    public static final class HttpUrl.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/HttpUrl.html b/3.x/okhttp/okhttp3/HttpUrl.html deleted file mode 100644 index 7487c9eed..000000000 --- a/3.x/okhttp/okhttp3/HttpUrl.html +++ /dev/null @@ -1,1319 +0,0 @@ - - - - - - -HttpUrl (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class HttpUrl

-
-
- -
-
    -
  • -
    -
    -
    public final class HttpUrl
    -extends Object
    -
    A uniform resource locator (URL) with a scheme of either http or https. Use this - class to compose and decompose Internet addresses. For example, this code will compose and print - a URL for Google search:
       
    -
    -   HttpUrl url = new HttpUrl.Builder()
    -       .scheme("https")
    -       .host("www.google.com")
    -       .addPathSegment("search")
    -       .addQueryParameter("q", "polar bears")
    -       .build();
    -   System.out.println(url);
    - 
    - - which prints:
       
    -
    -     https://www.google.com/search?q=polar%20bears
    - 
    - - As another example, this code prints the human-readable query parameters of a Twitter search: -
       
    -
    -   HttpUrl url = HttpUrl.parse("https://twitter.com/search?q=cute%20%23puppies&f=images");
    -   for (int i = 0, size = url.querySize(); i < size; i++) {
    -     System.out.println(url.queryParameterName(i) + ": " + url.queryParameterValue(i));
    -   }
    - 
    - - which prints:
       
    -
    -   q: cute #puppies
    -   f: images
    - 
    - - In addition to composing URLs from their component parts and decomposing URLs into their - component parts, this class implements relative URL resolution: what address you'd reach by - clicking a relative link on a specified page. For example:
       
    -
    -   HttpUrl base = HttpUrl.parse("https://www.youtube.com/user/WatchTheDaily/videos");
    -   HttpUrl link = base.resolve("../../watch?v=cbP2N1BQdYc");
    -   System.out.println(link);
    - 
    - - which prints:
       
    -
    -   https://www.youtube.com/watch?v=cbP2N1BQdYc
    - 
    - -

    What's in a URL?

    - - A URL has several components. - -

    Scheme

    - -

    Sometimes referred to as protocol, A URL's scheme describes what mechanism should be - used to retrieve the resource. Although URLs have many schemes (mailto, file, - ftp), this class only supports http and https. Use java.net.URI for URLs with arbitrary schemes. - -

    Username and Password

    - -

    Username and password are either present, or the empty string "" if absent. This class - offers no mechanism to differentiate empty from absent. Neither of these components are popular - in practice. Typically HTTP applications use other mechanisms for user identification and - authentication. - -

    Host

    - -

    The host identifies the webserver that serves the URL's resource. It is either a hostname like - square.com or localhost, an IPv4 address like 192.168.0.1, or an IPv6 - address like ::1. - -

    Usually a webserver is reachable with multiple identifiers: its IP addresses, registered - domain names, and even localhost when connecting from the server itself. Each of a - webserver's names is a distinct URL and they are not interchangeable. For example, even if http://square.github.io/dagger and http://google.github.io/dagger are served by the same - IP address, the two URLs identify different resources. - -

    Port

    - -

    The port used to connect to the webserver. By default this is 80 for HTTP and 443 for HTTPS. - This class never returns -1 for the port: if no port is explicitly specified in the URL then the - scheme's default is used. - -

    Path

    - -

    The path identifies a specific resource on the host. Paths have a hierarchical structure like - "/square/okhttp/issues/1486" and decompose into a list of segments like ["square", "okhttp", - "issues", "1486"]. - -

    This class offers methods to compose and decompose paths by segment. It composes each path - from a list of segments by alternating between "/" and the encoded segment. For example the - segments ["a", "b"] build "/a/b" and the segments ["a", "b", ""] build "/a/b/". - -

    If a path's last segment is the empty string then the path ends with "/". This class always - builds non-empty paths: if the path is omitted it defaults to "/". The default path's segment - list is a single empty string: [""]. - -

    Query

    - -

    The query is optional: it can be null, empty, or non-empty. For many HTTP URLs the query - string is subdivided into a collection of name-value parameters. This class offers methods to set - the query as the single string, or as individual name-value parameters. With name-value - parameters the values are optional and names may be repeated. - -

    Fragment

    - -

    The fragment is optional: it can be null, empty, or non-empty. Unlike host, port, path, and - query the fragment is not sent to the webserver: it's private to the client. - -

    Encoding

    - -

    Each component must be encoded before it is embedded in the complete URL. As we saw above, the - string cute #puppies is encoded as cute%20%23puppies when used as a query - parameter value. - -

    Percent encoding

    - -

    Percent encoding replaces a character (like 🍩) with its UTF-8 hex bytes - (like %F0%9F%8D%A9). This approach works for whitespace characters, control characters, - non-ASCII characters, and characters that already have another meaning in a particular context. - -

    Percent encoding is used in every URL component except for the hostname. But the set of - characters that need to be encoded is different for each component. For example, the path - component must escape all of its ? characters, otherwise it could be interpreted as the - start of the URL's query. But within the query and fragment components, the ? character - doesn't delimit anything and doesn't need to be escaped.

       
    -
    -   HttpUrl url = HttpUrl.parse("http://who-let-the-dogs.out").newBuilder()
    -       .addPathSegment("_Who?_")
    -       .query("_Who?_")
    -       .fragment("_Who?_")
    -       .build();
    -   System.out.println(url);
    - 
    - - This prints:
       
    -
    -   http://who-let-the-dogs.out/_Who%3F_?_Who?_#_Who?_
    - 
    - - When parsing URLs that lack percent encoding where it is required, this class will percent encode - the offending characters. - -

    IDNA Mapping and Punycode encoding

    - -

    Hostnames have different requirements and use a different encoding scheme. It consists of IDNA - mapping and Punycode encoding. - -

    In order to avoid confusion and discourage phishing attacks, IDNA Mapping transforms names to avoid - confusing characters. This includes basic case folding: transforming shouting SQUARE.COM - into cool and casual square.com. It also handles more exotic characters. For example, the - Unicode trademark sign (™) could be confused for the letters "TM" in http://ho™mail.com. - To mitigate this, the single character (™) maps to the string (tm). There is similar policy for - all of the 1.1 million Unicode code points. Note that some code points such as "🍩" are - not mapped and cannot be used in a hostname. - -

    Punycode converts a Unicode string to an ASCII - string to make international domain names work everywhere. For example, "σ" encodes as "xn--4xa". - The encoded string is not human readable, but can be used with classes like InetAddress - to establish connections. - -

    Why another URL model?

    - -

    Java includes both java.net.URL and java.net.URI. We offer a new URL - model to address problems that the others don't. - -

    Different URLs should be different

    - -

    Although they have different content, java.net.URL considers the following two URLs - equal, and the equals() method between them returns true: - -

      -
    • http://square.github.io/ -
    • http://google.github.io/ -
    - - This is because those two hosts share the same IP address. This is an old, bad design decision - that makes java.net.URL unusable for many things. It shouldn't be used as a Map key or in a Set. Doing so is both inefficient because equality may - require a DNS lookup, and incorrect because unequal URLs may be equal because of how they are - hosted. - -

    Equal URLs should be equal

    - -

    These two URLs are semantically identical, but java.net.URI disagrees: - -

      -
    • http://host:80/ -
    • http://host -
    - - Both the unnecessary port specification (:80) and the absent trailing slash (/) - cause URI to bucket the two URLs separately. This harms URI's usefulness in collections. Any - application that stores information-per-URL will need to either canonicalize manually, or suffer - unnecessary redundancy for such URLs. - -

    Because they don't attempt canonical form, these classes are surprisingly difficult to use - securely. Suppose you're building a webservice that checks that incoming paths are prefixed - "/static/images/" before serving the corresponding assets from the filesystem.

       
    -
    -   String attack = "http://example.com/static/images/../../../../../etc/passwd";
    -   System.out.println(new URL(attack).getPath());
    -   System.out.println(new URI(attack).getPath());
    -   System.out.println(HttpUrl.parse(attack).encodedPath());
    - 
    - - By canonicalizing the input paths, they are complicit in directory traversal attacks. Code that - checks only the path prefix may suffer! -
       
    -
    -    /static/images/../../../../../etc/passwd
    -    /static/images/../../../../../etc/passwd
    -    /etc/passwd
    - 
    - -

    If it works on the web, it should work in your application

    - -

    The java.net.URI class is strict around what URLs it accepts. It rejects URLs like - "http://example.com/abc|def" because the '|' character is unsupported. This class is more - forgiving: it will automatically percent-encode the '|', yielding "http://example.com/abc%7Cdef". - This kind behavior is consistent with web browsers. HttpUrl prefers consistency with - major web browsers over consistency with obsolete specifications. - -

    Paths and Queries should decompose

    - -

    Neither of the built-in URL models offer direct access to path segments or query parameters. - Manually using StringBuilder to assemble these components is cumbersome: do '+' - characters get silently replaced with spaces? If a query parameter contains a '&', does that - get escaped? By offering methods to read and write individual query parameters directly, - application developers are saved from the hassles of encoding and decoding. - -

    Plus a modern API

    - -

    The URL (JDK1.0) and URI (Java 1.4) classes predate builders and instead use telescoping - constructors. For example, there's no API to compose a URI with a custom port without also - providing a query and fragment. - -

    Instances of HttpUrl are well-formed and always have a scheme, host, and path. With - java.net.URL it's possible to create an awkward URL like http:/ with scheme and - path but no hostname. Building APIs that consume such malformed values is difficult! - -

    This class has a modern API. It avoids punitive checked exceptions: get() - throws IllegalArgumentException on invalid input or parse() - returns null if the input is an invalid URL. You can even be explicit about whether each - component has been encoded already.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        uri

        -
        public URI uri()
        -
        Returns this URL as a java.net.URI. Because URI is more strict than this - class, the returned URI may be semantically different from this URL: - -
          -
        • Characters forbidden by URI like [ and | will be escaped. -
        • Invalid percent-encoded sequences like %xx will be encoded like %25xx. -
        • Whitespace and control characters in the fragment will be stripped. -
        - -

        These differences may have a significant consequence when the URI is interpreted by a - webserver. For this reason the URI class and this method should be avoided.

        -
      • -
      - - - -
        -
      • -

        scheme

        -
        public String scheme()
        -
        Returns either "http" or "https".
        -
      • -
      - - - -
        -
      • -

        isHttps

        -
        public boolean isHttps()
        -
      • -
      - - - -
        -
      • -

        encodedUsername

        -
        public String encodedUsername()
        -
        Returns the username, or an empty string if none is set. - -

        - - - - - -
        URLencodedUsername()
        http://host/""
        http://username@host/"username"
        http://username:password@host/"username"
        http://a%20b:c%20d@host/"a%20b"

        -
      • -
      - - - -
        -
      • -

        username

        -
        public String username()
        -
        Returns the decoded username, or an empty string if none is present. - -

        - - - - - -
        URLusername()
        http://host/""
        http://username@host/"username"
        http://username:password@host/"username"
        http://a%20b:c%20d@host/"a b"

        -
      • -
      - - - -
        -
      • -

        encodedPassword

        -
        public String encodedPassword()
        -
        Returns the password, or an empty string if none is set. - -

        - - - - - -
        URLencodedPassword()
        http://host/""
        http://username@host/""
        http://username:password@host/"password"
        http://a%20b:c%20d@host/"c%20d"

        -
      • -
      - - - -
        -
      • -

        password

        -
        public String password()
        -
        Returns the decoded password, or an empty string if none is present. - -

        - - - - - -
        URLpassword()
        http://host/""
        http://username@host/""
        http://username:password@host/"password"
        http://a%20b:c%20d@host/"c d"

        -
      • -
      - - - -
        -
      • -

        host

        -
        public String host()
        -
        Returns the host address suitable for use with InetAddress.getAllByName(String). May - be: - -
          -
        • A regular host name, like android.com. -
        • An IPv4 address, like 127.0.0.1. -
        • An IPv6 address, like ::1. Note that there are no square braces. -
        • An encoded IDN, like xn--n3h.net. -
        - -

        - - - - - -
        URLhost()
        http://android.com/"android.com"
        http://127.0.0.1/"127.0.0.1"
        http://[::1]/"::1"
        http://xn--n3h.net/"xn--n3h.net"

        -
      • -
      - - - -
        -
      • -

        port

        -
        public int port()
        -
        Returns the explicitly-specified port if one was provided, or the default port for this URL's - scheme. For example, this returns 8443 for https://square.com:8443/ and 443 for https://square.com/. The result is in [1..65535]. - -

        - - - - -
        URLport()
        http://host/80
        http://host:8000/8000
        https://host/443

        -
      • -
      - - - -
        -
      • -

        defaultPort

        -
        public static int defaultPort(String scheme)
        -
        Returns 80 if scheme.equals("http"), 443 if scheme.equals("https") and -1 - otherwise.
        -
      • -
      - - - -
        -
      • -

        pathSize

        -
        public int pathSize()
        -
        Returns the number of segments in this URL's path. This is also the number of slashes in the - URL's path, like 3 in http://host/a/b/c. This is always at least 1. - -

        - - - - -
        URLpathSize()
        http://host/1
        http://host/a/b/c3
        http://host/a/b/c/4

        -
      • -
      - - - -
        -
      • -

        encodedPath

        -
        public String encodedPath()
        -
        Returns the entire path of this URL encoded for use in HTTP resource resolution. The returned - path will start with "/". - -

        - - - - -
        URLencodedPath()
        http://host/"/"
        http://host/a/b/c"/a/b/c"
        http://host/a/b%20c/d"/a/b%20c/d"

        -
      • -
      - - - -
        -
      • -

        encodedPathSegments

        -
        public List<String> encodedPathSegments()
        -
        Returns a list of encoded path segments like ["a", "b", "c"] for the URL http://host/a/b/c. This list is never empty though it may contain a single empty string. - -

        - - - - -
        URLencodedPathSegments()
        http://host/[""]
        http://host/a/b/c["a", "b", "c"]
        http://host/a/b%20c/d["a", "b%20c", "d"]

        -
      • -
      - - - -
        -
      • -

        pathSegments

        -
        public List<String> pathSegments()
        -
        Returns a list of path segments like ["a", "b", "c"] for the URL http://host/a/b/c. This list is never empty though it may contain a single empty string. - -

        - - - - -
        URLpathSegments()
        http://host/[""]
        http://host/a/b/c"["a", "b", "c"]
        http://host/a/b%20c/d"["a", "b c", "d"]

        -
      • -
      - - - -
        -
      • -

        encodedQuery

        -
        @Nullable
        -public String encodedQuery()
        -
        Returns the query of this URL, encoded for use in HTTP resource resolution. The returned string - may be null (for URLs with no query), empty (for URLs with an empty query) or non-empty (all - other URLs). - -

        - - - - - - -
        URLencodedQuery()
        http://host/null
        http://host/?""
        http://host/?a=apple&k=key+lime"a=apple&k=key+lime"
        http://host/?a=apple&a=apricot"a=apple&a=apricot"
        http://host/?a=apple&b"a=apple&b"

        -
      • -
      - - - -
        -
      • -

        query

        -
        @Nullable
        -public String query()
        -
        Returns this URL's query, like "abc" for http://host/?abc. Most callers should - prefer queryParameterName(int) and queryParameterValue(int) because these methods offer - direct access to individual query parameters. - -

        - - - - - - -
        URLquery()
        http://host/null
        http://host/?""
        http://host/?a=apple&k=key+lime"a=apple&k=key - lime"
        http://host/?a=apple&a=apricot"a=apple&a=apricot"
        http://host/?a=apple&b"a=apple&b"

        -
      • -
      - - - -
        -
      • -

        querySize

        -
        public int querySize()
        -
        Returns the number of query parameters in this URL, like 2 for http://host/?a=apple&b=banana. If this URL has no query this returns 0. Otherwise it returns - one more than the number of "&" separators in the query. - -

        - - - - - - -
        URLquerySize()
        http://host/0
        http://host/?1
        http://host/?a=apple&k=key+lime2
        http://host/?a=apple&a=apricot2
        http://host/?a=apple&b2

        -
      • -
      - - - -
        -
      • -

        queryParameter

        -
        @Nullable
        -public String queryParameter(String name)
        -
        Returns the first query parameter named name decoded using UTF-8, or null if there is - no such query parameter. - -

        - - - - - - -
        URLqueryParameter("a")
        http://host/null
        http://host/?null
        http://host/?a=apple&k=key+lime"apple"
        http://host/?a=apple&a=apricot"apple"
        http://host/?a=apple&b"apple"

        -
      • -
      - - - -
        -
      • -

        queryParameterNames

        -
        public Set<String> queryParameterNames()
        -
        Returns the distinct query parameter names in this URL, like ["a", "b"] for http://host/?a=apple&b=banana. If this URL has no query this returns the empty set. - -

        - - - - - - -
        URLqueryParameterNames()
        http://host/[]
        http://host/?[""]
        http://host/?a=apple&k=key+lime["a", "k"]
        http://host/?a=apple&a=apricot["a"]
        http://host/?a=apple&b["a", "b"]

        -
      • -
      - - - -
        -
      • -

        queryParameterValues

        -
        public List<String> queryParameterValues(String name)
        -
        Returns all values for the query parameter name ordered by their appearance in this - URL. For example this returns ["banana"] for queryParameterValue("b") on http://host/?a=apple&b=banana. - -

        - - - - - - -
        URLqueryParameterValues("a")queryParameterValues("b")
        http://host/[][]
        http://host/?[][]
        http://host/?a=apple&k=key+lime["apple"][]
        http://host/?a=apple&a=apricot["apple", - "apricot"][]
        http://host/?a=apple&b["apple"][null]

        -
      • -
      - - - -
        -
      • -

        queryParameterName

        -
        public String queryParameterName(int index)
        -
        Returns the name of the query parameter at index. For example this returns "a" - for queryParameterName(0) on http://host/?a=apple&b=banana. This throws if - index is not less than the query size. - -

        - - - - - - -
        URLqueryParameterName(0)queryParameterName(1)
        http://host/exceptionexception
        http://host/?""exception
        http://host/?a=apple&k=key+lime"a""k"
        http://host/?a=apple&a=apricot"a""a"
        http://host/?a=apple&b"a""b"

        -
      • -
      - - - -
        -
      • -

        queryParameterValue

        -
        public String queryParameterValue(int index)
        -
        Returns the value of the query parameter at index. For example this returns "apple" for queryParameterName(0) on http://host/?a=apple&b=banana. This - throws if index is not less than the query size. - -

        - - - - - - -
        URLqueryParameterValue(0)queryParameterValue(1)
        http://host/exceptionexception
        http://host/?nullexception
        http://host/?a=apple&k=key+lime"apple""key lime"
        http://host/?a=apple&a=apricot"apple""apricot"
        http://host/?a=apple&b"apple"null

        -
      • -
      - - - -
        -
      • -

        encodedFragment

        -
        @Nullable
        -public String encodedFragment()
        -
        Returns this URL's encoded fragment, like "abc" for http://host/#abc. This - returns null if the URL has no fragment. - -

        - - - - - -
        URLencodedFragment()
        http://host/null
        http://host/#""
        http://host/#abc"abc"
        http://host/#abc|def"abc|def"

        -
      • -
      - - - -
        -
      • -

        fragment

        -
        @Nullable
        -public String fragment()
        -
        Returns this URL's fragment, like "abc" for http://host/#abc. This returns null - if the URL has no fragment. - -

        - - - - - -
        URLfragment()
        http://host/null
        http://host/#""
        http://host/#abc"abc"
        http://host/#abc|def"abc|def"

        -
      • -
      - - - -
        -
      • -

        redact

        -
        public String redact()
        -
        Returns a string with containing this URL with its username, password, query, and fragment - stripped, and its path replaced with /.... For example, redacting http://username:password@example.com/path returns http://example.com/....
        -
      • -
      - - - -
        -
      • -

        resolve

        -
        @Nullable
        -public HttpUrl resolve(String link)
        -
        Returns the URL that would be retrieved by following link from this URL, or null if - the resulting URL is not well-formed.
        -
      • -
      - - - - - - - -
        -
      • -

        newBuilder

        -
        @Nullable
        -public HttpUrl.Builder newBuilder(String link)
        -
        Returns a builder for the URL that would be retrieved by following link from this URL, - or null if the resulting URL is not well-formed.
        -
      • -
      - - - -
        -
      • -

        parse

        -
        @Nullable
        -public static HttpUrl parse(String url)
        -
        Returns a new HttpUrl representing url if it is a well-formed HTTP or HTTPS - URL, or null if it isn't.
        -
      • -
      - - - - - - - -
        -
      • -

        get

        -
        @Nullable
        -public static HttpUrl get(URL url)
        -
        Returns an HttpUrl for url if its protocol is http or https, or - null if it has any other protocol.
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      - - - - - - - -
        -
      • -

        topPrivateDomain

        -
        @Nullable
        -public String topPrivateDomain()
        -
        Returns the domain name of this URL's host() that is one level beneath the public - suffix by consulting the public suffix list. Returns - null if this URL's host() is an IP address or is considered a public suffix by the - public suffix list. - -

        In general this method should not be used to test whether a domain is valid - or routable. Instead, DNS is the recommended source for that information. - -

        - - - - - - - -
        URLtopPrivateDomain()
        http://google.com"google.com"
        http://adwords.google.co.uk"google.co.uk"
        http://squarenull
        http://co.uknull
        http://localhostnull
        http://127.0.0.1null

        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Interceptor.Chain.html b/3.x/okhttp/okhttp3/Interceptor.Chain.html deleted file mode 100644 index 8e2961b99..000000000 --- a/3.x/okhttp/okhttp3/Interceptor.Chain.html +++ /dev/null @@ -1,359 +0,0 @@ - - - - - - -Interceptor.Chain (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Interface Interceptor.Chain

-
-
-
-
    -
  • -
    -
    Enclosing interface:
    -
    Interceptor
    -
    -
    -
    -
    public static interface Interceptor.Chain
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        request

        -
        Request request()
        -
      • -
      - - - - - - - -
        -
      • -

        connection

        -
        @Nullable
        -Connection connection()
        -
        Returns the connection the request will be executed on. This is only available in the chains - of network interceptors; for application interceptors this is always null.
        -
      • -
      - - - -
        -
      • -

        call

        -
        Call call()
        -
      • -
      - - - -
        -
      • -

        connectTimeoutMillis

        -
        int connectTimeoutMillis()
        -
      • -
      - - - - - - - -
        -
      • -

        readTimeoutMillis

        -
        int readTimeoutMillis()
        -
      • -
      - - - - - - - -
        -
      • -

        writeTimeoutMillis

        -
        int writeTimeoutMillis()
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Interceptor.html b/3.x/okhttp/okhttp3/Interceptor.html deleted file mode 100644 index 8b83c1b47..000000000 --- a/3.x/okhttp/okhttp3/Interceptor.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -Interceptor (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Interface Interceptor

-
-
-
-
    -
  • -
    -
    -
    public interface Interceptor
    -
    Observes, modifies, and potentially short-circuits requests going out and the corresponding - responses coming back in. Typically interceptors add, remove, or transform headers on the request - or response.
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/MediaType.html b/3.x/okhttp/okhttp3/MediaType.html deleted file mode 100644 index a37a0d23f..000000000 --- a/3.x/okhttp/okhttp3/MediaType.html +++ /dev/null @@ -1,394 +0,0 @@ - - - - - - -MediaType (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class MediaType

-
-
- -
-
    -
  • -
    -
    -
    public final class MediaType
    -extends Object
    -
    An RFC 2045 Media Type, appropriate to describe - the content type of an HTTP request or response body.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Charsetcharset() -
      Returns the charset of this media type, or null if this media type doesn't specify a charset.
      -
      Charsetcharset(Charset defaultValue) -
      Returns the charset of this media type, or defaultValue if either this media type - doesn't specify a charset, of it its charset is unsupported by the current runtime.
      -
      booleanequals(Object other) 
      static MediaTypeget(String string) -
      Returns a media type for string.
      -
      inthashCode() 
      static MediaTypeparse(String string) -
      Returns a media type for string, or null if string is not a well-formed media - type.
      -
      Stringsubtype() -
      Returns a specific media subtype, such as "plain" or "png", "mpeg", "mp4" or "xml".
      -
      StringtoString() -
      Returns the encoded media type, like "text/plain; charset=utf-8", appropriate for use in a - Content-Type header.
      -
      Stringtype() -
      Returns the high-level media type, such as "text", "image", "audio", "video", or - "application".
      -
      - -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        parse

        -
        @Nullable
        -public static MediaType parse(String string)
        -
        Returns a media type for string, or null if string is not a well-formed media - type.
        -
      • -
      - - - -
        -
      • -

        type

        -
        public String type()
        -
        Returns the high-level media type, such as "text", "image", "audio", "video", or - "application".
        -
      • -
      - - - -
        -
      • -

        subtype

        -
        public String subtype()
        -
        Returns a specific media subtype, such as "plain" or "png", "mpeg", "mp4" or "xml".
        -
      • -
      - - - -
        -
      • -

        charset

        -
        @Nullable
        -public Charset charset()
        -
        Returns the charset of this media type, or null if this media type doesn't specify a charset.
        -
      • -
      - - - -
        -
      • -

        charset

        -
        @Nullable
        -public Charset charset(@Nullable
        -                                 Charset defaultValue)
        -
        Returns the charset of this media type, or defaultValue if either this media type - doesn't specify a charset, of it its charset is unsupported by the current runtime.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public String toString()
        -
        Returns the encoded media type, like "text/plain; charset=utf-8", appropriate for use in a - Content-Type header.
        -
        -
        Overrides:
        -
        toString in class Object
        -
        -
      • -
      - - - - - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/MultipartBody.Builder.html b/3.x/okhttp/okhttp3/MultipartBody.Builder.html deleted file mode 100644 index 8746f7dcc..000000000 --- a/3.x/okhttp/okhttp3/MultipartBody.Builder.html +++ /dev/null @@ -1,397 +0,0 @@ - - - - - - -MultipartBody.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class MultipartBody.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    MultipartBody
    -
    -
    -
    -
    public static final class MultipartBody.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/MultipartBody.Part.html b/3.x/okhttp/okhttp3/MultipartBody.Part.html deleted file mode 100644 index 4c4c3ebba..000000000 --- a/3.x/okhttp/okhttp3/MultipartBody.Part.html +++ /dev/null @@ -1,318 +0,0 @@ - - - - - - -MultipartBody.Part (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class MultipartBody.Part

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    MultipartBody
    -
    -
    -
    -
    public static final class MultipartBody.Part
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/MultipartBody.html b/3.x/okhttp/okhttp3/MultipartBody.html deleted file mode 100644 index dae102151..000000000 --- a/3.x/okhttp/okhttp3/MultipartBody.html +++ /dev/null @@ -1,514 +0,0 @@ - - - - - - -MultipartBody (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class MultipartBody

-
-
- -
-
    -
  • -
    -
    -
    public final class MultipartBody
    -extends RequestBody
    -
    An RFC 2387-compliant request body.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        MIXED

        -
        public static final MediaType MIXED
        -
        The "mixed" subtype of "multipart" is intended for use when the body parts are independent and - need to be bundled in a particular order. Any "multipart" subtypes that an implementation does - not recognize must be treated as being of subtype "mixed".
        -
      • -
      - - - -
        -
      • -

        ALTERNATIVE

        -
        public static final MediaType ALTERNATIVE
        -
        The "multipart/alternative" type is syntactically identical to "multipart/mixed", but the - semantics are different. In particular, each of the body parts is an "alternative" version of - the same information.
        -
      • -
      - - - -
        -
      • -

        DIGEST

        -
        public static final MediaType DIGEST
        -
        This type is syntactically identical to "multipart/mixed", but the semantics are different. In - particular, in a digest, the default Content-Type value for a body part is changed from - "text/plain" to "message/rfc822".
        -
      • -
      - - - -
        -
      • -

        PARALLEL

        -
        public static final MediaType PARALLEL
        -
        This type is syntactically identical to "multipart/mixed", but the semantics are different. In - particular, in a parallel entity, the order of body parts is not significant.
        -
      • -
      - - - -
        -
      • -

        FORM

        -
        public static final MediaType FORM
        -
        The media-type multipart/form-data follows the rules of all multipart MIME data streams as - outlined in RFC 2046. In forms, there are a series of fields to be supplied by the user who - fills out the form. Each field has a name. Within a given form, the names are unique.
        -
      • -
      -
    • -
    - - -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/OkHttpClient.Builder.html b/3.x/okhttp/okhttp3/OkHttpClient.Builder.html deleted file mode 100644 index b2b122507..000000000 --- a/3.x/okhttp/okhttp3/OkHttpClient.Builder.html +++ /dev/null @@ -1,1051 +0,0 @@ - - - - - - -OkHttpClient.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class OkHttpClient.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    OkHttpClient
    -
    -
    -
    -
    public static final class OkHttpClient.Builder
    -extends Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Builder

        -
        public Builder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        callTimeout

        -
        public OkHttpClient.Builder callTimeout(long timeout,
        -                                        TimeUnit unit)
        -
        Sets the default timeout for complete calls. A value of 0 means no timeout, otherwise values - must be between 1 and Integer.MAX_VALUE when converted to milliseconds. - -

        The call timeout spans the entire call: resolving DNS, connecting, writing the request - body, server processing, and reading the response body. If the call requires redirects or - retries all must complete within one timeout period. - -

        The default value is 0 which imposes no timeout.

        -
      • -
      - - - -
        -
      • -

        callTimeout

        -
        @IgnoreJRERequirement
        -public OkHttpClient.Builder callTimeout(Duration duration)
        -
        Sets the default timeout for complete calls. A value of 0 means no timeout, otherwise values - must be between 1 and Integer.MAX_VALUE when converted to milliseconds. - -

        The call timeout spans the entire call: resolving DNS, connecting, writing the request - body, server processing, and reading the response body. If the call requires redirects or - retries all must complete within one timeout period. - -

        The default value is 0 which imposes no timeout.

        -
      • -
      - - - -
        -
      • -

        connectTimeout

        -
        public OkHttpClient.Builder connectTimeout(long timeout,
        -                                           TimeUnit unit)
        -
        Sets the default connect timeout for new connections. A value of 0 means no timeout, - otherwise values must be between 1 and Integer.MAX_VALUE when converted to - milliseconds. - -

        The connect timeout is applied when connecting a TCP socket to the target host. - The default value is 10 seconds.

        -
      • -
      - - - -
        -
      • -

        connectTimeout

        -
        @IgnoreJRERequirement
        -public OkHttpClient.Builder connectTimeout(Duration duration)
        -
        Sets the default connect timeout for new connections. A value of 0 means no timeout, - otherwise values must be between 1 and Integer.MAX_VALUE when converted to - milliseconds. - -

        The connect timeout is applied when connecting a TCP socket to the target host. - The default value is 10 seconds.

        -
      • -
      - - - -
        -
      • -

        readTimeout

        -
        public OkHttpClient.Builder readTimeout(long timeout,
        -                                        TimeUnit unit)
        -
        Sets the default read timeout for new connections. A value of 0 means no timeout, otherwise - values must be between 1 and Integer.MAX_VALUE when converted to milliseconds. - -

        The read timeout is applied to both the TCP socket and for individual read IO operations - including on Source of the Response. The default value is 10 seconds.

        -
        -
        See Also:
        -
        Socket.setSoTimeout(int), -Source.timeout()
        -
        -
      • -
      - - - -
        -
      • -

        readTimeout

        -
        @IgnoreJRERequirement
        -public OkHttpClient.Builder readTimeout(Duration duration)
        -
        Sets the default read timeout for new connections. A value of 0 means no timeout, otherwise - values must be between 1 and Integer.MAX_VALUE when converted to milliseconds. - -

        The read timeout is applied to both the TCP socket and for individual read IO operations - including on Source of the Response. The default value is 10 seconds.

        -
        -
        See Also:
        -
        Socket.setSoTimeout(int), -Source.timeout()
        -
        -
      • -
      - - - -
        -
      • -

        writeTimeout

        -
        public OkHttpClient.Builder writeTimeout(long timeout,
        -                                         TimeUnit unit)
        -
        Sets the default write timeout for new connections. A value of 0 means no timeout, otherwise - values must be between 1 and Integer.MAX_VALUE when converted to milliseconds. - -

        The write timeout is applied for individual write IO operations. - The default value is 10 seconds.

        -
        -
        See Also:
        -
        Sink.timeout()
        -
        -
      • -
      - - - -
        -
      • -

        writeTimeout

        -
        @IgnoreJRERequirement
        -public OkHttpClient.Builder writeTimeout(Duration duration)
        -
        Sets the default write timeout for new connections. A value of 0 means no timeout, otherwise - values must be between 1 and Integer.MAX_VALUE when converted to milliseconds. - -

        The write timeout is applied for individual write IO operations. - The default value is 10 seconds.

        -
        -
        See Also:
        -
        Sink.timeout()
        -
        -
      • -
      - - - -
        -
      • -

        pingInterval

        -
        public OkHttpClient.Builder pingInterval(long interval,
        -                                         TimeUnit unit)
        -
        Sets the interval between HTTP/2 and web socket pings initiated by this client. Use this to - automatically send ping frames until either the connection fails or it is closed. This keeps - the connection alive and may detect connectivity failures. - -

        If the server does not respond to each ping with a pong within interval, this - client will assume that connectivity has been lost. When this happens on a web socket the - connection is canceled and its listener is notified - of the failure. When it happens on an HTTP/2 connection the connection is closed and any - calls it is carrying will fail with an IOException. - -

        The default value of 0 disables client-initiated pings.

        -
      • -
      - - - -
        -
      • -

        pingInterval

        -
        @IgnoreJRERequirement
        -public OkHttpClient.Builder pingInterval(Duration duration)
        -
        Sets the interval between HTTP/2 and web socket pings initiated by this client. Use this to - automatically send ping frames until either the connection fails or it is closed. This keeps - the connection alive and may detect connectivity failures. - -

        If the server does not respond to each ping with a pong within interval, this - client will assume that connectivity has been lost. When this happens on a web socket the - connection is canceled and its listener is notified - of the failure. When it happens on an HTTP/2 connection the connection is closed and any - calls it is carrying will fail with an IOException. - -

        The default value of 0 disables client-initiated pings.

        -
      • -
      - - - -
        -
      • -

        proxy

        -
        public OkHttpClient.Builder proxy(@Nullable
        -                                  Proxy proxy)
        -
        Sets the HTTP proxy that will be used by connections created by this client. This takes - precedence over proxySelector, which is only honored when this proxy is null (which - it is by default). To disable proxy use completely, call proxy(Proxy.NO_PROXY).
        -
      • -
      - - - -
        -
      • -

        proxySelector

        -
        public OkHttpClient.Builder proxySelector(ProxySelector proxySelector)
        -
        Sets the proxy selection policy to be used if no proxy 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. - -

        If unset, the system-wide default proxy selector will - be used.

        -
      • -
      - - - -
        -
      • -

        cookieJar

        -
        public OkHttpClient.Builder cookieJar(CookieJar cookieJar)
        -
        Sets the handler that can accept cookies from incoming HTTP responses and provides cookies to - outgoing HTTP requests. - -

        If unset, no cookies will be accepted nor provided.

        -
      • -
      - - - - - - - - - - - -
        -
      • -

        socketFactory

        -
        public OkHttpClient.Builder socketFactory(SocketFactory socketFactory)
        -
        Sets the socket factory used to create connections. OkHttp only uses the parameterless createSocket() method to create unconnected sockets. Overriding - this method, e. g., allows the socket to be bound to a specific local address. - -

        If unset, the system-wide default socket factory will - be used.

        -
      • -
      - - - -
        -
      • -

        sslSocketFactory

        -
        public OkHttpClient.Builder sslSocketFactory(SSLSocketFactory sslSocketFactory)
        -
        Deprecated. SSLSocketFactory does not expose its X509TrustManager, which is - a field that OkHttp needs to build a clean certificate chain. This method instead must - use reflection to extract the trust manager. Applications should prefer to call sslSocketFactory(SSLSocketFactory, X509TrustManager), which avoids such reflection.
        -
        Sets the socket factory used to secure HTTPS connections. If unset, the system default will - be used.
        -
      • -
      - - - -
        -
      • -

        sslSocketFactory

        -
        public OkHttpClient.Builder sslSocketFactory(SSLSocketFactory sslSocketFactory,
        -                                             X509TrustManager trustManager)
        -
        Sets the socket factory and trust manager used to secure HTTPS connections. If unset, the - system defaults will be used. - -

        Most applications should not call this method, and instead use the system defaults. Those - classes include special optimizations that can be lost if the implementations are decorated. - -

        If necessary, you can create and configure the defaults yourself with the following code: - -

           
        -
        -   TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(
        -       TrustManagerFactory.getDefaultAlgorithm());
        -   trustManagerFactory.init((KeyStore) null);
        -   TrustManager[] trustManagers = trustManagerFactory.getTrustManagers();
        -   if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) {
        -     throw new IllegalStateException("Unexpected default trust managers:"
        -         + Arrays.toString(trustManagers));
        -   }
        -   X509TrustManager trustManager = (X509TrustManager) trustManagers[0];
        -
        -   SSLContext sslContext = SSLContext.getInstance("TLS");
        -   sslContext.init(null, new TrustManager[] { trustManager }, null);
        -   SSLSocketFactory sslSocketFactory = sslContext.getSocketFactory();
        -
        -   OkHttpClient client = new OkHttpClient.Builder()
        -       .sslSocketFactory(sslSocketFactory, trustManager)
        -       .build();
        - 
        -
      • -
      - - - -
        -
      • -

        hostnameVerifier

        -
        public OkHttpClient.Builder hostnameVerifier(HostnameVerifier hostnameVerifier)
        -
        Sets the verifier used to confirm that response certificates apply to requested hostnames for - HTTPS connections. - -

        If unset, a default hostname verifier will be used.

        -
      • -
      - - - -
        -
      • -

        certificatePinner

        -
        public OkHttpClient.Builder certificatePinner(CertificatePinner certificatePinner)
        -
        Sets the certificate pinner that constrains which certificates are trusted. By default HTTPS - connections rely on only the SSL socket factory to establish trust. - Pinning certificates avoids the need to trust certificate authorities.
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        connectionPool

        -
        public OkHttpClient.Builder connectionPool(ConnectionPool connectionPool)
        -
        Sets the connection pool used to recycle HTTP and HTTPS connections. - -

        If unset, a new connection pool will be used.

        -
      • -
      - - - -
        -
      • -

        followSslRedirects

        -
        public OkHttpClient.Builder followSslRedirects(boolean followProtocolRedirects)
        -
        Configure this client to follow redirects from HTTPS to HTTP and from HTTP to HTTPS. - -

        If unset, protocol redirects will be followed. This is different than the built-in HttpURLConnection's default.

        -
      • -
      - - - -
        -
      • -

        followRedirects

        -
        public OkHttpClient.Builder followRedirects(boolean followRedirects)
        -
        Configure this client to follow redirects. If unset, redirects will be followed.
        -
      • -
      - - - -
        -
      • -

        retryOnConnectionFailure

        -
        public OkHttpClient.Builder retryOnConnectionFailure(boolean retryOnConnectionFailure)
        -
        Configure this client to retry or not when a connectivity problem is encountered. By default, - this client silently recovers from the following problems: - -
          -
        • Unreachable IP addresses. If the URL's host has multiple IP addresses, - failure to reach any individual IP address doesn't fail the overall request. This can - increase availability of multi-homed services. -
        • Stale pooled connections. The ConnectionPool reuses sockets - to decrease request latency, but these connections will occasionally time out. -
        • Unreachable proxy servers. A ProxySelector can be used to - attempt multiple proxy servers in sequence, eventually falling back to a direct - connection. -
        - - Set this to false to avoid retrying requests when doing so is destructive. In this case the - calling application should do its own recovery of connectivity failures.
        -
      • -
      - - - -
        -
      • -

        dispatcher

        -
        public OkHttpClient.Builder dispatcher(Dispatcher dispatcher)
        -
        Sets the dispatcher used to set policy and execute asynchronous requests. Must not be null.
        -
      • -
      - - - -
        -
      • -

        protocols

        -
        public OkHttpClient.Builder protocols(List<Protocol> protocols)
        -
        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 HTTP/2 is enabled. - -

        The following protocols are currently supported: - -

        - -

        This is an evolving set. Future releases include support for transitional - protocols. The http/1.1 transport will never be dropped. - -

        If multiple protocols are specified, ALPN will be used to - negotiate a transport. Protocol negotiation is only attempted for HTTPS URLs. - -

        Protocol.HTTP_1_0 is not supported in this set. Requests are initiated with HTTP/1.1. If the server responds with HTTP/1.0, that will be exposed by Response.protocol().

        -
        -
        Parameters:
        -
        protocols - the protocols to use, in order of preference. If the list contains Protocol.H2_PRIOR_KNOWLEDGE then that must be the only protocol and HTTPS URLs will not - be supported. Otherwise the list must contain Protocol.HTTP_1_1. The list must - not contain null or Protocol.HTTP_1_0.
        -
        -
      • -
      - - - - - - - -
        -
      • -

        interceptors

        -
        public List<Interceptor> interceptors()
        -
        Returns a modifiable list of interceptors that observe the full span of each call: from - before the connection is established (if any) until after the response source is selected - (either the origin server, cache, or both).
        -
      • -
      - - - - - - - -
        -
      • -

        networkInterceptors

        -
        public List<Interceptor> networkInterceptors()
        -
        Returns a modifiable list of interceptors that observe a single network request and response. - These interceptors must call Interceptor.Chain.proceed(okhttp3.Request) exactly once: it is an error - for a network interceptor to short-circuit or repeat a network request.
        -
      • -
      - - - - - - - - - - - - - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/OkHttpClient.html b/3.x/okhttp/okhttp3/OkHttpClient.html deleted file mode 100644 index 2801b07e5..000000000 --- a/3.x/okhttp/okhttp3/OkHttpClient.html +++ /dev/null @@ -1,774 +0,0 @@ - - - - - - -OkHttpClient (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class OkHttpClient

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Cloneable, Call.Factory, WebSocket.Factory
    -
    -
    -
    -
    public class OkHttpClient
    -extends Object
    -implements Cloneable, Call.Factory, WebSocket.Factory
    -
    Factory for calls, which can be used to send HTTP requests and read their - responses. - -

    OkHttpClients should be shared

    - -

    OkHttp performs best when you create a single OkHttpClient instance and reuse it for - all of your HTTP calls. This is because each client holds its own connection pool and thread - pools. Reusing connections and threads reduces latency and saves memory. Conversely, creating a - client for each request wastes resources on idle pools. - -

    Use new OkHttpClient() to create a shared instance with the default settings: -

       
    -
    -   // The singleton HTTP client.
    -   public final OkHttpClient client = new OkHttpClient();
    - 
    - -

    Or use new OkHttpClient.Builder() to create a shared instance with custom settings: -

       
    -
    -   // The singleton HTTP client.
    -   public final OkHttpClient client = new OkHttpClient.Builder()
    -       .addInterceptor(new HttpLoggingInterceptor())
    -       .cache(new Cache(cacheDir, cacheSize))
    -       .build();
    - 
    - -

    Customize your client with newBuilder()

    - -

    You can customize a shared OkHttpClient instance with newBuilder(). This builds a - client that shares the same connection pool, thread pools, and configuration. Use the builder - methods to configure the derived client for a specific purpose. - -

    This example shows a call with a short 500 millisecond timeout:

       
    -
    -   OkHttpClient eagerClient = client.newBuilder()
    -       .readTimeout(500, TimeUnit.MILLISECONDS)
    -       .build();
    -   Response response = eagerClient.newCall(request).execute();
    - 
    - -

    Shutdown isn't necessary

    - -

    The threads and connections that are held will be released automatically if they remain idle. - But if you are writing a application that needs to aggressively release unused resources you may - do so. - -

    Shutdown the dispatcher's executor service with shutdown(). - This will also cause future calls to the client to be rejected.

       
    -
    -     client.dispatcher().executorService().shutdown();
    - 
    - -

    Clear the connection pool with evictAll(). Note that the - connection pool's daemon thread may not exit immediately.

       
    -
    -     client.connectionPool().evictAll();
    - 
    - -

    If your client has a cache, call close(). Note that it is an error to - create calls against a cache that is closed, and doing so will cause the call to crash. -

       
    -
    -     client.cache().close();
    - 
    - -

    OkHttp also uses daemon threads for HTTP/2 connections. These will exit automatically if they - remain idle.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        OkHttpClient

        -
        public OkHttpClient()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        callTimeoutMillis

        -
        public int callTimeoutMillis()
        -
        Default call timeout (in milliseconds). By default there is no timeout for complete calls, but - there is for the connect, write, and read actions within a call.
        -
      • -
      - - - -
        -
      • -

        connectTimeoutMillis

        -
        public int connectTimeoutMillis()
        -
        Default connect timeout (in milliseconds). The default is 10 seconds.
        -
      • -
      - - - -
        -
      • -

        readTimeoutMillis

        -
        public int readTimeoutMillis()
        -
        Default read timeout (in milliseconds). The default is 10 seconds.
        -
      • -
      - - - -
        -
      • -

        writeTimeoutMillis

        -
        public int writeTimeoutMillis()
        -
        Default write timeout (in milliseconds). The default is 10 seconds.
        -
      • -
      - - - -
        -
      • -

        pingIntervalMillis

        -
        public int pingIntervalMillis()
        -
        Web socket and HTTP/2 ping interval (in milliseconds). By default pings are not sent.
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        cookieJar

        -
        public CookieJar cookieJar()
        -
      • -
      - - - - - - - -
        -
      • -

        dns

        -
        public Dns dns()
        -
      • -
      - - - - - - - - - - - - - - - - - - - - - - - -
        -
      • -

        proxyAuthenticator

        -
        public Authenticator proxyAuthenticator()
        -
      • -
      - - - - - - - -
        -
      • -

        followSslRedirects

        -
        public boolean followSslRedirects()
        -
      • -
      - - - -
        -
      • -

        followRedirects

        -
        public boolean followRedirects()
        -
      • -
      - - - -
        -
      • -

        retryOnConnectionFailure

        -
        public boolean retryOnConnectionFailure()
        -
      • -
      - - - -
        -
      • -

        dispatcher

        -
        public Dispatcher dispatcher()
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        interceptors

        -
        public List<Interceptor> interceptors()
        -
        Returns an immutable list of interceptors that observe the full span of each call: from before - the connection is established (if any) until after the response source is selected (either the - origin server, cache, or both).
        -
      • -
      - - - -
        -
      • -

        networkInterceptors

        -
        public List<Interceptor> networkInterceptors()
        -
        Returns an immutable list of interceptors that observe a single network request and response. - These interceptors must call Interceptor.Chain.proceed(okhttp3.Request) exactly once: it is an error for - a network interceptor to short-circuit or repeat a network request.
        -
      • -
      - - - - - - - -
        -
      • -

        newCall

        -
        public Call newCall(Request request)
        -
        Prepares the request to be executed at some point in the future.
        -
        -
        Specified by:
        -
        newCall in interface Call.Factory
        -
        -
      • -
      - - - - - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Protocol.html b/3.x/okhttp/okhttp3/Protocol.html deleted file mode 100644 index d77d90d8e..000000000 --- a/3.x/okhttp/okhttp3/Protocol.html +++ /dev/null @@ -1,487 +0,0 @@ - - - - - - -Protocol (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Enum Protocol

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Serializable, Comparable<Protocol>
    -
    -
    -
    -
    public enum Protocol
    -extends Enum<Protocol>
    -
    Protocols that OkHttp implements for ALPN selection. - -

    Protocol vs Scheme

    Despite its name, URL.getProtocol() returns the - scheme (http, https, etc.) of the URL, not the protocol - (http/1.1, spdy/3.1, etc.). OkHttp uses the word protocol to identify how HTTP messages - are framed.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - - - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      H2_PRIOR_KNOWLEDGE -
      Cleartext HTTP/2 with no "upgrade" round trip.
      -
      HTTP_1_0 -
      An obsolete plaintext framing that does not use persistent sockets by default.
      -
      HTTP_1_1 -
      A plaintext framing that includes persistent connections.
      -
      HTTP_2 -
      The IETF's binary-framed protocol that includes header compression, multiplexing multiple - requests on the same socket, and server-push.
      -
      QUIC -
      QUIC (Quick UDP Internet Connection) is a new multiplexed and secure transport atop UDP, - designed from the ground up and optimized for HTTP/2 semantics.
      -
      SPDY_3 -
      Deprecated.  -
      OkHttp has dropped support for SPDY. Prefer HTTP_2.
      -
      -
      -
    • -
    - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        HTTP_1_0

        -
        public static final Protocol HTTP_1_0
        -
        An obsolete plaintext framing that does not use persistent sockets by default.
        -
      • -
      - - - -
        -
      • -

        HTTP_1_1

        -
        public static final Protocol HTTP_1_1
        -
        A plaintext framing that includes persistent connections. - -

        This version of OkHttp implements RFC - 7230, and tracks revisions to that spec.

        -
      • -
      - - - -
        -
      • -

        SPDY_3

        -
        public static final Protocol SPDY_3
        -
        Deprecated. OkHttp has dropped support for SPDY. Prefer HTTP_2.
        -
        Chromium's binary-framed protocol that includes header compression, multiplexing multiple - requests on the same socket, and server-push. HTTP/1.1 semantics are layered on SPDY/3. - -

        Current versions of OkHttp do not support this protocol.

        -
      • -
      - - - -
        -
      • -

        HTTP_2

        -
        public static final Protocol HTTP_2
        -
        The IETF's binary-framed protocol that includes header compression, multiplexing multiple - requests on the same socket, and server-push. HTTP/1.1 semantics are layered on HTTP/2. - -

        HTTP/2 requires deployments of HTTP/2 that use TLS 1.2 support CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 , present in Java 8+ and Android 5+. Servers - that enforce this may send an exception message including the string INADEQUATE_SECURITY.

        -
      • -
      - - - -
        -
      • -

        H2_PRIOR_KNOWLEDGE

        -
        public static final Protocol H2_PRIOR_KNOWLEDGE
        -
        Cleartext HTTP/2 with no "upgrade" round trip. This option requires the client to have prior - knowledge that the server supports cleartext HTTP/2.
        -
        -
        See Also:
        -
        Starting HTTP/2 with Prior - Knowledge
        -
        -
      • -
      - - - -
        -
      • -

        QUIC

        -
        public static final Protocol QUIC
        -
        QUIC (Quick UDP Internet Connection) is a new multiplexed and secure transport atop UDP, - designed from the ground up and optimized for HTTP/2 semantics. - HTTP/1.1 semantics are layered on HTTP/2. - -

        QUIC is not natively supported by OkHttp, but provided to allow a theoretical - interceptor that provides support.

        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static Protocol[] values()
        -
        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: -
        -for (Protocol c : Protocol.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static Protocol valueOf(String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant with the specified name
        -
        NullPointerException - if the argument is null
        -
        -
      • -
      - - - - - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Request.Builder.html b/3.x/okhttp/okhttp3/Request.Builder.html deleted file mode 100644 index 59f139c7e..000000000 --- a/3.x/okhttp/okhttp3/Request.Builder.html +++ /dev/null @@ -1,572 +0,0 @@ - - - - - - -Request.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Request.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    Request
    -
    -
    -
    -
    public static class Request.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Request.html b/3.x/okhttp/okhttp3/Request.html deleted file mode 100644 index 6576e18ef..000000000 --- a/3.x/okhttp/okhttp3/Request.html +++ /dev/null @@ -1,427 +0,0 @@ - - - - - - -Request (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Request

-
-
- -
-
    -
  • -
    -
    -
    public final class Request
    -extends Object
    -
    An HTTP request. Instances of this class are immutable if their body is null or itself - immutable.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        url

        -
        public HttpUrl url()
        -
      • -
      - - - -
        -
      • -

        method

        -
        public String method()
        -
      • -
      - - - -
        -
      • -

        headers

        -
        public Headers headers()
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        tag

        -
        @Nullable
        -public Object tag()
        -
        Returns the tag attached with Object.class as a key, or null if no tag is attached with - that key. - -

        Prior to OkHttp 3.11, this method never returned null if no tag was attached. Instead it - returned either this request, or the request upon which this request was derived with newBuilder().

        -
      • -
      - - - -
        -
      • -

        tag

        -
        @Nullable
        -public <T> T tag(Class<? extends T> type)
        -
        Returns the tag attached with type as a key, or null if no tag is attached with that - key.
        -
      • -
      - - - - - - - -
        -
      • -

        cacheControl

        -
        public CacheControl cacheControl()
        -
        Returns the cache control directives for this response. This is never null, even if this - response contains no Cache-Control header.
        -
      • -
      - - - -
        -
      • -

        isHttps

        -
        public boolean isHttps()
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/RequestBody.html b/3.x/okhttp/okhttp3/RequestBody.html deleted file mode 100644 index 652cabc76..000000000 --- a/3.x/okhttp/okhttp3/RequestBody.html +++ /dev/null @@ -1,494 +0,0 @@ - - - - - - -RequestBody (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class RequestBody

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RequestBody

        -
        public RequestBody()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        contentType

        -
        @Nullable
        -public abstract MediaType contentType()
        -
        Returns the Content-Type header for this body.
        -
      • -
      - - - - - - - -
        -
      • -

        writeTo

        -
        public abstract void writeTo(okio.BufferedSink sink)
        -                      throws IOException
        -
        Writes the content of this request to sink.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        isDuplex

        -
        public boolean isDuplex()
        -
        A duplex request body is special in how it is transmitted on the network and - in the API contract between OkHttp and the application. - -

        This method returns false unless it is overridden by a subclass. - -

        Duplex Transmission

        - -

        With regular HTTP calls the request always completes sending before the response may begin - receiving. With duplex the request and response may be interleaved! That is, request body bytes - may be sent after response headers or body bytes have been received. - -

        Though any call may be initiated as a duplex call, only web servers that are specially - designed for this nonstandard interaction will use it. As of 2019-01, the only widely-used - implementation of this pattern is gRPC. - -

        Because the encoding of interleaved data is not well-defined for HTTP/1, duplex request - bodies may only be used with HTTP/2. Calls to HTTP/1 servers will fail before the HTTP request - is transmitted. If you cannot ensure that your client and server both support HTTP/2, do not - use this feature. - -

        Duplex APIs

        - -

        With regular request bodies it is not legal to write bytes to the sink passed to writeTo(okio.BufferedSink) after that method returns. For duplex requests bodies that condition is - lifted. Such writes occur on an application-provided thread and may occur concurrently with - reads of the ResponseBody. For duplex request bodies, writeTo(okio.BufferedSink) should return - quickly, possibly by handing off the provided request body to another thread to perform - writing.

        -
      • -
      - - - -
        -
      • -

        isOneShot

        -
        public boolean isOneShot()
        -
        Returns true if this body expects at most one call to writeTo(okio.BufferedSink) and can be transmitted - at most once. This is typically used when writing the request body is destructive and it is not - possible to recreate the request body after it has been sent. - -

        This method returns false unless it is overridden by a subclass. - -

        By default OkHttp will attempt to retransmit request bodies when the original request fails - due to a stale connection, a client timeout (HTTP 408), a satisfied authorization challenge - (HTTP 401 and 407), or a retryable server failure (HTTP 503 with a Retry-After: 0 - header).

        -
      • -
      - - - -
        -
      • -

        create

        -
        public static RequestBody create(@Nullable
        -                                 MediaType contentType,
        -                                 String content)
        -
        Returns a new request body that transmits content. If contentType is non-null - and lacks a charset, this will use UTF-8.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static RequestBody create(@Nullable
        -                                 MediaType contentType,
        -                                 okio.ByteString content)
        -
        Returns a new request body that transmits content.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static RequestBody create(@Nullable
        -                                 MediaType contentType,
        -                                 byte[] content)
        -
        Returns a new request body that transmits content.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static RequestBody create(@Nullable
        -                                 MediaType contentType,
        -                                 byte[] content,
        -                                 int offset,
        -                                 int byteCount)
        -
        Returns a new request body that transmits content.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Response.Builder.html b/3.x/okhttp/okhttp3/Response.Builder.html deleted file mode 100644 index 3a5ae2008..000000000 --- a/3.x/okhttp/okhttp3/Response.Builder.html +++ /dev/null @@ -1,494 +0,0 @@ - - - - - - -Response.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Response.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    Response
    -
    -
    -
    -
    public static class Response.Builder
    -extends Object
    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Response.html b/3.x/okhttp/okhttp3/Response.html deleted file mode 100644 index 722721ced..000000000 --- a/3.x/okhttp/okhttp3/Response.html +++ /dev/null @@ -1,703 +0,0 @@ - - - - - - -Response (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Response

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Closeable, AutoCloseable
    -
    -
    -
    -
    public final class Response
    -extends Object
    -implements Closeable
    -
    An HTTP response. Instances of this class are not immutable: the response body is a one-shot - value that may be consumed only once and then closed. All other properties are immutable. - -

    This class implements Closeable. Closing it simply closes its response body. See - ResponseBody for an explanation and examples.

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        request

        -
        public Request request()
        -
        The wire-level request that initiated this HTTP response. This is not necessarily the same - request issued by the application: - -
          -
        • It may be transformed by the HTTP client. For example, the client may copy headers like - Content-Length from the request body. -
        • It may be the request generated in response to an HTTP redirect or authentication - challenge. In this case the request URL may be different than the initial request URL. -
        -
      • -
      - - - - - - - -
        -
      • -

        code

        -
        public int code()
        -
        Returns the HTTP status code.
        -
      • -
      - - - -
        -
      • -

        isSuccessful

        -
        public boolean isSuccessful()
        -
        Returns true if the code is in [200..300), which means the request was successfully received, - understood, and accepted.
        -
      • -
      - - - -
        -
      • -

        message

        -
        public String message()
        -
        Returns the HTTP status message.
        -
      • -
      - - - -
        -
      • -

        handshake

        -
        @Nullable
        -public Handshake handshake()
        -
        Returns the TLS handshake of the connection that carried this response, or null if the response - was received without TLS.
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        headers

        -
        public Headers headers()
        -
      • -
      - - - -
        -
      • -

        trailers

        -
        public Headers trailers()
        -                 throws IOException
        -
        Returns the trailers after the HTTP response, which may be empty. It is an error to call this - before the entire HTTP response body has been consumed.
        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        peekBody

        -
        public ResponseBody peekBody(long byteCount)
        -                      throws IOException
        -
        Peeks up to byteCount bytes from the response body and returns them as a new response - body. If fewer than byteCount bytes are in the response body, the full response body is - returned. If more than byteCount bytes are in the response body, the returned value - will be truncated to byteCount bytes. - -

        It is an error to call this method after the body has been consumed. - -

        Warning: this method loads the requested bytes into memory. Most - applications should set a modest limit on byteCount, such as 1 MiB.

        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        isRedirect

        -
        public boolean isRedirect()
        -
        Returns true if this response redirects to another resource.
        -
      • -
      - - - -
        -
      • -

        networkResponse

        -
        @Nullable
        -public Response networkResponse()
        -
        Returns the raw response received from the network. Will be null if this response didn't use - the network, such as when the response is fully cached. The body of the returned response - should not be read.
        -
      • -
      - - - -
        -
      • -

        cacheResponse

        -
        @Nullable
        -public Response cacheResponse()
        -
        Returns the raw response received from the cache. Will be null if this response didn't use the - cache. For conditional get requests the cache response and network response may both be - non-null. The body of the returned response should not be read.
        -
      • -
      - - - -
        -
      • -

        priorResponse

        -
        @Nullable
        -public Response priorResponse()
        -
        Returns the response for the HTTP redirect or authorization challenge that triggered this - response, or null if this response wasn't triggered by an automatic retry. The body of the - returned response should not be read because it has already been consumed by the redirecting - client.
        -
      • -
      - - - -
        -
      • -

        challenges

        -
        public List<Challenge> challenges()
        -
        Returns the RFC 7235 authorization challenges appropriate for this response's code. If the - response code is 401 unauthorized, this returns the "WWW-Authenticate" challenges. If the - response code is 407 proxy unauthorized, this returns the "Proxy-Authenticate" challenges. - Otherwise this returns an empty list of challenges. - -

        If a challenge uses the token68 variant instead of auth params, there is exactly one - auth param in the challenge at key null. Invalid headers and challenges are ignored. - No semantic validation is done, for example that Basic auth must have a realm - auth param, this is up to the caller that interprets these challenges.

        -
      • -
      - - - -
        -
      • -

        cacheControl

        -
        public CacheControl cacheControl()
        -
        Returns the cache control directives for this response. This is never null, even if this - response contains no Cache-Control header.
        -
      • -
      - - - -
        -
      • -

        sentRequestAtMillis

        -
        public long sentRequestAtMillis()
        -
        Returns a timestamp taken immediately before OkHttp - transmitted the initiating request over the network. If this response is being served from the - cache then this is the timestamp of the original request.
        -
      • -
      - - - -
        -
      • -

        receivedResponseAtMillis

        -
        public long receivedResponseAtMillis()
        -
        Returns a timestamp taken immediately after OkHttp - received this response's headers from the network. If this response is being served from the - cache then this is the timestamp of the original response.
        -
      • -
      - - - - - - - - -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/ResponseBody.html b/3.x/okhttp/okhttp3/ResponseBody.html deleted file mode 100644 index a8f8a99ce..000000000 --- a/3.x/okhttp/okhttp3/ResponseBody.html +++ /dev/null @@ -1,569 +0,0 @@ - - - - - - -ResponseBody (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class ResponseBody

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Closeable, AutoCloseable
    -
    -
    -
    -
    public abstract class ResponseBody
    -extends Object
    -implements Closeable
    -
    A one-shot stream from the origin server to the client application with the raw bytes of the - response body. Each response body is supported by an active connection to the webserver. This - imposes both obligations and limits on the client application. - -

    The response body must be closed.

    - - Each response body is backed by a limited resource like a socket (live network responses) or - an open file (for cached responses). Failing to close the response body will leak resources and - may ultimately cause the application to slow down or crash. - -

    Both this class and Response implement Closeable. Closing a response simply - closes its response body. If you invoke Call.execute() or implement Callback.onResponse(okhttp3.Call, okhttp3.Response) you must close this body by calling any of the following methods: - -

      -
    • Response.close()
    • -
    • Response.body().close()
    • -
    • Response.body().source().close()
    • -
    • Response.body().charStream().close()
    • -
    • Response.body().byteStream().close()
    • -
    • Response.body().bytes()
    • -
    • Response.body().string()
    • -
    - -

    There is no benefit to invoking multiple close() methods for the same response body. - -

    For synchronous calls, the easiest way to make sure a response body is closed is with a try block. With this structure the compiler inserts an implicit finally clause that - calls close() for you. - -

       
    -
    -   Call call = client.newCall(request);
    -   try (Response response = call.execute()) {
    -     ... // Use the response.
    -   }
    - 
    - - You can use a similar block for asynchronous calls:
       
    -
    -   Call call = client.newCall(request);
    -   call.enqueue(new Callback() {
    -     public void onResponse(Call call, Response response) throws IOException {
    -       try (ResponseBody responseBody = response.body()) {
    -         ... // Use the response.
    -       }
    -     }
    -
    -     public void onFailure(Call call, IOException e) {
    -       ... // Handle the failure.
    -     }
    -   });
    - 
    - - These examples will not work if you're consuming the response body on another thread. In such - cases the consuming thread must call close() when it has finished reading the response - body. - -

    The response body can be consumed only once.

    - -

    This class may be used to stream very large responses. For example, it is possible to use this - class to read a response that is larger than the entire memory allocated to the current process. - It can even stream a response larger than the total storage on the current device, which is a - common requirement for video streaming applications. - -

    Because this class does not buffer the full response in memory, the application may not - re-read the bytes of the response. Use this one shot to read the entire response into memory with - bytes() or string(). Or stream the response with either source(), - byteStream(), or charStream().

    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ResponseBody

        -
        public ResponseBody()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        contentLength

        -
        public abstract long contentLength()
        -
        Returns the number of bytes in that will returned by bytes(), or byteStream(), or - -1 if unknown.
        -
      • -
      - - - -
        -
      • -

        byteStream

        -
        public final InputStream byteStream()
        -
      • -
      - - - -
        -
      • -

        source

        -
        public abstract okio.BufferedSource source()
        -
      • -
      - - - -
        -
      • -

        bytes

        -
        public final byte[] bytes()
        -                   throws IOException
        -
        Returns the response as a byte array. - -

        This method loads entire response body into memory. If the response body is very large this - may trigger an OutOfMemoryError. Prefer to stream the response body if this is a - possibility for your response.

        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - -
        -
      • -

        charStream

        -
        public final Reader charStream()
        -
        Returns the response as a character stream. - -

        If the response starts with a Byte - Order Mark (BOM), it is consumed and used to determine the charset of the response bytes. - -

        Otherwise if the response has a Content-Type header that specifies a charset, that is used - to determine the charset of the response bytes. - -

        Otherwise the response bytes are decoded as UTF-8.

        -
      • -
      - - - -
        -
      • -

        string

        -
        public final String string()
        -                    throws IOException
        -
        Returns the response as a string. - -

        If the response starts with a Byte - Order Mark (BOM), it is consumed and used to determine the charset of the response bytes. - -

        Otherwise if the response has a Content-Type header that specifies a charset, that is used - to determine the charset of the response bytes. - -

        Otherwise the response bytes are decoded as UTF-8. - -

        This method loads entire response body into memory. If the response body is very large this - may trigger an OutOfMemoryError. Prefer to stream the response body if this is a - possibility for your response.

        -
        -
        Throws:
        -
        IOException
        -
        -
      • -
      - - - - - - - -
        -
      • -

        create

        -
        public static ResponseBody create(@Nullable
        -                                  MediaType contentType,
        -                                  String content)
        -
        Returns a new response body that transmits content. If contentType is non-null - and lacks a charset, this will use UTF-8.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static ResponseBody create(@Nullable
        -                                  MediaType contentType,
        -                                  byte[] content)
        -
        Returns a new response body that transmits content.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static ResponseBody create(@Nullable
        -                                  MediaType contentType,
        -                                  okio.ByteString content)
        -
        Returns a new response body that transmits content.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static ResponseBody create(@Nullable
        -                                  MediaType contentType,
        -                                  long contentLength,
        -                                  okio.BufferedSource content)
        -
        Returns a new response body that transmits content.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/Route.html b/3.x/okhttp/okhttp3/Route.html deleted file mode 100644 index 963539f84..000000000 --- a/3.x/okhttp/okhttp3/Route.html +++ /dev/null @@ -1,390 +0,0 @@ - - - - - - -Route (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class Route

-
-
- -
-
    -
  • -
    -
    -
    public final class Route
    -extends Object
    -
    The concrete route used by a connection to reach an abstract origin server. When creating a - connection the client has many options: - -
      -
    • HTTP proxy: a proxy server may be explicitly configured for the client. - Otherwise the proxy selector is used. It may return - multiple proxies to attempt. -
    • IP address: 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. -
    - -

    Each route is a specific selection of these options.

    -
  • -
-
-
- -
-
- -
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/TlsVersion.html b/3.x/okhttp/okhttp3/TlsVersion.html deleted file mode 100644 index 26929d916..000000000 --- a/3.x/okhttp/okhttp3/TlsVersion.html +++ /dev/null @@ -1,405 +0,0 @@ - - - - - - -TlsVersion (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Enum TlsVersion

-
-
- -
- -
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static TlsVersion[] values()
        -
        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: -
        -for (TlsVersion c : TlsVersion.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static TlsVersion valueOf(String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant with the specified name
        -
        NullPointerException - if the argument is null
        -
        -
      • -
      - - - - - - - -
        -
      • -

        javaName

        -
        public String javaName()
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/WebSocket.Factory.html b/3.x/okhttp/okhttp3/WebSocket.Factory.html deleted file mode 100644 index e8aa5acc9..000000000 --- a/3.x/okhttp/okhttp3/WebSocket.Factory.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - -WebSocket.Factory (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Interface WebSocket.Factory

-
-
-
-
    -
  • -
    -
    All Known Implementing Classes:
    -
    OkHttpClient
    -
    -
    -
    Enclosing interface:
    -
    WebSocket
    -
    -
    -
    -
    public static interface WebSocket.Factory
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        newWebSocket

        -
        WebSocket newWebSocket(Request request,
        -                       WebSocketListener listener)
        -
        Creates a new web socket and immediately returns it. Creating a web socket initiates an - asynchronous process to connect the socket. Once that succeeds or fails, listener - will be notified. The caller must either close or cancel the returned web socket when it is - no longer in use.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/WebSocket.html b/3.x/okhttp/okhttp3/WebSocket.html deleted file mode 100644 index 8acbf4bd4..000000000 --- a/3.x/okhttp/okhttp3/WebSocket.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - -WebSocket (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Interface WebSocket

-
-
-
-
    -
  • -
    -
    -
    public interface WebSocket
    -
    A non-blocking interface to a web socket. Use the factory to - create instances; usually this is OkHttpClient. - -

    Web Socket Lifecycle

    - - Upon normal operation each web socket progresses through a sequence of states: - -
      -
    • Connecting: the initial state of each web socket. Messages may be enqueued - but they won't be transmitted until the web socket is open. -
    • Open: the web socket has been accepted by the remote peer and is fully - operational. Messages in either direction are enqueued for immediate transmission. -
    • Closing: one of the peers on the web socket has initiated a graceful - shutdown. The web socket will continue to transmit already-enqueued messages but will - refuse to enqueue new ones. -
    • Closed: the web socket has transmitted all of its messages and has - received all messages from the peer. -
    - - Web sockets may fail due to HTTP upgrade problems, connectivity problems, or if either peer - chooses to short-circuit the graceful shutdown process: - -
      -
    • Canceled: the web socket connection failed. Messages that were - successfully enqueued by either peer may not have been transmitted to the other. -
    - - Note that the state progression is independent for each peer. Arriving at a gracefully-closed - state indicates that a peer has sent all of its outgoing messages and received all of its - incoming messages. But it does not guarantee that the other peer will successfully receive all of - its incoming messages.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeInterface and Description
      static interface WebSocket.Factory 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voidcancel() -
      Immediately and violently release resources held by this web socket, discarding any enqueued - messages.
      -
      booleanclose(int code, - String reason) -
      Attempts to initiate a graceful shutdown of this web socket.
      -
      longqueueSize() -
      Returns the size in bytes of all messages enqueued to be transmitted to the server.
      -
      Requestrequest() -
      Returns the original request that initiated this web socket.
      -
      booleansend(okio.ByteString bytes) -
      Attempts to enqueue bytes to be sent as a the data of a binary (type 0x2) - message.
      -
      booleansend(String text) -
      Attempts to enqueue text to be UTF-8 encoded and sent as a the data of a text (type - 0x1) message.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        request

        -
        Request request()
        -
        Returns the original request that initiated this web socket.
        -
      • -
      - - - -
        -
      • -

        queueSize

        -
        long queueSize()
        -
        Returns the size in bytes of all messages enqueued to be transmitted to the server. This - doesn't include framing overhead. It also doesn't include any bytes buffered by the operating - system or network intermediaries. This method returns 0 if no messages are waiting - in the queue. If may return a nonzero value after the web socket has been canceled; this - indicates that enqueued messages were not transmitted.
        -
      • -
      - - - -
        -
      • -

        send

        -
        boolean send(String text)
        -
        Attempts to enqueue text to be UTF-8 encoded and sent as a the data of a text (type - 0x1) message. - -

        This method returns true if the message was enqueued. Messages that would overflow the - outgoing message buffer will be rejected and trigger a graceful shutdown of - this web socket. This method returns false in that case, and in any other case where this - web socket is closing, closed, or canceled. - -

        This method returns immediately.

        -
      • -
      - - - -
        -
      • -

        send

        -
        boolean send(okio.ByteString bytes)
        -
        Attempts to enqueue bytes to be sent as a the data of a binary (type 0x2) - message. - -

        This method returns true if the message was enqueued. Messages that would overflow the - outgoing message buffer (16 MiB) will be rejected and trigger a - graceful shutdown of this web socket. This method returns false in that - case, and in any other case where this web socket is closing, closed, or canceled. - -

        This method returns immediately.

        -
      • -
      - - - -
        -
      • -

        close

        -
        boolean close(int code,
        -              @Nullable
        -              String reason)
        -
        Attempts to initiate a graceful shutdown of this web socket. Any already-enqueued messages will - be transmitted before the close message is sent but subsequent calls to send(java.lang.String) will - return false and their messages will not be enqueued. - -

        This returns true if a graceful shutdown was initiated by this call. It returns false if - a graceful shutdown was already underway or if the web socket is already closed or canceled.

        -
        -
        Parameters:
        -
        code - Status code as defined by Section 7.4 of RFC 6455.
        -
        reason - Reason for shutting down or null.
        -
        Throws:
        -
        IllegalArgumentException - if code is invalid.
        -
        -
      • -
      - - - -
        -
      • -

        cancel

        -
        void cancel()
        -
        Immediately and violently release resources held by this web socket, discarding any enqueued - messages. This does nothing if the web socket has already been closed or canceled.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/WebSocketListener.html b/3.x/okhttp/okhttp3/WebSocketListener.html deleted file mode 100644 index bf19e958b..000000000 --- a/3.x/okhttp/okhttp3/WebSocketListener.html +++ /dev/null @@ -1,383 +0,0 @@ - - - - - - -WebSocketListener (OkHttp 3.14.0 API) - - - - - - - - - - - - - -
-
okhttp3
-

Class WebSocketListener

-
-
- -
-
    -
  • -
    -
    -
    public abstract class WebSocketListener
    -extends Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        WebSocketListener

        -
        public WebSocketListener()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onOpen

        -
        public void onOpen(WebSocket webSocket,
        -                   Response response)
        -
        Invoked when a web socket has been accepted by the remote peer and may begin transmitting - messages.
        -
      • -
      - - - -
        -
      • -

        onMessage

        -
        public void onMessage(WebSocket webSocket,
        -                      String text)
        -
        Invoked when a text (type 0x1) message has been received.
        -
      • -
      - - - -
        -
      • -

        onMessage

        -
        public void onMessage(WebSocket webSocket,
        -                      okio.ByteString bytes)
        -
        Invoked when a binary (type 0x2) message has been received.
        -
      • -
      - - - -
        -
      • -

        onClosing

        -
        public void onClosing(WebSocket webSocket,
        -                      int code,
        -                      String reason)
        -
        Invoked when the remote peer has indicated that no more incoming messages will be - transmitted.
        -
      • -
      - - - -
        -
      • -

        onClosed

        -
        public void onClosed(WebSocket webSocket,
        -                     int code,
        -                     String reason)
        -
        Invoked when both peers have indicated that no more messages will be transmitted and the - connection has been successfully released. No further calls to this listener will be made.
        -
      • -
      - - - -
        -
      • -

        onFailure

        -
        public void onFailure(WebSocket webSocket,
        -                      Throwable t,
        -                      @Nullable
        -                      Response response)
        -
        Invoked when a web socket has been closed due to an error reading from or writing to the - network. Both outgoing and incoming messages may have been lost. No further calls to this - listener will be made.
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Address.html b/3.x/okhttp/okhttp3/class-use/Address.html deleted file mode 100644 index e0eeb4c8c..000000000 --- a/3.x/okhttp/okhttp3/class-use/Address.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - -Uses of Class okhttp3.Address (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Address

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Authenticator.html b/3.x/okhttp/okhttp3/class-use/Authenticator.html deleted file mode 100644 index 14e85621d..000000000 --- a/3.x/okhttp/okhttp3/class-use/Authenticator.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - -Uses of Interface okhttp3.Authenticator (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.Authenticator

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Cache.html b/3.x/okhttp/okhttp3/class-use/Cache.html deleted file mode 100644 index 5ba987a6e..000000000 --- a/3.x/okhttp/okhttp3/class-use/Cache.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - -Uses of Class okhttp3.Cache (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Cache

-
-
-
    -
  • -
      -
    • - - -

      Uses of Cache in okhttp3

      - - - - - - - - - - - - -
      Methods in okhttp3 that return Cache 
      Modifier and TypeMethod and Description
      CacheOkHttpClient.cache() 
      - - - - - - - - - - - - -
      Methods in okhttp3 with parameters of type Cache 
      Modifier and TypeMethod and Description
      OkHttpClient.BuilderOkHttpClient.Builder.cache(Cache cache) -
      Sets the response cache to be used to read and write cached responses.
      -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/CacheControl.Builder.html b/3.x/okhttp/okhttp3/class-use/CacheControl.Builder.html deleted file mode 100644 index 5c3edf705..000000000 --- a/3.x/okhttp/okhttp3/class-use/CacheControl.Builder.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - -Uses of Class okhttp3.CacheControl.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.CacheControl.Builder

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/CacheControl.html b/3.x/okhttp/okhttp3/class-use/CacheControl.html deleted file mode 100644 index f712d69a9..000000000 --- a/3.x/okhttp/okhttp3/class-use/CacheControl.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - -Uses of Class okhttp3.CacheControl (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.CacheControl

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Call.Factory.html b/3.x/okhttp/okhttp3/class-use/Call.Factory.html deleted file mode 100644 index 2426da526..000000000 --- a/3.x/okhttp/okhttp3/class-use/Call.Factory.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Uses of Interface okhttp3.Call.Factory (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.Call.Factory

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Call.html b/3.x/okhttp/okhttp3/class-use/Call.html deleted file mode 100644 index f9eb34478..000000000 --- a/3.x/okhttp/okhttp3/class-use/Call.html +++ /dev/null @@ -1,371 +0,0 @@ - - - - - - -Uses of Interface okhttp3.Call (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.Call

-
-
-
    -
  • -
      -
    • - - -

      Uses of Call in okhttp3

      - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in okhttp3 that return Call 
      Modifier and TypeMethod and Description
      CallInterceptor.Chain.call() 
      CallCall.clone() -
      Create a new, identical call to this one which can be enqueued or executed even if this call - has already been.
      -
      CallOkHttpClient.newCall(Request request) -
      Prepares the request to be executed at some point in the future.
      -
      CallCall.Factory.newCall(Request request) 
      - - - - - - - - - - - - - - - - -
      Methods in okhttp3 that return types with arguments of type Call 
      Modifier and TypeMethod and Description
      List<Call>Dispatcher.queuedCalls() -
      Returns a snapshot of the calls currently awaiting execution.
      -
      List<Call>Dispatcher.runningCalls() -
      Returns a snapshot of the calls currently being executed.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in okhttp3 with parameters of type Call 
      Modifier and TypeMethod and Description
      voidEventListener.callEnd(Call call) -
      Invoked immediately after a call has completely ended.
      -
      voidEventListener.callFailed(Call call, - IOException ioe) -
      Invoked when a call fails permanently.
      -
      voidEventListener.callStart(Call call) -
      Invoked as soon as a call is enqueued or executed by a client.
      -
      voidEventListener.connectEnd(Call call, - InetSocketAddress inetSocketAddress, - Proxy proxy, - Protocol protocol) -
      Invoked immediately after a socket connection was attempted.
      -
      voidEventListener.connectFailed(Call call, - InetSocketAddress inetSocketAddress, - Proxy proxy, - Protocol protocol, - IOException ioe) -
      Invoked when a connection attempt fails.
      -
      voidEventListener.connectionAcquired(Call call, - Connection connection) -
      Invoked after a connection has been acquired for the call.
      -
      voidEventListener.connectionReleased(Call call, - Connection connection) -
      Invoked after a connection has been released for the call.
      -
      voidEventListener.connectStart(Call call, - InetSocketAddress inetSocketAddress, - Proxy proxy) -
      Invoked just prior to initiating a socket connection.
      -
      EventListenerEventListener.Factory.create(Call call) -
      Creates an instance of the EventListener for a particular Call.
      -
      voidEventListener.dnsEnd(Call call, - String domainName, - List<InetAddress> inetAddressList) -
      Invoked immediately after a DNS lookup.
      -
      voidEventListener.dnsStart(Call call, - String domainName) -
      Invoked just prior to a DNS lookup.
      -
      voidCallback.onFailure(Call call, - IOException e) -
      Called when the request could not be executed due to cancellation, a connectivity problem or - timeout.
      -
      voidCallback.onResponse(Call call, - Response response) -
      Called when the HTTP response was successfully returned by the remote server.
      -
      voidEventListener.requestBodyEnd(Call call, - long byteCount) -
      Invoked immediately after sending a request body.
      -
      voidEventListener.requestBodyStart(Call call) -
      Invoked just prior to sending a request body.
      -
      voidEventListener.requestFailed(Call call, - IOException ioe) -
      Invoked when a request fails to be written.
      -
      voidEventListener.requestHeadersEnd(Call call, - Request request) -
      Invoked immediately after sending request headers.
      -
      voidEventListener.requestHeadersStart(Call call) -
      Invoked just prior to sending request headers.
      -
      voidEventListener.responseBodyEnd(Call call, - long byteCount) -
      Invoked immediately after receiving a response body and completing reading it.
      -
      voidEventListener.responseBodyStart(Call call) -
      Invoked just prior to receiving the response body.
      -
      voidEventListener.responseFailed(Call call, - IOException ioe) -
      Invoked when a response fails to be read.
      -
      voidEventListener.responseHeadersEnd(Call call, - Response response) -
      Invoked immediately after receiving response headers.
      -
      voidEventListener.responseHeadersStart(Call call) -
      Invoked just prior to receiving response headers.
      -
      voidEventListener.secureConnectEnd(Call call, - Handshake handshake) -
      Invoked immediately after a TLS connection was attempted.
      -
      voidEventListener.secureConnectStart(Call call) -
      Invoked just prior to initiating a TLS connection.
      -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Callback.html b/3.x/okhttp/okhttp3/class-use/Callback.html deleted file mode 100644 index cf9c0b973..000000000 --- a/3.x/okhttp/okhttp3/class-use/Callback.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -Uses of Interface okhttp3.Callback (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.Callback

-
-
-
    -
  • -
      -
    • - - -

      Uses of Callback in okhttp3

      - - - - - - - - - - - - -
      Methods in okhttp3 with parameters of type Callback 
      Modifier and TypeMethod and Description
      voidCall.enqueue(Callback responseCallback) -
      Schedules the request to be executed at some point in the future.
      -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/CertificatePinner.Builder.html b/3.x/okhttp/okhttp3/class-use/CertificatePinner.Builder.html deleted file mode 100644 index 033c8029f..000000000 --- a/3.x/okhttp/okhttp3/class-use/CertificatePinner.Builder.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Uses of Class okhttp3.CertificatePinner.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.CertificatePinner.Builder

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/CertificatePinner.html b/3.x/okhttp/okhttp3/class-use/CertificatePinner.html deleted file mode 100644 index 3bbcf5dc7..000000000 --- a/3.x/okhttp/okhttp3/class-use/CertificatePinner.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - -Uses of Class okhttp3.CertificatePinner (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.CertificatePinner

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Challenge.html b/3.x/okhttp/okhttp3/class-use/Challenge.html deleted file mode 100644 index 162af2418..000000000 --- a/3.x/okhttp/okhttp3/class-use/Challenge.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - -Uses of Class okhttp3.Challenge (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Challenge

-
-
-
    -
  • -
      -
    • - - -

      Uses of Challenge in okhttp3

      - - - - - - - - - - - - -
      Methods in okhttp3 that return Challenge 
      Modifier and TypeMethod and Description
      ChallengeChallenge.withCharset(Charset charset) -
      Returns a copy of this charset that expects a credential encoded with charset.
      -
      - - - - - - - - - - - - -
      Methods in okhttp3 that return types with arguments of type Challenge 
      Modifier and TypeMethod and Description
      List<Challenge>Response.challenges() -
      Returns the RFC 7235 authorization challenges appropriate for this response's code.
      -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/CipherSuite.html b/3.x/okhttp/okhttp3/class-use/CipherSuite.html deleted file mode 100644 index bc9edad54..000000000 --- a/3.x/okhttp/okhttp3/class-use/CipherSuite.html +++ /dev/null @@ -1,675 +0,0 @@ - - - - - - -Uses of Class okhttp3.CipherSuite (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.CipherSuite

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Connection.html b/3.x/okhttp/okhttp3/class-use/Connection.html deleted file mode 100644 index f86574a00..000000000 --- a/3.x/okhttp/okhttp3/class-use/Connection.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - -Uses of Interface okhttp3.Connection (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.Connection

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/ConnectionPool.html b/3.x/okhttp/okhttp3/class-use/ConnectionPool.html deleted file mode 100644 index ec459ae76..000000000 --- a/3.x/okhttp/okhttp3/class-use/ConnectionPool.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - -Uses of Class okhttp3.ConnectionPool (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.ConnectionPool

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/ConnectionSpec.Builder.html b/3.x/okhttp/okhttp3/class-use/ConnectionSpec.Builder.html deleted file mode 100644 index f3f25de67..000000000 --- a/3.x/okhttp/okhttp3/class-use/ConnectionSpec.Builder.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - -Uses of Class okhttp3.ConnectionSpec.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.ConnectionSpec.Builder

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/ConnectionSpec.html b/3.x/okhttp/okhttp3/class-use/ConnectionSpec.html deleted file mode 100644 index e55198cb1..000000000 --- a/3.x/okhttp/okhttp3/class-use/ConnectionSpec.html +++ /dev/null @@ -1,246 +0,0 @@ - - - - - - -Uses of Class okhttp3.ConnectionSpec (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.ConnectionSpec

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Cookie.Builder.html b/3.x/okhttp/okhttp3/class-use/Cookie.Builder.html deleted file mode 100644 index 6974ee78c..000000000 --- a/3.x/okhttp/okhttp3/class-use/Cookie.Builder.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - -Uses of Class okhttp3.Cookie.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Cookie.Builder

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Cookie.html b/3.x/okhttp/okhttp3/class-use/Cookie.html deleted file mode 100644 index bf16d74d6..000000000 --- a/3.x/okhttp/okhttp3/class-use/Cookie.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - -Uses of Class okhttp3.Cookie (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Cookie

-
-
-
    -
  • -
      -
    • - - -

      Uses of Cookie in okhttp3

      - - - - - - - - - - - - - - - - -
      Methods in okhttp3 that return Cookie 
      Modifier and TypeMethod and Description
      CookieCookie.Builder.build() 
      static CookieCookie.parse(HttpUrl url, - String setCookie) -
      Attempt to parse a Set-Cookie HTTP header value setCookie as a cookie.
      -
      - - - - - - - - - - - - - - - - -
      Methods in okhttp3 that return types with arguments of type Cookie 
      Modifier and TypeMethod and Description
      List<Cookie>CookieJar.loadForRequest(HttpUrl url) -
      Load cookies from the jar for an HTTP request to url.
      -
      static List<Cookie>Cookie.parseAll(HttpUrl url, - Headers headers) -
      Returns all of the cookies from a set of HTTP response headers.
      -
      - - - - - - - - - - - - -
      Method parameters in okhttp3 with type arguments of type Cookie 
      Modifier and TypeMethod and Description
      voidCookieJar.saveFromResponse(HttpUrl url, - List<Cookie> cookies) -
      Saves cookies from an HTTP response to this store according to this jar's policy.
      -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/CookieJar.html b/3.x/okhttp/okhttp3/class-use/CookieJar.html deleted file mode 100644 index 45ab6b117..000000000 --- a/3.x/okhttp/okhttp3/class-use/CookieJar.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Interface okhttp3.CookieJar (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.CookieJar

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Credentials.html b/3.x/okhttp/okhttp3/class-use/Credentials.html deleted file mode 100644 index 3eb1e3bdf..000000000 --- a/3.x/okhttp/okhttp3/class-use/Credentials.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Uses of Class okhttp3.Credentials (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Credentials

-
-
No usage of okhttp3.Credentials
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Dispatcher.html b/3.x/okhttp/okhttp3/class-use/Dispatcher.html deleted file mode 100644 index 14469e821..000000000 --- a/3.x/okhttp/okhttp3/class-use/Dispatcher.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - -Uses of Class okhttp3.Dispatcher (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Dispatcher

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Dns.html b/3.x/okhttp/okhttp3/class-use/Dns.html deleted file mode 100644 index 31fca0900..000000000 --- a/3.x/okhttp/okhttp3/class-use/Dns.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - -Uses of Interface okhttp3.Dns (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.Dns

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/EventListener.Factory.html b/3.x/okhttp/okhttp3/class-use/EventListener.Factory.html deleted file mode 100644 index c26dcc55a..000000000 --- a/3.x/okhttp/okhttp3/class-use/EventListener.Factory.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - -Uses of Interface okhttp3.EventListener.Factory (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.EventListener.Factory

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/EventListener.html b/3.x/okhttp/okhttp3/class-use/EventListener.html deleted file mode 100644 index 2e4dc9e16..000000000 --- a/3.x/okhttp/okhttp3/class-use/EventListener.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -Uses of Class okhttp3.EventListener (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.EventListener

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/FormBody.Builder.html b/3.x/okhttp/okhttp3/class-use/FormBody.Builder.html deleted file mode 100644 index 4d11c954d..000000000 --- a/3.x/okhttp/okhttp3/class-use/FormBody.Builder.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - -Uses of Class okhttp3.FormBody.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.FormBody.Builder

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/FormBody.html b/3.x/okhttp/okhttp3/class-use/FormBody.html deleted file mode 100644 index 38a0871d2..000000000 --- a/3.x/okhttp/okhttp3/class-use/FormBody.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -Uses of Class okhttp3.FormBody (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.FormBody

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Handshake.html b/3.x/okhttp/okhttp3/class-use/Handshake.html deleted file mode 100644 index 08736daa4..000000000 --- a/3.x/okhttp/okhttp3/class-use/Handshake.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -Uses of Class okhttp3.Handshake (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Handshake

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Headers.Builder.html b/3.x/okhttp/okhttp3/class-use/Headers.Builder.html deleted file mode 100644 index 1411a3bc1..000000000 --- a/3.x/okhttp/okhttp3/class-use/Headers.Builder.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - -Uses of Class okhttp3.Headers.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Headers.Builder

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Headers.html b/3.x/okhttp/okhttp3/class-use/Headers.html deleted file mode 100644 index 90e55e911..000000000 --- a/3.x/okhttp/okhttp3/class-use/Headers.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - -Uses of Class okhttp3.Headers (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Headers

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/HttpUrl.Builder.html b/3.x/okhttp/okhttp3/class-use/HttpUrl.Builder.html deleted file mode 100644 index 9ed2c9551..000000000 --- a/3.x/okhttp/okhttp3/class-use/HttpUrl.Builder.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - -Uses of Class okhttp3.HttpUrl.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.HttpUrl.Builder

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/HttpUrl.html b/3.x/okhttp/okhttp3/class-use/HttpUrl.html deleted file mode 100644 index 142b59fc4..000000000 --- a/3.x/okhttp/okhttp3/class-use/HttpUrl.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - -Uses of Class okhttp3.HttpUrl (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.HttpUrl

-
-
-
    -
  • -
      -
    • - - -

      Uses of HttpUrl in okhttp3

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in okhttp3 that return HttpUrl 
      Modifier and TypeMethod and Description
      HttpUrlHttpUrl.Builder.build() 
      static HttpUrlHttpUrl.get(String url) -
      Returns a new HttpUrl representing url.
      -
      static HttpUrlHttpUrl.get(URI uri) 
      static HttpUrlHttpUrl.get(URL url) -
      Returns an HttpUrl for url if its protocol is http or https, or - null if it has any other protocol.
      -
      static HttpUrlHttpUrl.parse(String url) -
      Returns a new HttpUrl representing url if it is a well-formed HTTP or HTTPS - URL, or null if it isn't.
      -
      HttpUrlHttpUrl.resolve(String link) -
      Returns the URL that would be retrieved by following link from this URL, or null if - the resulting URL is not well-formed.
      -
      HttpUrlRequest.url() 
      HttpUrlAddress.url() -
      Returns a URL with the hostname and port of the origin server.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in okhttp3 with parameters of type HttpUrl 
      Modifier and TypeMethod and Description
      static StringCache.key(HttpUrl url) 
      List<Cookie>CookieJar.loadForRequest(HttpUrl url) -
      Load cookies from the jar for an HTTP request to url.
      -
      booleanCookie.matches(HttpUrl url) -
      Returns true if this cookie should be included on a request to url.
      -
      static CookieCookie.parse(HttpUrl url, - String setCookie) -
      Attempt to parse a Set-Cookie HTTP header value setCookie as a cookie.
      -
      static List<Cookie>Cookie.parseAll(HttpUrl url, - Headers headers) -
      Returns all of the cookies from a set of HTTP response headers.
      -
      voidCookieJar.saveFromResponse(HttpUrl url, - List<Cookie> cookies) -
      Saves cookies from an HTTP response to this store according to this jar's policy.
      -
      Request.BuilderRequest.Builder.url(HttpUrl url) 
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Interceptor.Chain.html b/3.x/okhttp/okhttp3/class-use/Interceptor.Chain.html deleted file mode 100644 index edf6f36d3..000000000 --- a/3.x/okhttp/okhttp3/class-use/Interceptor.Chain.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -Uses of Interface okhttp3.Interceptor.Chain (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.Interceptor.Chain

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Interceptor.html b/3.x/okhttp/okhttp3/class-use/Interceptor.html deleted file mode 100644 index b35df4115..000000000 --- a/3.x/okhttp/okhttp3/class-use/Interceptor.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -Uses of Interface okhttp3.Interceptor (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.Interceptor

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/MediaType.html b/3.x/okhttp/okhttp3/class-use/MediaType.html deleted file mode 100644 index 9491f6a8d..000000000 --- a/3.x/okhttp/okhttp3/class-use/MediaType.html +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - -Uses of Class okhttp3.MediaType (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.MediaType

-
-
-
    -
  • -
      -
    • - - -

      Uses of MediaType in okhttp3

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields in okhttp3 declared as MediaType 
      Modifier and TypeField and Description
      static MediaTypeMultipartBody.ALTERNATIVE -
      The "multipart/alternative" type is syntactically identical to "multipart/mixed", but the - semantics are different.
      -
      static MediaTypeMultipartBody.DIGEST -
      This type is syntactically identical to "multipart/mixed", but the semantics are different.
      -
      static MediaTypeMultipartBody.FORM -
      The media-type multipart/form-data follows the rules of all multipart MIME data streams as - outlined in RFC 2046.
      -
      static MediaTypeMultipartBody.MIXED -
      The "mixed" subtype of "multipart" is intended for use when the body parts are independent and - need to be bundled in a particular order.
      -
      static MediaTypeMultipartBody.PARALLEL -
      This type is syntactically identical to "multipart/mixed", but the semantics are different.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in okhttp3 that return MediaType 
      Modifier and TypeMethod and Description
      MediaTypeMultipartBody.contentType() - -
      abstract MediaTypeRequestBody.contentType() -
      Returns the Content-Type header for this body.
      -
      abstract MediaTypeResponseBody.contentType() 
      MediaTypeFormBody.contentType() 
      static MediaTypeMediaType.get(String string) -
      Returns a media type for string.
      -
      static MediaTypeMediaType.parse(String string) -
      Returns a media type for string, or null if string is not a well-formed media - type.
      -
      MediaTypeMultipartBody.type() 
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in okhttp3 with parameters of type MediaType 
      Modifier and TypeMethod and Description
      static RequestBodyRequestBody.create(MediaType contentType, - byte[] content) -
      Returns a new request body that transmits content.
      -
      static ResponseBodyResponseBody.create(MediaType contentType, - byte[] content) -
      Returns a new response body that transmits content.
      -
      static RequestBodyRequestBody.create(MediaType contentType, - byte[] content, - int offset, - int byteCount) -
      Returns a new request body that transmits content.
      -
      static RequestBodyRequestBody.create(MediaType contentType, - okio.ByteString content) -
      Returns a new request body that transmits content.
      -
      static ResponseBodyResponseBody.create(MediaType contentType, - okio.ByteString content) -
      Returns a new response body that transmits content.
      -
      static RequestBodyRequestBody.create(MediaType contentType, - File file) -
      Returns a new request body that transmits the content of file.
      -
      static ResponseBodyResponseBody.create(MediaType contentType, - long contentLength, - okio.BufferedSource content) -
      Returns a new response body that transmits content.
      -
      static RequestBodyRequestBody.create(MediaType contentType, - String content) -
      Returns a new request body that transmits content.
      -
      static ResponseBodyResponseBody.create(MediaType contentType, - String content) -
      Returns a new response body that transmits content.
      -
      MultipartBody.BuilderMultipartBody.Builder.setType(MediaType type) -
      Set the MIME type.
      -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/MultipartBody.Builder.html b/3.x/okhttp/okhttp3/class-use/MultipartBody.Builder.html deleted file mode 100644 index 7d41f9ceb..000000000 --- a/3.x/okhttp/okhttp3/class-use/MultipartBody.Builder.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - -Uses of Class okhttp3.MultipartBody.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.MultipartBody.Builder

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/MultipartBody.Part.html b/3.x/okhttp/okhttp3/class-use/MultipartBody.Part.html deleted file mode 100644 index eb30d151c..000000000 --- a/3.x/okhttp/okhttp3/class-use/MultipartBody.Part.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - -Uses of Class okhttp3.MultipartBody.Part (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.MultipartBody.Part

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/MultipartBody.html b/3.x/okhttp/okhttp3/class-use/MultipartBody.html deleted file mode 100644 index ea4c5c749..000000000 --- a/3.x/okhttp/okhttp3/class-use/MultipartBody.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -Uses of Class okhttp3.MultipartBody (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.MultipartBody

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/OkHttpClient.Builder.html b/3.x/okhttp/okhttp3/class-use/OkHttpClient.Builder.html deleted file mode 100644 index a5b413d7e..000000000 --- a/3.x/okhttp/okhttp3/class-use/OkHttpClient.Builder.html +++ /dev/null @@ -1,356 +0,0 @@ - - - - - - -Uses of Class okhttp3.OkHttpClient.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.OkHttpClient.Builder

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/OkHttpClient.html b/3.x/okhttp/okhttp3/class-use/OkHttpClient.html deleted file mode 100644 index 21318e75d..000000000 --- a/3.x/okhttp/okhttp3/class-use/OkHttpClient.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -Uses of Class okhttp3.OkHttpClient (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.OkHttpClient

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Protocol.html b/3.x/okhttp/okhttp3/class-use/Protocol.html deleted file mode 100644 index 39b7a7c70..000000000 --- a/3.x/okhttp/okhttp3/class-use/Protocol.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - -Uses of Class okhttp3.Protocol (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Protocol

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Request.Builder.html b/3.x/okhttp/okhttp3/class-use/Request.Builder.html deleted file mode 100644 index 5a62c87ff..000000000 --- a/3.x/okhttp/okhttp3/class-use/Request.Builder.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - -Uses of Class okhttp3.Request.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Request.Builder

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Request.html b/3.x/okhttp/okhttp3/class-use/Request.html deleted file mode 100644 index 546cbf65f..000000000 --- a/3.x/okhttp/okhttp3/class-use/Request.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - -Uses of Class okhttp3.Request (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Request

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/RequestBody.html b/3.x/okhttp/okhttp3/class-use/RequestBody.html deleted file mode 100644 index 80a05cd12..000000000 --- a/3.x/okhttp/okhttp3/class-use/RequestBody.html +++ /dev/null @@ -1,275 +0,0 @@ - - - - - - -Uses of Class okhttp3.RequestBody (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.RequestBody

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Response.Builder.html b/3.x/okhttp/okhttp3/class-use/Response.Builder.html deleted file mode 100644 index f0884f831..000000000 --- a/3.x/okhttp/okhttp3/class-use/Response.Builder.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - -Uses of Class okhttp3.Response.Builder (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Response.Builder

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Response.html b/3.x/okhttp/okhttp3/class-use/Response.html deleted file mode 100644 index 910348c3d..000000000 --- a/3.x/okhttp/okhttp3/class-use/Response.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - -Uses of Class okhttp3.Response (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Response

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/ResponseBody.html b/3.x/okhttp/okhttp3/class-use/ResponseBody.html deleted file mode 100644 index ead87bb42..000000000 --- a/3.x/okhttp/okhttp3/class-use/ResponseBody.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - -Uses of Class okhttp3.ResponseBody (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.ResponseBody

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/Route.html b/3.x/okhttp/okhttp3/class-use/Route.html deleted file mode 100644 index 9c8f4e4f7..000000000 --- a/3.x/okhttp/okhttp3/class-use/Route.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - -Uses of Class okhttp3.Route (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.Route

-
-
-
    -
  • -
      -
    • - - -

      Uses of Route in okhttp3

      - - - - - - - - - - - - -
      Methods in okhttp3 that return Route 
      Modifier and TypeMethod and Description
      RouteConnection.route() -
      Returns the route used by this connection.
      -
      - - - - - - - - - - - - -
      Methods in okhttp3 with parameters of type Route 
      Modifier and TypeMethod and Description
      RequestAuthenticator.authenticate(Route route, - Response response) -
      Returns a request that includes a credential to satisfy an authentication challenge in response.
      -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/TlsVersion.html b/3.x/okhttp/okhttp3/class-use/TlsVersion.html deleted file mode 100644 index ec8381922..000000000 --- a/3.x/okhttp/okhttp3/class-use/TlsVersion.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - -Uses of Class okhttp3.TlsVersion (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.TlsVersion

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/WebSocket.Factory.html b/3.x/okhttp/okhttp3/class-use/WebSocket.Factory.html deleted file mode 100644 index f050b25d0..000000000 --- a/3.x/okhttp/okhttp3/class-use/WebSocket.Factory.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Uses of Interface okhttp3.WebSocket.Factory (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.WebSocket.Factory

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/WebSocket.html b/3.x/okhttp/okhttp3/class-use/WebSocket.html deleted file mode 100644 index 8ef24c872..000000000 --- a/3.x/okhttp/okhttp3/class-use/WebSocket.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - -Uses of Interface okhttp3.WebSocket (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Interface
okhttp3.WebSocket

-
-
-
    -
  • -
      -
    • - - -

      Uses of WebSocket in okhttp3

      - - - - - - - - - - - - - - - - -
      Methods in okhttp3 that return WebSocket 
      Modifier and TypeMethod and Description
      WebSocketOkHttpClient.newWebSocket(Request request, - WebSocketListener listener) -
      Uses request to connect a new web socket.
      -
      WebSocketWebSocket.Factory.newWebSocket(Request request, - WebSocketListener listener) -
      Creates a new web socket and immediately returns it.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in okhttp3 with parameters of type WebSocket 
      Modifier and TypeMethod and Description
      voidWebSocketListener.onClosed(WebSocket webSocket, - int code, - String reason) -
      Invoked when both peers have indicated that no more messages will be transmitted and the - connection has been successfully released.
      -
      voidWebSocketListener.onClosing(WebSocket webSocket, - int code, - String reason) -
      Invoked when the remote peer has indicated that no more incoming messages will be - transmitted.
      -
      voidWebSocketListener.onFailure(WebSocket webSocket, - Throwable t, - Response response) -
      Invoked when a web socket has been closed due to an error reading from or writing to the - network.
      -
      voidWebSocketListener.onMessage(WebSocket webSocket, - okio.ByteString bytes) -
      Invoked when a binary (type 0x2) message has been received.
      -
      voidWebSocketListener.onMessage(WebSocket webSocket, - String text) -
      Invoked when a text (type 0x1) message has been received.
      -
      voidWebSocketListener.onOpen(WebSocket webSocket, - Response response) -
      Invoked when a web socket has been accepted by the remote peer and may begin transmitting - messages.
      -
      -
    • -
    -
  • -
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/class-use/WebSocketListener.html b/3.x/okhttp/okhttp3/class-use/WebSocketListener.html deleted file mode 100644 index 1dabc8701..000000000 --- a/3.x/okhttp/okhttp3/class-use/WebSocketListener.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -Uses of Class okhttp3.WebSocketListener (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Class
okhttp3.WebSocketListener

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/package-frame.html b/3.x/okhttp/okhttp3/package-frame.html deleted file mode 100644 index 31a74c639..000000000 --- a/3.x/okhttp/okhttp3/package-frame.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - -okhttp3 (OkHttp 3.14.0 API) - - - - - -

okhttp3

- - - diff --git a/3.x/okhttp/okhttp3/package-summary.html b/3.x/okhttp/okhttp3/package-summary.html deleted file mode 100644 index 889b5a9f3..000000000 --- a/3.x/okhttp/okhttp3/package-summary.html +++ /dev/null @@ -1,452 +0,0 @@ - - - - - - -okhttp3 (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

@EverythingIsNonNull -

-

Package okhttp3

-
-
An HTTP+HTTP/2 client for Android and Java applications.
-
-

See: Description

-
-
- - - - -

Package okhttp3 Description

-
An HTTP+HTTP/2 client for Android and Java applications.
-
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/package-tree.html b/3.x/okhttp/okhttp3/package-tree.html deleted file mode 100644 index a40e21a42..000000000 --- a/3.x/okhttp/okhttp3/package-tree.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - -okhttp3 Class Hierarchy (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For Package okhttp3

-
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/okhttp3/package-use.html b/3.x/okhttp/okhttp3/package-use.html deleted file mode 100644 index e985a4e59..000000000 --- a/3.x/okhttp/okhttp3/package-use.html +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - -Uses of Package okhttp3 (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Uses of Package
okhttp3

-
-
- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/overview-tree.html b/3.x/okhttp/overview-tree.html deleted file mode 100644 index 518e5fcea..000000000 --- a/3.x/okhttp/overview-tree.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - -Class Hierarchy (OkHttp 3.14.0 API) - - - - - - - - - - - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- - - - -

Copyright © 2019. All rights reserved.

- - diff --git a/3.x/okhttp/package-list b/3.x/okhttp/package-list deleted file mode 100644 index 80c510a07..000000000 --- a/3.x/okhttp/package-list +++ /dev/null @@ -1 +0,0 @@ -okhttp3 diff --git a/3.x/okhttp/script.js b/3.x/okhttp/script.js deleted file mode 100644 index b34635693..000000000 --- a/3.x/okhttp/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/3.x/okhttp/stylesheet.css b/3.x/okhttp/stylesheet.css deleted file mode 100644 index 8841f37c4..000000000 --- a/3.x/okhttp/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -} diff --git a/3.x/okhttp/version.txt b/3.x/okhttp/version.txt deleted file mode 100644 index f982feb41..000000000 --- a/3.x/okhttp/version.txt +++ /dev/null @@ -1 +0,0 @@ -3.14.0 diff --git a/5.x/okhttp/okhttp3/-http-url/encoded-fragment.html b/5.x/okhttp/okhttp3/-http-url/encoded-fragment.html index 04b428ed2..7a06dc642 100644 --- a/5.x/okhttp/okhttp3/-http-url/encoded-fragment.html +++ b/5.x/okhttp/okhttp3/-http-url/encoded-fragment.html @@ -95,7 +95,7 @@

encodedFragment

-

This URL's encoded fragment, like "abc" for http://host/#abc. This is null if the URL has no fragment.

http://host/null
http://host/#""
http://host/#abc"abc"
`http://host/#abcdef`
+

This URL's encoded fragment, like "abc" for http://host/#abc. This is null if the URL has no fragment.

http://host/null
http://host/#""
http://host/#abc"abc"
`http://host/#abcdef`
@@ -1465,10 +1435,6 @@

Releasing

-

Prerequisite: Sonatype (Maven Central) Account

-

Create an account on the Sonatype issues site. Ask an existing publisher to open -an issue requesting publishing permissions for com.squareup projects.

-

Cutting a Release

  1. Update CHANGELOG.md.

    @@ -1480,41 +1446,28 @@ export NEXT_VERSION=X.Y.Z-SNAPSHOT
  2. -

    Update versions:

    -
    sed -i "" \
    -  "s/version = \".*\"/version = \"$RELEASE_VERSION\"/g" \
    +

    Update versions, tag the release, and prepare for the next release.

    +

    `` +sed -i "" \ + "s/version = \".*\"/version = \"$RELEASE_VERSION\"/g" \ build.gradle.kts -sed -i "" \ - "s/\"com.squareup.okhttp3:\([^\:]*\):[^\"]*\"/\"com.squareup.okhttp3:\1:$RELEASE_VERSION\"/g" \ - `find . -name "README.md"` -sed -i "" \ - "s/\/com.squareup.okhttp3\/\([^\:]*\)\/[^\/]*\//\/com.squareup.okhttp3\/\1\/$RELEASE_VERSION\//g" \ - `find . -name "README.md"` -

    -
  3. -
  4. -

    Tag the release and push to GitHub.

    -
    git commit -am "Prepare for release $RELEASE_VERSION."
    -git tag -a parent-$RELEASE_VERSION -m "Version $RELEASE_VERSION"
    -git push && git push --tags
    -
    -
  5. -
  6. -

    Wait for GitHub Actions to start the publish job.

    -
  7. -
  8. -

    Prepare for ongoing development and push to GitHub.

    -
    sed -i "" \
    -  "s/version = \".*\"/version = \"$NEXT_VERSION\"/g" \
    -  build.gradle.kts
    -git commit -am "Prepare next development version."
    -git push
    -
    -
  9. -
  10. -

    Confirm the GitHub Actions publish job succeeded.

    +sed -i "" \ + "s/\"com.squareup.okhttp3:\([^\:]*\):[^\"]*\"/\"com.squareup.okhttp3:\1:$RELEASE_VERSION\"/g" \
    find . -name “README.md”sed -i "" \ + "s/\/com.squareup.okhttp3\/\([^\:]*\)\/[^\/]*\//\/com.squareup.okhttp3\/\1\/$RELEASE_VERSION\//g" \find . -name “README.md”`

    +

    git commit -am “Prepare for release $RELEASE_VERSION.” +git tag -a parent-$RELEASE_VERSION -m “Version $RELEASE_VERSION” +git push && git push –tags

+

sed -i “” \ + “s/version = ".*"/version = "$NEXT_VERSION"/g” \ + build.gradle.kts + git commit -am “Prepare next development version.” + git push + ```

+
    +
  1. Wait for GitHub Actions to build and promote the release.
  2. +
diff --git a/search/search_index.json b/search/search_index.json index 2952ae8f0..b666ef8d1 100644 --- a/search/search_index.json +++ b/search/search_index.json @@ -1 +1 @@ -{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"],"fields":{"title":{"boost":1000.0},"text":{"boost":1.0},"tags":{"boost":1000000.0}}},"docs":[{"location":"","title":"OkHttp","text":"

HTTP is the way modern applications network. It\u2019s how we exchange data & media. Doing HTTP efficiently makes your stuff load faster and saves bandwidth.

OkHttp is an HTTP client that\u2019s efficient by default:

  • HTTP/2 support allows all requests to the same host to share a socket.
  • Connection pooling reduces request latency (if HTTP/2 isn\u2019t available).
  • Transparent GZIP shrinks download sizes.
  • Response caching avoids the network completely for repeat requests.

OkHttp perseveres when the network is troublesome: it will silently recover from common connection problems. If your service has multiple IP addresses, OkHttp will attempt alternate addresses if the first connect fails. This is necessary for IPv4+IPv6 and services hosted in redundant data centers. OkHttp supports modern TLS features (TLS 1.3, ALPN, certificate pinning). It can be configured to fall back for broad connectivity.

Using OkHttp is easy. Its request/response API is designed with fluent builders and immutability. It supports both synchronous blocking calls and async calls with callbacks.

"},{"location":"#a-well-behaved-user-agent","title":"A well behaved user agent","text":"

OkHttp follows modern HTTP specifications such as

  • HTTP Semantics - RFC 9110
  • HTTP Caching- RFC 9111
  • HTTP/1.1 - RFC 9112
  • HTTP/2 - RFC 9113
  • Websockets - RFC 6455
  • SSE - Server-sent events

Where the spec is ambiguous, OkHttp follows modern user agents such as popular Browsers or common HTTP Libraries.

OkHttp is principled and avoids being overly configurable, especially when such configuration is to workaround a buggy server, test invalid scenarios or that contradict the relevant RFC. Other HTTP libraries exist that fill that gap allowing extensive customisation including potentially invalid requests.

Example Limitations

  • Does not allow GET with a body.
  • Cache is not an interface with alternative implementations.
"},{"location":"#get-a-url","title":"Get a URL","text":"

This program downloads a URL and prints its contents as a string. Full source.

OkHttpClient client = new OkHttpClient();\n\nString run(String url) throws IOException {\n  Request request = new Request.Builder()\n      .url(url)\n      .build();\n\n  try (Response response = client.newCall(request).execute()) {\n    return response.body().string();\n  }\n}\n
"},{"location":"#post-to-a-server","title":"Post to a Server","text":"

This program posts data to a service. Full source.

public static final MediaType JSON = MediaType.get(\"application/json\");\n\nOkHttpClient client = new OkHttpClient();\n\nString post(String url, String json) throws IOException {\n  RequestBody body = RequestBody.create(json, JSON);\n  Request request = new Request.Builder()\n      .url(url)\n      .post(body)\n      .build();\n  try (Response response = client.newCall(request).execute()) {\n    return response.body().string();\n  }\n}\n

Further examples are on the OkHttp Recipes page.

"},{"location":"#requirements","title":"Requirements","text":"

OkHttp works on Android 5.0+ (API level 21+) and Java 8+.

On Android, OkHttp uses AndroidX Startup. If you disable the initializer in the manifest, then apps are responsible for calling OkHttp.initialize(applicationContext) in Application.onCreate.

OkHttp depends on Okio for high-performance I/O and the Kotlin standard library. Both are small libraries with strong backward-compatibility.

We highly recommend you keep OkHttp up-to-date. As with auto-updating web browsers, staying current with HTTPS clients is an important defense against potential security problems. We track the dynamic TLS ecosystem and adjust OkHttp to improve connectivity and security.

OkHttp uses your platform\u2019s built-in TLS implementation. On Java platforms OkHttp also supports Conscrypt, which integrates BoringSSL with Java. OkHttp will use Conscrypt if it is the first security provider:

Security.insertProviderAt(Conscrypt.newProvider(), 1);\n

The OkHttp 3.12.x branch supports Android 2.3+ (API level 9+) and Java 7+. These platforms lack support for TLS 1.2 and should not be used.

"},{"location":"#releases","title":"Releases","text":"

Our change log has release history.

The latest release is available on Maven Central.

implementation(\"com.squareup.okhttp3:okhttp:5.3.0\")\n

Snapshot builds are available. R8 and ProGuard rules are available.

Also, we have a bill of materials (BOM) available to help you keep OkHttp artifacts up to date and be sure about version compatibility.

    dependencies {\n       // define a BOM and its version\n       implementation(platform(\"com.squareup.okhttp3:okhttp-bom:5.3.0\"))\n\n       // define any required OkHttp artifacts without version\n       implementation(\"com.squareup.okhttp3:okhttp\")\n       implementation(\"com.squareup.okhttp3:logging-interceptor\")\n    }\n
"},{"location":"#maven-and-jvm-projects","title":"Maven and JVM Projects","text":"

OkHttp is published as a Kotlin Multiplatform project. While Gradle handles this automatically, Maven projects must select between okhttp-jvm and okhttp-android. The okhttp artifact will be empty in Maven projects.

<dependencyManagement>\n  <dependencies>\n    <dependency>\n      <groupId>com.squareup.okhttp3</groupId>\n      <artifactId>okhttp-bom</artifactId>\n      <version>5.2.0</version>\n      <type>pom</type>\n      <scope>import</scope>\n    </dependency>\n  </dependencies>\n</dependencyManagement>\n
<dependency>\n  <groupId>com.squareup.okhttp3</groupId>\n  <artifactId>okhttp-jvm</artifactId>\n  <!-- Remove after OkHttp 5.2.0 with updated BOM. -->\n  <version>5.1.0</version>\n</dependency>\n\n<dependency>\n  <groupId>com.squareup.okhttp3</groupId>\n  <artifactId>mockwebserver3</artifactId>\n</dependency>\n\n<dependency>\n  <groupId>com.squareup.okhttp3</groupId>\n  <artifactId>logging-interceptor</artifactId>\n</dependency>\n
"},{"location":"#mockwebserver","title":"MockWebServer","text":"

OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.

The latest release is available on Maven Central.

testImplementation(\"com.squareup.okhttp3:mockwebserver3:5.3.0\")\n

MockWebServer is used for firstly for internal testing, and for basic testing of apps using OkHttp client. It is not a full featured HTTP testing library that is developed standalone. It is not being actively developed for new features. As such you might find your needs outgrow MockWebServer and you may which to use a more full featured testing library such as MockServer.

"},{"location":"#graalvm-native-image","title":"GraalVM Native Image","text":"

Building your native images with GraalVM should work automatically.

See the okcurl module for an example build.

$ ./gradlew okcurl:nativeImage\n$ ./okcurl/build/graal/okcurl https://httpbin.org/get\n
"},{"location":"#java-modules","title":"Java Modules","text":"

OkHttp (5.2+) implements Java 9 Modules.

With this in place Java builds should fail if apps attempt to use internal packages.

error: package okhttp3.internal.platform is not visible\n    okhttp3.internal.platform.Platform.get();\n                    ^\n  (package okhttp3.internal.platform is declared in module okhttp3,\n    which does not export it to module com.bigco.sdk)\n

The stable public API is based on the list of defined modules:

  • okhttp3
  • okhttp3.brotli
  • okhttp3.coroutines
  • okhttp3.dnsoverhttps
  • okhttp3.java.net.cookiejar
  • okhttp3.logging
  • okhttp3.sse
  • okhttp3.tls
  • okhttp3.urlconnection
  • mockwebserver3
  • mockwebserver3.junit4
  • mockwebserver3.junit5
"},{"location":"#license","title":"License","text":"
Copyright 2019 Square, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n
"},{"location":"recipes/","title":"Recipes","text":"

We\u2019ve written some recipes that demonstrate how to solve common problems with OkHttp. Read through them to learn about how everything works together. Cut-and-paste these examples freely; that\u2019s what they\u2019re for.

"},{"location":"recipes/#synchronous-get-kt-java","title":"Synchronous Get (.kt, .java)","text":"

Download a file, print its headers, and print its response body as a string.

The string() method on response body is convenient and efficient for small documents. But if the response body is large (greater than 1 MiB), avoid string() because it will load the entire document into memory. In that case, prefer to process the body as a stream.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"https://publicobject.com/helloworld.txt\")\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      for ((name, value) in response.headers) {\n        println(\"$name: $value\")\n      }\n\n      println(response.body!!.string())\n    }\n  }\n
  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"https://publicobject.com/helloworld.txt\")\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      Headers responseHeaders = response.headers();\n      for (int i = 0; i < responseHeaders.size(); i++) {\n        System.out.println(responseHeaders.name(i) + \": \" + responseHeaders.value(i));\n      }\n\n      System.out.println(response.body().string());\n    }\n  }\n
"},{"location":"recipes/#asynchronous-get-kt-java","title":"Asynchronous Get (.kt, .java)","text":"

Download a file on a worker thread, and get called back when the response is readable. The callback is made after the response headers are ready. Reading the response body may still block. OkHttp doesn\u2019t currently offer asynchronous APIs to receive a response body in parts.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"http://publicobject.com/helloworld.txt\")\n        .build()\n\n    client.newCall(request).enqueue(object : Callback {\n      override fun onFailure(call: Call, e: IOException) {\n        e.printStackTrace()\n      }\n\n      override fun onResponse(call: Call, response: Response) {\n        response.use {\n          if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n          for ((name, value) in response.headers) {\n            println(\"$name: $value\")\n          }\n\n          println(response.body!!.string())\n        }\n      }\n    })\n  }\n
  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"http://publicobject.com/helloworld.txt\")\n        .build();\n\n    client.newCall(request).enqueue(new Callback() {\n      @Override public void onFailure(Call call, IOException e) {\n        e.printStackTrace();\n      }\n\n      @Override public void onResponse(Call call, Response response) throws IOException {\n        try (ResponseBody responseBody = response.body()) {\n          if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n          Headers responseHeaders = response.headers();\n          for (int i = 0, size = responseHeaders.size(); i < size; i++) {\n            System.out.println(responseHeaders.name(i) + \": \" + responseHeaders.value(i));\n          }\n\n          System.out.println(responseBody.string());\n        }\n      }\n    });\n  }\n
"},{"location":"recipes/#accessing-headers-kt-java","title":"Accessing Headers (.kt, .java)","text":"

Typically HTTP headers work like a Map<String, String>: each field has one value or none. But some headers permit multiple values, like Guava\u2019s Multimap. For example, it\u2019s legal and common for an HTTP response to supply multiple Vary headers. OkHttp\u2019s APIs attempt to make both cases comfortable.

When writing request headers, use header(name, value) to set the only occurrence of name to value. If there are existing values, they will be removed before the new value is added. Use addHeader(name, value) to add a header without removing the headers already present.

When reading response a header, use header(name) to return the last occurrence of the named value. Usually this is also the only occurrence! If no value is present, header(name) will return null. To read all of a field\u2019s values as a list, use headers(name).

To visit all headers, use the Headers class which supports access by index.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"https://api.github.com/repos/square/okhttp/issues\")\n        .header(\"User-Agent\", \"OkHttp Headers.java\")\n        .addHeader(\"Accept\", \"application/json; q=0.5\")\n        .addHeader(\"Accept\", \"application/vnd.github.v3+json\")\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      println(\"Server: ${response.header(\"Server\")}\")\n      println(\"Date: ${response.header(\"Date\")}\")\n      println(\"Vary: ${response.headers(\"Vary\")}\")\n    }\n  }\n
  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"https://api.github.com/repos/square/okhttp/issues\")\n        .header(\"User-Agent\", \"OkHttp Headers.java\")\n        .addHeader(\"Accept\", \"application/json; q=0.5\")\n        .addHeader(\"Accept\", \"application/vnd.github.v3+json\")\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(\"Server: \" + response.header(\"Server\"));\n      System.out.println(\"Date: \" + response.header(\"Date\"));\n      System.out.println(\"Vary: \" + response.headers(\"Vary\"));\n    }\n  }\n
"},{"location":"recipes/#posting-a-string-kt-java","title":"Posting a String (.kt, .java)","text":"

Use an HTTP POST to send a request body to a service. This example posts a markdown document to a web service that renders markdown as HTML. Because the entire request body is in memory simultaneously, avoid posting large (greater than 1 MiB) documents using this API.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val postBody = \"\"\"\n        |Releases\n        |--------\n        |\n        | * _1.0_ May 6, 2013\n        | * _1.1_ June 15, 2013\n        | * _1.2_ August 11, 2013\n        |\"\"\".trimMargin()\n\n    val request = Request.Builder()\n        .url(\"https://api.github.com/markdown/raw\")\n        .post(postBody.toRequestBody(MEDIA_TYPE_MARKDOWN))\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      println(response.body!!.string())\n    }\n  }\n\n  companion object {\n    val MEDIA_TYPE_MARKDOWN = \"text/x-markdown; charset=utf-8\".toMediaType()\n  }\n
  public static final MediaType MEDIA_TYPE_MARKDOWN\n      = MediaType.parse(\"text/x-markdown; charset=utf-8\");\n\n  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    String postBody = \"\"\n        + \"Releases\\n\"\n        + \"--------\\n\"\n        + \"\\n\"\n        + \" * _1.0_ May 6, 2013\\n\"\n        + \" * _1.1_ June 15, 2013\\n\"\n        + \" * _1.2_ August 11, 2013\\n\";\n\n    Request request = new Request.Builder()\n        .url(\"https://api.github.com/markdown/raw\")\n        .post(RequestBody.create(MEDIA_TYPE_MARKDOWN, postBody))\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n  }\n
"},{"location":"recipes/#post-streaming-kt-java","title":"Post Streaming (.kt, .java)","text":"

Here we POST a request body as a stream. The content of this request body is being generated as it\u2019s being written. This example streams directly into the Okio buffered sink. Your programs may prefer an OutputStream, which you can get from BufferedSink.outputStream().

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val requestBody = object : RequestBody() {\n      override fun contentType() = MEDIA_TYPE_MARKDOWN\n\n      override fun writeTo(sink: BufferedSink) {\n        sink.writeUtf8(\"Numbers\\n\")\n        sink.writeUtf8(\"-------\\n\")\n        for (i in 2..997) {\n          sink.writeUtf8(String.format(\" * $i = ${factor(i)}\\n\"))\n        }\n      }\n\n      private fun factor(n: Int): String {\n        for (i in 2 until n) {\n          val x = n / i\n          if (x * i == n) return \"${factor(x)} \u00d7 $i\"\n        }\n        return n.toString()\n      }\n    }\n\n    val request = Request.Builder()\n        .url(\"https://api.github.com/markdown/raw\")\n        .post(requestBody)\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      println(response.body!!.string())\n    }\n  }\n\n  companion object {\n    val MEDIA_TYPE_MARKDOWN = \"text/x-markdown; charset=utf-8\".toMediaType()\n  }\n
  public static final MediaType MEDIA_TYPE_MARKDOWN\n      = MediaType.parse(\"text/x-markdown; charset=utf-8\");\n\n  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    RequestBody requestBody = new RequestBody() {\n      @Override public MediaType contentType() {\n        return MEDIA_TYPE_MARKDOWN;\n      }\n\n      @Override public void writeTo(BufferedSink sink) throws IOException {\n        sink.writeUtf8(\"Numbers\\n\");\n        sink.writeUtf8(\"-------\\n\");\n        for (int i = 2; i <= 997; i++) {\n          sink.writeUtf8(String.format(\" * %s = %s\\n\", i, factor(i)));\n        }\n      }\n\n      private String factor(int n) {\n        for (int i = 2; i < n; i++) {\n          int x = n / i;\n          if (x * i == n) return factor(x) + \" \u00d7 \" + i;\n        }\n        return Integer.toString(n);\n      }\n    };\n\n    Request request = new Request.Builder()\n        .url(\"https://api.github.com/markdown/raw\")\n        .post(requestBody)\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n  }\n
"},{"location":"recipes/#posting-a-file-kt-java","title":"Posting a File (.kt, .java)","text":"

It\u2019s easy to use a file as a request body.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val file = File(\"README.md\")\n\n    val request = Request.Builder()\n        .url(\"https://api.github.com/markdown/raw\")\n        .post(file.asRequestBody(MEDIA_TYPE_MARKDOWN))\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      println(response.body!!.string())\n    }\n  }\n\n  companion object {\n    val MEDIA_TYPE_MARKDOWN = \"text/x-markdown; charset=utf-8\".toMediaType()\n  }\n
  public static final MediaType MEDIA_TYPE_MARKDOWN\n      = MediaType.parse(\"text/x-markdown; charset=utf-8\");\n\n  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    File file = new File(\"README.md\");\n\n    Request request = new Request.Builder()\n        .url(\"https://api.github.com/markdown/raw\")\n        .post(RequestBody.create(MEDIA_TYPE_MARKDOWN, file))\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n  }\n
"},{"location":"recipes/#posting-form-parameters-kt-java","title":"Posting form parameters (.kt, .java)","text":"

Use FormBody.Builder to build a request body that works like an HTML <form> tag. Names and values will be encoded using an HTML-compatible form URL encoding.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val formBody = FormBody.Builder()\n        .add(\"search\", \"Jurassic Park\")\n        .build()\n    val request = Request.Builder()\n        .url(\"https://en.wikipedia.org/w/index.php\")\n        .post(formBody)\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      println(response.body!!.string())\n    }\n  }\n
  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    RequestBody formBody = new FormBody.Builder()\n        .add(\"search\", \"Jurassic Park\")\n        .build();\n    Request request = new Request.Builder()\n        .url(\"https://en.wikipedia.org/w/index.php\")\n        .post(formBody)\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n  }\n
"},{"location":"recipes/#posting-a-multipart-request-kt-java","title":"Posting a multipart request (.kt, .java)","text":"

MultipartBody.Builder can build sophisticated request bodies compatible with HTML file upload forms. Each part of a multipart request body is itself a request body, and can define its own headers. If present, these headers should describe the part body, such as its Content-Disposition. The Content-Length and Content-Type headers are added automatically if they\u2019re available.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image\n    val requestBody = MultipartBody.Builder()\n        .setType(MultipartBody.FORM)\n        .addFormDataPart(\"title\", \"Square Logo\")\n        .addFormDataPart(\"image\", \"logo-square.png\",\n            File(\"docs/images/logo-square.png\").asRequestBody(MEDIA_TYPE_PNG))\n        .build()\n\n    val request = Request.Builder()\n        .header(\"Authorization\", \"Client-ID $IMGUR_CLIENT_ID\")\n        .url(\"https://api.imgur.com/3/image\")\n        .post(requestBody)\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      println(response.body!!.string())\n    }\n  }\n\n  companion object {\n    /**\n     * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running\n     * these examples, please request your own client ID! https://api.imgur.com/oauth2\n     */\n    private val IMGUR_CLIENT_ID = \"9199fdef135c122\"\n    private val MEDIA_TYPE_PNG = \"image/png\".toMediaType()\n  }\n
  /**\n   * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running\n   * these examples, please request your own client ID! https://api.imgur.com/oauth2\n   */\n  private static final String IMGUR_CLIENT_ID = \"...\";\n  private static final MediaType MEDIA_TYPE_PNG = MediaType.parse(\"image/png\");\n\n  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image\n    RequestBody requestBody = new MultipartBody.Builder()\n        .setType(MultipartBody.FORM)\n        .addFormDataPart(\"title\", \"Square Logo\")\n        .addFormDataPart(\"image\", \"logo-square.png\",\n            RequestBody.create(MEDIA_TYPE_PNG, new File(\"website/static/logo-square.png\")))\n        .build();\n\n    Request request = new Request.Builder()\n        .header(\"Authorization\", \"Client-ID \" + IMGUR_CLIENT_ID)\n        .url(\"https://api.imgur.com/3/image\")\n        .post(requestBody)\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n  }\n
"},{"location":"recipes/#parse-a-json-response-with-moshi-kt-java","title":"Parse a JSON Response With Moshi (.kt, .java)","text":"

Moshi is a handy API for converting between JSON and Java objects. Here we\u2019re using it to decode a JSON response from a GitHub API.

Note that ResponseBody.charStream() uses the Content-Type response header to select which charset to use when decoding the response body. It defaults to UTF-8 if no charset is specified.

Kotlin Java
  private val client = OkHttpClient()\n  private val moshi = Moshi.Builder().build()\n  private val gistJsonAdapter = moshi.adapter(Gist::class.java)\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"https://api.github.com/gists/c2a7c39532239ff261be\")\n        .build()\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      val gist = gistJsonAdapter.fromJson(response.body!!.source())\n\n      for ((key, value) in gist!!.files!!) {\n        println(key)\n        println(value.content)\n      }\n    }\n  }\n\n  @JsonClass(generateAdapter = true)\n  data class Gist(var files: Map<String, GistFile>?)\n\n  @JsonClass(generateAdapter = true)\n  data class GistFile(var content: String?)\n
  private final OkHttpClient client = new OkHttpClient();\n  private final Moshi moshi = new Moshi.Builder().build();\n  private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class);\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"https://api.github.com/gists/c2a7c39532239ff261be\")\n        .build();\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      Gist gist = gistJsonAdapter.fromJson(response.body().source());\n\n      for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {\n        System.out.println(entry.getKey());\n        System.out.println(entry.getValue().content);\n      }\n    }\n  }\n\n  static class Gist {\n    Map<String, GistFile> files;\n  }\n\n  static class GistFile {\n    String content;\n  }\n
"},{"location":"recipes/#response-caching-kt-java","title":"Response Caching (.kt, .java)","text":"

To cache responses, you\u2019ll need a cache directory that you can read and write to, and a limit on the cache\u2019s size. The cache directory should be private, and untrusted applications should not be able to read its contents!

It is an error to have multiple caches accessing the same cache directory simultaneously. Most applications should call new OkHttpClient() exactly once, configure it with their cache, and use that same instance everywhere. Otherwise the two cache instances will stomp on each other, corrupt the response cache, and possibly crash your program.

Response caching uses HTTP headers for all configuration. You can add request headers like Cache-Control: max-stale=3600 and OkHttp\u2019s cache will honor them. Your webserver configures how long responses are cached with its own response headers, like Cache-Control: max-age=9600. There are cache headers to force a cached response, force a network response, or force the network response to be validated with a conditional GET.

Kotlin Java
  private val client: OkHttpClient = OkHttpClient.Builder()\n      .cache(Cache(\n          directory = cacheDirectory,\n          maxSize = 10L * 1024L * 1024L // 10 MiB\n      ))\n      .build()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"http://publicobject.com/helloworld.txt\")\n        .build()\n\n    val response1Body = client.newCall(request).execute().use {\n      if (!it.isSuccessful) throw IOException(\"Unexpected code $it\")\n\n      println(\"Response 1 response:          $it\")\n      println(\"Response 1 cache response:    ${it.cacheResponse}\")\n      println(\"Response 1 network response:  ${it.networkResponse}\")\n      return@use it.body!!.string()\n    }\n\n    val response2Body = client.newCall(request).execute().use {\n      if (!it.isSuccessful) throw IOException(\"Unexpected code $it\")\n\n      println(\"Response 2 response:          $it\")\n      println(\"Response 2 cache response:    ${it.cacheResponse}\")\n      println(\"Response 2 network response:  ${it.networkResponse}\")\n      return@use it.body!!.string()\n    }\n\n    println(\"Response 2 equals Response 1? \" + (response1Body == response2Body))\n  }\n
  private final OkHttpClient client;\n\n  public CacheResponse(File cacheDirectory) throws Exception {\n    int cacheSize = 10 * 1024 * 1024; // 10 MiB\n    Cache cache = new Cache(cacheDirectory, cacheSize);\n\n    client = new OkHttpClient.Builder()\n        .cache(cache)\n        .build();\n  }\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"http://publicobject.com/helloworld.txt\")\n        .build();\n\n    String response1Body;\n    try (Response response1 = client.newCall(request).execute()) {\n      if (!response1.isSuccessful()) throw new IOException(\"Unexpected code \" + response1);\n\n      response1Body = response1.body().string();\n      System.out.println(\"Response 1 response:          \" + response1);\n      System.out.println(\"Response 1 cache response:    \" + response1.cacheResponse());\n      System.out.println(\"Response 1 network response:  \" + response1.networkResponse());\n    }\n\n    String response2Body;\n    try (Response response2 = client.newCall(request).execute()) {\n      if (!response2.isSuccessful()) throw new IOException(\"Unexpected code \" + response2);\n\n      response2Body = response2.body().string();\n      System.out.println(\"Response 2 response:          \" + response2);\n      System.out.println(\"Response 2 cache response:    \" + response2.cacheResponse());\n      System.out.println(\"Response 2 network response:  \" + response2.networkResponse());\n    }\n\n    System.out.println(\"Response 2 equals Response 1? \" + response1Body.equals(response2Body));\n  }\n

To prevent a response from using the cache, use CacheControl.FORCE_NETWORK. To prevent it from using the network, use CacheControl.FORCE_CACHE. Be warned: if you use FORCE_CACHE and the response requires the network, OkHttp will return a 504 Unsatisfiable Request response.

"},{"location":"recipes/#canceling-a-call-kt-java","title":"Canceling a Call (.kt, .java)","text":"

Use Call.cancel() to stop an ongoing call immediately. If a thread is currently writing a request or reading a response, it will receive an IOException. Use this to conserve the network when a call is no longer necessary; for example when your user navigates away from an application. Both synchronous and asynchronous calls can be canceled.

Kotlin Java
  private val executor = Executors.newScheduledThreadPool(1)\n  private val client = OkHttpClient()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"http://httpbin.org/delay/2\") // This URL is served with a 2 second delay.\n        .build()\n\n    val startNanos = System.nanoTime()\n    val call = client.newCall(request)\n\n    // Schedule a job to cancel the call in 1 second.\n    executor.schedule({\n      System.out.printf(\"%.2f Canceling call.%n\", (System.nanoTime() - startNanos) / 1e9f)\n      call.cancel()\n      System.out.printf(\"%.2f Canceled call.%n\", (System.nanoTime() - startNanos) / 1e9f)\n    }, 1, TimeUnit.SECONDS)\n\n    System.out.printf(\"%.2f Executing call.%n\", (System.nanoTime() - startNanos) / 1e9f)\n    try {\n      call.execute().use { response ->\n        System.out.printf(\"%.2f Call was expected to fail, but completed: %s%n\",\n            (System.nanoTime() - startNanos) / 1e9f, response)\n      }\n    } catch (e: IOException) {\n      System.out.printf(\"%.2f Call failed as expected: %s%n\",\n          (System.nanoTime() - startNanos) / 1e9f, e)\n    }\n  }\n
  private final ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);\n  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"http://httpbin.org/delay/2\") // This URL is served with a 2 second delay.\n        .build();\n\n    final long startNanos = System.nanoTime();\n    final Call call = client.newCall(request);\n\n    // Schedule a job to cancel the call in 1 second.\n    executor.schedule(new Runnable() {\n      @Override public void run() {\n        System.out.printf(\"%.2f Canceling call.%n\", (System.nanoTime() - startNanos) / 1e9f);\n        call.cancel();\n        System.out.printf(\"%.2f Canceled call.%n\", (System.nanoTime() - startNanos) / 1e9f);\n      }\n    }, 1, TimeUnit.SECONDS);\n\n    System.out.printf(\"%.2f Executing call.%n\", (System.nanoTime() - startNanos) / 1e9f);\n    try (Response response = call.execute()) {\n      System.out.printf(\"%.2f Call was expected to fail, but completed: %s%n\",\n          (System.nanoTime() - startNanos) / 1e9f, response);\n    } catch (IOException e) {\n      System.out.printf(\"%.2f Call failed as expected: %s%n\",\n          (System.nanoTime() - startNanos) / 1e9f, e);\n    }\n  }\n
"},{"location":"recipes/#timeouts-kt-java","title":"Timeouts (.kt, .java)","text":"

Use timeouts to fail a call when its peer is unreachable. Network partitions can be due to client connectivity problems, server availability problems, or anything between. OkHttp supports connect, write, read, and full call timeouts.

Kotlin Java
  private val client: OkHttpClient = OkHttpClient.Builder()\n      .connectTimeout(5, TimeUnit.SECONDS)\n      .writeTimeout(5, TimeUnit.SECONDS)\n      .readTimeout(5, TimeUnit.SECONDS)\n      .callTimeout(10, TimeUnit.SECONDS)\n      .build()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"http://httpbin.org/delay/2\") // This URL is served with a 2 second delay.\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      println(\"Response completed: $response\")\n    }\n  }\n
  private final OkHttpClient client;\n\n  public ConfigureTimeouts() throws Exception {\n    client = new OkHttpClient.Builder()\n        .connectTimeout(10, TimeUnit.SECONDS)\n        .writeTimeout(10, TimeUnit.SECONDS)\n        .readTimeout(30, TimeUnit.SECONDS)\n        .build();\n  }\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"http://httpbin.org/delay/2\") // This URL is served with a 2 second delay.\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      System.out.println(\"Response completed: \" + response);\n    }\n  }\n
"},{"location":"recipes/#per-call-configuration-kt-java","title":"Per-call Configuration (.kt, .java)","text":"

All the HTTP client configuration lives in OkHttpClient including proxy settings, timeouts, and caches. When you need to change the configuration of a single call, call OkHttpClient.newBuilder(). This returns a builder that shares the same connection pool, dispatcher, and configuration with the original client. In the example below, we make one request with a 500 ms timeout and another with a 3000 ms timeout.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"http://httpbin.org/delay/1\") // This URL is served with a 1 second delay.\n        .build()\n\n    // Copy to customize OkHttp for this request.\n    val client1 = client.newBuilder()\n        .readTimeout(500, TimeUnit.MILLISECONDS)\n        .build()\n    try {\n      client1.newCall(request).execute().use { response ->\n        println(\"Response 1 succeeded: $response\")\n      }\n    } catch (e: IOException) {\n      println(\"Response 1 failed: $e\")\n    }\n\n    // Copy to customize OkHttp for this request.\n    val client2 = client.newBuilder()\n        .readTimeout(3000, TimeUnit.MILLISECONDS)\n        .build()\n    try {\n      client2.newCall(request).execute().use { response ->\n        println(\"Response 2 succeeded: $response\")\n      }\n    } catch (e: IOException) {\n      println(\"Response 2 failed: $e\")\n    }\n  }\n
  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"http://httpbin.org/delay/1\") // This URL is served with a 1 second delay.\n        .build();\n\n    // Copy to customize OkHttp for this request.\n    OkHttpClient client1 = client.newBuilder()\n        .readTimeout(500, TimeUnit.MILLISECONDS)\n        .build();\n    try (Response response = client1.newCall(request).execute()) {\n      System.out.println(\"Response 1 succeeded: \" + response);\n    } catch (IOException e) {\n      System.out.println(\"Response 1 failed: \" + e);\n    }\n\n    // Copy to customize OkHttp for this request.\n    OkHttpClient client2 = client.newBuilder()\n        .readTimeout(3000, TimeUnit.MILLISECONDS)\n        .build();\n    try (Response response = client2.newCall(request).execute()) {\n      System.out.println(\"Response 2 succeeded: \" + response);\n    } catch (IOException e) {\n      System.out.println(\"Response 2 failed: \" + e);\n    }\n  }\n
"},{"location":"recipes/#handling-authentication-kt-java","title":"Handling authentication (.kt, .java)","text":"

OkHttp can automatically retry unauthenticated requests. When a response is 401 Not Authorized, an Authenticator is asked to supply credentials. Implementations should build a new request that includes the missing credentials. If no credentials are available, return null to skip the retry.

Use Response.challenges() to get the schemes and realms of any authentication challenges. When fulfilling a Basic challenge, use Credentials.basic(username, password) to encode the request header.

Kotlin Java
  private val client = OkHttpClient.Builder()\n      .authenticator(object : Authenticator {\n        @Throws(IOException::class)\n        override fun authenticate(route: Route?, response: Response): Request? {\n          if (response.request.header(\"Authorization\") != null) {\n            return null // Give up, we've already attempted to authenticate.\n          }\n\n          println(\"Authenticating for response: $response\")\n          println(\"Challenges: ${response.challenges()}\")\n          val credential = Credentials.basic(\"jesse\", \"password1\")\n          return response.request.newBuilder()\n              .header(\"Authorization\", credential)\n              .build()\n        }\n      })\n      .build()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"http://publicobject.com/secrets/hellosecret.txt\")\n        .build()\n  }\n

To avoid making many retries when authentication isn\u2019t working, you can return null to give up. For example, you may want to skip the retry when these exact credentials have already been attempted:

if (credential == response.request.header(\"Authorization\")) {\n  return null // If we already failed with these credentials, don't retry.\n }\n

You may also skip the retry when you\u2019ve hit an application-defined attempt limit:

if (response.responseCount >= 3) {\n  return null // If we've failed 3 times, give up.\n}\n

This above code relies on this responseCount extension val:

val Response.responseCount: Int\n  get() = generateSequence(this) { it.priorResponse }.count()\n
  private final OkHttpClient client;\n\n  public Authenticate() {\n    client = new OkHttpClient.Builder()\n        .authenticator(new Authenticator() {\n          @Override public Request authenticate(Route route, Response response) throws IOException {\n            if (response.request().header(\"Authorization\") != null) {\n              return null; // Give up, we've already attempted to authenticate.\n            }\n\n            System.out.println(\"Authenticating for response: \" + response);\n            System.out.println(\"Challenges: \" + response.challenges());\n            String credential = Credentials.basic(\"jesse\", \"password1\");\n            return response.request().newBuilder()\n                .header(\"Authorization\", credential)\n                .build();\n          }\n        })\n        .build();\n  }\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"http://publicobject.com/secrets/hellosecret.txt\")\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n  }\n

To avoid making many retries when authentication isn\u2019t working, you can return null to give up. For example, you may want to skip the retry when these exact credentials have already been attempted:

  if (credential.equals(response.request().header(\"Authorization\"))) {\n    return null; // If we already failed with these credentials, don't retry.\n   }\n

You may also skip the retry when you\u2019ve hit an application-defined attempt limit:

  if (responseCount(response) >= 3) {\n    return null; // If we've failed 3 times, give up.\n  }\n

This above code relies on this responseCount() method:

  private int responseCount(Response response) {\n    int result = 1;\n    while ((response = response.priorResponse()) != null) {\n      result++;\n    }\n    return result;\n  }\n
"},{"location":"recipes/#upload-progress-kt-java","title":"Upload Progress (.kt, .java)","text":"

Upload a file to a server (for example, Imgur) and report progress as the request body is being written. You can implement a ProgressListener to receive updates and wrap the original request body with ProgressRequestBody. This allows you to monitor how many bytes have been uploaded and calculate the percentage of completion.

Kotlin Java
  class UploadProgress {\n\n    companion object {\n      private const val IMGUR_CLIENT_ID = \"9199fdef135c122\"\n      private val MEDIA_TYPE_PNG = \"image/png\".toMediaType()\n\n      @JvmStatic\n      fun main(args: Array<String>) {\n        UploadProgress().run()\n      }\n    }\n\n    private val client = OkHttpClient()\n\n    @Throws(Exception::class)\n    fun run() {\n      val progressListener = object : ProgressListener {\n        private var firstUpdate = true\n\n        override fun update(bytesWritten: Long, contentLength: Long, done: Boolean) {\n          if (done) {\n            println(\"completed\")\n          } else {\n            if (firstUpdate) {\n              firstUpdate = false\n              if (contentLength == -1L) {\n                println(\"content-length: unknown\")\n              } else {\n                println(\"content-length: $contentLength\")\n              }\n            }\n            println(bytesWritten)\n            if (contentLength != -1L) {\n              println(\"${100 * bytesWritten / contentLength}% done\")\n            }\n          }\n        }\n      }\n\n      val file = File(\"docs/images/logo-square.png\")\n      val requestBody: RequestBody = file.asRequestBody(MEDIA_TYPE_PNG)\n\n      val request =\n        Request.Builder().header(\"Authorization\", \"Client-ID $IMGUR_CLIENT_ID\")\n          .url(\"https://api.imgur.com/3/image\")\n          .post(ProgressRequestBody(requestBody, progressListener)).build()\n\n      client.newCall(request).execute().use { response ->\n        if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n        println(response.body.string())\n      }\n    }\n\n    private class ProgressRequestBody(\n      private val delegate: RequestBody, private val progressListener: ProgressListener\n    ) : RequestBody() {\n\n      override fun contentType() = delegate.contentType()\n\n      @Throws(IOException::class)\n      override fun contentLength(): Long = delegate.contentLength()\n\n      @Throws(IOException::class)\n      override fun writeTo(sink: BufferedSink) {\n        val forwardingSink = object : ForwardingSink(sink) {\n          private var totalBytesWritten: Long = 0\n          private var completed = false\n\n          override fun write(source: Buffer, byteCount: Long) {\n            super.write(source, byteCount)\n            totalBytesWritten += byteCount\n            progressListener.update(totalBytesWritten, contentLength(), completed)\n          }\n\n          override fun close() {\n            super.close()\n            if (!completed) {\n              completed = true\n              progressListener.update(totalBytesWritten, contentLength(), completed)\n            }\n          }\n        }\n\n        val bufferedSink = forwardingSink.buffer()\n        delegate.writeTo(bufferedSink)\n        bufferedSink.flush()\n      }\n    }\n\n    fun interface ProgressListener {\n      fun update(bytesWritten: Long, contentLength: Long, done: Boolean)\n    }\n  }\n
  public final class UploadProgress {\n    private static final String IMGUR_CLIENT_ID = \"9199fdef135c122\";\n    private static final MediaType MEDIA_TYPE_PNG = MediaType.get(\"image/png\");\n\n    private final OkHttpClient client = new OkHttpClient();\n\n    public void run() throws Exception {\n      final ProgressListener progressListener = new ProgressListener() {\n        boolean firstUpdate = true;\n\n        @Override public void update(long bytesWritten, long contentLength, boolean done) {\n          if (done) {\n            System.out.println(\"completed\");\n          } else {\n            if (firstUpdate) {\n              firstUpdate = false;\n              if (contentLength == -1) {\n                System.out.println(\"content-length: unknown\");\n              } else {\n                System.out.format(\"content-length: %d\\n\", contentLength);\n              }\n            }\n            System.out.println(bytesWritten);\n            if (contentLength != -1) {\n              System.out.format(\"%d%% done\\n\", (100 * bytesWritten) / contentLength);\n            }\n          }\n        }\n      };\n\n      RequestBody requestBody = RequestBody.create(\n          new File(\"docs/images/logo-square.png\"),\n          MEDIA_TYPE_PNG);\n\n      Request request = new Request.Builder()\n          .header(\"Authorization\", \"Client-ID \" + IMGUR_CLIENT_ID)\n          .url(\"https://api.imgur.com/3/image\")\n          .post(new ProgressRequestBody(requestBody, progressListener))\n          .build();\n\n      Response response = client.newCall(request).execute();\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n\n    public static void main(String... args) throws Exception {\n      new UploadProgress().run();\n    }\n\n    private static class ProgressRequestBody extends RequestBody {\n      private final ProgressListener progressListener;\n      private final RequestBody delegate;\n\n      public ProgressRequestBody(RequestBody delegate, ProgressListener progressListener) {\n        this.delegate = delegate;\n        this.progressListener = progressListener;\n      }\n\n      @Override public MediaType contentType() {\n        return delegate.contentType();\n      }\n\n      @Override public long contentLength() throws IOException {\n        return delegate.contentLength();\n      }\n\n      @Override public void writeTo(BufferedSink sink) throws IOException {\n        BufferedSink bufferedSink = Okio.buffer(sink(sink));\n        delegate.writeTo(bufferedSink);\n        bufferedSink.flush();\n      }\n\n      public Sink sink(Sink sink) {\n        return new ForwardingSink(sink) {\n          private long totalBytesWritten = 0L;\n          private boolean completed = false;\n\n          @Override public void write(Buffer source, long byteCount) throws IOException {\n            super.write(source, byteCount);\n            totalBytesWritten += byteCount;\n            progressListener.update(totalBytesWritten, contentLength(), completed);\n          }\n\n          @Override public void close() throws IOException {\n            super.close();\n            if (!completed) {\n              completed = true;\n              progressListener.update(totalBytesWritten, contentLength(), completed);\n            }\n          }\n        };\n      }\n    }\n\n    interface ProgressListener {\n      void update(long bytesWritten, long contentLength, boolean done);\n    }\n  }\n
"},{"location":"releasing/","title":"Releasing","text":""},{"location":"releasing/#prerequisite-sonatype-maven-central-account","title":"Prerequisite: Sonatype (Maven Central) Account","text":"

Create an account on the Sonatype issues site. Ask an existing publisher to open an issue requesting publishing permissions for com.squareup projects.

"},{"location":"releasing/#cutting-a-release","title":"Cutting a Release","text":"
  1. Update CHANGELOG.md.

  2. Set versions:

    export RELEASE_VERSION=X.Y.Z\nexport NEXT_VERSION=X.Y.Z-SNAPSHOT\n
  3. Update versions:

    sed -i \"\" \\\n  \"s/version = \\\".*\\\"/version = \\\"$RELEASE_VERSION\\\"/g\" \\\n  build.gradle.kts\nsed -i \"\" \\\n  \"s/\\\"com.squareup.okhttp3:\\([^\\:]*\\):[^\\\"]*\\\"/\\\"com.squareup.okhttp3:\\1:$RELEASE_VERSION\\\"/g\" \\\n  `find . -name \"README.md\"`\nsed -i \"\" \\\n  \"s/\\/com.squareup.okhttp3\\/\\([^\\:]*\\)\\/[^\\/]*\\//\\/com.squareup.okhttp3\\/\\1\\/$RELEASE_VERSION\\//g\" \\\n  `find . -name \"README.md\"`\n
  4. Tag the release and push to GitHub.

    git commit -am \"Prepare for release $RELEASE_VERSION.\"\ngit tag -a parent-$RELEASE_VERSION -m \"Version $RELEASE_VERSION\"\ngit push && git push --tags\n
  5. Wait for GitHub Actions to start the publish job.

  6. Prepare for ongoing development and push to GitHub.

    sed -i \"\" \\\n  \"s/version = \\\".*\\\"/version = \\\"$NEXT_VERSION\\\"/g\" \\\n  build.gradle.kts\ngit commit -am \"Prepare next development version.\"\ngit push\n
  7. Confirm the GitHub Actions publish job succeeded.

"},{"location":"works_with_okhttp/","title":"Works with OkHttp","text":"

Here\u2019s some libraries that work nicely with OkHttp.

  • Chucker: An in-app HTTP inspector for Android OkHttp clients.
  • Coil: An image loading library for Android backed by Kotlin Coroutines.
  • Communicator: An OkHttp wrapper for Scala built with Android in mind.
  • Cronet Transport for OkHttp: A HTTP3 ready transport layer for OkHttp on Android, based on Chromium network stack.
  • CWAC-NetSecurity: Simplifying Secure Internet Access.
  • Failsafe: Fault tolerance and resilience patterns.
  • Flipper: A desktop debugging platform for mobile developers.
  • Fresco: An Android library for managing images and the memory they use.
  • Glide: An image loading and caching library for Android focused on smooth scrolling.
  • GoogleAppEngineOkHttp: An OkHttp Call that works on Google App Engine.
  • Hunter: Configure all OkHttpClients centrally.
  • \u2b1c\ufe0f Moshi: A modern JSON library for Android and Java.
  • Ok2Curl: Convert OkHttp requests into curl logs.
  • OkHttp AWS Signer: AWS V4 signing algorithm for OkHttp requests
  • okhttp-digest: A digest authenticator for OkHttp.
  • OkHttp Idling Resource: An Espresso IdlingResource for OkHttp.
  • okhttp-client-mock: A simple OKHttp client mock, using a programmable request interceptor.
  • OkHttp Profiler: An IntelliJ plugin for monitoring OkHttp calls.
  • OkReplay: Record and replay OkHttp network interaction in your tests.
  • okhttp-signpost: OAuth signing with signpost and OkHttp.
  • okhttp-spring-boot: Spring Boot starters for OkHttp
  • okhttp-staleiferror-interceptor: serve stale responses when the server isn\u2019t reachable.
  • okhttp-stats: Get stats like average network speed.
  • okhttp-system-keystore: Use trusted certificates from the operating system keystore (Keychain on macOS, Certificate Store on Windows).
  • \u2b1c\ufe0f Okio: A modern I/O API for Java.
  • OkLog: Response logging interceptor for OkHttp. Logs a URL link with URL-encoded response for every OkHttp call.
  • Okurl A curl-like client for social networks and other APIs.
  • PersistentCookieJar: A persistent CookieJar.
  • \u2b1c\ufe0f Picasso: A powerful image downloading and caching library for Android.
  • \u2b1c\ufe0f Retrofit: Type-safe HTTP client for Android and Java by Square.
  • ScribeJava: Simple OAuth library for Java
  • Stetho: Stetho is a debug bridge for Android applications.
  • Thrifty: An implementation of Apache Thrift for Android.
  • \u2b1c\ufe0f Wire: Clean, lightweight protocol buffers for Android and Java.
"},{"location":"changelogs/changelog/","title":"Change Log","text":""},{"location":"changelogs/changelog/#version-4x","title":"Version 4.x","text":"

See 4.x Change log for the stable version changelogs.

"},{"location":"changelogs/changelog/#version-531","title":"Version 5.3.1","text":"

2025-11-16

  • Fix: Don\u2019t delay triggering timeouts. In Okio 3.16.0 we introduced a regression that caused timeouts to fire later than they were supposed to.

  • Upgrade: Okio 3.16.3.

"},{"location":"changelogs/changelog/#version-530","title":"Version 5.3.0","text":"

2025-10-30

  • New: Add tags to Call, including computable tags. Use this to attach application-specific metadata to a Call in an EventListener or Interceptor. The tag can be read in any other EventListener or Interceptor.

      override fun intercept(chain: Interceptor.Chain): Response {\n    chain.call().tag(MyAnalyticsTag::class) {\n      MyAnalyticsTag(...)\n    }\n\n    return chain.proceed(chain.request())\n  }\n
  • New: Support request bodies on HTTP/1.1 connection upgrades.

  • New: EventListener.plus() makes it easier to observe events in multiple listeners.
  • Fix: Don\u2019t spam logs with \u2018Method isLoggable in android.util.Log not mocked.\u2019 when using OkHttp in Robolectric and Paparazzi tests.
  • Upgrade: Kotlin 2.2.21.
  • Upgrade: Okio 3.16.2.
  • Upgrade: ZSTD-KMP 0.4.0. This update fixes a bug that caused APKs to fail 16 KB ELF alignment checks.
"},{"location":"changelogs/changelog/#version-522","title":"Version 5.2.2","text":"

2025-11-16

  • Fix: Don\u2019t delay triggering timeouts. In Okio 3.16.0 we introduced a regression that caused timeouts to fire later than they were supposed to.

  • Upgrade: Okio 3.16.3.

"},{"location":"changelogs/changelog/#version-521","title":"Version 5.2.1","text":"

2025-10-09

  • Fix: Don\u2019t crash when calling Socket.shutdownOutput() or shutdownInput() on an SSLSocket on Android API 21 through 23. This method throws an UnsupportedOperationException, so we now catch that and close the underlying stream instead.

  • Upgrade: Okio 3.16.1.

"},{"location":"changelogs/changelog/#version-520","title":"Version 5.2.0","text":"

2025-10-07

  • New: Support HTTP 101 responses with Response.socket. This mechanism is only supported on HTTP/1.1. We also reimplemented our websocket client to use this new mechanism.

  • New: The okhttp-zstd module negotiates Zstandard (zstd) compression with servers that support it. It integrates a new (unstable) ZSTD-KMP library, also from Square. Enable it like this:

    val client = OkHttpClient.Builder()\n  .addInterceptor(CompressionInterceptor(Zstd, Gzip))\n  .build()\n
  • New: Support the QUERY HTTP method. You will need to set the Request.cacheUrlOverride property to cache calls made with this method. The RequestBody.sha256() may be helpful here; use it to compose a cache URL from the query body.

  • New: Publish events when calls must wait to execute. EventListener.dispatcherQueueStart() is invoked when a call starts waiting, and dispatcherQueueEnd() is invoked when it\u2019s done.

  • New: Request.toCurl() returns a copy-pasteable curl command consistent with Chrome\u2019s and Firefox\u2019s \u2018copy as cURL\u2019 features.

  • New: Support JPMS. We replaced our Automatic-Module-Name metadata with proper module-info.java files.

  • Fix: Recover gracefully when worker threads are interrupted. When we introduced fast fallback in OkHttp 5.0, we started using background threads while connecting. Sadly that code didn\u2019t handle interruptions well. This is now fixed.

  • Upgrade: Kotlin 2.2.20.

  • Upgrade: Okio 3.16.0.
"},{"location":"changelogs/changelog/#version-510","title":"Version 5.1.0","text":"

2025-07-07

  • New: Response.peekTrailers(). When we changed Response.trailers() to block instead of throwing in 5.0.0, we inadvertently removed the ability for callers to peek the trailers (by catching the IllegalStateException if they weren\u2019t available). This new API restores that capability.

  • Fix: Don\u2019t crash on trailers() if the response doesn\u2019t have a body. We broke Retrofit users who read the trailers on the raw() OkHttp response, after its body was decoded.

"},{"location":"changelogs/changelog/#version-500","title":"Version 5.0.0","text":"

2025-07-02

This is our first stable release of OkHttp since 2023. Here\u2019s the highlights if you\u2019re upgrading from OkHttp 4.x:

OkHttp is now packaged as separate JVM and Android artifacts. This allows us to offer platform-specific features and optimizations. If your build system handles Gradle module metadata, this change should be automatic.

MockWebServer has a new coordinate and package name. We didn\u2019t like that our old artifact depends on JUnit 4 so the new one doesn\u2019t. It also has a better API built on immutable values. (We intend to continue publishing the old okhttp3.mockwebserver artifact so there\u2019s no urgency to migrate.)

Coordinate Package Name Description com.squareup.okhttp3:mockwebserver3:5.0.0 mockwebserver3 Core module. No JUnit dependency! com.squareup.okhttp3:mockwebserver3-junit4:5.0.0 mockwebserver3.junit4 Optional JUnit 4 integration. com.squareup.okhttp3:mockwebserver3-junit5:5.0.0 mockwebserver3.junit5 Optional JUnit 5 integration. com.squareup.okhttp3:mockwebserver:5.0.0 okhttp3.mockwebserver Obsolete. Depends on JUnit 4.

OkHttp now supports Happy Eyeballs (RFC 8305) for IPv4+IPv6 networks. It attempts both IPv6 and IPv4 connections concurrently, keeping whichever connects first.

We\u2019ve improved our Kotlin APIs. You can skip the builder:

val request = Request(\n  url = \"https://cash.app/\".toHttpUrl(),\n)\n

OkHttp now supports GraalVM.

Here\u2019s what has changed since 5.0.0-alpha.17:

  • Upgrade: Okio 3.15.0.
  • Upgrade: Kotlin 2.2.0.
  • Fix: Don\u2019t crash with a NoSuchMethodError when using OkHttp with the Sentry SDK.
  • Fix: Retain the query data in the old okhttp3.mockwebserver.RecordedRequest.path property. We inadvertently changed this behavior when we introduced the mockwebserver3 API.
"},{"location":"changelogs/changelog/#version-500-alpha17","title":"Version 5.0.0-alpha.17","text":"

2025-06-29

This release stabilizes many APIs for the imminent OkHttp 5.0.0 release.

  • New: TrailersSource, a public API for HTTP trailers. Production callers shouldn\u2019t need this as the API to read response trailers is unchanged. Testers may use this new stable API to supply trailers for a Response.

  • New: Path.asRequestBody() is now a non-experimental API.

  • New: FileDescriptor.toRequestBody() is now a non-experimental API.

  • New: Stop using experimental coroutines APIs in our okhttp-coroutines artifact.

  • Breaking: Move gzip from RequestBody to Request.Builder. This new API handles both compressing the request body and also adding the corresponding Content-Encoding header. Note that this function is sensitive to when it is called: the response body must be supplied before it can be compressed.

  • Breaking: Remove AddressPolicy, AsyncDns, and ConnectionListener from the public API. We intend to ship a public API for these features, but we don\u2019t want to hold OkHttp 5.0.0 until those APIs are stable.

  • Fix: Change MockWebServer.close() to cancel ongoing calls that are blocked on a delay.

  • Upgrade: Okio 3.13.0.

This release also stabilizes many APIs in the mockwebserver3 artifact that\u2019s new in 5.0.

  • Breaking: RecordedRequest.body is now nullable. Null is used when the request does not have a body.

  • Breaking: RecordedRequest.chunkSizes is now nullable. Null is used when the request does not use chunked encoding. This is different from an empty list - that indicates the request is chunked but has no data.

  • Breaking: Replace SocketPolicy with a new type, SocketEffect. It splits triggers (request start, response body, etc.) from effects (closing the socket, closing the stream, etc.).

  • Breaking: Rename RecordedRequest.sequenceNumber to exchangeIndex and introduce connectionIndex on that type. These properties may be useful when testing features like connection reuse.

  • Breaking: Replace our parameters-based JUnit 5 extension with a new annotation, @StartStop. Put this annotation on a MockWebServer property and the extension will start it before your test executes and stop it after it completes. No further configuration is required.

    @StartStop val server = MockWebServer()\n
  • Breaking: Don\u2019t automatically start MockWebServer after calls to accessors like port. Now these accessors will throw an IllegalStateException if the service has not yet been started.

  • Breaking: Rename RecordedRequest.path to RecordedRequest.target. (This property is sometimes a path, but it can also be a path and query, or a full URL.)

  • Breaking: Decompose the RecordedRequest.requestLine into three properties, method, target, and version. This better suits HTTP/2 where the request line had to be synthesized from component headers.

  • Breaking: Change RecordedRequest.body from a mutable Buffer to an immutable ByteString.

  • Breaking: Adopt Okio\u2019s new Socket interface for MockResponse.socketHandler.

Note that any Breaking changes above impact only APIs introduced in earlier 5.0.0-alpha releasees. We don\u2019t break binary compatibility with non-alpha APIs.

"},{"location":"changelogs/changelog/#version-500-alpha16","title":"Version 5.0.0-alpha.16","text":"

2025-05-29

  • Fix: The previous release would crash when running on Robolectric. We didn\u2019t anticipate running our Android artifact on the JVM platform!
"},{"location":"changelogs/changelog/#version-500-alpha15","title":"Version 5.0.0-alpha.15","text":"

2025-05-28

This release introduces separate JVM and Android artifacts. Until now, we\u2019ve distributed OkHttp as a JVM library that detects Android capabilities at runtime, but that doesn\u2019t offer Android-specific APIs. With this release we\u2019re starting to publish OkHttp as an AAR for Android users in addition to our existing JAR for JVM users.

This first Android-specific artifact adopts Android\u2019s assets mechanism to embed the public suffix data. We will build more Android integration in future releases.

The okhttp-android artifact first introduced in 5.0.0-alpha.7 is no longer available:

  • The AndroidAsyncDns class moved to the okhttp artifact.
  • The AndroidLogging class is no longer necessary. LoggingEventListener and HttpLoggingInterceptor write to logcat by default.

The rest of this release is our highest-quality release yet. Though we continue to use the word alpha in the version name, the only unstable thing in it is some non-final APIs tagged @ExperimentalOkHttpApi. You can safely use this release in production.

  • Fix: Attempt to read the response even if sending the request failed. This makes it possible to handle response statuses like HTTP/1.1 431 \"Request Header Fields Too Large.

  • Fix: Handle multiple 1xx responses.

  • Fix: Address a performance bug in our internal task runner. We had a race condition that could result in it OkHttp starting a thread for each queued task, even when a single thread could run all of them.

  • Fix: Address a performance bug in MultipartReader. We were scanning the entire input stream for a delimiter when we only needed to scan enough to return a result.

  • Fix: Don\u2019t double-compress the public suffix database. OkHttp is usually distributed in a compressed file (like a JAR or APK), so compressing its internal data was redundant.

  • Fix: Call ProxySelector.connectFailed() when a connection\u2019s initial TCP handshake fails.

  • Fix: Change the signature of Dispatcher to accept a nullable ExecutorService. Changing this parameter to be non-null was an unintended signature change in OkHttp 4.0.

  • New: EventListener.retryDecision() is called each time a request fails with an IOException. It notifies your listener if OkHttp will retry.

  • New: EventListener.followUpDecision() is called each time a response is received. It notifies your listener if OkHttp has decided to make a follow-up request. Some common follow-ups are authentication challenges and redirects.

  • New: Handy constants for Headers.EMPTY, RequestBody.EMPTY, and ResponseBody.EMPTY.

  • New: OkHttp now calls StrictMode.noteSlowCall() when initializing TLS on Android. Use StrictMode to detect if your OkHttpClient is being initialized on the main thread.

  • Upgrade: Okio 3.12.0.

  • Upgrade: Kotlin 2.1.21.

  • Upgrade: kotlinx.coroutines 1.10.2. This is used by the optional okhttp-coroutines artifact.

  • Upgrade: AndroidX Startup 1.2.0. The Android variant of the okhttp artifact now depends on this. This is a new dependency.

  • Upgrade: AndroidX Annotation 1.9.1. As above, the Android variant of the okhttp artifact now depends on this. This is also a new dependency.

"},{"location":"changelogs/changelog/#version-500-alpha14","title":"Version 5.0.0-alpha.14","text":"

2024-04-17

  • Breaking: Move coroutines extensions to okhttp3.coroutines. Previously this artifact shared the okhttp3 package name with our core module, which is incompatible with the Java Platform Module System.

  • Fix in okhttp-coroutines: Publish a valid artifact. The coroutines JAR file in 5.0.0-alpha.13 was corrupt and should not be used.

"},{"location":"changelogs/changelog/#version-500-alpha13","title":"Version 5.0.0-alpha.13","text":"

2024-04-16

  • Breaking: Tag unstable new APIs as @ExperimentalOkHttpApi. We intend to release OkHttp 5.0 without stabilizing these new APIs first.

    Do not use these experimental APIs in modules that may be executed using a version of OkHttp different from the version that the module was compiled with. Do not use them in published libraries. Do not use them if you aren\u2019t willing to track changes to them.

  • Breaking: Drop support for Kotlin Multiplatform.

    We planned to support multiplatform in OkHttp 5.0, but after building it, we weren\u2019t happy with the implementation trade-offs. We can\u2019t use our HTTP client engine on Kotlin/JS, and we weren\u2019t prepared to build a TLS API for Kotlin/Native.

    We\u2019d prefer a multiplatform HTTP client API that\u2019s backed by OkHttp on Android and JVM, and other engines on other platforms. Ktor does this pretty well today!

  • Breaking: Use kotlin.time.Duration in APIs like OkHttpClient.Builder.callTimeout(). This update also drops support for the DurationUnit functions introduced in earlier alpha releases of OkHttp 5.

  • Breaking: Reorder the parameters in the Cache constructor that was introduced in 5.0.0-alpha.3.

  • New: Request.Builder.cacheUrlOverride() customizes the cache key used for a request. This can be used to make canonical URLs for the cache that omit insignificant query parameters or other irrelevant data.

    This feature may be used with POST requests to cache their responses. In such cases the request body is not used to determine the cache key, so you must manually add cache-relevant data to the override URL. For example, you could add a request-body-sha256 query parameter so requests with the same POST data get the same cache entry.

  • New: HttpLoggingInterceptor.redactQueryParams() configures the query parameters to redact in logs. For best security, don\u2019t put sensitive information in query parameters.

  • New: ConnectionPool.setPolicy() configures a minimum connection pool size for a target address. Use this to proactively open HTTP connections.

    Connections opened to fulfill this policy are subject to the connection pool\u2019s keepAliveDuration but do not count against the pool-wide maxIdleConnections limit.

    This feature increases the client\u2019s traffic and the load on the server. Talking to your server\u2019s operators before adopting it.

  • New in okhttp-android: HttpLoggingInterceptor.androidLogging() and LoggingEventListener.androidLogging() write HTTP calls or events to Logcat.

  • New: OkHttpClient.webSocketCloseTimeout configures how long a web socket connection will wait for a graceful shutdown before it performs an abrupt shutdown.

  • Fix: Honor RequestBody.isOneShot() in MultipartBody

  • Fix in okhttp-coroutines: Don\u2019t leak response bodies in executeAsync(). We had a bug where we didn\u2019t call Response.close() if the coroutine was canceled before its response was returned.

  • Upgrade: Okio 3.9.0.

  • Upgrade: Kotlin 1.9.23.

  • Upgrade: Unicode\u00ae IDNA 15.1.0

"},{"location":"changelogs/changelog/#version-500-alpha12","title":"Version 5.0.0-alpha.12","text":"

2023-12-17

We took too long to cut this release and there\u2019s a lot of changes in it. We\u2019ve been busy.

Although this release is labeled alpha, the only unstable thing in it is our new APIs. This release has many critical bug fixes and is safe to run in production. We\u2019re eager to stabilize our new APIs so we can get out of alpha.

  • New: Support Java 21\u2019s virtual threads (\u2018OpenJDK Project Loom\u2019). We changed OkHttp\u2019s internals to use Lock and Condition instead of synchronized for best resource utilization.

  • New: Switch our Internationalized Domain Name (IDN) implementation to UTS #46 Nontransitional Processing. With this fix, the \u00df code point no longer maps to ss. OkHttp now embeds its own IDN mapping table in the library.

  • New: Prefer the client\u2019s configured precedence order for TLS cipher suites. (OkHttp used to prefer the JDK\u2019s precedence order.) This change may cause your HTTP calls to negotiate a different cipher suite than before! OkHttp\u2019s defaults cipher suites are selected for good security and performance.

  • New: ConnectionListener publishes events for connects, disconnects, and use of pooled connections.

  • Fix: Immediately update the connection\u2019s flow control window instead of waiting for the receiving stream to process it.

    This change may increase OkHttp\u2019s memory use for applications that make many concurrent HTTP calls and that can receive data faster than they can process it. Previously, OkHttp limited HTTP/2 to 16 MiB of unacknowledged data per connection. With this fix there is a limit of 16 MiB of unacknowledged data per stream and no per-connection limit.

  • Fix: Don\u2019t close a Deflater while we\u2019re still using it to compress a web socket message. We had a severe bug where web sockets were closed on the wrong thread, which caused NullPointerException crashes in Deflater.

  • Fix: Don\u2019t crash after a web socket fails its connection upgrade. We incorrectly released the web socket\u2019s connections back to the pool before their resources were cleaned up.

  • Fix: Don\u2019t infinite loop when a received web socket message has self-terminating compressed data.

  • Fix: Don\u2019t fail the call when the response code is \u2018HTTP 102 Processing\u2019 or \u2018HTTP 103 Early Hints\u2019.

  • Fix: Honor interceptors\u2019 changes to connect and read timeouts.

  • Fix: Recover gracefully when a cached response is corrupted on disk.

  • Fix: Don\u2019t leak file handles when a cache disk write fails.

  • Fix: Don\u2019t hang when the public suffix database cannot be loaded. We had a bug where a failure reading the public suffix database would cause subsequent reads to hang when they should have crashed.

  • Fix: Avoid InetAddress.getCanonicalHostName() in MockWebServer. This avoids problems if the host machine\u2019s IP address has additional DNS registrations.

  • New: Create a JPMS-compatible artifact for JavaNetCookieJar. Previously, multiple OkHttp artifacts defined classes in the okhttp3 package, but this is forbidden by the Java module system. We\u2019ve fixed this with a new package (okhttp3.java.net.cookiejar) and a new artifact, com.squareup.okhttp3:okhttp-java-net-cookiehandler. (The original artifact now delegates to this new one.)

    implementation(\"com.squareup.okhttp3:okhttp-java-net-cookiehandler:5.0.0-alpha.12\")\n
  • New: Cookie.sameSite determines whether cookies should be sent on cross-site requests. This is used by servers to defend against Cross-Site Request Forgery (CSRF) attacks.

  • New: Log the total time of the HTTP call in HttpLoggingInterceptor.

  • New: OkHttpClient.Builder now has APIs that use kotlin.time.Duration.

  • New: mockwebserver3.SocketPolicy is now a sealed interface. This is one of several backwards-incompatible API changes that may impact early adopters of this alpha API.

  • New: mockwebserver3.Stream for duplex streams.

  • New: mockwebserver3.MockResponseBody for streamed response bodies.

  • New: mockwebserver3.MockResponse is now immutable, with a Builder.

  • New: mockwebserver3.RecordedRequest.handshakeServerNames returns the SNI (Server Name Indication) attribute from the TLS handshake.

  • Upgrade: Kotlin 1.9.21.

  • Upgrade: Okio 3.7.0.

"},{"location":"changelogs/changelog/#version-500-alpha11","title":"Version 5.0.0-alpha.11","text":"

2022-12-24

  • New: Enable fast fallback by default. It\u2019s our implementation of Happy Eyeballs, RFC 8305. Disable with OkHttpClient.Builder.fastFallback(false).
  • Fix: Don\u2019t log response bodies for server-sent events.
  • Fix: Skip early hints (status code 103) responses.
  • Fix: Don\u2019t log sensitive headers in Request.toString().
  • Fix: Don\u2019t crash when the dispatcher\u2019s ExecutorService is shutdown with many calls still enqueued.
  • Upgrade: GraalVM 22.
  • Upgrade: Kotlin 1.7.10.
"},{"location":"changelogs/changelog/#version-500-alpha10","title":"Version 5.0.0-alpha.10","text":"

2022-06-26

  • Fix: Configure the multiplatform artifact (com.squareup.okhttp3:okhttp:3.x.x) to depend on the JVM artifact (com.squareup.okhttp3:okhttp-jvm:3.x.x) for Maven builds. This should work-around an issue where Maven doesn\u2019t interpret Gradle metadata.
  • Fix: Make another attempt at supporting Kotlin 1.5.31 at runtime. We were crashing on DurationUnit which was a typealias in 1.5.x.
  • Upgrade: Okio 3.2.0.
"},{"location":"changelogs/changelog/#version-500-alpha9","title":"Version 5.0.0-alpha.9","text":"

2022-06-16

  • New: Enforce label length limits in URLs. HttpUrl now rejects URLs whose domains aren\u2019t valid. This includes overly-long domain names (longer than 253 characters), overly-long labels (more than 63 characters between dots), and empty labels.
  • New: Don\u2019t include the Content-Length header in multipart bodies. Servers must delimit OkHttp\u2019s request bodies using the boundary only. (This change makes OkHttp more consistent with browsers and other HTTP clients.)
  • New: Drop the tunnelProxy argument in MockWebServer.useHttps(). This change only impacts the OkHttp 5.x API which uses the mockwebserver3 package.
  • Fix: Don\u2019t call toDuration() which isn\u2019t available in kotlin-stdlib 1.4.
"},{"location":"changelogs/changelog/#version-500-alpha8","title":"Version 5.0.0-alpha.8","text":"

2022-06-08

  • Fix: Change how H2_PRIOR_KNOWLEDGE works with HTTP proxies. Previously OkHttp assumed the proxy itself was a prior knowledge HTTP/2 server. With this update, OkHttp attempts a CONNECT tunnel just as it would with HTTPS. For prior knowledge with proxies OkHttp\u2019s is now consistent with these curl arguments:

    curl \\\n  --http2-prior-knowledge \\\n  --proxy localhost:8888 \\\n  --proxytunnel \\\n  http://squareup.com/robots.txt\n
  • Fix: Support executing OkHttp on kotlin-stdlib versions as old as 1.4. The library still builds on up-to-date Kotlin releases (1.6.21) but no longer needs that version as a runtime dependency. This should make it easier to use OkHttp in Gradle plugins.

  • Fix: Don\u2019t start the clock on response timeouts until the request body is fully transmitted. This is only relevant for duplex request bodies, because they are written concurrently when reading the response body.

  • New: MockResponse.inTunnel() is a new mockwebserver3 API to configure responses that are served while creating a proxy tunnel. This obsoletes both the tunnelProxy argument on MockWebServer and the UPGRADE_TO_SSL_AT_END socket option. (Only APIs on mockwebserver3 are changed; the old okhttp3.mockwebserver APIs remain as they always have been.

"},{"location":"changelogs/changelog/#version-500-alpha7","title":"Version 5.0.0-alpha.7","text":"

2022-04-26

This release introduces new Kotlin-friendly APIs. When we migrated OkHttp from Java to Kotlin in OkHttp 4.0, we kept our Java-first APIs. With 5.0 we\u2019re continuing to support Java and adding additional improvements for Kotlin users. In this alpha we\u2019re excited to skip-the-builder for requests and remove a common source of non-null assertions (!!) on the response body.

The alpha releases in the 5.0.0 series have production-quality code and an unstable API. We expect to make changes to the APIs introduced in 5.0.0-alpha.X. These releases are safe for production use and \u2018alpha\u2019 strictly signals that we\u2019re still experimenting with some new APIs. If you\u2019re eager for the fixes or features below, please upgrade.

  • New: Named and default parameters constructor for Request:

    val request = Request(\n  url = \"https://cash.app/\".toHttpUrl(),\n)\n
  • New: Response.body is now non-null. This was generally the case in OkHttp 4.x, but the Kotlin type declaration was nullable to support rare cases like the body on Response.cacheResponse, Response.networkResponse, and Response.priorResponse. In such cases the body is now non-null, but attempts to read its content will fail.

  • New: Kotlin-specific APIs for request tags. Kotlin language users can lookup tags with a type parameter only, like request.tag<MyTagClass>().
  • New: MockWebServer has improved support for HTTP/1xx responses. Once you\u2019ve migrated to the new mockwebserver3 package, there\u2019s a new field, MockResponse.informationalResponses.
  • Fix: Don\u2019t interpret trailers as headers after an HTTP/100 response. This was a bug only when the HTTP response body itself is empty.
  • Fix: Don\u2019t crash when a fast fallback call has both a deferred connection and a held connection.
  • Fix: OkHttpClient no longer implements Cloneable. It never should have; the class is immutable. This is left over from OkHttp 2.x (!) when that class was mutable. We\u2019re using the 5.x upgrade as an opportunity to remove very obsolete APIs.
  • Fix: Recover gracefully when Android\u2019s NativeCrypto crashes with \"ssl == null\". This occurs when OkHttp retrieves ALPN state on a closed connection.
  • Upgrade: Kotlin 1.6.21.
  • Upgrade: Okio 3.1.0.
"},{"location":"changelogs/changelog/#version-500-alpha6","title":"Version 5.0.0-alpha.6","text":"

2022-03-14

  • Fix: Don\u2019t attempt to close pooled connections. We saw occasional fast fallback calls crash in the previous alpha due to an unexpected race.
"},{"location":"changelogs/changelog/#version-500-alpha5","title":"Version 5.0.0-alpha.5","text":"

2022-02-21

  • Fix: Don\u2019t include Assertk in OkHttp\u2019s production dependencies. This regression was introduced in the 5.0.0-alpha.4 release.
  • Fix: Don\u2019t ask Dns implementations to resolve strings that are already IP addresses.
  • Fix: Change fast fallback to race TCP handshakes only. To avoid wasted work, OkHttp will not attempt multiple TLS handshakes for the same call concurrently.
  • Fix: Don\u2019t crash loading the public suffix database in GraalVM native images. The function HttpUrl.topPrivateDomain() uses a resource file to identify private domains, but we didn\u2019t include this file on GraalVM.
"},{"location":"changelogs/changelog/#version-500-alpha4","title":"Version 5.0.0-alpha.4","text":"

2022-02-01

This release introduces fast fallback to better support mixed IPv4+IPv6 networks. Fast fallback is what we\u2019re calling our implementation of Happy Eyeballs, RFC 8305. With this feature OkHttp will attempt both IPv6 and IPv4 connections concurrently, keeping whichever connects first. Fast fallback gives IPv6 connections a 250 ms head start so IPv6 is preferred on networks where it\u2019s available.

To opt-in, configure your OkHttpClient.Builder:

OkHttpClient client = new OkHttpClient.Builder()\n    .fastFallback(true)\n    .build();\n
  • New: Change the build from Kotlin-JVM to Kotlin-multiplatform (which includes JVM). Both native and JavaScript platforms are unstable preview releases and subject to backwards-incompatible changes in forthcoming releases.
  • Fix: Don\u2019t crash loading the public suffix database resource in obfuscated builds.
  • Fix: Don\u2019t silently ignore calls to EventSource.cancel() made from EventSourceListener.onOpen().
  • Fix: Enforce the max intermediates constraint when using pinned certificates with Conscrypt. This impacts Conscrypt when the server\u2019s presented certificates form both a trusted-but-unpinned chain and an untrusted-but-pinned chain.
  • Upgrade: Kotlin 1.6.10.
"},{"location":"changelogs/changelog/#version-500-alpha3","title":"Version 5.0.0-alpha.3","text":"

2021-11-22

  • Fix: Change Headers.toString() to redact authorization and cookie headers.
  • Fix: Don\u2019t do DNS to get the hostname for RecordedRequest.requestUrl. This was doing a DNS lookup for the local hostname, but we really just wanted the Host header.
  • Fix: Don\u2019t crash with a InaccessibleObjectException when detecting the platform trust manager on Java 17+.
  • Fix: Don\u2019t crash if a cookie\u2019s value is a lone double quote character.
  • Fix: Don\u2019t crash when canceling an event source created by EventSources.processResponse().
  • New: Cache now has a public constructor that takes an [okio.FileSystem]. This should make it possible to implement decorators for cache encryption or compression.
  • New: Cookie.newBuilder() to build upon an existing cookie.
  • New: Use TLSv1.3 when running on JDK 8u261 or newer.
  • New: QueueDispatcher.clear() may be used to reset a MockWebServer instance.
  • New: FileDescriptor.toRequestBody() may be particularly useful for users of Android\u2019s Storage Access Framework.
  • Upgrade: Kotlin 1.5.31.
  • Upgrade: Okio 3.0.0.
"},{"location":"changelogs/changelog/#version-500-alpha2","title":"Version 5.0.0-alpha.2","text":"

2021-01-30

In this release MockWebServer has a new Maven coordinate and package name. A longstanding problem with MockWebServer has been its API dependency on JUnit 4. We\u2019ve reorganized things to remove that dependency while preserving backwards compatibility.

Maven Coordinate Package Name Description com.squareup.okhttp3:mockwebserver3:5.0.0-alpha.2 mockwebserver3 Core module. No JUnit dependency! com.squareup.okhttp3:mockwebserver3-junit4:5.0.0-alpha.2 mockwebserver3.junit4 Optional JUnit 4 integration. com.squareup.okhttp3:mockwebserver3-junit5:5.0.0-alpha.2 mockwebserver3.junit5 Optional JUnit 5 integration. com.squareup.okhttp3:mockwebserver:5.0.0-alpha.2 okhttp3.mockwebserver Obsolete. Depends on JUnit 4.

The new APIs use mockwebserver3 in both the Maven coordinate and package name. This new API is not stable and will likely change before the final 5.0.0 release.

If you have code that subclasses okhttp3.mockwebserver.QueueDispatcher, this update is not source or binary compatible. Migrating to the new mockwebserver3 package will fix this problem.

  • New: DNS over HTTPS is now a stable feature of OkHttp. We introduced this as an experimental module in 2018. We are confident in its stable API and solid implementation.
  • Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads concurrently close an SSL socket. This would have appeared in crash logs as NullPointerException: bio == null.
  • Fix: Use plus + instead of %20 to encode space characters in FormBody. This was a longstanding bug in OkHttp. The fix makes OkHttp consistent with major web browsers.
  • Fix: Don\u2019t crash if Conscrypt returns a null version.
  • Fix: Include the public suffix data as a resource in GraalVM native images.
  • Fix: Fail fast when the cache is corrupted.
  • Fix: Fail fast when a private key cannot be encoded.
  • Fix: Fail fast when attempting to verify a non-ASCII hostname.
  • Upgrade: GraalVM 21.
  • Upgrade: Kotlin 1.4.20.
"},{"location":"changelogs/changelog/#version-500-alpha1","title":"Version 5.0.0-alpha.1","text":"

2021-01-30

This release adds initial support for GraalVM.

GraalVM is an exciting new platform and we\u2019re eager to adopt it. The startup time improvements over the JVM are particularly impressive. Try it with okcurl:

$ ./gradlew okcurl:nativeImage\n$ ./okcurl/build/graal/okcurl https://cash.app/robots.txt\n

This is our first release that supports GraalVM. Our code on this platform is less mature than JVM and Android! Please report any issues you encounter: we\u2019ll fix them urgently.

  • Fix: Attempt to read the response body even if the server canceled the request. This will cause some calls to return nice error codes like HTTP/1.1 429 Too Many Requests instead of transport errors like SocketException: Connection reset and StreamResetException: stream was reset: CANCEL.
  • New: Support OSGi metadata.
  • Upgrade: Okio 2.9.0.

    implementation(\"com.squareup.okio:okio:2.9.0\")\n

Note that this was originally released on 2020-10-06 as 4.10.0-RC1. The only change from that release is the version name.

"},{"location":"changelogs/changelog_1x/","title":"OkHttp 1.x Change Log","text":""},{"location":"changelogs/changelog_1x/#version-160","title":"Version 1.6.0","text":"

2014-05-23

  • Offer bridges to make it easier to migrate from OkHttp 1.x to OkHttp 2.0. This adds OkUrlFactory, Cache, and @Deprecated annotations for APIs dropped in 2.0.
"},{"location":"changelogs/changelog_1x/#version-154","title":"Version 1.5.4","text":"

2014-04-14

  • Drop ALPN support in Android. There\u2019s a concurrency bug in all currently-shipping versions.
  • Support asynchronous disconnects by breaking the socket only. This should prevent flakiness from multiple threads concurrently accessing a stream.
"},{"location":"changelogs/changelog_1x/#version-153","title":"Version 1.5.3","text":"

2014-03-29

  • Fix bug where the Content-Length header was not always dropped when following a redirect from a POST to a GET.
  • Implement basic support for Thread.interrupt(). OkHttp now checks for an interruption before doing a blocking call. If it is interrupted, it throws an InterruptedIOException.
"},{"location":"changelogs/changelog_1x/#version-152","title":"Version 1.5.2","text":"

2014-03-17

  • Fix bug where deleting a file that was absent from the HttpResponseCache caused an IOException.
  • Fix bug in HTTP/2 where our HPACK decoder wasn\u2019t emitting entries in certain eviction scenarios, leading to dropped response headers.
"},{"location":"changelogs/changelog_1x/#version-151","title":"Version 1.5.1","text":"

2014-03-11

  • Fix 1.5.0 regression where connections should not have been recycled.
  • Fix 1.5.0 regression where transparent Gzip was broken by attempting to recover from another I/O failure.
  • Fix problems where spdy/3.1 headers may not have been compressed properly.
  • Fix problems with spdy/3.1 and http/2 where the wrong window size was being used.
  • Fix 1.5.0 regression where conditional cache responses could corrupt the connection pool.
"},{"location":"changelogs/changelog_1x/#version-150","title":"Version 1.5.0","text":"

2014-03-07

"},{"location":"changelogs/changelog_1x/#okhttp-no-longer-uses-the-default-ssl-context","title":"OkHttp no longer uses the default SSL context.","text":"

Applications that want to use the global SSL context with OkHttp should configure their OkHttpClient instances with the following:

okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());\n

A simpler solution is to avoid the shared default SSL socket factory. Instead, if you need to customize SSL, do so for your specific OkHttpClient instance only.

"},{"location":"changelogs/changelog_1x/#synthetic-headers-have-changed","title":"Synthetic headers have changed","text":"

Previously OkHttp added a synthetic response header, OkHttp-Selected-Transport. It has been replaced with a new synthetic header, OkHttp-Selected-Protocol.

"},{"location":"changelogs/changelog_1x/#changes","title":"Changes","text":"
  • New: Support for HTTP-draft-09/2.0.
  • New: Support for spdy/3.1. Dropped support for spdy/3.
  • New: Use ALPN on Android platforms that support it (4.4+)
  • New: CacheControl model and parser.
  • New: Protocol selection in MockWebServer.
  • Fix: Route selection shouldn\u2019t use TLS modes that we know will fail.
  • Fix: Cache SPDY responses even if the response body is closed prematurely.
  • Fix: Use strict timeouts when aborting a download.
  • Fix: Support Shoutcast HTTP responses like ICY 200 OK.
  • Fix: Don\u2019t unzip if there isn\u2019t a response body.
  • Fix: Don\u2019t leak gzip streams on redirects.
  • Fix: Don\u2019t do DNS lookups on invalid hosts.
  • Fix: Exhaust the underlying stream when reading gzip streams.
  • Fix: Support the PATCH method.
  • Fix: Support request bodies on DELETE method.
  • Fix: Drop the okhttp-protocols module.
  • Internal: Replaced internal byte array buffers with pooled buffers (\u201cOkBuffer\u201d).
"},{"location":"changelogs/changelog_1x/#version-130","title":"Version 1.3.0","text":"

2014-01-11

  • New: Support for \u201cPATCH\u201d HTTP method in client and MockWebServer.
  • Fix: Drop Content-Length header when redirected from POST to GET.
  • Fix: Correctly read cached header entries with malformed header names.
  • Fix: Do not directly support any authentication schemes other than \u201cBasic\u201d.
  • Fix: Respect read timeouts on recycled connections.
  • Fix: Transmit multiple cookie values as a single header with delimiter.
  • Fix: Ensure null is never returned from a connection\u2019s getHeaderFields().
  • Fix: Persist proper Content-Encoding header to cache for GZip responses.
  • Fix: Eliminate rare race condition in SPDY streams that would prevent connection reuse.
  • Fix: Change HTTP date formats to UTC to conform to RFC2616 section 3.3.
  • Fix: Support SPDY header blocks with trailing bytes.
  • Fix: Allow ; as separator for Cache-Control header.
  • Fix: Correct bug where HTTPS POST requests were always automatically buffered.
  • Fix: Honor read timeout when parsing SPDY headers.
"},{"location":"changelogs/changelog_1x/#version-121","title":"Version 1.2.1","text":"

2013-08-23

  • Resolve issue with \u2018jar-with-dependencies\u2019 artifact creation.
  • Fix: Support empty SPDY header values.
"},{"location":"changelogs/changelog_1x/#version-120","title":"Version 1.2.0","text":"

2013-08-11

  • New APIs on OkHttpClient to set default timeouts for connect and read.
  • Fix bug when caching SPDY responses.
  • Fix a bug with SPDY plus half-closed streams. (thanks kwuollett)
  • Fix a bug in Content-Length reporting for gzipped streams in the Apache HTTP client adapter. (thanks kwuollett)
  • Work around the Alcatel getByInetAddress bug (thanks k.kocel)
  • Be more aggressive about testing pooled sockets before reuse. (thanks warpspin)
  • Include Content-Type and Content-Encoding in the Apache HTTP client adapter. (thanks kwuollett)
  • Add a media type class to OkHttp.
  • Change custom header prefix:

    X-Android-Sent-Millis is now OkHttp-Sent-Millis\nX-Android-Received-Millis is now OkHttp-Received-Millis\nX-Android-Response-Source is now OkHttp-Response-Source\nX-Android-Selected-Transport is now OkHttp-Selected-Transport\n
    * Improve cache invalidation for POST-like requests. * Bring MockWebServer into OkHttp and teach it SPDY.

"},{"location":"changelogs/changelog_1x/#version-111","title":"Version 1.1.1","text":"

2013-06-23

  • Fix: ClassCastException when caching responses that were redirected from HTTP to HTTPS.
"},{"location":"changelogs/changelog_1x/#version-110","title":"Version 1.1.0","text":"

2013-06-15

  • Fix: Connection reuse was broken for most HTTPS connections due to a bug in the way the hostname verifier was selected.
  • Fix: Locking bug in SpdyConnection.
  • Fix: Ignore null header values (for compatibility with HttpURLConnection).
  • Add URLStreamHandlerFactory support so that URL.openConnection() uses OkHttp.
  • Expose the transport (\u201chttp/1.1\u201d, \u201cspdy/3\u201d, etc.) via magic request headers. Use X-Android-Transports to write the preferred transports and X-Android-Selected-Transport to read the negotiated transport.
"},{"location":"changelogs/changelog_1x/#version-102","title":"Version 1.0.2","text":"

2013-05-11

  • Fix: Remove use of Java 6-only APIs.
  • Fix: Properly handle exceptions from NetworkInterface when querying MTU.
  • Fix: Ensure MTU has a reasonable default and upper-bound.
"},{"location":"changelogs/changelog_1x/#version-101","title":"Version 1.0.1","text":"

2013-05-06

  • Correct casing of SSL in method names (getSslSocketFactory/setSslSocketFactory).
"},{"location":"changelogs/changelog_1x/#version-100","title":"Version 1.0.0","text":"

2013-05-06

Initial release.

"},{"location":"changelogs/changelog_2x/","title":"OkHttp 2.x Change Log","text":""},{"location":"changelogs/changelog_2x/#version-275","title":"Version 2.7.5","text":"

2016-02-25

  • Fix: Change the certificate pinner to always build full chains. This prevents a potential crash when using certificate pinning with the Google Play Services security provider.
"},{"location":"changelogs/changelog_2x/#version-274","title":"Version 2.7.4","text":"

2016-02-07

  • Fix: Don\u2019t crash when finding the trust manager if the Play Services (GMS) security provider is installed.
  • Fix: The previous release introduced a performance regression on Android, caused by looking up CA certificates. This is now fixed.
"},{"location":"changelogs/changelog_2x/#version-273","title":"Version 2.7.3","text":"

2016-02-06

  • Fix: Permit the trusted CA root to be pinned by CertificatePinner.
"},{"location":"changelogs/changelog_2x/#version-272","title":"Version 2.7.2","text":"

2016-01-07

  • Fix: Don\u2019t eagerly release stream allocations on cache hits. We might still need them to handle redirects.
"},{"location":"changelogs/changelog_2x/#version-271","title":"Version 2.7.1","text":"

2016-01-01

  • Fix: Don\u2019t do a health check on newly-created connections. This is unnecessary work that could put the client in an inconsistent state if the health check fails.
"},{"location":"changelogs/changelog_2x/#version-270","title":"Version 2.7.0","text":"

2015-12-13

  • Rewritten connection management. Previously OkHttp\u2019s connection pool managed both idle and active connections for HTTP/2, but only idle connections for HTTP/1.x. With this update the connection pool manages both idle and active connections for everything. OkHttp now detects and warns on connections that were allocated but never released, and will enforce HTTP/2 stream limits. This update also fixes Call.cancel() to not do I/O on the calling thread.
  • Fix: Don\u2019t log gzipped data in the logging interceptor.
  • Fix: Don\u2019t resolve DNS addresses when connecting through a SOCKS proxy.
  • Fix: Drop the synthetic OkHttp-Selected-Protocol response header.
  • Fix: Support 204 and 205 \u2018No Content\u2019 replies in the logging interceptor.
  • New: Add Call.isExecuted().
"},{"location":"changelogs/changelog_2x/#version-260","title":"Version 2.6.0","text":"

2015-11-22

  • New Logging Interceptor. The logging-interceptor subproject offers simple request and response logging. It may be configured to log headers and bodies for debugging. It requires this Maven dependency:

    <dependency>\n  <groupId>com.squareup.okhttp</groupId>\n  <artifactId>logging-interceptor</artifactId>\n  <version>2.6.0</version>\n</dependency>\n

    Configure basic logging like this:

    HttpLoggingInterceptor loggingInterceptor = new HttpLoggingInterceptor();\nloggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BASIC);\nclient.networkInterceptors().add(loggingInterceptor);\n

    Warning: Avoid Level.HEADERS and Level.BODY in production because they could leak passwords and other authentication credentials to insecure logs.

  • WebSocket API now uses RequestBody and ResponseBody for messages. This is a backwards-incompatible API change.

  • The DNS service is now pluggable. In some situations this may be useful to manually prioritize specific IP addresses.

  • Fix: Don\u2019t throw when converting an HttpUrl to a java.net.URI. Previously URLs with special characters like | and [ would break when subjected to URI\u2019s overly-strict validation.

  • Fix: Don\u2019t re-encode + as %20 in encoded URL query strings. OkHttp prefers %20 when doing its own encoding, but will retain + when that is provided.
  • Fix: Enforce that callers call WebSocket.close() on IO errors. Error handling in WebSockets is significantly improved.
  • Fix: Don\u2019t use SPDY/3 style header concatenation for HTTP/2 request headers. This could have corrupted requests where multiple headers had the same name, as in cookies.
  • Fix: Reject bad characters in the URL hostname. Previously characters like \\0 would cause a late crash when building the request.
  • Fix: Allow interceptors to change the request method.
  • Fix: Don\u2019t use the request\u2019s User-Agent or Proxy-Authorization when connecting to an HTTPS server via an HTTP tunnel. The Proxy-Authorization header was being leaked to the origin server.
  • Fix: Digits may be used in a URL scheme.
  • Fix: Improve connection timeout recovery.
  • Fix: Recover from getsockname crashes impacting Android releases prior to 4.2.2.
  • Fix: Drop partial support for HTTP/1.0. Previously OkHttp would send HTTP/1.0 on connections after seeing a response with HTTP/1.0. The fixed behavior is consistent with Firefox and Chrome.
  • Fix: Allow a body in OPTIONS requests.
  • Fix: Don\u2019t percent-encode non-ASCII characters in URL fragments.
  • Fix: Handle null fragments.
  • Fix: Don\u2019t crash on interceptors that throw IOException before a connection is attempted.
  • New: Support WebDAV HTTP methods.
  • New: Buffer WebSocket frames for better performance.
  • New: Drop support for TLS_DHE_DSS_WITH_AES_128_CBC_SHA, our only remaining DSS cipher suite. This is consistent with Firefox and Chrome which have also dropped these cipher suite.
"},{"location":"changelogs/changelog_2x/#version-250","title":"Version 2.5.0","text":"

2015-08-25

  • Timeouts now default to 10 seconds. Previously we defaulted to never timing out, and that was a lousy policy. If establishing a connection, reading the next byte from a connection, or writing the next byte to a connection takes more than 10 seconds to complete, you\u2019ll need to adjust the timeouts manually.

  • OkHttp now rejects request headers that contain invalid characters. This includes potential security problems (newline characters) as well as simple non-ASCII characters (including international characters and emoji).

  • Call canceling is more reliable. We had a bug where a socket being connected wasn\u2019t being closed when the application used Call.cancel().

  • Changing a HttpUrl\u2019s scheme now tracks the default port. We had a bug where changing a URL from http to https would leave it on port 80.

  • Okio has been updated to 1.6.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.6.0</version>\n</dependency>\n

  • New: Cache.initialize(). Call this on a background thread to eagerly initialize the response cache.

  • New: Fold MockWebServerRule into MockWebServer. This makes it easier to write JUnit tests with MockWebServer. The MockWebServer library now depends on JUnit, though it continues to work with all testing frameworks.
  • Fix: FormEncodingBuilder is now consistent with browsers in which characters it escapes. Previously we weren\u2019t percent-encoding commas, parens, and other characters.
  • Fix: Relax FormEncodingBuilder to support building empty forms.
  • Fix: Timeouts throw SocketTimeoutException, not InterruptedIOException.
  • Fix: Change MockWebServer to use the same logic as OkHttp when determining whether an HTTP request permits a body.
  • Fix: HttpUrl now uses the canonical form for IPv6 addresses.
  • Fix: Use HttpUrl internally.
  • Fix: Recover from Android 4.2.2 EBADF crashes.
  • Fix: Don\u2019t crash with an IllegalStateException if an HTTP/2 or SPDY write fails, leaving the connection in an inconsistent state.
  • Fix: Make sure the default user agent is ASCII.
"},{"location":"changelogs/changelog_2x/#version-240","title":"Version 2.4.0","text":"

2015-05-22

  • Forbid response bodies on HTTP 204 and 205 responses. Webservers that return such malformed responses will now trigger a ProtocolException in the client.

  • WebSocketListener has incompatible changes. The onOpen() method is now called on the reader thread, so implementations must return before further websocket messages will be delivered. The onFailure() method now includes an HTTP response if one was returned.

"},{"location":"changelogs/changelog_2x/#version-240-rc1","title":"Version 2.4.0-RC1","text":"

2015-05-16

  • New HttpUrl API. It\u2019s like java.net.URL but good. Note that Request.Builder.url() now throws IllegalArgumentException on malformed URLs. (Previous releases would throw a MalformedURLException when calling a malformed URL.)

  • We\u2019ve improved connect failure recovery. We now differentiate between setup, connecting, and connected and implement appropriate recovery rules for each. This changes Address to no longer use ConnectionSpec. (This is an incompatible API change).

  • FormEncodingBuilder now uses %20 instead of + for encoded spaces. Both are permitted-by-spec, but %20 requires fewer special cases.

  • Okio has been updated to 1.4.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.4.0</version>\n</dependency>\n

  • Request.Builder no longer accepts null if a request body is required. Passing null will now fail for request methods that require a body. Instead use an empty body such as this one:

        RequestBody.create(null, new byte[0]);\n
  • CertificatePinner now supports wildcard hostnames. As always with certificate pinning, you must be very careful to avoid bricking your app. You\u2019ll need to pin both the top-level domain and the *. domain for full coverage.

     client.setCertificatePinner(new CertificatePinner.Builder()\n     .add(\"publicobject.com\",   \"sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=\")\n     .add(\"*.publicobject.com\", \"sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=\")\n     .add(\"publicobject.com\",   \"sha1/SXxoaOSEzPC6BgGmxAt/EAcsajw=\")\n     .add(\"*.publicobject.com\", \"sha1/SXxoaOSEzPC6BgGmxAt/EAcsajw=\")\n     .add(\"publicobject.com\",   \"sha1/blhOM3W9V/bVQhsWAcLYwPU6n24=\")\n     .add(\"*.publicobject.com\", \"sha1/blhOM3W9V/bVQhsWAcLYwPU6n24=\")\n     .add(\"publicobject.com\",   \"sha1/T5x9IXmcrQ7YuQxXnxoCmeeQ84c=\")\n     .add(\"*.publicobject.com\", \"sha1/T5x9IXmcrQ7YuQxXnxoCmeeQ84c=\")\n     .build());\n
  • Interceptors lists are now deep-copied by OkHttpClient.clone(). Previously clones shared interceptors, which made it difficult to customize the interceptors on a request-by-request basis.

  • New: Headers.toMultimap().

  • New: RequestBody.create(MediaType, ByteString).
  • New: ConnectionSpec.isCompatible(SSLSocket).
  • New: Dispatcher.getQueuedCallCount() and Dispatcher.getRunningCallCount(). These can be useful in diagnostics.
  • Fix: OkHttp no longer shares timeouts between pooled connections. This was causing some applications to crash when connections were reused.
  • Fix: OkApacheClient now allows an empty PUT and POST.
  • Fix: Websockets no longer rebuffer socket streams.
  • Fix: Websockets are now better at handling close frames.
  • Fix: Content type matching is now case insensitive.
  • Fix: Vary headers are not lost with android.net.http.HttpResponseCache.
  • Fix: HTTP/2 wasn\u2019t enforcing stream timeouts when writing the underlying connection. Now it is.
  • Fix: Never return null on call.proceed(). This was a bug in call cancelation.
  • Fix: When a network interceptor mutates a request, that change is now reflected in Response.networkResponse().
  • Fix: Badly-behaving caches now throw a checked exception instead of a NullPointerException.
  • Fix: Better handling of uncaught exceptions in MockWebServer with HTTP/2.
"},{"location":"changelogs/changelog_2x/#version-230","title":"Version 2.3.0","text":"

2015-03-16

  • HTTP/2 support. We\u2019ve done interop testing and haven\u2019t seen any problems. HTTP/2 support has been a big effort and we\u2019re particularly thankful to Adrian Cole who has helped us to reach this milestone.

  • RC4 cipher suites are no longer supported by default. To connect to old, obsolete servers relying on these cipher suites, you must create a custom ConnectionSpec.

  • Beta WebSockets support.. The okhttp-ws subproject offers a new websockets client. Please try it out! When it\u2019s ready we intend to include it with the core OkHttp library.

  • Okio updated to 1.3.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.3.0</version>\n</dependency>\n
  • Fix: improve parallelism of async requests. OkHttp\u2019s Dispatcher had a misconfigured ExecutorService that limited the number of worker threads. If you\u2019re using Call.enqueue() this update should significantly improve request concurrency.

  • Fix: Lazily initialize the response cache. This avoids strict mode warnings when initializing OkHttp on Android\u2018s main thread.

  • Fix: Disable ALPN on Android 4.4. That release of the feature was unstable and prone to native crashes in the underlying OpenSSL code.

  • Fix: Don\u2019t send both If-None-Match and If-Modified-Since cache headers when both are applicable.
  • Fix: Fail early when a port is out of range.
  • Fix: Offer Content-Length headers for multipart request bodies.
  • Fix: Throw UnknownServiceException if a cleartext connection is attempted when explicitly forbidden.
  • Fix: Throw a SSLPeerUnverifiedException when host verification fails.
  • Fix: MockWebServer explicitly closes sockets. (On some Android releases, closing the input stream and output stream of a socket is not sufficient.
  • Fix: Buffer outgoing HTTP/2 frames to limit how many outgoing frames are created.
  • Fix: Avoid crashing when cache writing fails due to a full disk.
  • Fix: Improve caching of private responses.
  • Fix: Update cache-by-default response codes.
  • Fix: Reused Request.Builder instances no longer hold stale URL fields.
  • New: ConnectionSpec can now be configured to use the SSL socket\u2019s default cipher suites. To use, set the cipher suites to null.
  • New: Support DELETE with a request body.
  • New: Headers.of(Map) creates headers from a Map.
"},{"location":"changelogs/changelog_2x/#version-220","title":"Version 2.2.0","text":"

2014-12-30

  • RequestBody.contentLength() now throws IOException. This is a source-incompatible change. If you have code that calls RequestBody.contentLength(), your compile will break with this update. The change is binary-compatible, however: code compiled for OkHttp 2.0 and 2.1 will continue to work with this update.

  • COMPATIBLE_TLS no longer supports SSLv3. In response to the POODLE vulnerability, OkHttp no longer offers SSLv3 when negotiation an HTTPS connection. If you continue to need to connect to webservers running SSLv3, you must manually configure your own ConnectionSpec.

  • OkHttp now offers interceptors. Interceptors are a powerful mechanism that can monitor, rewrite, and retry calls. The interceptors doc is a full introduction to this new API.

  • New: APIs to iterate and selectively clear the response cache.

  • New: Support for SOCKS proxies.
  • New: Support for TLS_FALLBACK_SCSV.
  • New: Update HTTP/2 support to h2-16 and hpack-10.
  • New: APIs to prevent retrying non-idempotent requests.
  • Fix: Drop NPN support. Going forward we support ALPN only.
  • Fix: The hostname verifier is now strict. This is consistent with the hostname verifier in modern browsers.
  • Fix: Improve CONNECT handling for misbehaving HTTP proxies.
  • Fix: Don\u2019t retry requests that failed due to timeouts.
  • Fix: Cache 302s and 308s that include appropriate response headers.
  • Fix: Improve pooling of connections that use proxy selectors.
  • Fix: Don\u2019t leak connections when using ALPN on the desktop.
  • Fix: Update Jetty ALPN to 7.1.2.v20141202 (Java 7) and 8.1.2.v20141202 (Java 8). This fixes a bug in resumed TLS sessions where the wrong protocol could be selected.
  • Fix: Don\u2019t crash in SPDY and HTTP/2 when disconnecting before connecting.
  • Fix: Avoid a reverse DNS-lookup for a numeric proxy address
  • Fix: Resurrect http/2 frame logging.
  • Fix: Limit to 20 authorization attempts.
"},{"location":"changelogs/changelog_2x/#version-210","title":"Version 2.1.0","text":"

2014-11-11

  • New: Typesafe APIs for interacting with cipher suites and TLS versions.
  • Fix: Don\u2019t crash when mixing authorization challenges with upload retries.
"},{"location":"changelogs/changelog_2x/#version-210-rc1","title":"Version 2.1.0-RC1","text":"

2014-11-04

  • OkHttp now caches private responses. We\u2019ve changed from a shared cache to a private cache, and will now store responses that use an Authorization header. This means OkHttp\u2019s cache shouldn\u2019t be used on middleboxes that sit between user agents and the origin server.

  • TLS configuration updated. OkHttp now explicitly enables TLSv1.2, TLSv1.1 and TLSv1.0 where they are supported. It will continue to perform only one fallback, to SSLv3. Applications can now configure this with the ConnectionSpec class.

    To disable TLS fallback:

    client.setConnectionSpecs(Arrays.asList(\n    ConnectionSpec.MODERN_TLS, ConnectionSpec.CLEARTEXT));\n

    To disable cleartext connections, permitting https URLs only:

    client.setConnectionSpecs(Arrays.asList(\n    ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS));\n
  • New cipher suites. Please confirm that your webservers are reachable with this limited set of cipher suites.

                                             Android\nName                                     Version\n\nTLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256  5.0\nTLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256    5.0\nTLS_DHE_RSA_WITH_AES_128_GCM_SHA256      5.0\nTLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA     4.0\nTLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA     4.0\nTLS_ECDHE_RSA_WITH_AES_128_CBC_SHA       4.0\nTLS_ECDHE_RSA_WITH_AES_256_CBC_SHA       4.0\nTLS_ECDHE_ECDSA_WITH_RC4_128_SHA         4.0\nTLS_ECDHE_RSA_WITH_RC4_128_SHA           4.0\nTLS_DHE_RSA_WITH_AES_128_CBC_SHA         2.3\nTLS_DHE_DSS_WITH_AES_128_CBC_SHA         2.3\nTLS_DHE_RSA_WITH_AES_256_CBC_SHA         2.3\nTLS_RSA_WITH_AES_128_GCM_SHA256          5.0\nTLS_RSA_WITH_AES_128_CBC_SHA             2.3\nTLS_RSA_WITH_AES_256_CBC_SHA             2.3\nSSL_RSA_WITH_3DES_EDE_CBC_SHA            2.3  (Deprecated in 5.0)\nSSL_RSA_WITH_RC4_128_SHA                 2.3\nSSL_RSA_WITH_RC4_128_MD5                 2.3  (Deprecated in 5.0)\n
  • Okio updated to 1.0.1.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.0.1</version>\n</dependency>\n
  • New APIs to permit easy certificate pinning. Be warned, certificate pinning is dangerous and could prevent your application from trusting your server!

  • Cache improvements. This release fixes some severe cache problems including a bug where the cache could be corrupted upon certain access patterns. We also fixed a bug where the cache was being cleared due to a corrupted journal. We\u2019ve added APIs to configure a request\u2019s Cache-Control headers, and to manually clear the cache.

  • Request cancellation fixes. This update fixes a bug where synchronous requests couldn\u2019t be canceled by tag. This update avoids crashing when onResponse() throws an IOException. That failure will now be logged instead of notifying the thread\u2019s uncaught exception handler. We\u2019ve added a new API, Call.isCanceled() to check if a call has been canceled.

  • New: Update MultipartBuilder to support content length.

  • New: Make it possible to mock OkHttpClient and Call.
  • New: Update to h2-14 and hpack-9.
  • New: OkHttp includes a user-agent by default, like okhttp/2.1.0-RC1.
  • Fix: Handle response code 308 Permanent Redirect.
  • Fix: Don\u2019t skip the callback if a call is canceled.
  • Fix: Permit hostnames with underscores.
  • Fix: Permit overriding the content-type in OkApacheClient.
  • Fix: Use the socket factory for direct connections.
  • Fix: Honor OkUrlFactory APIs that disable redirects.
  • Fix: Don\u2019t crash on concurrent modification of SPDY SPDY settings.
"},{"location":"changelogs/changelog_2x/#version-200","title":"Version 2.0.0","text":"

This release commits to a stable 2.0 API. Read the 2.0.0-RC1 changes for advice on upgrading from 1.x to 2.x.

2014-06-21

  • API Change: Use IOException in Callback.onFailure(). This is a source-incompatible change, and is different from OkHttp 2.0.0-RC2 which used Throwable.
  • Fix: Fixed a caching bug where we weren\u2019t storing rewritten request headers like Accept-Encoding.
  • Fix: Fixed bugs in handling the SPDY window size. This was stalling certain large downloads
  • Update the language level to Java 7. (OkHttp requires Android 2.3+ or Java 7+.)
"},{"location":"changelogs/changelog_2x/#version-200-rc2","title":"Version 2.0.0-RC2","text":"

2014-06-11

This update fixes problems in 2.0.0-RC1. Read the 2.0.0-RC1 changes for advice on upgrading from 1.x to 2.x.

  • Fix: Don\u2019t leak connections! There was a regression in 2.0.0-RC1 where connections were neither closed nor pooled.
  • Fix: Revert builder-style return types from OkHttpClient\u2019s timeout methods for binary compatibility with OkHttp 1.x.
  • Fix: Don\u2019t skip client stream 1 on SPDY/3.1. This fixes SPDY connectivity to https://google.com, which doesn\u2019t follow the SPDY/3.1 spec!
  • Fix: Always configure NPN headers. This fixes connectivity to https://facebook.com when SPDY and HTTP/2 are both disabled. Otherwise an unexpected NPN response is received and OkHttp crashes.
  • Fix: Write continuation frames when HPACK data is larger than 16383 bytes.
  • Fix: Don\u2019t drop uncaught exceptions thrown in async calls.
  • Fix: Throw an exception eagerly when a request body is not legal. Previously we ignored the problem at request-building time, only to crash later with a NullPointerException.
  • Fix: Include a backwards-compatible OkHttp-Response-Source header with OkUrlFactoryresponses.
  • Fix: Don\u2019t include a default User-Agent header in requests made with the Call API. Requests made with OkUrlFactory will continue to have a default user agent.
  • New: Guava-like API to create headers:

    Headers headers = Headers.of(name1, value1, name2, value2, ...).\n
  • New: Make the content-type header optional for request bodies.

  • New: Response.isSuccessful() is a convenient API to check response codes.
  • New: The response body can now be read outside of the callback. Response bodies must always be closed, otherwise they will leak connections!
  • New: APIs to create multipart request bodies (MultipartBuilder) and form encoding bodies (FormEncodingBuilder).
"},{"location":"changelogs/changelog_2x/#version-200-rc1","title":"Version 2.0.0-RC1","text":"

2014-05-23

OkHttp 2 is designed around a new API that is true to HTTP, with classes for requests, responses, headers, and calls. It uses modern Java patterns like immutability and chained builders. The API now offers asynchronous callbacks in addition to synchronous blocking calls.

"},{"location":"changelogs/changelog_2x/#api-changes","title":"API Changes","text":"
  • New Request and Response types, each with their own builder. There\u2019s also a RequestBody class to write the request body to the network and a ResponseBody to read the response body from the network. The standalone Headers class offers full access to the HTTP headers.

  • Okio dependency added. OkHttp now depends on Okio, an I/O library that makes it easier to access, store and process data. Using this library internally makes OkHttp faster while consuming less memory. You can write a RequestBody as an Okio BufferedSink and a ResponseBody as an Okio BufferedSource. Standard InputStream and OutputStream access is also available.

  • New Call and Callback types execute requests and receive their responses. Both types of calls can be canceled via the Call or the OkHttpClient.

  • URLConnection support has moved to the okhttp-urlconnection module. If you\u2019re upgrading from 1.x, this change will impact you. You will need to add the okhttp-urlconnection module to your project and use the OkUrlFactory to create new instances of HttpURLConnection:

    // OkHttp 1.x:\nHttpURLConnection connection = client.open(url);\n\n// OkHttp 2.x:\nHttpURLConnection connection = new OkUrlFactory(client).open(url);\n
  • Custom caches are no longer supported. In OkHttp 1.x it was possible to define your own response cache with the java.net.ResponseCache and OkHttp\u2019s OkResponseCache interfaces. Both of these APIs have been dropped. In OkHttp 2 the built-in disk cache is the only supported response cache.

  • HttpResponseCache has been renamed to Cache. Install it with OkHttpClient.setCache(...) instead of OkHttpClient.setResponseCache(...).

  • OkAuthenticator has been replaced with Authenticator. This new authenticator has access to the full incoming response and can respond with whichever followup request is appropriate. The Challenge class is now a top-level class and Credential is replaced with a utility class called Credentials.

  • OkHttpClient.getFollowProtocolRedirects() renamed to getFollowSslRedirects(). We reserve the word protocol for the HTTP version being used (HTTP/1.1, HTTP/2). The old name of this method was misleading; it was always used to configure redirects between https:// and http:// schemes.

  • RouteDatabase is no longer public API. OkHttp continues to track which routes have failed but this is no exposed in the API.

  • ResponseSource is gone. This enum exposed whether a response came from the cache, network, or both. OkHttp 2 offers more detail with raw access to the cache and network responses in the new Response class.

  • TunnelRequest is gone. It specified how to connect to an HTTP proxy. OkHttp 2 uses the new Request class for this.

  • Dispatcher is a new class that manages the queue of asynchronous calls. It implements limits on total in-flight calls and in-flight calls per host.

"},{"location":"changelogs/changelog_2x/#implementation-changes","title":"Implementation changes","text":"
  • Support Android TrafficStats socket tagging.
  • Drop authentication headers on redirect.
  • Added support for compressed data frames.
  • Process push promise callbacks in order.
  • Update to http/2 draft 12.
  • Update to HPACK draft 07.
  • Add ALPN support. Maven will use ALPN on OpenJDK 8.
  • Update NPN dependency to target jdk7u60-b13 and Oracle jdk7u55-b13.
  • Ensure SPDY variants support zero-length DELETE and POST.
  • Prevent leaking a cache item\u2019s InputStreams when metadata read fails.
  • Use a string to identify TLS versions in routes.
  • Add frame logger for HTTP/2.
  • Replacing httpMinorVersion with Protocol. Expose HTTP/1.0 as a potential protocol.
  • Use Protocol to describe framing.
  • Implement write timeouts for HTTP/1.1 streams.
  • Avoid use of SPDY stream ID 1, as that\u2019s typically used for UPGRADE.
  • Support OAuth in Authenticator.
  • Permit a dangling semicolon in media type parsing.
"},{"location":"changelogs/changelog_2x/#version-1x","title":"Version 1.x","text":"

Change log

"},{"location":"changelogs/changelog_3x/","title":"OkHttp 3.x Change Log","text":""},{"location":"changelogs/changelog_3x/#version-3149","title":"Version 3.14.9","text":"

2020-05-17

  • Fix: Don\u2019t crash when running as a plugin in Android Studio Canary 4.1. To enable platform-specific TLS features OkHttp must detect whether it\u2019s running in a JVM or in Android. The upcoming Android Studio runs in a JVM but has classes from Android and that confused OkHttp!
"},{"location":"changelogs/changelog_3x/#version-3148","title":"Version 3.14.8","text":"

2020-04-28

  • Fix: Don\u2019t crash on Java 8u252 which introduces an API previously found only on Java 9 and above. See Jetty\u2019s overview of the API change and its consequences.
"},{"location":"changelogs/changelog_3x/#version-3147","title":"Version 3.14.7","text":"

2020-02-24

  • Fix: Don\u2019t crash on Android 11 due to use of restricted methods. This prevents a crash with the exception, \u201cExpected Android API level 21+ but was 29\u201d.
"},{"location":"changelogs/changelog_3x/#version-3146","title":"Version 3.14.6","text":"

2020-01-11

  • Fix: Don\u2019t crash if the connection is closed when sending a degraded ping. This fixes a regression that was introduced in OkHttp 3.14.5.
"},{"location":"changelogs/changelog_3x/#version-3145","title":"Version 3.14.5","text":"

2020-01-03

  • Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact the stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after a stream timeout to determine whether the connection should remain eligible for pooling.
"},{"location":"changelogs/changelog_3x/#version-3144","title":"Version 3.14.4","text":"

2019-09-29

  • Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call would never call back if it crashed with an unchecked throwable, such as a NullPointerException or OutOfMemoryError. We now call Callback.onFailure() with an IOException that reports the call as canceled. The triggering exception is still delivered to the thread\u2019s UncaughtExceptionHandler.
  • Fix: Don\u2019t evict incomplete entries when iterating the cache. We had a bug where iterating Cache.urls() would prevent in-flight entries from being written.
"},{"location":"changelogs/changelog_3x/#version-3143","title":"Version 3.14.3","text":"

2019-09-10

  • Fix: Don\u2019t lose HTTP/2 flow control bytes when incoming data races with a stream close. If this happened enough then eventually the connection would stall.

  • Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to fail the call.

  • Fix: Recover gracefully when a coalesced connection immediately goes unhealthy.

"},{"location":"changelogs/changelog_3x/#version-3142","title":"Version 3.14.2","text":"

2019-05-19

  • Fix: Lock in a route when recovering from an HTTP/2 connection error. We had a bug where two calls that failed at the same time could cause OkHttp to crash with a NoSuchElementException instead of the expected IOException.

  • Fix: Don\u2019t crash with a NullPointerException when formatting an error message describing a truncated response from an HTTPS proxy.

"},{"location":"changelogs/changelog_3x/#version-3141","title":"Version 3.14.1","text":"

2019-04-10

  • Fix: Don\u2019t crash when an interceptor retries when there are no more routes. This was an edge-case regression introduced with the events cleanup in 3.14.0.

  • Fix: Provide actionable advice when the exchange is non-null. Prior to 3.14, OkHttp would silently leak connections when an interceptor retries without closing the response body. With 3.14 we detect this problem but the exception was not helpful.

"},{"location":"changelogs/changelog_3x/#version-3140","title":"Version 3.14.0","text":"

2019-03-14

  • This release deletes the long-deprecated OkUrlFactory and OkApacheClient APIs. These facades hide OkHttp\u2019s implementation behind another client\u2019s API. If you still need this please copy and paste ObsoleteUrlFactory.java or ObsoleteApacheClient.java into your project.

  • OkHttp now supports duplex calls over HTTP/2. With normal HTTP calls the request must finish before the response starts. With duplex, request and response bodies are transmitted simultaneously. This can be used to implement interactive conversations within a single HTTP call.

    Create duplex calls by overriding the new RequestBody.isDuplex() method to return true. This simple option dramatically changes the behavior of the request body and of the entire call.

    The RequestBody.writeTo() method may now retain a reference to the provided sink and hand it off to another thread to write to it after writeTo returns.

    The EventListener may now see requests and responses interleaved in ways not previously permitted. For example, a listener may receive responseHeadersStart() followed by requestBodyEnd(), both on the same call. Such events may be triggered by different threads even for a single call.

    Interceptors that rewrite or replace the request body may now inadvertently interfere with duplex request bodies. Such interceptors should check RequestBody.isDuplex() and avoid accessing the request body when it is.

    Duplex calls require HTTP/2. If HTTP/1 is established instead the duplex call will fail. The most common use of duplex calls is gRPC.

  • New: Prevent OkHttp from retransmitting a request body by overriding RequestBody.isOneShot(). This is most useful when writing the request body is destructive.

  • New: We\u2019ve added requestFailed() and responseFailed() methods to EventListener. These are called instead of requestBodyEnd() and responseBodyEnd() in some failure situations. They may also be fired in cases where no event was published previously. In this release we did an internal rewrite of our event code to fix problems where events were lost or unbalanced.

  • Fix: Don\u2019t leak a connection when a call is canceled immediately preceding the onFailure() callback.

  • Fix: Apply call timeouts when connecting duplex calls, web sockets, and server-sent events. Once the streams are established no further timeout is enforced.

  • Fix: Retain the Route when a connection is reused on a redirect or other follow-up. This was causing some Authenticator calls to see a null route when non-null was expected.

  • Fix: Use the correct key size in the name of TLS_AES_128_CCM_8_SHA256 which is a TLS 1.3 cipher suite. We accidentally specified a key size of 256, preventing that cipher suite from being selected for any TLS handshakes. We didn\u2019t notice because this cipher suite isn\u2019t supported on Android, Java, or Conscrypt.

    We removed this cipher suite and TLS_AES_128_CCM_SHA256 from the restricted, modern, and compatible sets of cipher suites. These two cipher suites aren\u2019t enabled by default in either Firefox or Chrome.

    See our TLS Configuration History tracker for a log of all changes to OkHttp\u2019s default TLS options.

  • New: Upgrade to Conscrypt 2.0.0. OkHttp works with other versions of Conscrypt but this is the version we\u2019re testing against.

    implementation(\"org.conscrypt:conscrypt-openjdk-uber:2.0.0\")\n
  • New: Update the embedded public suffixes list.

"},{"location":"changelogs/changelog_3x/#version-3131","title":"Version 3.13.1","text":"

2019-02-05

  • Fix: Don\u2019t crash when using a custom X509TrustManager or SSLSocket on Android. When we removed obsolete code for Android 4.4 we inadvertently also removed support for custom subclasses. We\u2019ve restored that support!
"},{"location":"changelogs/changelog_3x/#version-3130","title":"Version 3.13.0","text":"

2019-02-04

  • This release bumps our minimum requirements to Java 8+ or Android 5+. Cutting off old devices is a serious change and we don\u2019t do it lightly! This post explains why we\u2019re doing this and how to upgrade.

    The OkHttp 3.12.x branch will be our long-term branch for Android 2.3+ (API level 9+) and Java 7+. These platforms lack support for TLS 1.2 and should not be used. But because upgrading is difficult we will backport critical fixes to the 3.12.x branch through December 31, 2021. (This commitment was originally through December 31, 2020; we have since extended it.)

  • TLSv1 and TLSv1.1 are no longer enabled by default. Major web browsers are working towards removing these versions altogether in early 2020. If your servers aren\u2019t ready yet you can configure OkHttp 3.13 to allow TLSv1 and TLSv1.1 connections:

    OkHttpClient client = new OkHttpClient.Builder()\n    .connectionSpecs(Arrays.asList(ConnectionSpec.COMPATIBLE_TLS))\n    .build();\n
  • New: You can now access HTTP trailers with Response.trailers(). This method may only be called after the entire HTTP response body has been read.

  • New: Upgrade to Okio 1.17.3. If you\u2019re on Kotlin-friendly Okio 2.x this release requires 2.2.2 or newer.

    implementation(\"com.squareup.okio:okio:1.17.3\")\n
  • Fix: Don\u2019t miss cancels when sending HTTP/2 request headers.

  • Fix: Don\u2019t miss whole operation timeouts when calls redirect.
  • Fix: Don\u2019t leak connections if web sockets have malformed responses or if onOpen() throws.
  • Fix: Don\u2019t retry when request bodies fail due to FileNotFoundException.
  • Fix: Don\u2019t crash when URLs have IPv4-mapped IPv6 addresses.
  • Fix: Don\u2019t crash when building HandshakeCertificates on Android API 28.
  • Fix: Permit multipart file names to contain non-ASCII characters.
  • New: API to get MockWebServer\u2019s dispatcher.
  • New: API to access headers as java.time.Instant.
  • New: Fail fast if a SSLSocketFactory is used as a SocketFactory.
  • New: Log the TLS handshake in LoggingEventListener.
"},{"location":"changelogs/changelog_3x/#version-31213","title":"Version 3.12.13","text":"

2021-01-30

  • Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads concurrently close an SSL socket. This would have appeared in crash logs as NullPointerException: bio == null.
"},{"location":"changelogs/changelog_3x/#version-31212","title":"Version 3.12.12","text":"

2020-05-17

  • Fix: Don\u2019t crash when running as a plugin in Android Studio Canary 4.1. To enable platform-specific TLS features OkHttp must detect whether it\u2019s running in a JVM or in Android. The upcoming Android Studio runs in a JVM but has classes from Android and that confused OkHttp!
"},{"location":"changelogs/changelog_3x/#version-31211","title":"Version 3.12.11","text":"

2020-04-28

  • Fix: Don\u2019t crash on Java 8u252 which introduces an API previously found only on Java 9 and above. See Jetty\u2019s overview of the API change and its consequences.
"},{"location":"changelogs/changelog_3x/#version-31210","title":"Version 3.12.10","text":"

2020-02-29

  • Fix: Don\u2019t crash on Android 4.1 when detecting methods that became restricted in Android 11. Supporting a full decade of Android releases on our 3.12.x branch is tricky!
"},{"location":"changelogs/changelog_3x/#version-3129","title":"Version 3.12.9","text":"

2020-02-24

  • Fix: Don\u2019t crash on Android 11 due to use of restricted methods. This prevents a crash with the exception, \u201cExpected Android API level 21+ but was 29\u201d.
"},{"location":"changelogs/changelog_3x/#version-3128","title":"Version 3.12.8","text":"

2020-01-11

  • Fix: Don\u2019t crash if the connection is closed when sending a degraded ping. This fixes a regression that was introduced in OkHttp 3.12.7.
"},{"location":"changelogs/changelog_3x/#version-3127","title":"Version 3.12.7","text":"

2020-01-03

  • Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact the stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after a stream timeout to determine whether the connection should remain eligible for pooling.
"},{"location":"changelogs/changelog_3x/#version-3126","title":"Version 3.12.6","text":"

2019-09-29

  • Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call would never call back if it crashed with an unchecked throwable, such as a NullPointerException or OutOfMemoryError. We now call Callback.onFailure() with an IOException that reports the call as canceled. The triggering exception is still delivered to the thread\u2019s UncaughtExceptionHandler.
  • Fix: Don\u2019t evict incomplete entries when iterating the cache. We had a bug where iterating Cache.urls() would prevent in-flight entries from being written.
"},{"location":"changelogs/changelog_3x/#version-3125","title":"Version 3.12.5","text":"

2019-09-10

  • Fix: Don\u2019t lose HTTP/2 flow control bytes when incoming data races with a stream close. If this happened enough then eventually the connection would stall.

  • Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to fail the call.

"},{"location":"changelogs/changelog_3x/#version-3124","title":"Version 3.12.4","text":"

2019-09-04

  • Fix: Don\u2019t crash looking up an absent class on certain buggy Android 4.x devices.
"},{"location":"changelogs/changelog_3x/#version-3123","title":"Version 3.12.3","text":"

2019-05-07

  • Fix: Permit multipart file names to contain non-ASCII characters.
  • Fix: Retain the Route when a connection is reused on a redirect or other follow-up. This was causing some Authenticator calls to see a null route when non-null was expected.
"},{"location":"changelogs/changelog_3x/#version-3122","title":"Version 3.12.2","text":"

2019-03-14

  • Fix: Don\u2019t crash if the HTTPS server returns no certificates in the TLS handshake.
  • Fix: Don\u2019t leak a connection when a call is canceled immediately preceding the onFailure() callback.
"},{"location":"changelogs/changelog_3x/#version-3121","title":"Version 3.12.1","text":"

2018-12-23

  • Fix: Remove overlapping package-info.java. This caused issues with some build tools.
"},{"location":"changelogs/changelog_3x/#version-3120","title":"Version 3.12.0","text":"

2018-11-16

  • OkHttp now supports TLS 1.3. This requires either Conscrypt or Java 11+.

  • Proxy authenticators are now asked for preemptive authentication. OkHttp will now request authentication credentials before creating TLS tunnels through HTTP proxies (HTTP CONNECT). Authenticators should identify preemptive authentications by the presence of a challenge whose scheme is \u201cOkHttp-Preemptive\u201d.

  • OkHttp now offers full-operation timeouts. This sets a limit on how long the entire call may take and covers resolving DNS, connecting, writing the request body, server processing, and reading the full response body. If a call requires redirects or retries all must complete within one timeout period.

    Use OkHttpClient.Builder.callTimeout() to specify the default duration and Call.timeout() to specify the timeout of an individual call.

  • New: Return values and fields are now non-null unless otherwise annotated.

  • New: LoggingEventListener makes it easy to get basic visibility into a call\u2019s performance. This class is in the logging-interceptor artifact.
  • New: Headers.Builder.addUnsafeNonAscii() allows non-ASCII values to be added without an immediate exception.
  • New: Headers can be redacted in HttpLoggingInterceptor.
  • New: Headers.Builder now accepts dates.
  • New: OkHttp now accepts java.time.Duration for timeouts on Java 8+ and Android 26+.
  • New: Challenge includes all authentication parameters.
  • New: Upgrade to BouncyCastle 1.60, Conscrypt 1.4.0, and Okio 1.15.0. We don\u2019t yet require Kotlin-friendly Okio 2.x but OkHttp works fine with that series.

    implementation(\"org.bouncycastle:bcprov-jdk15on:1.60\")\nimplementation(\"org.conscrypt:conscrypt-openjdk-uber:1.4.0\")\nimplementation(\"com.squareup.okio:okio:1.15.0\")\n
  • Fix: Handle dispatcher executor shutdowns gracefully. When there aren\u2019t any threads to carry a call its callback now gets a RejectedExecutionException.

  • Fix: Don\u2019t permanently cache responses with Cache-Control: immutable. We misunderstood the original immutable proposal!
  • Fix: Change Authenticator\u2019s Route parameter to be nullable. This was marked as non-null but could be called with null in some cases.
  • Fix: Don\u2019t create malformed URLs when MockWebServer is reached via an IPv6 address.
  • Fix: Don\u2019t crash if the system default authenticator is null.
  • Fix: Don\u2019t crash generating elliptic curve certificates on Android.
  • Fix: Don\u2019t crash doing platform detection on RoboVM.
  • Fix: Don\u2019t leak socket connections when web socket upgrades fail.
"},{"location":"changelogs/changelog_3x/#version-3110","title":"Version 3.11.0","text":"

2018-07-12

  • OkHttp\u2019s new okhttp-tls submodule tames HTTPS and TLS.

    HeldCertificate is a TLS certificate and its private key. Generate a certificate with its builder then use it to sign another certificate or perform a TLS handshake. The certificatePem() method encodes the certificate in the familiar PEM format (--- BEGIN CERTIFICATE ---); the privateKeyPkcs8Pem() does likewise for the private key.

    HandshakeCertificates holds the TLS certificates required for a TLS handshake. On the server it keeps your HeldCertificate and its chain. On the client it keeps the root certificates that are trusted to sign a server\u2019s certificate chain. HandshakeCertificates also works with mutual TLS where these roles are reversed.

    These classes make it possible to enable HTTPS in MockWebServer in just a few lines of code.

  • OkHttp now supports prior knowledge cleartext HTTP/2. Enable this by setting Protocol.H2_PRIOR_KNOWLEDGE as the lone protocol on an OkHttpClient.Builder. This mode only supports http: URLs and is best suited in closed environments where HTTPS is inappropriate.

  • New: HttpUrl.get(String) is an alternative to HttpUrl.parse(String) that throws an exception when the URL is malformed instead of returning null. Use this to avoid checking for null in situations where the input is known to be well-formed. We\u2019ve also added MediaType.get(String) which is an exception-throwing alternative to MediaType.parse(String).

  • New: The EventListener API previewed in OkHttp 3.9 has graduated to a stable API. Use this interface to track metrics and monitor HTTP requests\u2019 size and duration.
  • New: okhttp-dnsoverhttps is an experimental API for doing DNS queries over HTTPS. Using HTTPS for DNS offers better security and potentially better performance. This feature is a preview: the API is subject to change.
  • New: okhttp-sse is an early preview of Server-Sent Events (SSE). This feature is incomplete and is only suitable for experimental use.
  • New: MockWebServer now supports client authentication (mutual TLS). Call requestClientAuth() to permit an optional client certificate or requireClientAuth() to require one.
  • New: RecordedRequest.getHandshake() returns the HTTPS handshake of a request sent to MockWebServer.
  • Fix: Honor the MockResponse header delay in MockWebServer.
  • Fix: Don\u2019t release HTTP/2 connections that have multiple canceled calls. We had a bug where canceling calls would cause the shared HTTP/2 connection to be unnecessarily released. This harmed connection reuse.
  • Fix: Ensure canceled and discarded HTTP/2 data is not permanently counted against the limited flow control window. We had a few bugs where window size accounting was broken when streams were canceled or reset.
  • Fix: Recover gracefully if the TLS session returns an unexpected version (NONE) or cipher suite (SSL_NULL_WITH_NULL_NULL).
  • Fix: Don\u2019t change Conscrypt configuration globally. We migrated from a process-wide setting to configuring only OkHttp\u2019s TLS sockets.
  • Fix: Prefer TLSv1.2 where it is available. On certain older platforms it is necessary to opt-in to TLSv1.2.
  • New: Request.tag() permits multiple tags. Use a Class<?> as a key to identify tags. Note that tag() now returns null if the request has no tag. Previously this would return the request itself.
  • New: Headers.Builder.addAll(Headers).
  • New: ResponseBody.create(MediaType, ByteString).
  • New: Embed R8/ProGuard rules in the jar. These will be applied automatically by R8.
  • Fix: Release the connection if Authenticator throws an exception.
  • Fix: Change the declaration of OkHttpClient.cache() to return a @Nullable Cache. The return value has always been nullable but it wasn\u2019t declared properly.
  • Fix: Reverse suppression of connect exceptions. When both a call and its retry fail, we now throw the initial exception which is most likely to be actionable.
  • Fix: Retain interrupted state when throwing InterruptedIOException. A single interrupt should now be sufficient to break out an in-flight OkHttp call.
  • Fix: Don\u2019t drop a call to EventListener.callEnd() when the response body is consumed inside an interceptor.
"},{"location":"changelogs/changelog_3x/#version-3100","title":"Version 3.10.0","text":"

2018-02-24

  • The pingInterval() feature now aggressively checks connectivity for web sockets and HTTP/2 connections.

    Previously if you configured a ping interval that would cause OkHttp to send pings, but it did not track whether the reply pongs were received. With this update OkHttp requires that every ping receive a response: if it does not the connection will be closed and the listener\u2019s onFailure() method will be called.

    Web sockets have always been had pings, but pings on HTTP/2 connections is new in this release. Pings are used for connections that are busy carrying calls and for idle connections in the connection pool. (Pings do not impact when pooled connections are evicted).

    If you have a configured ping interval, you should confirm that it is long enough for a roundtrip from client to server. If your ping interval is too short, slow connections may be misinterpreted as failed connections. A ping interval of 30 seconds is reasonable for most use cases.

  • OkHttp now supports Conscrypt. Conscrypt is a Java Security Provider that integrates BoringSSL into the Java platform. Conscrypt supports more cipher suites than the JVM\u2019s default provider and may also execute more efficiently.

    To use it, first register a Conscrypt dependency in your build system.

    OkHttp will use Conscrypt if you set the okhttp.platform system property to conscrypt.

    Alternatively, OkHttp will also use Conscrypt if you install it as your preferred security provider. To do so, add the following code to execute before you create your OkHttpClient.

    Security.insertProviderAt(\n    new org.conscrypt.OpenSSLProvider(), 1);\n

    Conscrypt is the bundled security provider on Android so it is not necessary to configure it on that platform.

  • New: HttpUrl.addQueryParameter() percent-escapes more characters. Previously several ASCII punctuation characters were not percent-escaped when used with this method. This does not impact already-encoded query parameters in APIs like HttpUrl.parse() and HttpUrl.Builder.addEncodedQueryParameter().

  • New: CBC-mode ECDSA cipher suites have been removed from OkHttp\u2019s default configuration: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA and TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA. This tracks a Chromium change to remove these cipher suites because they are fragile and rarely-used.
  • New: Don\u2019t fall back to common name (CN) verification for hostnames. This behavior was deprecated with RFC 2818 in May 2000 and was recently dropped from major web browsers.
  • New: Honor the Retry-After response header. HTTP 503 (Unavailable) responses are retried automatically if this header is present and its delay is 0 seconds. HTTP 408 (Client Timeout) responses are retried automatically if the header is absent or its delay is 0 seconds.
  • New: Allow request bodies for all HTTP methods except GET and HEAD.
  • New: Automatic module name of okhttp3 for use with the Java Platform Module System.
  • New: Log gzipped bodies when HttpLoggingInterceptor is used as a network interceptor.
  • New: Protocol.QUIC constant. This protocol is not supported but this constant is included for completeness.
  • New: Upgrade to Okio 1.14.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.14.0</version>\n</dependency>\n\ncom.squareup.okio:okio:1.14.0\n
  • Fix: Handle HTTP/1.1 100 Continue status lines, even on requests that did not send the Expect: continue request header.

  • Fix: Do not count web sockets toward the dispatcher\u2019s per-host connection limit.
  • Fix: Avoid using invalid HTTPS sessions. This prevents OkHttp from crashing with the error, Unexpected TLS version: NONE.
  • Fix: Don\u2019t corrupt the response cache when a 304 (Not Modified) response overrides the stored \u201cContent-Encoding\u201d header.
  • Fix: Gracefully shut down the HTTP/2 connection before it exhausts the namespace of stream IDs (~536 million streams).
  • Fix: Never pass a null Route to Authenticator. There was a bug where routes were omitted for eagerly-closed connections.
"},{"location":"changelogs/changelog_3x/#version-391","title":"Version 3.9.1","text":"

2017-11-18

  • New: Recover gracefully when Android\u2019s DNS crashes with an unexpected NullPointerException.
  • New: Recover gracefully when Android\u2019s socket connections crash with an unexpected ClassCastException.
  • Fix: Don\u2019t include the URL\u2019s fragment in encodedQuery() when the query itself is empty.
"},{"location":"changelogs/changelog_3x/#version-390","title":"Version 3.9.0","text":"

2017-09-03

  • Interceptors are more capable. The Chain interface now offers access to the call and can adjust all call timeouts. Note that this change is source-incompatible for code that implements the Chain interface. We don\u2019t expect this to be a problem in practice!

  • OkHttp has an experimental new API for tracking metrics. The new EventListener API is designed to help developers monitor HTTP requests\u2019 size and duration. This feature is an unstable preview: the API is subject to change, and the implementation is incomplete. This is a big new API we are eager for feedback.

  • New: Support ALPN via Google Play Services\u2019 Dynamic Security Provider. This expands HTTP/2 support to older Android devices that have Google Play Services.

  • New: Consider all routes when looking for candidate coalesced connections. This increases the likelihood that HTTP/2 connections will be shared.
  • New: Authentication challenges and credentials now use a charset. Use this in your authenticator to support user names and passwords with non-ASCII characters.
  • New: Accept a charset in FormBody.Builder. Previously form bodies were always UTF-8.
  • New: Support the immutable cache-control directive.
  • Fix: Don\u2019t crash when an HTTP/2 call is redirected while the connection is being shut down.
  • Fix: Don\u2019t drop headers of healthy streams that raced with GOAWAY frames. This bug would cause HTTP/2 streams to occasional hang when the connection was shutting down.
  • Fix: Honor OkHttpClient.retryOnConnectionFailure() when the response is a HTTP 408 Request Timeout. If retries are enabled, OkHttp will retry exactly once in response to a 408.
  • Fix: Don\u2019t crash when reading the empty HEAD response body if it specifies a Content-Length.
  • Fix: Don\u2019t crash if the thread is interrupted while reading the public suffix database.
  • Fix: Use relative resource path when loading the public suffix database. Loading the resource using a path relative to the class prevents conflicts when the OkHttp classes are relocated (shaded) by allowing multiple private copies of the database.
  • Fix: Accept cookies for URLs that have an IPv6 address for a host.
  • Fix: Don\u2019t log the protocol (HTTP/1.1, h2) in HttpLoggingInterceptor if the protocol isn\u2019t negotiated yet! Previously we\u2019d log HTTP/1.1 by default, and this was confusing.
  • Fix: Omit the message from MockWebServer\u2019s HTTP/2 :status header.
  • Fix: Handle \u2018Expect: 100 Continue\u2019 properly in MockWebServer.
"},{"location":"changelogs/changelog_3x/#version-381","title":"Version 3.8.1","text":"

2017-06-18

  • Fix: Recover gracefully from stale coalesced connections. We had a bug where connection coalescing (introduced in OkHttp 3.7.0) and stale connection recovery could interact to cause a NoSuchElementException crash in the RouteSelector.
"},{"location":"changelogs/changelog_3x/#version-380","title":"Version 3.8.0","text":"

2017-05-13

  • OkHttp now uses @Nullable to annotate all possibly-null values. We\u2019ve added a compile-time dependency on the JSR 305 annotations. This is a provided dependency and does not need to be included in your build configuration, .jar file, or .apk. We use @ParametersAreNonnullByDefault and all parameters and return types are never null unless explicitly annotated @Nullable.

  • Warning: this release is source-incompatible for Kotlin users. Nullability was previously ambiguous and lenient but now the compiler will enforce strict null checks.

  • New: The response message is now non-null. This is the \u201cNot Found\u201d in the status line \u201cHTTP 404 Not Found\u201d. If you are building responses programmatically (with new Response.Builder()) you must now always supply a message. An empty string \"\" is permitted. This value was never null on responses returned by OkHttp itself, and it was an old mistake to permit application code to omit a message.

  • The challenge\u2019s scheme and realm are now non-null. If you are calling new Challenge(scheme, realm) you must provide non-null values. These were never null in challenges created by OkHttp, but could have been null in application code that creates challenges.

  • New: The TlsVersion of a Handshake is now non-null. If you are calling Handshake.get() with a null TLS version, you must instead now provide a non-null TlsVersion. Cache responses persisted prior to OkHttp 3.0 did not store a TLS version; for these unknown values the handshake is defaulted to TlsVersion.SSL_3_0.

  • New: Upgrade to Okio 1.13.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.13.0</version>\n</dependency>\n\ncom.squareup.okio:okio:1.13.0\n
  • Fix: gracefully recover when Android 7.0\u2019s sockets throw an unexpected NullPointerException.

"},{"location":"changelogs/changelog_3x/#version-370","title":"Version 3.7.0","text":"

2017-04-15

  • OkHttp no longer recovers from TLS handshake failures by attempting a TLSv1 connection. The fallback was necessary for servers that implemented version negotiation incorrectly. Now that 99.99% of servers do it right this fallback is obsolete.
  • Fix: Do not honor cookies set on a public domain. Previously a malicious site could inject cookies on top-level domains like co.uk because our cookie parser didn\u2019t honor the public suffix list. Alongside this fix is a new API, HttpUrl.topPrivateDomain(), which returns the privately domain name if the URL has one.
  • Fix: Change MediaType.charset() to return null for unexpected charsets.
  • Fix: Don\u2019t skip cache invalidation if the invalidating response has no body.
  • Fix: Don\u2019t use a cryptographic random number generator for web sockets. Some Android devices implement SecureRandom incorrectly!
  • Fix: Correctly canonicalize IPv6 addresses in HttpUrl. This prevented OkHttp from trusting HTTPS certificates issued to certain IPv6 addresses.
  • Fix: Don\u2019t reuse connections after an unsuccessful Expect: 100-continue.
  • Fix: Handle either TLS_ or SSL_ prefixes for cipher suite names. This is necessary for IBM JVMs that use the SSL_ prefix exclusively.
  • Fix: Reject HTTP/2 data frames if the stream ID is 0.
  • New: Upgrade to Okio 1.12.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.12.0</version>\n</dependency>\n\ncom.squareup.okio:okio:1.12.0\n
  • New: Connection coalescing. OkHttp may reuse HTTP/2 connections across calls that share an IP address and HTTPS certificate, even if their domain names are different.

  • New: MockWebServer\u2019s RecordedRequest exposes the requested HttpUrl with getRequestUrl().
"},{"location":"changelogs/changelog_3x/#version-360","title":"Version 3.6.0","text":"

2017-01-29

  • Fix: Don\u2019t crash with a \u201ccache is closed\u201d error when there is an error initializing the cache.
  • Fix: Calling disconnect() on a connecting HttpUrlConnection could cause it to retry in an infinite loop! This regression was introduced in OkHttp 2.7.0.
  • Fix: Drop cookies that contain ASCII NULL and other bad characters. Previously such cookies would cause OkHttp to crash when they were included in a request.
  • Fix: Release duplicated multiplexed connections. If we concurrently establish connections to an HTTP/2 server, close all but the first connection.
  • Fix: Fail the HTTP/2 connection if first frame isn\u2019t SETTINGS.
  • Fix: Forbid spaces in header names.
  • Fix: Don\u2019t offer to do gzip if the request is partial.
  • Fix: MockWebServer is now usable with JUnit 5. That update broke the rules.
  • New: Support Expect: 100-continue as a request header. Callers can use this header to pessimistically hold off on transmitting a request body until a server gives the go-ahead.
  • New: Permit network interceptors to rewrite the host header for HTTP/2. This makes it possible to do domain fronting.
  • New: charset support for Credentials.basic().
"},{"location":"changelogs/changelog_3x/#version-350","title":"Version 3.5.0","text":"

2016-11-30

  • Web Sockets are now a stable feature of OkHttp. Since being introduced as a beta feature in OkHttp 2.3 our web socket client has matured. Connect to a server\u2019s web socket with OkHttpClient.newWebSocket(), send messages with send(), and receive messages with the WebSocketListener.

    The okhttp-ws submodule is no longer available and okhttp-ws artifacts from previous releases of OkHttp are not compatible with OkHttp 3.5. When upgrading to the new package please note that the WebSocket and WebSocketCall classes have been merged. Sending messages is now asynchronous and they may be enqueued before the web socket is connected.

  • OkHttp no longer attempts a direct connection if the system\u2019s HTTP proxy fails. This behavior was surprising because OkHttp was disregarding the user\u2019s specified configuration. If you need to customize proxy fallback behavior, implement your own java.net.ProxySelector.

  • Fix: Support TLSv1.3 on devices that support it.

  • Fix: Share pooled connections across equivalent OkHttpClient instances. Previous releases had a bug where a shared connection pool did not guarantee shared connections in some cases.

  • Fix: Prefer the server\u2019s response body on all conditional cache misses. Previously we would return the cached response\u2019s body if it had a newer Last-Modified date.
  • Fix: Update the stored timestamp on conditional cache hits.
  • New: Optimized HTTP/2 request header encoding. More headers are HPACK-encoded and string literals are now Huffman-encoded.
  • New: Expose Part headers and body in Multipart.
  • New: Make ResponseBody.string() and ResponseBody.charStream() BOM-aware. If your HTTP response body begins with a byte order mark it will be consumed and used to select a charset for the remaining bytes. Most applications should not need a byte order mark.

  • New: Upgrade to Okio 1.11.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.11.0</version>\n</dependency>\n\ncom.squareup.okio:okio:1.11.0\n
  • Fix: Avoid sending empty HTTP/2 data frames when there is no request body.

  • Fix: Add a leading . for better domain matching in JavaNetCookieJar.
  • Fix: Gracefully recover from HTTP/2 connection shutdowns at start of request.
  • Fix: Be lenient if a MediaType\u2019s character set is 'single-quoted'.
  • Fix: Allow horizontal tab characters in header values.
  • Fix: When parsing HTTP authentication headers permit challenge parameters in any order.
"},{"location":"changelogs/changelog_3x/#version-342","title":"Version 3.4.2","text":"

2016-11-03

  • Fix: Recover gracefully when an HTTP/2 connection is shutdown. We had a bug where shutdown HTTP/2 connections were considered usable. This caused infinite loops when calls attempted to recover.
"},{"location":"changelogs/changelog_3x/#version-341","title":"Version 3.4.1","text":"

2016-07-10

  • Fix a major bug in encoding HTTP headers. In 3.4.0 and 3.4.0-RC1 OkHttp had an off-by-one bug in our HPACK encoder. This bug could have caused the wrong headers to be emitted after a sequence of HTTP/2 requests! Everyone who is using OkHttp 3.4.0 or 3.4.0-RC1 should upgrade for this bug fix.
"},{"location":"changelogs/changelog_3x/#version-340","title":"Version 3.4.0","text":"

2016-07-08

  • New: Support dynamic table size changes to HPACK Encoder.
  • Fix: Use TreeMap in Headers.toMultimap(). This makes string lookups on the returned map case-insensitive.
  • Fix: Don\u2019t share the OkHttpClient\u2019s Dispatcher in HttpURLConnection.
"},{"location":"changelogs/changelog_3x/#version-340-rc1","title":"Version 3.4.0-RC1","text":"

2016-07-02

  • We\u2019ve rewritten HttpURLConnection and HttpsURLConnection. Previously we shared a single HTTP engine between two frontend APIs: HttpURLConnection and Call. With this release we\u2019ve rearranged things so that the HttpURLConnection frontend now delegates to the Call APIs internally. This has enabled substantial simplifications and optimizations in the OkHttp core for both frontends.

    For most HTTP requests the consequences of this change will be negligible. If your application uses HttpURLConnection.connect(), setFixedLengthStreamingMode(), or setChunkedStreamingMode(), OkHttp will now use a async dispatcher thread to establish the HTTP connection.

    We don\u2019t expect this change to have any behavior or performance consequences. Regardless, please exercise your OkUrlFactory and HttpURLConnection code when applying this update.

  • Cipher suites may now have arbitrary names. Previously CipherSuite was a Java enum and it was impossible to define new cipher suites without first upgrading OkHttp. With this change it is now a regular Java class with enum-like constants. Application code that uses enum methods on cipher suites (ordinal(), name(), etc.) will break with this change.

  • Fix: CertificatePinner now matches canonicalized hostnames. Previously this was case sensitive. This change should also make it easier to configure certificate pinning for internationalized domain names.

  • Fix: Don\u2019t crash on non-ASCII ETag headers. Previously OkHttp would reject these headers when validating a cached response.
  • Fix: Don\u2019t allow remote peer to arbitrarily size the HPACK decoder dynamic table.
  • Fix: Honor per-host configuration in Android\u2019s network security config. Previously disabling cleartext for any host would disable cleartext for all hosts. Note that this setting is only available on Android 24+.
  • New: HPACK compression is now dynamic. This should improve performance when transmitting request headers over HTTP/2.
  • New: Dispatcher.setIdleCallback() can be used to signal when there are no calls in flight. This is useful for testing with Espresso.
  • New: Upgrade to Okio 1.9.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.9.0</version>\n</dependency>\n
"},{"location":"changelogs/changelog_3x/#version-331","title":"Version 3.3.1","text":"

2016-05-28

  • Fix: The plaintext check in HttpLoggingInterceptor incorrectly classified newline characters as control characters. This is fixed.
  • Fix: Don\u2019t crash reading non-ASCII characters in HTTP/2 headers or in cached HTTP headers.
  • Fix: Retain the response body when an attempt to open a web socket returns a non-101 response code.
"},{"location":"changelogs/changelog_3x/#version-330","title":"Version 3.3.0","text":"

2016-05-24

  • New: Response.sentRequestAtMillis() and receivedResponseAtMillis() methods track the system\u2019s local time when network calls are made. These replace the OkHttp-Sent-Millis and OkHttp-Received-Millis headers that were present in earlier versions of OkHttp.
  • New: Accept user-provided trust managers in OkHttpClient.Builder. This allows OkHttp to satisfy its TLS requirements directly. Otherwise OkHttp will use reflection to extract the TrustManager from the SSLSocketFactory.
  • New: Support prerelease Java 9. This gets ALPN from the platform rather than relying on the alpn-boot bootclasspath override.
  • New: HttpLoggingInterceptor now logs connection failures.
  • New: Upgrade to Okio 1.8.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.8.0</version>\n</dependency>\n
  • Fix: Gracefully recover from a failure to rebuild the cache journal.

  • Fix: Don\u2019t corrupt cache entries when a cache entry is evicted while it is being updated.
  • Fix: Make logging more consistent throughout OkHttp.
  • Fix: Log plaintext bodies only. This uses simple heuristics to differentiate text from other data.
  • Fix: Recover from REFUSED_STREAM errors in HTTP/2. This should improve interoperability with Nginx 1.10.0, which refuses streams created before HTTP/2 settings have been acknowledged.
  • Fix: Improve recovery from failed routes.
  • Fix: Accommodate tunneling proxies that close the connection after an auth challenge.
  • Fix: Use the proxy authenticator when authenticating HTTP proxies. This regression was introduced in OkHttp 3.0.
  • Fix: Fail fast if network interceptors transform the response body such that closing it doesn\u2019t also close the underlying stream. We had a bug where OkHttp would attempt to reuse a connection but couldn\u2019t because it was still held by a prior request.
  • Fix: Ensure network interceptors always have access to the underlying connection.
  • Fix: Use X509TrustManagerExtensions on Android 17+.
  • Fix: Unblock waiting dispatchers on MockWebServer shutdown.
"},{"location":"changelogs/changelog_3x/#version-320","title":"Version 3.2.0","text":"

2016-02-25

  • Fix: Change the certificate pinner to always build full chains. This prevents a potential crash when using certificate pinning with the Google Play Services security provider.
  • Fix: Make IPv6 request lines consistent with Firefox and Chrome.
  • Fix: Recover gracefully when trimming the response cache fails.
  • New: Add multiple path segments using a single string in HttpUrl.Builder.
  • New: Support SHA-256 pins in certificate pinner.
"},{"location":"changelogs/changelog_3x/#version-312","title":"Version 3.1.2","text":"

2016-02-10

  • Fix: Don\u2019t crash when finding the trust manager on Robolectric. We attempted to detect the host platform and got confused because Robolectric looks like Android but isn\u2019t!
  • Fix: Change CertificatePinner to skip sanitizing the certificate chain when no certificates were pinned. This avoids an SSL failure in insecure \u201ctrust everyone\u201d configurations, such as when talking to a development HTTPS server that has a self-signed certificate.
"},{"location":"changelogs/changelog_3x/#version-311","title":"Version 3.1.1","text":"

2016-02-07

  • Fix: Don\u2019t crash when finding the trust manager if the Play Services (GMS) security provider is installed.
  • Fix: The previous release introduced a performance regression on Android, caused by looking up CA certificates. This is now fixed.
"},{"location":"changelogs/changelog_3x/#version-310","title":"Version 3.1.0","text":"

2016-02-06

  • New: WebSockets now defer some writes. This should improve performance for some applications.
  • New: Override equals() and hashCode() in our new cookie class. This class now defines equality by value rather than by reference.
  • New: Handle 408 responses by retrying the request. This allows servers to direct clients to retry rather than failing permanently.
  • New: Expose the framed protocol in Connection. Previously this would return the application-layer protocol (HTTP/1.1 or HTTP/1.0); now it always returns the wire-layer protocol (HTTP/2, SPDY/3.1, or HTTP/1.1).
  • Fix: Permit the trusted CA root to be pinned by CertificatePinner.
  • Fix: Silently ignore unknown HTTP/2 settings. Previously this would cause the entire connection to fail.
  • Fix: Don\u2019t crash on unexpected charsets in the logging interceptor.
  • Fix: OkHttpClient is now non-final for the benefit of mocking frameworks. Mocking sophisticated classes like OkHttpClient is fragile and you shouldn\u2019t do it. But if that\u2019s how you want to live your life we won\u2019t stand in your way!
"},{"location":"changelogs/changelog_3x/#version-301","title":"Version 3.0.1","text":"

2016-01-14

  • Rollback OSGi support. This was causing library jars to include more classes than expected, which interfered with Gradle builds.
"},{"location":"changelogs/changelog_3x/#version-300","title":"Version 3.0.0","text":"

2016-01-13

This release commits to a stable 3.0 API. Read the 3.0.0-RC1 changes for advice on upgrading from 2.x to 3.x.

  • The Callback interface now takes a Call. This makes it easier to check if the call was canceled from within the callback. When migrating async calls to this new API, Call is now the first parameter for both onResponse() and onFailure().
  • Fix: handle multiple cookies in JavaNetCookieJar on Android.
  • Fix: improve the default HTTP message in MockWebServer responses.
  • Fix: don\u2019t leak file handles when a conditional GET throws.
  • Fix: Use charset specified by the request body content type in OkHttp\u2019s logging interceptor.
  • Fix: Don\u2019t eagerly release pools on cache hits.
  • New: Make OkHttp OSGi ready.
  • New: Add already-implemented interfaces Closeable and Flushable to the cache.
"},{"location":"changelogs/changelog_3x/#version-300-rc1","title":"Version 3.0.0-RC1","text":"

2016-01-02

OkHttp 3 is a major release focused on API simplicity and consistency. The API changes are numerous but most are cosmetic. Applications should be able to upgrade from the 2.x API to the 3.x API mechanically and without risk.

Because the release includes breaking API changes, we\u2019re changing the project\u2019s package name from com.squareup.okhttp to okhttp3. This should make it possible for large applications to migrate incrementally. The Maven group ID is now com.squareup.okhttp3. For an explanation of this strategy, see Jake Wharton\u2019s post, Java Interoperability Policy for Major Version Updates.

This release obsoletes OkHttp 2.x, and all code that uses OkHttp\u2019s com.squareup.okhttp package should upgrade to the okhttp3 package. Libraries that depend on OkHttp should upgrade quickly to prevent applications from being stuck on the old version.

  • There is no longer a global singleton connection pool. In OkHttp 2.x, all OkHttpClient instances shared a common connection pool by default. In OkHttp 3.x, each new OkHttpClient gets its own private connection pool. Applications should avoid creating many connection pools as doing so prevents connection reuse. Each connection pool holds its own set of connections alive so applications that have many pools also risk exhausting memory!

    The best practice in OkHttp 3 is to create a single OkHttpClient instance and share it throughout the application. Requests that needs a customized client should call OkHttpClient.newBuilder() on that shared instance. This allows customization without the drawbacks of separate connection pools.

  • OkHttpClient is now stateless. In the 2.x API OkHttpClient had getters and setters. Internally each request was forced to make its own complete snapshot of the OkHttpClient instance to defend against racy configuration changes. In 3.x, OkHttpClient is now stateless and has a builder. Note that this class is not strictly immutable as it has stateful members like the connection pool and cache.

  • Get and Set prefixes are now avoided. With ubiquitous builders throughout OkHttp these accessor prefixes aren\u2019t necessary. Previously OkHttp used get and set prefixes sporadically which make the API inconsistent and awkward to explore.

  • OkHttpClient now implements the new Call.Factory interface. This interface will make your code easier to test. When you test code that makes HTTP requests, you can use this interface to replace the real OkHttpClient with your own mocks or fakes.

    The interface will also let you use OkHttp\u2019s API with another HTTP client\u2019s implementation. This is useful in sandboxed environments like Google App Engine.

  • OkHttp now does cookies. We\u2019ve replaced java.net.CookieHandler with a new interface, CookieJar and added our own Cookie model class. This new cookie follows the latest RFC and supports the same cookie attributes as modern web browsers.

  • Form and Multipart bodies are now modeled. We\u2019ve replaced the opaque FormEncodingBuilder with the more powerful FormBody and FormBody.Builder combo. Similarly we\u2019ve upgraded MultipartBuilder into MultipartBody, MultipartBody.Part, and MultipartBody.Builder.

  • The Apache HTTP client and HttpURLConnection APIs are deprecated. They continue to work as they always have, but we\u2019re moving everything to the new OkHttp 3 API. The okhttp-apache and okhttp-urlconnection modules should be only be used to accelerate a transition to OkHttp\u2019s request/response API. These deprecated modules will be dropped in an upcoming OkHttp 3.x release.

  • Canceling batches of calls is now the application\u2019s responsibility. The API to cancel calls by tag has been removed and replaced with a more general mechanism. The dispatcher now exposes all in-flight calls via its runningCalls() and queuedCalls() methods. You can write code that selects calls by tag, host, or whatever, and invokes Call.cancel() on the ones that are no longer necessary.

  • OkHttp no longer uses the global java.net.Authenticator by default. We\u2019ve changed our Authenticator interface to authenticate web and proxy authentication failures through a single method. An adapter for the old authenticator is available in the okhttp-urlconnection module.

  • Fix: Don\u2019t throw IOException on ResponseBody.contentLength() or close().

  • Fix: Never throw converting an HttpUrl to a java.net.URI. This changes the uri() method to handle malformed percent-escapes and characters forbidden by URI.
  • Fix: When a connect times out, attempt an alternate route. Previously route selection was less efficient when differentiating failures.
  • New: Response.peekBody() lets you access the response body without consuming it. This may be handy for interceptors!
  • New: HttpUrl.newBuilder() resolves a link to a builder.
  • New: Add the TLS version to the Handshake.
  • New: Drop Request.uri() and Request#urlString(). Just use Request.url().uri() and Request.url().toString().
  • New: Add URL to HTTP response logging.
  • New: Make HttpUrl the blessed URL method of Request.
"},{"location":"changelogs/changelog_3x/#version-2x","title":"Version 2.x","text":"

Change log

"},{"location":"changelogs/changelog_4x/","title":"OkHttp 4.x Change Log","text":""},{"location":"changelogs/changelog_4x/#version-4120","title":"Version 4.12.0","text":"

2023-10-16

  • Fix: Don\u2019t hang taking headers for HTTP 103 responses.

  • Fix: Recover gracefully when a cache entry\u2019s certificate is corrupted.

  • Fix: Fail permanently when there\u2019s a failure loading the bundled public suffix database. This is the dataset that powers HttpUrl.topPrivateDomain().

  • Fix: Immediately update the connection\u2019s flow control window instead of waiting for the receiving stream to process it.

    This change may increase OkHttp\u2019s memory use for applications that make many concurrent HTTP calls and that can receive data faster than they can process it. Previously, OkHttp limited HTTP/2 to 16 MiB of unacknowledged data per connection. With this fix there is a limit of 16 MiB of unacknowledged data per stream and no per-connection limit.

  • Fix: Don\u2019t operate on a connection after it\u2019s been returned to the pool. This race occurred on failed web socket connection attempts.

  • Upgrade: Okio 3.6.0.

  • Upgrade: Kotlin 1.8.21.

"},{"location":"changelogs/changelog_4x/#version-4110","title":"Version 4.11.0","text":"

2023-04-22

  • Fix: Don\u2019t fail the call when the response code is \u2018HTTP 102 Processing\u2019 or \u2018HTTP 103 Early Hints\u2019.
  • Fix: Read the response even if writing the request fails. This means you\u2019ll get a proper HTTP response even if the server rejects your request body.
  • Fix: Use literal IP addresses directly rather than passing them to DnsOverHttps.
  • Fix: Embed Proguard rules to prevent warnings from tools like DexGuard and R8. These warnings were triggered by OkHttp\u2019s feature detection for TLS packages like org.conscrypt, org.bouncycastle, and org.openjsse.
  • Upgrade: Explicitly depend on kotlin-stdlib-jdk8. This fixes a problem with dependency locking. That\u2019s a potential security vulnerability, tracked as CVE-2022-24329.
  • Upgrade: publicsuffix.org data. This powers HttpUrl.topPrivateDomain(). It\u2019s also how OkHttp knows which domains can share cookies with one another.
  • Upgrade: Okio 3.2.0.
"},{"location":"changelogs/changelog_4x/#version-4100","title":"Version 4.10.0","text":"

2022-06-12

  • Upgrade: Kotlin 1.6.20.
  • Upgrade: Okio 3.0.0.
  • Fix: Recover gracefully when Android\u2019s NativeCrypto crashes with \"ssl == null\". This occurs when OkHttp retrieves ALPN state on a closed connection.
"},{"location":"changelogs/changelog_4x/#version-493","title":"Version 4.9.3","text":"

2021-11-21

  • Fix: Don\u2019t fail HTTP/2 responses if they complete before a RST_STREAM is sent.
"},{"location":"changelogs/changelog_4x/#version-492","title":"Version 4.9.2","text":"

2021-09-30

  • Fix: Don\u2019t include potentially-sensitive header values in Headers.toString() or exceptions. This applies to Authorization, Cookie, Proxy-Authorization, and Set-Cookie headers.
  • Fix: Don\u2019t crash with an InaccessibleObjectException when running on JDK17+ with strong encapsulation enabled.
  • Fix: Strictly verify hostnames used with OkHttp\u2019s HostnameVerifier. Programs that make direct manual calls to HostnameVerifier could be defeated if the hostnames they pass in are not strictly ASCII. This issue is tracked as CVE-2021-0341.
"},{"location":"changelogs/changelog_4x/#version-491","title":"Version 4.9.1","text":"

2021-01-30

  • Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads concurrently close an SSL socket. This would have appeared in crash logs as NullPointerException: bio == null.
"},{"location":"changelogs/changelog_4x/#version-490","title":"Version 4.9.0","text":"

2020-09-11

With this release, okhttp-tls no longer depends on Bouncy Castle and doesn\u2019t install the Bouncy Castle security provider. If you still need it, you can do it yourself:

Security.addProvider(BouncyCastleProvider())\n

You will also need to configure this dependency:

dependencies {\n  implementation \"org.bouncycastle:bcprov-jdk15on:1.65\"\n}\n
  • Upgrade: Kotlin 1.4.10. We now use Kotlin 1.4.x functional interfaces for Authenticator, Interceptor, and others.
  • Upgrade: Build with Conscrypt 2.5.1.
"},{"location":"changelogs/changelog_4x/#version-481","title":"Version 4.8.1","text":"

2020-08-06

  • Fix: Don\u2019t crash in HeldCertificate.Builder when creating certificates on older versions of Android, including Android 6. We were using a feature of SimpleDateFormat that wasn\u2019t available in those versions!
"},{"location":"changelogs/changelog_4x/#version-480","title":"Version 4.8.0","text":"

2020-07-11

  • New: Change HeldCertificate.Builder to use its own ASN.1 certificate encoder. This is part of our effort to remove the okhttp-tls module\u2019s dependency on Bouncy Castle. We think Bouncy Castle is great! But it\u2019s a large dependency (6.5 MiB) and its security provider feature impacts VM-wide behavior.

  • New: Reduce contention for applications that make a very high number of concurrent requests. Previously OkHttp used its connection pool as a lock when making changes to connections and calls. With this change each connection is locked independently.

  • Upgrade: Okio 2.7.0.

    implementation(\"com.squareup.okio:okio:2.7.0\")\n
  • Fix: Avoid log messages like \u201cDidn\u2019t find class org.conscrypt.ConscryptHostnameVerifier\u201d when detecting the TLS capabilities of the host platform.

  • Fix: Don\u2019t crash in HttpUrl.topPrivateDomain() when the hostname is malformed.

  • Fix: Don\u2019t attempt Brotli decompression if the response body is empty.

"},{"location":"changelogs/changelog_4x/#version-472","title":"Version 4.7.2","text":"

2020-05-20

  • Fix: Don\u2019t crash inspecting whether the host platform is JVM or Android. With 4.7.0 and 4.7.1 we had a crash IllegalArgumentException: Not a Conscrypt trust manager because we depended on initialization order of companion objects.
"},{"location":"changelogs/changelog_4x/#version-471","title":"Version 4.7.1","text":"

2020-05-18

  • Fix: Pass the right arguments in the trust manager created for addInsecureHost(). Without the fix insecure hosts crash with an IllegalArgumentException on Android.
"},{"location":"changelogs/changelog_4x/#version-470","title":"Version 4.7.0","text":"

2020-05-17

  • New: HandshakeCertificates.Builder.addInsecureHost() makes it easy to turn off security in private development environments that only carry test data. Prefer this over creating an all-trusting TrustManager because only hosts on the allowlist are insecure. From our DevServer sample:

    val clientCertificates = HandshakeCertificates.Builder()\n    .addPlatformTrustedCertificates()\n    .addInsecureHost(\"localhost\")\n    .build()\n\nval client = OkHttpClient.Builder()\n    .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager)\n    .build()\n
  • New: Add cacheHit, cacheMiss, and cacheConditionalHit() events to EventListener. Use these in logs, metrics, and even test cases to confirm your cache headers are configured as expected.

  • New: Constant string okhttp3.VERSION. This is a string like \u201c4.5.0-RC1\u201d, \u201c4.5.0\u201d, or \u201c4.6.0-SNAPSHOT\u201d indicating the version of OkHttp in the current runtime. Use this to include the OkHttp version in custom User-Agent headers.

  • Fix: Don\u2019t crash when running as a plugin in Android Studio Canary 4.1. To enable platform-specific TLS features OkHttp must detect whether it\u2019s running in a JVM or in Android. The upcoming Android Studio runs in a JVM but has classes from Android and that confused OkHttp!

  • Fix: Include the header Accept: text/event-stream for SSE calls. This header is not added if the request already contains an Accept header.

  • Fix: Don\u2019t crash with a NullPointerException if a server sends a close while we\u2019re sending a ping. OkHttp had a race condition bug.

"},{"location":"changelogs/changelog_4x/#version-460","title":"Version 4.6.0","text":"

2020-04-28

  • Fix: Follow HTTP 307 and 308 redirects on methods other than GET and POST. We\u2019re reluctant to change OkHttp\u2019s behavior in handling common HTTP status codes, but this fix is overdue! The new behavior is now consistent with RFC 7231, which is newer than OkHttp itself. If you want this update with the old behavior use this interceptor.

  • Fix: Don\u2019t crash decompressing web sockets messages. We had a bug where we assumed deflated bytes in would always yield deflated bytes out and this isn\u2019t always the case!

  • Fix: Reliably update and invalidate the disk cache on windows. As originally designed our internal DiskLruCache assumes an inode-like file system, where it\u2019s fine to delete files that are currently being read or written. On Windows the file system forbids this so we must be more careful when deleting and renaming files.

  • Fix: Don\u2019t crash on Java 8u252 which introduces an API previously found only on Java 9 and above. See Jetty\u2019s overview of the API change and its consequences.

  • New: MultipartReader is a streaming decoder for MIME multipart (RFC 2045) messages. It complements MultipartBody which is our streaming encoder.

    val response: Response = call.execute()\nval multipartReader = MultipartReader(response.body!!)\n\nmultipartReader.use {\n  while (true) {\n    val part = multipartReader.nextPart() ?: break\n    process(part.headers, part.body)\n  }\n}\n
  • New: MediaType.parameter() gets a parameter like boundary from a media type like multipart/mixed; boundary=\"abc\".

  • New: Authenticator.JAVA_NET_AUTHENTICATOR forwards authentication requests to java.net.Authenticator. This obsoletes JavaNetAuthenticator in the okhttp-urlconnection module.

  • New: CertificatePinner now offers an API for inspecting the configured pins.

  • Upgrade: Okio 2.6.0.

    implementation(\"com.squareup.okio:okio:2.6.0\")\n
  • Upgrade: publicsuffix.org data. This powers HttpUrl.topPrivateDomain(). It\u2019s also how OkHttp knows which domains can share cookies with one another.

  • Upgrade: Bouncy Castle 1.65. This dependency is required by the okhttp-tls module.

  • Upgrade: Kotlin 1.3.71.

"},{"location":"changelogs/changelog_4x/#version-450","title":"Version 4.5.0","text":"

2020-04-06

This release fixes a severe bug where OkHttp incorrectly detected and recovered from unhealthy connections. Stale or canceled connections were incorrectly attempted when they shouldn\u2019t have been, leading to rare cases of infinite retries. Please upgrade to this release!

  • Fix: don\u2019t return stale DNS entries in DnsOverHttps. We were caching DNS results indefinitely rather than the duration specified in the response\u2019s cache-control header.
  • Fix: Verify certificate IP addresses in canonical form. When a server presents a TLS certificate containing an IP address we must match that address against the URL\u2019s IP address, even when the two addresses are encoded differently, such as 192.168.1.1 and 0::0:0:FFFF:C0A8:101. Note that OkHttp incorrectly rejected valid certificates resulting in a failure to connect; at no point were invalid certificates accepted.
  • New: OkHttpClient.Builder.minWebSocketMessageToCompress() configures a threshold for compressing outbound web socket messages. Configure this with 0L to always compress outbound messages and Long.MAX_VALUE to never compress outbound messages. The default is 1024L which compresses messages of size 1 KiB and larger. (Inbound messages are compressed or not based on the web socket server\u2019s configuration.)
  • New: Defer constructing Inflater and Deflater instances until they are needed. This saves memory if web socket compression is negotiated but not used.
"},{"location":"changelogs/changelog_4x/#version-450-rc1","title":"Version 4.5.0-RC1","text":"

2020-03-17

This release candidate turns on web socket compression.

The spec includes a sophisticated mechanism for client and server to negotiate compression features. We strive to offer great performance in our default configuration and so we\u2019re making compression the default for everyone starting with this release candidate.

Please be considerate of your servers and their operators as you roll out this release. Compression saves bandwidth but it costs CPU and memory! If you run into a problem you may need to adjust or disable the permessage-deflate compression settings on your server.

Note that OkHttp won\u2019t use compression when sending messages smaller than 1 KiB.

  • Fix: Don\u2019t crash when the URL hostname contains an underscore on Android.
  • Fix: Change HTTP/2 to use a daemon thread for its socket reader. If you\u2019ve ever seen a command line application hang after all of the work is done, it may be due to a non-daemon thread like this one.
  • New: Include suppressed exceptions when all routes to a target service fail.
"},{"location":"changelogs/changelog_4x/#version-441","title":"Version 4.4.1","text":"

2020-03-08

  • Fix: Don\u2019t reuse a connection on redirect if certs match but DNS does not. For better locality and performance OkHttp attempts to use the same pooled connection across redirects and follow-ups. It independently shares connections when the IP addresses and certificates match, even if the host names do not. In 4.4.0 we introduced a regression where we shared a connection when certificates matched but the DNS addresses did not. This would only occur when following a redirect from one hostname to another, and where both hosts had common certificates.

  • Fix: Don\u2019t fail on a redirect when a client has configured a \u2018trust everything\u2019 trust manager. Typically this would cause certain redirects to fail in debug and development configurations.

"},{"location":"changelogs/changelog_4x/#version-440","title":"Version 4.4.0","text":"

2020-02-17

  • New: Support canceled() as an event that can be observed by EventListener. This should be useful for splitting out canceled calls in metrics.

  • New: Publish a bill of materials (BOM) for OkHttp. Depend on this from Gradle or Maven to keep all of your OkHttp artifacts on the same version, even if they\u2019re declared via transitive dependencies. You can even omit versions when declaring other OkHttp dependencies.

    dependencies {\n   api(platform(\"com.squareup.okhttp3:okhttp-bom:4.4.0\"))\n   api(\"com.squareup.okhttp3:okhttp\")              // No version!\n   api(\"com.squareup.okhttp3:logging-interceptor\") // No version!\n}\n
  • New: Upgrade to Okio 2.4.3.

    implementation(\"com.squareup.okio:okio:2.4.3\")\n
  • Fix: Limit retry attempts for HTTP/2 REFUSED_STREAM and CANCEL failures.

  • Fix: Retry automatically when incorrectly sharing a connection among multiple hostnames. OkHttp shares connections when hosts share both IP addresses and certificates, such as squareup.com and www.squareup.com. If a server refuses such sharing it will return HTTP 421 and OkHttp will automatically retry on an unshared connection.
  • Fix: Don\u2019t crash if a TLS tunnel\u2019s response body is truncated.
  • Fix: Don\u2019t track unusable routes beyond their usefulness. We had a bug where we could track certain bad routes indefinitely; now we only track the ones that could be necessary.
  • Fix: Defer proxy selection until a proxy is required. This saves calls to ProxySelector on calls that use a pooled connection.
"},{"location":"changelogs/changelog_4x/#version-431","title":"Version 4.3.1","text":"

2020-01-07

  • Fix: Don\u2019t crash with a NullPointerException when a web socket is closed before it connects. This regression was introduced in OkHttp 4.3.0.
  • Fix: Don\u2019t crash with an IllegalArgumentException when using custom trust managers on Android 10. Android uses reflection to look up a magic checkServerTrusted() method and we didn\u2019t have it.
  • Fix: Explicitly specify the remote server name when making HTTPS connections on Android 5. In 4.3.0 we introduced a regression where server name indication (SNI) was broken on Android 5.
"},{"location":"changelogs/changelog_4x/#version-430","title":"Version 4.3.0","text":"

2019-12-31

  • Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact the stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after a stream timeout to determine whether the connection should remain eligible for pooling.

  • Fix: Don\u2019t call EventListener.responseHeadersStart() or responseBodyStart() until bytes have been received. Previously these events were incorrectly sent too early, when OkHttp was ready to read the response headers or body, which mislead tracing tools. Note that the responseFailed() event always used to follow one of these events; now it may be sent without them.

  • New: Upgrade to Kotlin 1.3.61.

  • New: Match any number of subdomains with two asterisks in CertificatePinner. For example, **.squareup.com matches us-west.www.squareup.com, www.squareup.com and squareup.com.

  • New: Share threads more aggressively between OkHttp\u2019s HTTP/2 connections, connection pool, web sockets, and cache. OkHttp has a new internal task runner abstraction for managed task scheduling. In your debugger you will see new thread names and more use of daemon threads.

  • Fix: Don\u2019t drop callbacks on unexpected exceptions. When an interceptor throws an unchecked exception the callback is now notified that the call was canceled. The exception is still sent to the uncaught exception handler for reporting and recovery.

  • Fix: Un-deprecate MockResponse.setHeaders() and other setters. These were deprecated in OkHttp 4.0 but that broke method chaining for Java callers.

  • Fix: Don\u2019t crash on HTTP/2 HEAD requests when the Content-Length header is present but is not consistent with the length of the response body.

  • Fix: Don\u2019t crash when converting a HttpUrl instance with an unresolvable hostname to a URI. The new behavior strips invalid characters like \" and { from the hostname before converting.

  • Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior between Kotlin\u2019s assert() and Java\u2019s assert(). (Kotlin always evaluates the argument; Java only does when assertions are enabled.)

  • Fix: Honor RequestBody.isOneShot() in HttpLoggingInterceptor.

"},{"location":"changelogs/changelog_4x/#version-422","title":"Version 4.2.2","text":"

2019-10-06

  • Fix: When closing a canceled HTTP/2 stream, don\u2019t send the END_STREAM flag. This could cause the server to incorrectly interpret the stream as having completed normally. This is most useful when a request body needs to cancel its own call.
"},{"location":"changelogs/changelog_4x/#version-421","title":"Version 4.2.1","text":"

2019-10-02

  • Fix: In 4.1.0 we introduced a performance regression that prevented connections from being pooled in certain situations. We have good test coverage for connection pooling but we missed this because it only occurs if you have proxy configured and you share a connection pool among multiple OkHttpClient instances.

    This particularly-subtle bug was caused by us assigning each OkHttpClient instance its own NullProxySelector when an explicit proxy is configured. But we don\u2019t share connections when the proxy selectors are different. Ugh!

"},{"location":"changelogs/changelog_4x/#version-420","title":"Version 4.2.0","text":"

2019-09-10

  • New: API to decode a certificate and private key to create a HeldCertificate. This accepts a string containing both a certificate and PKCS #8-encoded private key.

    val heldCertificate = HeldCertificate.decode(\"\"\"\n    |-----BEGIN CERTIFICATE-----\n    |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n    |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n    |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n    |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n    |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n    |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n    |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n    |yyaoEufLKVXhrTQhRfodTeigi4RX\n    |-----END CERTIFICATE-----\n    |-----BEGIN PRIVATE KEY-----\n    |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n    |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n    |-----END PRIVATE KEY-----\n    \"\"\".trimMargin())\nval handshakeCertificates = HandshakeCertificates.Builder()\n    .heldCertificate(heldCertificate)\n    .build()\nval server = MockWebServer()\nserver.useHttps(handshakeCertificates.sslSocketFactory(), false)\n

    Get these strings with HeldCertificate.certificatePem() and privateKeyPkcs8Pem().

  • Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by the certificate that follows and the last certificate is signed by a trusted root.

  • Fix: Don\u2019t lose HTTP/2 flow control bytes when incoming data races with a stream close. If this happened enough then eventually the connection would stall.

  • Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to fail the call.

"},{"location":"changelogs/changelog_4x/#version-411","title":"Version 4.1.1","text":"

2019-09-05

  • Fix: Don\u2019t drop repeated headers when validating cached responses. In our Kotlin upgrade we introduced a regression where we iterated the number of unique header names rather than then number of unique headers. If you\u2019re using OkHttp\u2019s response cache this may impact you.
"},{"location":"changelogs/changelog_4x/#version-410","title":"Version 4.1.0","text":"

2019-08-12

  • OkHttp\u2019s new okhttp-brotli module implements Brotli compression. Install the interceptor to enable Brotli compression, which compresses 5-20% smaller than gzip.

    val client = OkHttpClient.Builder()\n    .addInterceptor(BrotliInterceptor)\n    .build()\n

    This artifact has a dependency on Google\u2019s Brotli decoder (95 KiB).

  • New: EventListener.proxySelectStart(), proxySelectEnd() events give visibility into the proxy selection process.

  • New: Response.byteString() reads the entire response into memory as a byte string.
  • New: OkHttpClient.x509TrustManager accessor.
  • New: Permit new WebSocket response codes: 1012 (Service Restart), 1013 (Try Again Later), and 1014 (invalid response from the upstream).
  • New: Build with Kotlin 1.3.41, BouncyCastle 1.62, and Conscrypt 2.2.1.
  • Fix: Recover gracefully when a coalesced connection immediately goes unhealthy.
  • Fix: Defer the SecurityException when looking up the default proxy selector.
  • Fix: Don\u2019t use brackets formatting IPv6 host names in MockWebServer.
  • Fix: Don\u2019t permit cache iterators to remove entries that are being written.
"},{"location":"changelogs/changelog_4x/#version-401","title":"Version 4.0.1","text":"

2019-07-10

  • Fix: Tolerate null-hostile lists in public API. Lists created with List.of(...) don\u2019t like it when you call contains(null) on them!
  • Fix: Retain binary-compatibility in okhttp3.internal.HttpHeaders.hasBody(). Some unscrupulous coders call this and we don\u2019t want their users to suffer.
"},{"location":"changelogs/changelog_4x/#version-400","title":"Version 4.0.0","text":"

2019-06-26

This release upgrades OkHttp to Kotlin. We tried our best to make fast and safe to upgrade from OkHttp 3.x. We wrote an upgrade guide to help with the migration and a blog post to explain it.

  • Fix: Target Java 8 bytecode for Java and Kotlin.
"},{"location":"changelogs/changelog_4x/#version-400-rc3","title":"Version 4.0.0-RC3","text":"

2019-06-24

  • Fix: Retain binary-compatibility in okhttp3.internal.HttpMethod. Naughty third party SDKs import this and we want to ease upgrades for their users.
"},{"location":"changelogs/changelog_4x/#version-400-rc2","title":"Version 4.0.0-RC2","text":"

2019-06-21

  • New: Require Kotlin 1.3.40.
  • New: Change the Kotlin API from File.toRequestBody() to File.asRequestBody() and BufferedSource.toResponseBody() to BufferedSource.asResponseBody(). If the returned value is a view of what created it, we use as.
  • Fix: Permit response codes of zero for compatibility with OkHttp 3.x.
  • Fix: Change the return type of MockWebServer.takeRequest() to be nullable.
  • Fix: Make Call.clone() public to Kotlin callers.
"},{"location":"changelogs/changelog_4x/#version-400-rc1","title":"Version 4.0.0-RC1","text":"

2019-06-03

  • First stable preview of OkHttp 4.
"},{"location":"changelogs/changelog_4x/#version-3x","title":"Version 3.x","text":"

Change log

"},{"location":"changelogs/upgrading_to_okhttp_4/","title":"Upgrading to OkHttp 4","text":"

OkHttp 4.x upgrades our implementation language from Java to Kotlin and keeps everything else the same. We\u2019ve chosen Kotlin because it gives us powerful new capabilities while integrating closely with Java.

We spent a lot of time and energy on retaining strict compatibility with OkHttp 3.x. We\u2019re even keeping the package name the same: okhttp3!

There are three kinds of compatibility we\u2019re tracking:

  • Binary compatibility is the ability to compile a program against OkHttp 3.x, and then to run it against OkHttp 4.x. We\u2019re using the excellent japicmp library via its Gradle plugin to enforce binary compatibility.

  • Java source compatibility is the ability to upgrade Java uses of OkHttp 3.x to 4.x without changing .java files.

  • Kotlin source compatibility is the ability to upgrade Kotlin uses of OkHttp 3.x to 4.x without changing .kt files.

With a few small exceptions (below), OkHttp 4.x is both binary- and Java source-compatible with OkHttp 3.x. You can use an OkHttp 4.x .jar file with applications or libraries built for OkHttp 3.x.

OkHttp is not source-compatible for Kotlin callers, but upgrading should be automatic thanks to Kotlin\u2019s powerful deprecation features. Most developers should be able to use IntelliJ\u2019s Code Cleanup for a safe and fast upgrade.

"},{"location":"changelogs/upgrading_to_okhttp_4/#backwards-incompatible-changes","title":"Backwards-Incompatible Changes","text":""},{"location":"changelogs/upgrading_to_okhttp_4/#okhttpclient-final-methods","title":"OkHttpClient final methods","text":"

OkHttpClient has 26 accessors like interceptors() and writeTimeoutMillis() that were non-final in OkHttp 3.x and are final in 4.x. These were made non-final for use with mocking frameworks like Mockito. We believe subtyping OkHttpClient is the wrong way to test with OkHttp. If you must, mock Call.Factory which is the interface that OkHttpClient implements.

"},{"location":"changelogs/upgrading_to_okhttp_4/#internal-api-changes","title":"Internal API changes","text":"

The okhttp3.internal package is not a published API and we change it frequently without warning. Depending on code in this package is bad and will cause you problems with any upgrade! But the 4.x will be particularly painful to naughty developers that import from this package! We changed a lot to take advantage of sweet Kotlin features.

"},{"location":"changelogs/upgrading_to_okhttp_4/#credentialsbasic","title":"Credentials.basic()","text":"

The username and password parameters to Credentials.basic() are now non-null strings. In OkHttp 3.x, null would yield a username or password of \u201cnull\u201d.

"},{"location":"changelogs/upgrading_to_okhttp_4/#httpurlqueryparametervalues","title":"HttpUrl.queryParameterValues()","text":"

The return type of HttpUrl.queryParameterValues() is List<String?>. Lists that may contain null are uncommon and Kotlin callers may have incorrectly assigned the result to List<String>.

"},{"location":"changelogs/upgrading_to_okhttp_4/#code-cleanup","title":"Code Cleanup","text":"

IntelliJ and Android Studio offer a Code Cleanup feature that will automatically update deprecated APIs with their replacements. Access this feature from the Search Anywhere dialog (double-press shift) or under the Analyze menu.

We\u2019ve included deprecated APIs in OkHttp 4.0 because they make migration easy. We will remove them in a future release! If you\u2019re skipping releases, it\u2019ll be much easier if you upgrade to OkHttp 4.0 as an intermediate step.

"},{"location":"changelogs/upgrading_to_okhttp_4/#vars-and-vals","title":"Vars and Vals","text":"

Java doesn\u2019t have language support for properties so developers make do with getters and setters. Kotlin does have properties and we take advantage of them in OkHttp.

  • Address: certificatePinner, connectionSpecs, dns, hostnameVerifier, protocols, proxy, proxyAuthenticator, proxySelector, socketFactory, sslSocketFactory, url
  • Cache: directory
  • CacheControl: immutable, maxAgeSeconds, maxStaleSeconds, minFreshSeconds, mustRevalidate, noCache, noStore, noTransform, onlyIfCached, sMaxAgeSeconds
  • Challenge: authParams, charset, realm, scheme
  • CipherSuite: javaName
  • ConnectionSpec: cipherSuites, supportsTlsExtensions, tlsVersions
  • Cookie: domain, expiresAt, hostOnly, httpOnly, name, path, persistent, value
  • Dispatcher: executorService
  • FormBody: size
  • Handshake: cipherSuite, localCertificates, localPrincipal, peerCertificates, peerPrincipal, tlsVersion
  • HandshakeCertificates: keyManager, trustManager
  • Headers: size
  • HeldCertificate: certificate, keyPair
  • HttpLoggingInterceptor: level
  • HttpUrl: encodedFragment, encodedPassword, encodedPath, encodedPathSegments, encodedQuery, encodedUsername, fragment, host, password, pathSegments, pathSize, port, query, queryParameterNames, querySize, scheme, username
  • MockResponse: headers, http2ErrorCode, socketPolicy, status, trailers
  • MockWebServer: bodyLimit, port, protocolNegotiationEnabled, protocols, requestCount, serverSocketFactory
  • MultipartBody.Part: body, headers
  • MultipartBody.: boundary, parts, size, type
  • OkHttpClient: authenticator, cache, callTimeoutMillis, certificatePinner, connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns, eventListenerFactory, followRedirects, followSslRedirects, hostnameVerifier, interceptors, networkInterceptors, pingIntervalMillis, protocols, proxy, proxyAuthenticator, proxySelector, readTimeoutMillis, retryOnConnectionFailure, socketFactory, sslSocketFactory, writeTimeoutMillis
  • PushPromise: headers, method, path, response
  • Request: body, cacheControl, headers, method, url
  • Response: body, cacheControl, cacheResponse, code, handshake, headers, message, networkResponse, priorResponse, protocol, receivedResponseAtMillis, request, sentRequestAtMillis
  • Route: address, proxy, socketAddress
  • TlsVersion: javaName
"},{"location":"changelogs/upgrading_to_okhttp_4/#renamed-functions","title":"Renamed Functions","text":"
  • Headers.of(): for symmetry with listOf(), setOf(), etc., we\u2019ve replaced Headers.of(String...) with headersOf(vararg String).
"},{"location":"changelogs/upgrading_to_okhttp_4/#extension-functions","title":"Extension Functions","text":"

We\u2019ve migrated from static functions to extension functions where we think they fit.

Java Kotlin Handshake.get(SSLSession) SSLSession.handshake() Headers.of(Map) Map.toHeaders() HttpUrl.get(String) String.toHttpUrl() HttpUrl.get(URI) URI.toHttpUrlOrNull() HttpUrl.get(URL) URL.toHttpUrlOrNull() HttpUrl.parse(String) String.toHttpUrlOrNull() HttpUrl.uri() HttpUrl.toUri() HttpUrl.url() HttpUrl.toUrl() MediaType.get(String) String.toMediaType() MediaType.parse(String) String.toMediaTypeOrNull() RequestBody.create(ByteArray) ByteArray.toRequestBody() RequestBody.create(ByteString) ByteString.toRequestBody() RequestBody.create(File) File.asRequestBody() RequestBody.create(String) String.toRequestBody() ResponseBody.create(BufferedSource) BufferedSource.asResponseBody() ResponseBody.create(ByteArray) ByteArray.toResponseBody() ResponseBody.create(ByteString) ByteString.toResponseBody() ResponseBody.create(String) String.toResponseBody()"},{"location":"changelogs/upgrading_to_okhttp_4/#sam-conversions","title":"SAM Conversions","text":"

When you use Java APIs from Kotlin you can operate on Java interfaces as if they were Kotlin lambdas. The feature is available for interfaces that define a Single Abstract Method (SAM).

But when you use Kotlin APIs from Kotlin there\u2019s no automatic conversion. Code that used SAM lambdas with OkHttp 3.x: must use object : with OkHttp 4.x:

Kotlin calling OkHttp 3.x:

val client = OkHttpClient.Builder()\n    .dns { hostname -> InetAddress.getAllByName(hostname).toList() }\n    .build()\n

Kotlin calling OkHttp 4.x:

val client = OkHttpClient.Builder()\n    .dns(object : Dns {\n      override fun lookup(hostname: String) =\n          InetAddress.getAllByName(hostname).toList()\n    })\n    .build()\n

SAM conversion impacts these APIs:

  • Authenticator
  • Dispatcher.setIdleCallback(Runnable)
  • Dns
  • EventListener.Factory
  • HttpLoggingInterceptor.Logger
  • LoggingEventListener.Factory
  • OkHttpClient.Builder.hostnameVerifier(HostnameVerifier)

JetBrains is working on SAM conversions of Kotlin interfaces. Expect it in a future release of the Kotlin language.

"},{"location":"changelogs/upgrading_to_okhttp_4/#companion-imports","title":"Companion Imports","text":"

The equivalent of static methods in Java is companion object functions in Kotlin. The bytecode is the same but .kt files now need Companion in the import.

This works with OkHttp 3.x:

import okhttp3.CipherSuite.forJavaName\n

But OkHttp 4.x needs a Companion:

import okhttp3.CipherSuite.Companion.forJavaName\n

In the unlikely event that you have a lot of these, run this:

sed -i \"\" \\\n  's/^\\(import okhttp3\\.[^.]*\\)\\.\\([a-z][a-zA-Z]*\\)$/\\1.Companion.\\2/g' \\\n  `find . -name \"*.kt\"`\n
"},{"location":"changelogs/upgrading_to_okhttp_4/#advanced-profiling","title":"Advanced Profiling","text":"

Android Studio\u2019s Advanced Profiling feature rewrites OkHttp bytecode for instrumentation. Unfortunately it crashes on OkHttp 4.x\u2019s bytecode. Until Google\u2019s bug is fixed you must disable advanced profiling in Android Studio.

"},{"location":"changelogs/upgrading_to_okhttp_4/#r8-proguard","title":"R8 / ProGuard","text":"

R8 and ProGuard are both code optimizers for .class files.

R8 is the default optimizer in Android Studio 3.4 and newer. It works well with all releases of OkHttp.

ProGuard was the previous default. We\u2019re tracking problems with interactions between ProGuard, OkHttp 4.x, and Kotlin-originated .class files. Make sure you\u2019re on the latest release if you\u2019re using ProGuard,

"},{"location":"changelogs/upgrading_to_okhttp_4/#gradle","title":"Gradle","text":"

OkHttp 4\u2019s minimum requirements are Java 8+ and Android 5+. These requirements were first introduced with OkHttp 3.13.

Here\u2019s what you need in build.gradle to target Java 8 byte code for Kotlin, Java, and Android plugins respectively.

compileKotlin {\n  kotlinOptions {\n    jvmTarget = \"1.8\"\n  }\n}\ncompileTestKotlin {\n  kotlinOptions {\n    jvmTarget = \"1.8\"\n  }\n}\n\ncompileJava {\n  sourceCompatibility = JavaVersion.VERSION_1_8\n  targetCompatibility = JavaVersion.VERSION_1_8\n}\n\nandroid {\n  compileOptions {\n    sourceCompatibility JavaVersion.VERSION_1_8\n    targetCompatibility JavaVersion.VERSION_1_8\n  }\n}\n
"},{"location":"contribute/code_of_conduct/","title":"Open Source Code of Conduct","text":"

At Square, we are committed to contributing to the open source community and simplifying the process of releasing and managing open source software. We\u2019ve seen incredible support and enthusiasm from thousands of people who have already contributed to our projects\u200a\u2014\u200aand we want to ensure our community continues to be truly open for everyone.

This code of conduct outlines our expectations for participants, as well as steps to reporting unacceptable behavior. We are committed to providing a welcoming and inspiring community for all and expect our code of conduct to be honored.

Square\u2019s open source community strives to:

  • Be open: We invite anyone to participate in any aspect of our projects. Our community is open, and any responsibility can be carried by a contributor who demonstrates the required capacity and competence.

  • Be considerate: People use our work, and we depend on the work of others. Consider users and colleagues before taking action. For example, changes to code, infrastructure, policy, and documentation may negatively impact others.

  • Be respectful: We expect people to work together to resolve conflict, assume good intentions, and act with empathy. Do not turn disagreements into personal attacks.

  • Be collaborative: Collaboration reduces redundancy and improves the quality of our work. We strive for transparency within our open source community, and we work closely with upstream developers and others in the free software community to coordinate our efforts.

  • Be pragmatic: Questions are encouraged and should be asked early in the process to avoid problems later. Be thoughtful and considerate when seeking out the appropriate forum for your questions. Those who are asked should be responsive and helpful.

  • Step down considerately: Members of every project come and go. When somebody leaves or disengages from the project, they should make it known and take the proper steps to ensure that others can pick up where they left off.

This code is not exhaustive or complete. It serves to distill our common understanding of a collaborative, shared environment, and goals. We expect it to be followed in spirit as much as in the letter.

"},{"location":"contribute/code_of_conduct/#diversity-statement","title":"Diversity Statement","text":"

We encourage everyone to participate and are committed to building a community for all. Although we may not be able to satisfy everyone, we all agree that everyone is equal.

Whenever a participant has made a mistake, we expect them to take responsibility for it. If someone has been harmed or offended, it is our responsibility to listen carefully and respectfully, and do our best to right the wrong.

Although this list cannot be exhaustive, we explicitly honor diversity in age, culture, ethnicity, gender identity or expression, language, national origin, political beliefs, profession, race, religion, sexual orientation, socioeconomic status, and technical ability. We will not tolerate discrimination based on any of the protected characteristics above, including participants with disabilities.

"},{"location":"contribute/code_of_conduct/#reporting-issues","title":"Reporting Issues","text":"

If you experience or witness unacceptable behavior\u200a\u2014\u200aor have any other concerns\u200a\u2014\u200aplease report it by emailing codeofconduct@squareup.com. For more details, please see our Reporting Guidelines below.

"},{"location":"contribute/code_of_conduct/#thanks","title":"Thanks","text":"

Some of the ideas and wording for the statements and guidelines above were based on work by the Twitter, Ubuntu, GDC, and Django communities. We are thankful for their work.

"},{"location":"contribute/code_of_conduct/#reporting-guide","title":"Reporting Guide","text":"

If you experience or witness unacceptable behavior\u200a\u2014\u200aor have any other concerns\u200a\u2014\u200aplease report it by emailing codeofconduct@squareup.com. All reports will be handled with discretion.

In your report please include:

  • Your contact information.
  • Names (real, nicknames, or pseudonyms) of any individuals involved. If there are additional witnesses, please include them as well.
  • Your account of what occurred, and if you believe the incident is ongoing. If there is a publicly available record (e.g. a mailing list archive or a public IRC logger), please include a link.
  • Any additional information that may be helpful.

After filing a report, a representative from the Square Code of Conduct committee will contact you personally. The committee will then review the incident, follow up with any additional questions, and make a decision as to how to respond.

Anyone asked to stop unacceptable behavior is expected to comply immediately. If an individual engages in unacceptable behavior, the Square Code of Conduct committee may take any action they deem appropriate, up to and including a permanent ban from all of Square spaces without warning.

"},{"location":"contribute/concurrency/","title":"Concurrency","text":"

This document describes the concurrency considerations for http/2 connections and the connection pool within OkHttp.

"},{"location":"contribute/concurrency/#http2-connections","title":"HTTP/2 Connections","text":"

The HttpURLConnection API is a blocking API. You make a blocking write to send a request, and a blocking read to receive the response.

"},{"location":"contribute/concurrency/#blocking-apis","title":"Blocking APIs","text":"

Blocking APIs are convenient because you get top-to-bottom procedural code without indirection. Network calls work like regular method calls: ask for data and it is returned. If the request fails, you get a stacktrace right where the call was made.

Blocking APIs may be inefficient because you hold a thread idle while waiting on the network. Threads are expensive because they have both a memory overhead and a context-switching overhead.

"},{"location":"contribute/concurrency/#framed-protocols","title":"Framed protocols","text":"

Framed protocols like http/2 don\u2019t lend themselves to blocking APIs. Each application-layer thread wants to do blocking I/O for a specific stream, but the streams are multiplexed on the socket. You can\u2019t just talk to the socket, you need to cooperate with the other application-layer threads that you\u2019re sharing it with.

Framing rules make it impractical to implement http/2 correctly on a single blocking thread. The flow-control features introduce feedback between reads and writes, requiring writes to acknowledge reads and reads to throttle writes.

In OkHttp we expose a blocking API over a framed protocol. This document explains the code and policy that makes that work.

"},{"location":"contribute/concurrency/#threads","title":"Threads","text":""},{"location":"contribute/concurrency/#applications-calling-thread","title":"Application\u2019s calling thread","text":"

The application-layer must block on writing I/O. We can\u2019t return from a write until we\u2019ve pushed its bytes onto the socket. Otherwise, if the write fails we are unable to deliver its IOException to the application. We would have told the application layer that the write succeeded, but it didn\u2019t!

The application-layer can also do blocking reads. If the application asks to read and there\u2019s nothing available, we need to hold that thread until either the bytes arrive, the stream is closed, or a timeout elapses. If we get bytes but there\u2019s nobody asking for them, we buffer them. We don\u2019t consider bytes as delivered for flow control until they\u2019re consumed by the application.

Consider an application streaming a video over http/2. Perhaps the user pauses the video and the application stops reading bytes from this stream. The buffer will fill up, and flow control prevents the server from sending more data on this stream. When the user unpauses her video the buffer drains, the read is acknowledged, and the server proceeds to stream data.

"},{"location":"contribute/concurrency/#shared-reader-thread","title":"Shared reader thread","text":"

We can\u2019t rely on application threads to read data from the socket. Application threads are transient: sometimes they\u2019re reading and writing and sometimes they\u2019re off doing application-layer things. But the socket is permanent, and it needs constant attention: we dispatch all incoming frames so the connection is good-to-go when the application layer needs it.

So we have a dedicated thread for every socket that just reads frames and dispatches them.

The reader thread must never run application-layer code. Otherwise one slow stream can hold up the entire connection.

Similarly, the reader thread must never block on writing because this can deadlock the connection. Consider a client and server that both violate this rule. If you get unlucky, they could fill up their TCP buffers (so that writes block) and then use their reader threads to write a frame. Nobody is reading on either end, and the buffers are never drained.

"},{"location":"contribute/concurrency/#do-stuff-later-pool","title":"Do-stuff-later pool","text":"

Sometimes there\u2019s an action required like calling the application layer or responding to a ping, and the thread discovering the action is not the thread that should do the work. We enqueue a runnable on this executor and it gets handled by one of the executor\u2019s threads.

"},{"location":"contribute/concurrency/#locks","title":"Locks","text":"

We have 3 different things that we synchronize on.

"},{"location":"contribute/concurrency/#http2connection","title":"Http2Connection","text":"

This lock guards internal state of each connection. This lock is never held for blocking operations. That means that we acquire the lock, read or write a few fields and release the lock. No I/O and no application-layer callbacks.

"},{"location":"contribute/concurrency/#http2stream","title":"Http2Stream","text":"

This lock guards the internal state of each stream. As above, it is never held for blocking operations. When we need to hold an application thread to block a read, we use wait/notify on this lock. This works because the lock is released while wait() is waiting.

"},{"location":"contribute/concurrency/#http2writer","title":"Http2Writer","text":"

Socket writes are guarded by the Http2Writer. Only one stream can write at a time so that messages are not interleaved. Writes are either made by application-layer threads or the do-stuff-later pool.

"},{"location":"contribute/concurrency/#holding-multiple-locks","title":"Holding multiple locks","text":"

You\u2019re allowed to take the Http2Connection lock while holding the Http2Writer lock. But not vice-versa. Because taking the Http2Writer lock can block.

This is necessary for bookkeeping when creating new streams. Correct framing requires that stream IDs are sequential on the socket, so we need to bundle assigning the ID with sending the SYN_STREAM frame.

"},{"location":"contribute/concurrency/#connection-pool","title":"Connection Pool","text":"

A primary responsibility for any HTTP client is to efficiently manage network connections. Creating and establishing new connections require a fair amount of overhead and added latency. OkHttp will make every effort to reuse existing connections to avoid this overhead and added latency.

Every OkHttpClient uses a connection pool. Its job is to maintain a reference to all open connections. When an HTTP request is started, OkHttp will attempt to reuse an existing connection from the pool. If there are no existing connections, a new one is created and put into the connection pool. For HTTP/2, the connection can be reused immediately. For HTTP/1, the request must be completed before it can be reused.

Since HTTP requests frequently happen in parallel, connection pooling must be thread-safe.

These are the primary classes involved with establishing, sharing, and terminating connections:

  • RealConnectionPool manages reuse of HTTP and HTTP/2 connections for reduced latency. Every OkHttpClient has one, and its lifetime spans the lifetime of the OkHttpClient.

  • RealConnection is the socket and streams of an HTTP/1 or HTTP/2 connection. These are created on demand to fulfill HTTP requests. They may be reused for many HTTP request/response exchanges. Their lifetime is typically shorter than a connection pool.

  • Exchange carries a single HTTP request/response pair.

  • ExchangeFinder chooses which connection carries each exchange. Where possible it will use the same connection for all exchanges in a single call. It prefers reusing pooled connections over establishing new connections.

"},{"location":"contribute/concurrency/#per-connection-locks","title":"Per-Connection Locks","text":"

Each connection has its own lock. The connections in the pool are all in a ConcurrentLinkedQueue. Due to data races, iterators of this queue may return removed connections. Callers must check the connection\u2019s noNewExchanges property before using connections from the pool.

The connection lock is never held while doing I/O (even closing a socket) to prevent contention.

A lock-per-connection is used to maximize concurrency.

"},{"location":"contribute/contributing/","title":"Contributing","text":"

Keeping the project small and stable limits our ability to accept new contributors. We are not seeking new committers at this time, but some small contributions are welcome.

If you\u2019ve found a security problem, please follow our bug bounty program.

If you\u2019ve found a bug, please contribute a failing test case so we can study and fix it.

If you have a new feature idea, please build it in an external library. There are many libraries that sit on top or hook in via existing APIs. If you build something that integrates with OkHttp, tell us so that we can link it!

Before code can be accepted all contributors must complete our Individual Contributor License Agreement (CLA).

"},{"location":"contribute/contributing/#code-contributions","title":"Code Contributions","text":"

Get working code on a personal branch with tests passing before you submit a PR:

./gradlew clean check\n

Please make every effort to follow existing conventions and style in order to keep the code as readable as possible.

Contribute code changes through GitHub by forking the repository and sending a pull request. We squash all pull requests on merge.

"},{"location":"contribute/contributing/#gradle-setup","title":"Gradle Setup","text":"
$ cat local.properties\nsdk.dir=PATH_TO_ANDROID_HOME/sdk\norg.gradle.caching=true\n
"},{"location":"contribute/contributing/#running-android-tests","title":"Running Android Tests","text":"

$ ANDROID_SDK_ROOT=PATH_TO_ANDROID_HOME/sdk ./gradlew :android-test:connectedCheck -PandroidBuild=true

"},{"location":"contribute/contributing/#committers-guides","title":"Committer\u2019s Guides","text":"
  • Concurrency
  • Debug Logging
  • Releasing
"},{"location":"contribute/debug_logging/","title":"Debug Logging","text":"

OkHttp has internal APIs to enable debug logging. It uses the java.util.logging API which can be tricky to configure. As a shortcut, you can paste OkHttpDebugLogging.kt. Then enable debug logging for whichever features you need:

OkHttpDebugLogging.enableHttp2()\nOkHttpDebugLogging.enableTaskRunner()\n
"},{"location":"contribute/debug_logging/#activating-on-android","title":"Activating on Android","text":"
$ adb shell setprop log.tag.okhttp.Http2 DEBUG\n$ adb shell setprop log.tag.okhttp.TaskRunner DEBUG\n$ adb logcat '*:E' 'okhttp.Http2:D' 'okhttp.TaskRunner:D'\n
"},{"location":"contribute/debug_logging/#http2-frame-logging","title":"HTTP/2 Frame Logging","text":"

This logs inbound (<<) and outbound (>>) frames for HTTP/2 connections.

[2020-01-01 00:00:00] >> CONNECTION 505249202a20485454502f322e300d0a0d0a534d0d0a0d0a\n[2020-01-01 00:00:00] >> 0x00000000     6 SETTINGS\n[2020-01-01 00:00:00] >> 0x00000000     4 WINDOW_UPDATE\n[2020-01-01 00:00:00] >> 0x00000003    47 HEADERS       END_STREAM|END_HEADERS\n[2020-01-01 00:00:00] << 0x00000000     6 SETTINGS\n[2020-01-01 00:00:00] << 0x00000000     0 SETTINGS      ACK\n[2020-01-01 00:00:00] << 0x00000000     4 WINDOW_UPDATE\n[2020-01-01 00:00:00] >> 0x00000000     0 SETTINGS      ACK\n[2020-01-01 00:00:00] << 0x00000003   322 HEADERS       END_HEADERS\n[2020-01-01 00:00:00] << 0x00000003   288 DATA\n[2020-01-01 00:00:00] << 0x00000003     0 DATA          END_STREAM\n[2020-01-01 00:00:00] << 0x00000000     8 GOAWAY\n[2020-01-01 00:00:05] << 0x00000000     8 GOAWAY\n
"},{"location":"contribute/debug_logging/#task-runner-logging","title":"Task Runner Logging","text":"

This logs task enqueues, starts, and finishes.

[2020-01-01 00:00:00] Q10000 scheduled after   0 \u00b5s: OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10000 starting              : OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10000 run again after 300 s : OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10000 finished run in   1 ms: OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10001 scheduled after   0 \u00b5s: OkHttp squareup.com applyAndAckSettings\n[2020-01-01 00:00:00] Q10001 starting              : OkHttp squareup.com applyAndAckSettings\n[2020-01-01 00:00:00] Q10003 scheduled after   0 \u00b5s: OkHttp squareup.com onSettings\n[2020-01-01 00:00:00] Q10003 starting              : OkHttp squareup.com onSettings\n[2020-01-01 00:00:00] Q10001 finished run in   3 ms: OkHttp squareup.com applyAndAckSettings\n[2020-01-01 00:00:00] Q10003 finished run in 528 \u00b5s: OkHttp squareup.com onSettings\n[2020-01-01 00:00:00] Q10000 scheduled after   0 \u00b5s: OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10000 starting              : OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10000 run again after 300 s : OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10000 finished run in 739 \u00b5s: OkHttp ConnectionPool\n
"},{"location":"features/caching/","title":"Caching","text":"

OkHttp implements an optional, off by default, Cache. OkHttp aims for RFC correct and pragmatic caching behaviour, following common real-world browser like Firefox/Chrome and server behaviour when ambiguous.

"},{"location":"features/caching/#basic-usage","title":"Basic Usage","text":"
  private val client: OkHttpClient = OkHttpClient.Builder()\n      .cache(Cache(\n          directory = File(application.cacheDir, \"http_cache\"),\n          // $0.05 worth of phone storage in 2020\n          maxSize = 50L * 1024L * 1024L // 50 MiB\n      ))\n      .build()\n
"},{"location":"features/caching/#eventlistener-events","title":"EventListener events","text":"

Cache Events are exposed via the EventListener API. Typical scenarios are below.

"},{"location":"features/caching/#cache-hit","title":"Cache Hit","text":"

In the ideal scenario the cache can fulfill the request without any conditional call to the network. This will skip the normal events such as DNS, connecting to the network, and downloading the response body.

As recommended by the HTTP RFC the max age of a document is defaulted to 10% of the document\u2019s age at the time it was served based on \u201cLast-Modified\u201d. Default expiration dates aren\u2019t used for URIs containing a query.

  • CallStart
  • CacheHit
  • CallEnd
"},{"location":"features/caching/#cache-miss","title":"Cache Miss","text":"

Under a cache miss the normal request events are seen but an additional event shows the presence of the cache. Cache Miss will be typical if the item has not been read from the network, is uncacheable, or is past it\u2019s lifetime based on Response cache headers.

  • CallStart
  • CacheMiss
  • ProxySelectStart
  • \u2026 Standard Events \u2026
  • CallEnd
"},{"location":"features/caching/#conditional-cache-hit","title":"Conditional Cache Hit","text":"

When cache flags require checking the cache results are still valid an early cacheConditionalHit event is received followed by a cache hit or miss. Critically in the cache hit scenario the server won\u2019t send the response body.

The response will have non-null cacheResponse and networkResponse. The cacheResponse will be used as the top level response only if the response code is HTTP/1.1 304 Not Modified.

  • CallStart
  • CacheConditionalHit
  • ConnectionAcquired
  • \u2026 Standard Events\u2026
  • ResponseBodyEnd (0 bytes)
  • CacheHit
  • ConnectionReleased
  • CallEnd
"},{"location":"features/caching/#cache-directory","title":"Cache directory","text":"

The cache directory must be exclusively owned by a single instance.

Deleting the cache when it is no longer needed can be done. However this may delete the purpose of the cache which is designed to persist between app restarts.

cache.delete()\n
"},{"location":"features/caching/#pruning-the-cache","title":"Pruning the Cache","text":"

Pruning the entire Cache to clear space temporarily can be done using evictAll.

cache.evictAll()\n

Removing individual items can be done using the urls iterator. This would be typical after a user initiates a force refresh by a pull to refresh type action.

    val urlIterator = cache.urls()\n    while (urlIterator.hasNext()) {\n      if (urlIterator.next().startsWith(\"https://www.google.com/\")) {\n        urlIterator.remove()\n      }\n    }\n
"},{"location":"features/caching/#troubleshooting","title":"Troubleshooting","text":"
  1. Valid cacheable responses are not being cached

Make sure you are reading responses fully as unless they are read fully, cancelled or stalled Responses will not be cached.

"},{"location":"features/caching/#overriding-normal-cache-behaviour","title":"Overriding normal cache behaviour","text":"

See Cache documentation. https://square.github.io/okhttp/4.x/okhttp/okhttp3/-cache/

"},{"location":"features/calls/","title":"Calls","text":"

The HTTP client\u2019s job is to accept your request and produce its response. This is simple in theory but it gets tricky in practice.

"},{"location":"features/calls/#requests","title":"Requests","text":"

Each HTTP request contains a URL, a method (like GET or POST), and a list of headers. Requests may also contain a body: a data stream of a specific content type.

"},{"location":"features/calls/#responses","title":"Responses","text":"

The response answers the request with a code (like 200 for success or 404 for not found), headers, and its own optional body.

"},{"location":"features/calls/#rewriting-requests","title":"Rewriting Requests","text":"

When you provide OkHttp with an HTTP request, you\u2019re describing the request at a high-level: \u201cfetch me this URL with these headers.\u201d For correctness and efficiency, OkHttp rewrites your request before transmitting it.

OkHttp may add headers that are absent from the original request, including Content-Length, Transfer-Encoding, User-Agent, Host, Connection, and Content-Type. It will add an Accept-Encoding header for transparent response compression unless the header is already present. If you\u2019ve got cookies, OkHttp will add a Cookie header with them.

Some requests will have a cached response. When this cached response isn\u2019t fresh, OkHttp can do a conditional GET to download an updated response if it\u2019s newer than what\u2019s cached. This requires headers like If-Modified-Since and If-None-Match to be added.

"},{"location":"features/calls/#rewriting-responses","title":"Rewriting Responses","text":"

If transparent compression was used, OkHttp will drop the corresponding response headers Content-Encoding and Content-Length because they don\u2019t apply to the decompressed response body.

If a conditional GET was successful, responses from the network and cache are merged as directed by the spec.

"},{"location":"features/calls/#follow-up-requests","title":"Follow-up Requests","text":"

When your requested URL has moved, the webserver will return a response code like 302 to indicate the document\u2019s new URL. OkHttp will follow the redirect to retrieve a final response.

If the response issues an authorization challenge, OkHttp will ask the Authenticator (if one is configured) to satisfy the challenge. If the authenticator supplies a credential, the request is retried with that credential included.

"},{"location":"features/calls/#retrying-requests","title":"Retrying Requests","text":"

Sometimes connections fail: either a pooled connection was stale and disconnected, or the webserver itself couldn\u2019t be reached. OkHttp will retry the request with a different route if one is available.

"},{"location":"features/calls/#calls_1","title":"Calls","text":"

With rewrites, redirects, follow-ups and retries, your simple request may yield many requests and responses. OkHttp uses Call to model the task of satisfying your request through however many intermediate requests and responses are necessary. Typically this isn\u2019t many! But it\u2019s comforting to know that your code will continue to work if your URLs are redirected or if you failover to an alternate IP address.

Calls are executed in one of two ways:

  • Synchronous: your thread blocks until the response is readable.
  • Asynchronous: you enqueue the request on any thread, and get called back on another thread when the response is readable.

Calls can be canceled from any thread. This will fail the call if it hasn\u2019t yet completed! Code that is writing the request body or reading the response body will suffer an IOException when its call is canceled.

"},{"location":"features/calls/#dispatch","title":"Dispatch","text":"

For synchronous calls, you bring your own thread and are responsible for managing how many simultaneous requests you make. Too many simultaneous connections wastes resources; too few harms latency.

For asynchronous calls, Dispatcher implements policy for maximum simultaneous requests. You can set maximums per-webserver (default is 5), and overall (default is 64).

"},{"location":"features/connections/","title":"Connections","text":"

Although you provide only the URL, OkHttp plans its connection to your webserver using three types: URL, Address, and Route.

"},{"location":"features/connections/#urls","title":"URLs","text":"

URLs (like https://github.com/square/okhttp) are fundamental to HTTP and the Internet. In addition to being a universal, decentralized naming scheme for everything on the web, they also specify how to access web resources.

URLs are abstract:

  • They specify that the call may be plaintext (http) or encrypted (https), but not which cryptographic algorithms should be used. Nor do they specify how to verify the peer\u2019s certificates (the HostnameVerifier) or which certificates can be trusted (the SSLSocketFactory).
  • They don\u2019t specify whether a specific proxy server should be used or how to authenticate with that proxy server.

They\u2019re also concrete: each URL identifies a specific path (like /square/okhttp) and query (like ?q=sharks&lang=en). Each webserver hosts many URLs.

"},{"location":"features/connections/#addresses","title":"Addresses","text":"

Addresses specify a webserver (like github.com) and all of the static configuration necessary to connect to that server: the port number, HTTPS settings, and preferred network protocols (like HTTP/2).

URLs that share the same address may also share the same underlying TCP socket connection. Sharing a connection has substantial performance benefits: lower latency, higher throughput (due to TCP slow start) and conserved battery. OkHttp uses a ConnectionPool that automatically reuses HTTP/1.x connections and multiplexes HTTP/2 connections.

In OkHttp some fields of the address come from the URL (scheme, hostname, port) and the rest come from the OkHttpClient.

"},{"location":"features/connections/#routes","title":"Routes","text":"

Routes supply the dynamic information necessary to actually connect to a webserver. This is the specific IP address to attempt (as discovered by a DNS query), the exact proxy server to use (if a ProxySelector is in use), and which version of TLS to negotiate (for HTTPS connections).

There may be many routes for a single address. For example, a webserver that is hosted in multiple datacenters may yield multiple IP addresses in its DNS response.

In limited situations OkHttp will retry a route if connecting fails:

  • When making an HTTPS connection through an HTTP proxy, the proxy may issue an authentication challenge. OkHttp will call the proxy authenticator and try again.
  • When making TLS connections with multiple connection specs, these are attempted in sequence until the TLS handshake succeeds.
"},{"location":"features/connections/#connections_1","title":"Connections","text":"

When you request a URL with OkHttp, here\u2019s what it does:

  1. It uses the URL and configured OkHttpClient to create an address. This address specifies how we\u2019ll connect to the webserver.
  2. It attempts to retrieve a connection with that address from the connection pool.
  3. If it doesn\u2019t find a connection in the pool, it selects a route to attempt. This usually means making a DNS request to get the server\u2019s IP addresses. It then selects a TLS version and proxy server if necessary.
  4. If it\u2019s a new route, it connects by building either a direct socket connection, a TLS tunnel (for HTTPS over an HTTP proxy), or a direct TLS connection. It does TLS handshakes as necessary. This step may be retried for tunnel challenges and TLS handshake failures.
  5. It sends the HTTP request and reads the response.

If there\u2019s a problem with the connection, OkHttp will select another route and try again. This allows OkHttp to recover when a subset of a server\u2019s addresses are unreachable. It\u2019s also useful when a pooled connection is stale or if the attempted TLS version is unsupported.

Once the response has been received, the connection will be returned to the pool so it can be reused for a future request. Connections are evicted from the pool after a period of inactivity.

"},{"location":"features/connections/#fast-fallback","title":"Fast Fallback","text":"

Since version 5.0, OkHttpClient supports fast fallback, which is our implementation of Happy Eyeballs RFC 6555.

With fast fallback, OkHttp attempts to connect to multiple web servers concurrently. It keeps whichever route connects first and cancels all of the others. Its rules are:

  • Prefer to alternate IP addresses from different address families, (IPv6 / IPv4), starting with IPv6.
  • Don\u2019t start a new attempt until 250 ms after the most recent attempt was started.
  • Keep whichever TCP connection succeeds first and cancel all the others.
  • Race TCP only. Only attempt a TLS handshake on the winning TCP connection.

If the winner of the TCP handshake race fails to succeed in a TLS handshake, the process is restarted with the remaining routes.

"},{"location":"features/events/","title":"Events","text":"

Events allow you to capture metrics on your application\u2019s HTTP calls. Use events to monitor:

  • The size and frequency of the HTTP calls your application makes. If you\u2019re making too many calls, or your calls are too large, you should know about it!
  • The performance of these calls on the underlying network. If the network\u2019s performance isn\u2019t sufficient, you need to either improve the network or use less of it.
"},{"location":"features/events/#eventlistener","title":"EventListener","text":"

Subclass EventListener and override methods for the events you are interested in. In a successful HTTP call with no redirects or retries the sequence of events is described by this flow.

Here\u2019s a sample event listener that prints each event with a timestamp.

class PrintingEventListener extends EventListener {\n  private long callStartNanos;\n\n  private void printEvent(String name) {\n    long nowNanos = System.nanoTime();\n    if (name.equals(\"callStart\")) {\n      callStartNanos = nowNanos;\n    }\n    long elapsedNanos = nowNanos - callStartNanos;\n    System.out.printf(\"%.3f %s%n\", elapsedNanos / 1000000000d, name);\n  }\n\n  @Override public void callStart(Call call) {\n    printEvent(\"callStart\");\n  }\n\n  @Override public void callEnd(Call call) {\n    printEvent(\"callEnd\");\n  }\n\n  @Override public void dnsStart(Call call, String domainName) {\n    printEvent(\"dnsStart\");\n  }\n\n  @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) {\n    printEvent(\"dnsEnd\");\n  }\n\n  ...\n}\n

We make a couple calls:

Request request = new Request.Builder()\n    .url(\"https://publicobject.com/helloworld.txt\")\n    .build();\n\nSystem.out.println(\"REQUEST 1 (new connection)\");\ntry (Response response = client.newCall(request).execute()) {\n  // Consume and discard the response body.\n  response.body().source().readByteString();\n}\n\nSystem.out.println(\"REQUEST 2 (pooled connection)\");\ntry (Response response = client.newCall(request).execute()) {\n  // Consume and discard the response body.\n  response.body().source().readByteString();\n}\n

And the listener prints the corresponding events:

REQUEST 1 (new connection)\n0.000 callStart\n0.010 dnsStart\n0.017 dnsEnd\n0.025 connectStart\n0.117 secureConnectStart\n0.586 secureConnectEnd\n0.586 connectEnd\n0.587 connectionAcquired\n0.588 requestHeadersStart\n0.590 requestHeadersEnd\n0.591 responseHeadersStart\n0.675 responseHeadersEnd\n0.676 responseBodyStart\n0.679 responseBodyEnd\n0.679 connectionReleased\n0.680 callEnd\nREQUEST 2 (pooled connection)\n0.000 callStart\n0.001 connectionAcquired\n0.001 requestHeadersStart\n0.001 requestHeadersEnd\n0.002 responseHeadersStart\n0.082 responseHeadersEnd\n0.082 responseBodyStart\n0.082 responseBodyEnd\n0.083 connectionReleased\n0.083 callEnd\n

Notice how no connect events are fired for the second call. It reused the connection from the first request for dramatically better performance.

"},{"location":"features/events/#eventlistenerfactory","title":"EventListener.Factory","text":"

In the preceding example we used a field, callStartNanos, to track the elapsed time of each event. This is handy, but it won\u2019t work if multiple calls are executing concurrently. To accommodate this, use a Factory to create a new EventListener instance for each Call. This allows each listener to keep call-specific state.

This sample factory creates a unique ID for each call and uses that ID to differentiate calls in log messages.

class PrintingEventListener extends EventListener {\n  public static final Factory FACTORY = new Factory() {\n    final AtomicLong nextCallId = new AtomicLong(1L);\n\n    @Override public EventListener create(Call call) {\n      long callId = nextCallId.getAndIncrement();\n      System.out.printf(\"%04d %s%n\", callId, call.request().url());\n      return new PrintingEventListener(callId, System.nanoTime());\n    }\n  };\n\n  final long callId;\n  final long callStartNanos;\n\n  public PrintingEventListener(long callId, long callStartNanos) {\n    this.callId = callId;\n    this.callStartNanos = callStartNanos;\n  }\n\n  private void printEvent(String name) {\n    long elapsedNanos = System.nanoTime() - callStartNanos;\n    System.out.printf(\"%04d %.3f %s%n\", callId, elapsedNanos / 1000000000d, name);\n  }\n\n  @Override public void callStart(Call call) {\n    printEvent(\"callStart\");\n  }\n\n  @Override public void callEnd(Call call) {\n    printEvent(\"callEnd\");\n  }\n\n  ...\n}\n

We can use this listener to race a pair of concurrent HTTP requests:

Request washingtonPostRequest = new Request.Builder()\n    .url(\"https://www.washingtonpost.com/\")\n    .build();\nclient.newCall(washingtonPostRequest).enqueue(new Callback() {\n  ...\n});\n\nRequest newYorkTimesRequest = new Request.Builder()\n    .url(\"https://www.nytimes.com/\")\n    .build();\nclient.newCall(newYorkTimesRequest).enqueue(new Callback() {\n  ...\n});\n

Running this race over home WiFi shows the Times (0002) completes just slightly sooner than the Post (0001):

0001 https://www.washingtonpost.com/\n0001 0.000 callStart\n0002 https://www.nytimes.com/\n0002 0.000 callStart\n0002 0.010 dnsStart\n0001 0.013 dnsStart\n0001 0.022 dnsEnd\n0002 0.019 dnsEnd\n0001 0.028 connectStart\n0002 0.025 connectStart\n0002 0.072 secureConnectStart\n0001 0.075 secureConnectStart\n0001 0.386 secureConnectEnd\n0002 0.390 secureConnectEnd\n0002 0.400 connectEnd\n0001 0.403 connectEnd\n0002 0.401 connectionAcquired\n0001 0.404 connectionAcquired\n0001 0.406 requestHeadersStart\n0002 0.403 requestHeadersStart\n0001 0.414 requestHeadersEnd\n0002 0.411 requestHeadersEnd\n0002 0.412 responseHeadersStart\n0001 0.415 responseHeadersStart\n0002 0.474 responseHeadersEnd\n0002 0.475 responseBodyStart\n0001 0.554 responseHeadersEnd\n0001 0.555 responseBodyStart\n0002 0.554 responseBodyEnd\n0002 0.554 connectionReleased\n0002 0.554 callEnd\n0001 0.624 responseBodyEnd\n0001 0.624 connectionReleased\n0001 0.624 callEnd\n

The EventListener.Factory also makes it possible to limit metrics to a subset of calls. This one captures metrics on a random 10%:

class MetricsEventListener extends EventListener {\n  private static final Factory FACTORY = new Factory() {\n    @Override public EventListener create(Call call) {\n      if (Math.random() < 0.10) {\n        return new MetricsEventListener(call);\n      } else {\n        return EventListener.NONE;\n      }\n    }\n  };\n\n  ...\n}\n
"},{"location":"features/events/#events-with-failures","title":"Events with Failures","text":"

When an operation fails, a failure method is called. This is connectFailed() for failures while building a connection to the server, and callFailed() when the HTTP call fails permanently. When a failure happens it is possible that a start event won\u2019t have a corresponding end event.

"},{"location":"features/events/#events-with-retries-and-follow-ups","title":"Events with Retries and Follow-Ups","text":"

OkHttp is resilient and can automatically recover from some connectivity failures. In this case, the connectFailed() event is not terminal and not followed by callFailed(). Event listeners will receive multiple events of the same type when retries are attempted.

A single HTTP call may require follow-up requests to be made to handle authentication challenges, redirects, and HTTP-layer timeouts. In such cases multiple connections, requests, and responses may be attempted. Follow-ups are another reason a single call may trigger multiple events of the same type.

"},{"location":"features/events/#availability","title":"Availability","text":"

Events is available as a public API in OkHttp 3.11. Future releases may introduce new event types; you will need to override the corresponding methods to handle them.

"},{"location":"features/https/","title":"HTTPS","text":"

OkHttp attempts to balance two competing concerns:

  • Connectivity to as many hosts as possible. That includes advanced hosts that run the latest versions of boringssl and less out of date hosts running older versions of OpenSSL.
  • Security of the connection. This includes verification of the remote webserver with certificates and the privacy of data exchanged with strong ciphers.

When negotiating a connection to an HTTPS server, OkHttp needs to know which TLS versions and cipher suites to offer. A client that wants to maximize connectivity would include obsolete TLS versions and weak-by-design cipher suites. A strict client that wants to maximize security would be limited to only the latest TLS version and strongest cipher suites.

Specific security vs. connectivity decisions are implemented by ConnectionSpec. OkHttp includes four built-in connection specs:

  • RESTRICTED_TLS is a secure configuration, intended to meet stricter compliance requirements.
  • MODERN_TLS is a secure configuration that connects to modern HTTPS servers.
  • COMPATIBLE_TLS is a secure configuration that connects to secure\u2013but not current\u2013HTTPS servers.
  • CLEARTEXT is an insecure configuration that is used for http:// URLs.

These loosely follow the model set in Google Cloud Policies. We track changes to this policy.

By default, OkHttp will attempt a MODERN_TLS connection. However by configuring the client connectionSpecs you can allow a fall back to COMPATIBLE_TLS connection if the modern configuration fails.

OkHttpClient client = new OkHttpClient.Builder()\n    .connectionSpecs(Arrays.asList(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS))\n    .build();\n

The TLS versions and cipher suites in each spec can change with each release. For example, in OkHttp 2.2 we dropped support for SSL 3.0 in response to the POODLE attack. And in OkHttp 2.3 we dropped support for RC4. As with your desktop web browser, staying up-to-date with OkHttp is the best way to stay secure.

You can build your own connection spec with a custom set of TLS versions and cipher suites. For example, this configuration is limited to three highly-regarded cipher suites. Its drawback is that it requires Android 5.0+ and a similarly current webserver.

ConnectionSpec spec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)\n    .tlsVersions(TlsVersion.TLS_1_2)\n    .cipherSuites(\n          CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,\n          CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,\n          CipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256)\n    .build();\n\nOkHttpClient client = new OkHttpClient.Builder()\n    .connectionSpecs(Collections.singletonList(spec))\n    .build();\n
"},{"location":"features/https/#debugging-tls-handshake-failures","title":"Debugging TLS Handshake Failures","text":"

The TLS handshake requires clients and servers to share a common TLS version and cipher suite. This depends on the JVM or Android version, OkHttp version, and web server configuration. If there is no common cipher suite and TLS version, your call will fail like this:

Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x7f2719a89e80:\n    Failure in SSL library, usually a protocol error\n        error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake\n        failure (external/openssl/ssl/s23_clnt.c:770 0x7f2728a53ea0:0x00000000)\n    at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)\n

You can check a web server\u2019s configuration using Qualys SSL Labs. OkHttp\u2019s TLS configuration history is tracked here.

Applications expected to be installed on older Android devices should consider adopting the Google Play Services\u2019 ProviderInstaller. This will increase security for users and increase connectivity with web servers.

"},{"location":"features/https/#certificate-pinning-kt-java","title":"Certificate Pinning (.kt, .java)","text":"

By default, OkHttp trusts the certificate authorities of the host platform. This strategy maximizes connectivity, but it is subject to certificate authority attacks such as the 2011 DigiNotar attack. It also assumes your HTTPS servers\u2019 certificates are signed by a certificate authority.

Use CertificatePinner to restrict which certificates and certificate authorities are trusted. Certificate pinning increases security, but limits your server team\u2019s abilities to update their TLS certificates. Do not use certificate pinning without the blessing of your server\u2019s TLS administrator!

Kotlin Java
  private val client = OkHttpClient.Builder()\n      .certificatePinner(\n          CertificatePinner.Builder()\n              .add(\"publicobject.com\", \"sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=\")\n              .build())\n      .build()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"https://publicobject.com/robots.txt\")\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      for (certificate in response.handshake!!.peerCertificates) {\n        println(CertificatePinner.pin(certificate))\n      }\n    }\n  }\n
  private final OkHttpClient client = new OkHttpClient.Builder()\n      .certificatePinner(\n          new CertificatePinner.Builder()\n              .add(\"publicobject.com\", \"sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=\")\n              .build())\n      .build();\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"https://publicobject.com/robots.txt\")\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      for (Certificate certificate : response.handshake().peerCertificates()) {\n        System.out.println(CertificatePinner.pin(certificate));\n      }\n    }\n  }\n
"},{"location":"features/https/#customizing-trusted-certificates-kt-java","title":"Customizing Trusted Certificates (.kt, .java)","text":"

The full code sample shows how to replace the host platform\u2019s certificate authorities with your own set. As above, do not use custom certificates without the blessing of your server\u2019s TLS administrator!

Kotlin Java
  private val client: OkHttpClient\n\n  init {\n    val trustManager = trustManagerForCertificates(trustedCertificatesInputStream())\n    val sslContext = SSLContext.getInstance(\"TLS\")\n    sslContext.init(null, arrayOf<TrustManager>(trustManager), null)\n    val sslSocketFactory = sslContext.socketFactory\n\n    client = OkHttpClient.Builder()\n        .sslSocketFactory(sslSocketFactory, trustManager)\n        .build()\n  }\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"https://publicobject.com/helloworld.txt\")\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      for ((name, value) in response.headers) {\n        println(\"$name: $value\")\n      }\n\n      println(response.body!!.string())\n    }\n  }\n\n  /**\n   * Returns an input stream containing one or more certificate PEM files. This implementation just\n   * embeds the PEM files in Java strings; most applications will instead read this from a resource\n   * file that gets bundled with the application.\n   */\n  private fun trustedCertificatesInputStream(): InputStream {\n    ... // Full source omitted. See sample.\n  }\n\n  private fun trustManagerForCertificates(inputStream: InputStream): X509TrustManager {\n    ... // Full source omitted. See sample.\n  }\n
  private final OkHttpClient client;\n\n  public CustomTrust() {\n    X509TrustManager trustManager;\n    SSLSocketFactory sslSocketFactory;\n    try {\n      trustManager = trustManagerForCertificates(trustedCertificatesInputStream());\n      SSLContext sslContext = SSLContext.getInstance(\"TLS\");\n      sslContext.init(null, new TrustManager[] { trustManager }, null);\n      sslSocketFactory = sslContext.getSocketFactory();\n    } catch (GeneralSecurityException e) {\n      throw new RuntimeException(e);\n    }\n\n    client = new OkHttpClient.Builder()\n        .sslSocketFactory(sslSocketFactory, trustManager)\n        .build();\n  }\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"https://publicobject.com/helloworld.txt\")\n        .build();\n\n    Response response = client.newCall(request).execute();\n    System.out.println(response.body().string());\n  }\n\n  private InputStream trustedCertificatesInputStream() {\n    ... // Full source omitted. See sample.\n  }\n\n  public SSLContext sslContextForTrustedCertificates(InputStream in) {\n    ... // Full source omitted. See sample.\n  }\n
"},{"location":"features/interceptors/","title":"Interceptors","text":"

Interceptors are a powerful mechanism that can monitor, rewrite, and retry calls. Here\u2019s a simple interceptor that logs the outgoing request and the incoming response.

class LoggingInterceptor implements Interceptor {\n  @Override public Response intercept(Interceptor.Chain chain) throws IOException {\n    Request request = chain.request();\n\n    long t1 = System.nanoTime();\n    logger.info(String.format(\"Sending request %s on %s%n%s\",\n        request.url(), chain.connection(), request.headers()));\n\n    Response response = chain.proceed(request);\n\n    long t2 = System.nanoTime();\n    logger.info(String.format(\"Received response for %s in %.1fms%n%s\",\n        response.request().url(), (t2 - t1) / 1e6d, response.headers()));\n\n    return response;\n  }\n}\n

A call to chain.proceed(request) is a critical part of each interceptor\u2019s implementation. This simple-looking method is where all the HTTP work happens, producing a response to satisfy the request. If chain.proceed(request) is being called more than once previous response bodies must be closed.

Interceptors can be chained. Suppose you have both a compressing interceptor and a checksumming interceptor: you\u2019ll need to decide whether data is compressed and then checksummed, or checksummed and then compressed. OkHttp uses lists to track interceptors, and interceptors are called in order.

"},{"location":"features/interceptors/#application-interceptors","title":"Application Interceptors","text":"

Interceptors are registered as either application or network interceptors. We\u2019ll use the LoggingInterceptor defined above to show the difference.

Register an application interceptor by calling addInterceptor() on OkHttpClient.Builder:

OkHttpClient client = new OkHttpClient.Builder()\n    .addInterceptor(new LoggingInterceptor())\n    .build();\n\nRequest request = new Request.Builder()\n    .url(\"http://www.publicobject.com/helloworld.txt\")\n    .header(\"User-Agent\", \"OkHttp Example\")\n    .build();\n\nResponse response = client.newCall(request).execute();\nresponse.body().close();\n

The URL http://www.publicobject.com/helloworld.txt redirects to https://publicobject.com/helloworld.txt, and OkHttp follows this redirect automatically. Our application interceptor is called once and the response returned from chain.proceed() has the redirected response:

INFO: Sending request http://www.publicobject.com/helloworld.txt on null\nUser-Agent: OkHttp Example\n\nINFO: Received response for https://publicobject.com/helloworld.txt in 1179.7ms\nServer: nginx/1.4.6 (Ubuntu)\nContent-Type: text/plain\nContent-Length: 1759\nConnection: keep-alive\n

We can see that we were redirected because response.request().url() is different from request.url(). The two log statements log two different URLs.

"},{"location":"features/interceptors/#network-interceptors","title":"Network Interceptors","text":"

Registering a network interceptor is quite similar. Call addNetworkInterceptor() instead of addInterceptor():

OkHttpClient client = new OkHttpClient.Builder()\n    .addNetworkInterceptor(new LoggingInterceptor())\n    .build();\n\nRequest request = new Request.Builder()\n    .url(\"http://www.publicobject.com/helloworld.txt\")\n    .header(\"User-Agent\", \"OkHttp Example\")\n    .build();\n\nResponse response = client.newCall(request).execute();\nresponse.body().close();\n

When we run this code, the interceptor runs twice. Once for the initial request to http://www.publicobject.com/helloworld.txt, and another for the redirect to https://publicobject.com/helloworld.txt.

INFO: Sending request http://www.publicobject.com/helloworld.txt on Connection{www.publicobject.com:80, proxy=DIRECT hostAddress=54.187.32.157 cipherSuite=none protocol=http/1.1}\nUser-Agent: OkHttp Example\nHost: www.publicobject.com\nConnection: Keep-Alive\nAccept-Encoding: gzip\n\nINFO: Received response for http://www.publicobject.com/helloworld.txt in 115.6ms\nServer: nginx/1.4.6 (Ubuntu)\nContent-Type: text/html\nContent-Length: 193\nConnection: keep-alive\nLocation: https://publicobject.com/helloworld.txt\n\nINFO: Sending request https://publicobject.com/helloworld.txt on Connection{publicobject.com:443, proxy=DIRECT hostAddress=54.187.32.157 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA protocol=http/1.1}\nUser-Agent: OkHttp Example\nHost: publicobject.com\nConnection: Keep-Alive\nAccept-Encoding: gzip\n\nINFO: Received response for https://publicobject.com/helloworld.txt in 80.9ms\nServer: nginx/1.4.6 (Ubuntu)\nContent-Type: text/plain\nContent-Length: 1759\nConnection: keep-alive\n

The network requests also contain more data, such as the Accept-Encoding: gzip header added by OkHttp to advertise support for response compression. The network interceptor\u2019s Chain has a non-null Connection that can be used to interrogate the IP address and TLS configuration that were used to connect to the webserver.

"},{"location":"features/interceptors/#choosing-between-application-and-network-interceptors","title":"Choosing between application and network interceptors","text":"

Each interceptor chain has relative merits.

Application interceptors

  • Don\u2019t need to worry about intermediate responses like redirects and retries.
  • Are always invoked once, even if the HTTP response is served from the cache.
  • Observe the application\u2019s original intent. Unconcerned with OkHttp-injected headers like If-None-Match.
  • Permitted to short-circuit and not call Chain.proceed().
  • Permitted to retry and make multiple calls to Chain.proceed().
  • Can adjust Call timeouts using withConnectTimeout, withReadTimeout, withWriteTimeout.

Network Interceptors

  • Able to operate on intermediate responses like redirects and retries.
  • Not invoked for cached responses that short-circuit the network.
  • Observe the data just as it will be transmitted over the network.
  • Access to the Connection that carries the request.
"},{"location":"features/interceptors/#rewriting-requests","title":"Rewriting Requests","text":"

Interceptors can add, remove, or replace request headers. They can also transform the body of those requests that have one. For example, you can use an application interceptor to add request body compression if you\u2019re connecting to a webserver known to support it.

/** This interceptor compresses the HTTP request body. Many webservers can't handle this! */\nfinal class GzipRequestInterceptor implements Interceptor {\n  @Override public Response intercept(Interceptor.Chain chain) throws IOException {\n    Request originalRequest = chain.request();\n    if (originalRequest.body() == null || originalRequest.header(\"Content-Encoding\") != null) {\n      return chain.proceed(originalRequest);\n    }\n\n    Request compressedRequest = originalRequest.newBuilder()\n        .header(\"Content-Encoding\", \"gzip\")\n        .method(originalRequest.method(), gzip(originalRequest.body()))\n        .build();\n    return chain.proceed(compressedRequest);\n  }\n\n  private RequestBody gzip(final RequestBody body) {\n    return new RequestBody() {\n      @Override public MediaType contentType() {\n        return body.contentType();\n      }\n\n      @Override public long contentLength() {\n        return -1; // We don't know the compressed length in advance!\n      }\n\n      @Override public void writeTo(BufferedSink sink) throws IOException {\n        BufferedSink gzipSink = Okio.buffer(new GzipSink(sink));\n        body.writeTo(gzipSink);\n        gzipSink.close();\n      }\n    };\n  }\n}\n
"},{"location":"features/interceptors/#rewriting-responses","title":"Rewriting Responses","text":"

Symmetrically, interceptors can rewrite response headers and transform the response body. This is generally more dangerous than rewriting request headers because it may violate the webserver\u2019s expectations!

If you\u2019re in a tricky situation and prepared to deal with the consequences, rewriting response headers is a powerful way to work around problems. For example, you can fix a server\u2019s misconfigured Cache-Control response header to enable better response caching:

/** Dangerous interceptor that rewrites the server's cache-control header. */\nprivate static final Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = new Interceptor() {\n  @Override public Response intercept(Interceptor.Chain chain) throws IOException {\n    Response originalResponse = chain.proceed(chain.request());\n    return originalResponse.newBuilder()\n        .header(\"Cache-Control\", \"max-age=60\")\n        .build();\n  }\n};\n

Typically this approach works best when it complements a corresponding fix on the webserver!

"},{"location":"features/r8_proguard/","title":"R8 / ProGuard","text":"

If you use OkHttp as a dependency in an Android project which uses R8 as a default compiler you don\u2019t have to do anything. The specific rules are already bundled into the JAR which can be interpreted by R8 automatically.

If you, however, don\u2019t use R8 you have to apply the rules from this file. You might also need rules from Okio which is a dependency of this library.

"},{"location":"security/security/","title":"Security","text":""},{"location":"security/security/#supported-versions","title":"Supported Versions","text":"Version Supported Notes 5.x \u2705 APIs subject to change in alpha releases. 4.x \u2705 Android 5.0+ (API level 21+) and on Java 8+. 3.x \u274c Ended 2021-12-31 Android 2.3+ (API level 9+) and Java 7+."},{"location":"security/security/#reporting-a-vulnerability","title":"Reporting a Vulnerability","text":"

Square recognizes the important contributions the security research community can make. We therefore encourage reporting security issues with the code contained in this repository.

If you believe you have discovered a security vulnerability, please follow the guidelines at https://bugcrowd.com/squareopensource

"},{"location":"security/security/#verifying-artifacts","title":"Verifying Artifacts","text":"

We sign our artifacts using this key:

pub rsa4096/dbd744ace7ade6aa50dd591f66b50994442d2d40 2021-07-09T14:50:19Z\n     Hash=a79b48fd6a1f31699c788b50c97d0b98\n\nuid Square Clippy <opensource@squareup.com>\nsig  sig  66b50994442d2d40 2021-07-09T14:50:19Z 2041-07-04T14:50:19Z ____________________ [selfsig]\n

The best way to verify artifacts is automatically with Gradle.

"},{"location":"security/security_providers/","title":"Security Providers","text":""},{"location":"security/security_providers/#provider-status","title":"Provider Status","text":"Provider HTTP/2 TLSv1.3 Powered By Notes JVM default Java 9+ Java 11+ OpenJDK Android default \u2705 Android 10+ BoringSSL GraalVM \u2705 OpenJDK Only actively tested with JDK 11, not with 8 target Bouncy Castle \u2705 Bouncy Castle Tracking bug. Conscrypt \u2705 \u2705 BoringSSL Activated if Conscrypt is first registered provider. OpenJSSE \u2705 OpenJDK OpenJDK backport. Corretto \u2705 \u2705 OpenSSL Amazon\u2019s high-performance provider. Tracking bug.

All providers support HTTP/1.1 and TLSv1.2.

"},{"location":"security/tls_configuration_history/","title":"TLS Configuration History","text":"

OkHttp tracks the dynamic TLS ecosystem to balance connectivity and security. This page is a log of changes we\u2019ve made over time to OkHttp\u2019s default TLS options.

"},{"location":"security/tls_configuration_history/#okhttp-314","title":"OkHttp 3.14","text":"

2019-03-14

Remove 2 TLSv1.3 cipher suites that are neither available on OkHttp\u2019s host platforms nor enabled in releases of Chrome and Firefox.

"},{"location":"security/tls_configuration_history/#restricted_tls-cipher-suites","title":"RESTRICTED_TLS cipher suites","text":"
  • TLS_AES_128_GCM_SHA256\u00b9
  • TLS_AES_256_GCM_SHA384\u00b9
  • TLS_CHACHA20_POLY1305_SHA256\u00b9
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
  • REMOVED: TLS_AES_128_CCM_SHA256\u00b9
  • REMOVED: TLS_AES_128_CCM_8_SHA256\u00b9
"},{"location":"security/tls_configuration_history/#modern_tls-compatible_tls-cipher-suites","title":"MODERN_TLS / COMPATIBLE_TLS cipher suites","text":"
  • TLS_AES_128_GCM_SHA256\u00b9
  • TLS_AES_256_GCM_SHA384\u00b9
  • TLS_CHACHA20_POLY1305_SHA256\u00b9
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_128_GCM_SHA256\u00b2
  • TLS_RSA_WITH_AES_256_GCM_SHA384\u00b2
  • TLS_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_3DES_EDE_CBC_SHA\u00b2
  • REMOVED: TLS_AES_128_CCM_SHA256\u00b9
  • REMOVED: TLS_AES_128_CCM_8_SHA256\u00b9
"},{"location":"security/tls_configuration_history/#okhttp-313","title":"OkHttp 3.13","text":"

2019-02-04

Remove TLSv1.1 and TLSv1 from MODERN_TLS. Change COMPATIBLE_TLS to support all TLS versions.

"},{"location":"security/tls_configuration_history/#restricted_tls-versions","title":"RESTRICTED_TLS versions","text":"
  • TLSv1.3
  • TLSv1.2
"},{"location":"security/tls_configuration_history/#modern_tls-versions","title":"MODERN_TLS versions","text":"
  • TLSv1.3
  • TLSv1.2
  • REMOVED: TLSv1.1
  • REMOVED: TLSv1
"},{"location":"security/tls_configuration_history/#compatible_tls-versions","title":"COMPATIBLE_TLS versions","text":"
  • NEW: TLSv1.3
  • NEW: TLSv1.2
  • NEW: TLSv1.1
  • TLSv1
"},{"location":"security/tls_configuration_history/#okhttp-312","title":"OkHttp 3.12","text":"

2018-11-16

Added support for TLSv1.3.

"},{"location":"security/tls_configuration_history/#restricted_tls-cipher-suites_1","title":"RESTRICTED_TLS cipher suites","text":"
  • NEW: TLS_AES_128_GCM_SHA256\u00b9
  • NEW: TLS_AES_256_GCM_SHA384\u00b9
  • NEW: TLS_CHACHA20_POLY1305_SHA256\u00b9
  • NEW: TLS_AES_128_CCM_SHA256\u00b9
  • NEW: TLS_AES_128_CCM_8_SHA256\u00b9
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
"},{"location":"security/tls_configuration_history/#modern_tls-compatible_tls-cipher-suites_1","title":"MODERN_TLS / COMPATIBLE_TLS cipher suites","text":"
  • NEW: TLS_AES_128_GCM_SHA256\u00b9
  • NEW: TLS_AES_256_GCM_SHA384\u00b9
  • NEW: TLS_CHACHA20_POLY1305_SHA256\u00b9
  • NEW: TLS_AES_128_CCM_SHA256\u00b9
  • NEW: TLS_AES_128_CCM_8_SHA256\u00b9
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_128_GCM_SHA256\u00b2
  • TLS_RSA_WITH_AES_256_GCM_SHA384\u00b2
  • TLS_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_3DES_EDE_CBC_SHA\u00b2
"},{"location":"security/tls_configuration_history/#restricted_tls-versions_1","title":"RESTRICTED_TLS versions","text":"
  • NEW: TLSv1.3
  • TLSv1.2
"},{"location":"security/tls_configuration_history/#modern_tls-versions_1","title":"MODERN_TLS versions","text":"
  • NEW: TLSv1.3
  • TLSv1.2
  • TLSv1.1
  • TLSv1
"},{"location":"security/tls_configuration_history/#compatible_tls-versions_1","title":"COMPATIBLE_TLS versions","text":"
  • TLSv1
"},{"location":"security/tls_configuration_history/#okhttp-311","title":"OkHttp 3.11","text":"

2018-07-12

Added a new extra strict RESTRICTED_TLS configuration inspired by Google Cloud\u2019s similar policy. It is appropriate when both the host platform (JVM/Conscrypt/Android) and target webserver are current.

"},{"location":"security/tls_configuration_history/#restricted_tls-cipher-suites_2","title":"RESTRICTED_TLS cipher suites","text":"
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
"},{"location":"security/tls_configuration_history/#restricted_tls-versions_2","title":"RESTRICTED_TLS versions","text":"
  • TLSv1.2
"},{"location":"security/tls_configuration_history/#okhttp-310","title":"OkHttp 3.10","text":"

2018-02-24

Remove two rarely-used cipher suites from the default set. This tracks a Chromium change to remove these cipher suites because they are fragile and rarely-used.

"},{"location":"security/tls_configuration_history/#modern_tls-compatible_tls-cipher-suites_2","title":"MODERN_TLS / COMPATIBLE_TLS cipher suites","text":"
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_128_GCM_SHA256\u00b2
  • TLS_RSA_WITH_AES_256_GCM_SHA384\u00b2
  • TLS_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_3DES_EDE_CBC_SHA\u00b2
  • REMOVED: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
  • REMOVED: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
"},{"location":"security/tls_configuration_history/#okhttp-35","title":"OkHttp 3.5","text":"

2016-11-30

Remove three old cipher suites and add five new ones. This tracks changes in what\u2019s available on Android and Java, and also what cipher suites recent releases of Chrome and Firefox support by default.

"},{"location":"security/tls_configuration_history/#modern_tls-compatible_tls-cipher-suites_3","title":"MODERN_TLS / COMPATIBLE_TLS cipher suites","text":"
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • NEW: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • NEW: TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • NEW: TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • NEW: TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_128_GCM_SHA256\u00b2
  • NEW: TLS_RSA_WITH_AES_256_GCM_SHA384\u00b2
  • TLS_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_3DES_EDE_CBC_SHA\u00b2
  • REMOVED: TLS_DHE_RSA_WITH_AES_128_CBC_SHA
  • REMOVED: TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
  • REMOVED: TLS_DHE_RSA_WITH_AES_256_CBC_SHA
"},{"location":"security/tls_configuration_history/#okhttp-30","title":"OkHttp 3.0","text":"

2016-01-13

"},{"location":"security/tls_configuration_history/#modern_tls-compatible_tls-cipher-suites_4","title":"MODERN_TLS / COMPATIBLE_TLS cipher suites","text":"
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_DHE_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_DHE_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_128_GCM_SHA256\u00b2
  • TLS_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_3DES_EDE_CBC_SHA\u00b2
"},{"location":"security/tls_configuration_history/#modern_tls-versions_2","title":"MODERN_TLS versions","text":"
  • TLSv1.2
  • TLSv1.1
  • TLSv1
"},{"location":"security/tls_configuration_history/#compatible_tls-versions_2","title":"COMPATIBLE_TLS versions","text":"
  • TLSv1
"},{"location":"security/tls_configuration_history/#1-tlsv13-only","title":"\u00b9 TLSv1.3 Only","text":"

Cipher suites that are only available with TLSv1.3.

"},{"location":"security/tls_configuration_history/#2-http2-cipher-suite-denylist","title":"\u00b2 HTTP/2 Cipher Suite Denylist","text":"

Cipher suites that are discouraged for use with HTTP/2. OkHttp includes them because better suites are not commonly available. For example, none of the better cipher suites listed above shipped with Android 4.4 or Java 7.

"}]} \ No newline at end of file +{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"],"fields":{"title":{"boost":1000.0},"text":{"boost":1.0},"tags":{"boost":1000000.0}}},"docs":[{"location":"","title":"OkHttp","text":"

HTTP is the way modern applications network. It\u2019s how we exchange data & media. Doing HTTP efficiently makes your stuff load faster and saves bandwidth.

OkHttp is an HTTP client that\u2019s efficient by default:

  • HTTP/2 support allows all requests to the same host to share a socket.
  • Connection pooling reduces request latency (if HTTP/2 isn\u2019t available).
  • Transparent GZIP shrinks download sizes.
  • Response caching avoids the network completely for repeat requests.

OkHttp perseveres when the network is troublesome: it will silently recover from common connection problems. If your service has multiple IP addresses, OkHttp will attempt alternate addresses if the first connect fails. This is necessary for IPv4+IPv6 and services hosted in redundant data centers. OkHttp supports modern TLS features (TLS 1.3, ALPN, certificate pinning). It can be configured to fall back for broad connectivity.

Using OkHttp is easy. Its request/response API is designed with fluent builders and immutability. It supports both synchronous blocking calls and async calls with callbacks.

"},{"location":"#a-well-behaved-user-agent","title":"A well behaved user agent","text":"

OkHttp follows modern HTTP specifications such as

  • HTTP Semantics - RFC 9110
  • HTTP Caching- RFC 9111
  • HTTP/1.1 - RFC 9112
  • HTTP/2 - RFC 9113
  • Websockets - RFC 6455
  • SSE - Server-sent events

Where the spec is ambiguous, OkHttp follows modern user agents such as popular Browsers or common HTTP Libraries.

OkHttp is principled and avoids being overly configurable, especially when such configuration is to workaround a buggy server, test invalid scenarios or that contradict the relevant RFC. Other HTTP libraries exist that fill that gap allowing extensive customisation including potentially invalid requests.

Example Limitations

  • Does not allow GET with a body.
  • Cache is not an interface with alternative implementations.
"},{"location":"#get-a-url","title":"Get a URL","text":"

This program downloads a URL and prints its contents as a string. Full source.

OkHttpClient client = new OkHttpClient();\n\nString run(String url) throws IOException {\n  Request request = new Request.Builder()\n      .url(url)\n      .build();\n\n  try (Response response = client.newCall(request).execute()) {\n    return response.body().string();\n  }\n}\n
"},{"location":"#post-to-a-server","title":"Post to a Server","text":"

This program posts data to a service. Full source.

public static final MediaType JSON = MediaType.get(\"application/json\");\n\nOkHttpClient client = new OkHttpClient();\n\nString post(String url, String json) throws IOException {\n  RequestBody body = RequestBody.create(json, JSON);\n  Request request = new Request.Builder()\n      .url(url)\n      .post(body)\n      .build();\n  try (Response response = client.newCall(request).execute()) {\n    return response.body().string();\n  }\n}\n

Further examples are on the OkHttp Recipes page.

"},{"location":"#requirements","title":"Requirements","text":"

OkHttp works on Android 5.0+ (API level 21+) and Java 8+.

On Android, OkHttp uses AndroidX Startup. If you disable the initializer in the manifest, then apps are responsible for calling OkHttp.initialize(applicationContext) in Application.onCreate.

OkHttp depends on Okio for high-performance I/O and the Kotlin standard library. Both are small libraries with strong backward-compatibility.

We highly recommend you keep OkHttp up-to-date. As with auto-updating web browsers, staying current with HTTPS clients is an important defense against potential security problems. We track the dynamic TLS ecosystem and adjust OkHttp to improve connectivity and security.

OkHttp uses your platform\u2019s built-in TLS implementation. On Java platforms OkHttp also supports Conscrypt, which integrates BoringSSL with Java. OkHttp will use Conscrypt if it is the first security provider:

Security.insertProviderAt(Conscrypt.newProvider(), 1);\n

The OkHttp 3.12.x branch supports Android 2.3+ (API level 9+) and Java 7+. These platforms lack support for TLS 1.2 and should not be used.

"},{"location":"#releases","title":"Releases","text":"

Our change log has release history.

The latest release is available on Maven Central.

implementation(\"com.squareup.okhttp3:okhttp:5.3.0\")\n

Snapshot builds are available. R8 and ProGuard rules are available.

Also, we have a bill of materials (BOM) available to help you keep OkHttp artifacts up to date and be sure about version compatibility.

    dependencies {\n       // define a BOM and its version\n       implementation(platform(\"com.squareup.okhttp3:okhttp-bom:5.3.0\"))\n\n       // define any required OkHttp artifacts without version\n       implementation(\"com.squareup.okhttp3:okhttp\")\n       implementation(\"com.squareup.okhttp3:logging-interceptor\")\n    }\n
"},{"location":"#maven-and-jvm-projects","title":"Maven and JVM Projects","text":"

OkHttp is published as a Kotlin Multiplatform project. While Gradle handles this automatically, Maven projects must select between okhttp-jvm and okhttp-android. The okhttp artifact will be empty in Maven projects.

<dependencyManagement>\n  <dependencies>\n    <dependency>\n      <groupId>com.squareup.okhttp3</groupId>\n      <artifactId>okhttp-bom</artifactId>\n      <version>5.2.0</version>\n      <type>pom</type>\n      <scope>import</scope>\n    </dependency>\n  </dependencies>\n</dependencyManagement>\n
<dependency>\n  <groupId>com.squareup.okhttp3</groupId>\n  <artifactId>okhttp-jvm</artifactId>\n  <!-- Remove after OkHttp 5.2.0 with updated BOM. -->\n  <version>5.1.0</version>\n</dependency>\n\n<dependency>\n  <groupId>com.squareup.okhttp3</groupId>\n  <artifactId>mockwebserver3</artifactId>\n</dependency>\n\n<dependency>\n  <groupId>com.squareup.okhttp3</groupId>\n  <artifactId>logging-interceptor</artifactId>\n</dependency>\n
"},{"location":"#mockwebserver","title":"MockWebServer","text":"

OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.

The latest release is available on Maven Central.

testImplementation(\"com.squareup.okhttp3:mockwebserver3:5.3.0\")\n

MockWebServer is used for firstly for internal testing, and for basic testing of apps using OkHttp client. It is not a full featured HTTP testing library that is developed standalone. It is not being actively developed for new features. As such you might find your needs outgrow MockWebServer and you may which to use a more full featured testing library such as MockServer.

"},{"location":"#graalvm-native-image","title":"GraalVM Native Image","text":"

Building your native images with GraalVM should work automatically.

See the okcurl module for an example build.

$ ./gradlew okcurl:nativeImage\n$ ./okcurl/build/graal/okcurl https://httpbin.org/get\n
"},{"location":"#java-modules","title":"Java Modules","text":"

OkHttp (5.2+) implements Java 9 Modules.

With this in place Java builds should fail if apps attempt to use internal packages.

error: package okhttp3.internal.platform is not visible\n    okhttp3.internal.platform.Platform.get();\n                    ^\n  (package okhttp3.internal.platform is declared in module okhttp3,\n    which does not export it to module com.bigco.sdk)\n

The stable public API is based on the list of defined modules:

  • okhttp3
  • okhttp3.brotli
  • okhttp3.coroutines
  • okhttp3.dnsoverhttps
  • okhttp3.java.net.cookiejar
  • okhttp3.logging
  • okhttp3.sse
  • okhttp3.tls
  • okhttp3.urlconnection
  • mockwebserver3
  • mockwebserver3.junit4
  • mockwebserver3.junit5
"},{"location":"#license","title":"License","text":"
Copyright 2019 Square, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n
"},{"location":"recipes/","title":"Recipes","text":"

We\u2019ve written some recipes that demonstrate how to solve common problems with OkHttp. Read through them to learn about how everything works together. Cut-and-paste these examples freely; that\u2019s what they\u2019re for.

"},{"location":"recipes/#synchronous-get-kt-java","title":"Synchronous Get (.kt, .java)","text":"

Download a file, print its headers, and print its response body as a string.

The string() method on response body is convenient and efficient for small documents. But if the response body is large (greater than 1 MiB), avoid string() because it will load the entire document into memory. In that case, prefer to process the body as a stream.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"https://publicobject.com/helloworld.txt\")\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      for ((name, value) in response.headers) {\n        println(\"$name: $value\")\n      }\n\n      println(response.body!!.string())\n    }\n  }\n
  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"https://publicobject.com/helloworld.txt\")\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      Headers responseHeaders = response.headers();\n      for (int i = 0; i < responseHeaders.size(); i++) {\n        System.out.println(responseHeaders.name(i) + \": \" + responseHeaders.value(i));\n      }\n\n      System.out.println(response.body().string());\n    }\n  }\n
"},{"location":"recipes/#asynchronous-get-kt-java","title":"Asynchronous Get (.kt, .java)","text":"

Download a file on a worker thread, and get called back when the response is readable. The callback is made after the response headers are ready. Reading the response body may still block. OkHttp doesn\u2019t currently offer asynchronous APIs to receive a response body in parts.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"http://publicobject.com/helloworld.txt\")\n        .build()\n\n    client.newCall(request).enqueue(object : Callback {\n      override fun onFailure(call: Call, e: IOException) {\n        e.printStackTrace()\n      }\n\n      override fun onResponse(call: Call, response: Response) {\n        response.use {\n          if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n          for ((name, value) in response.headers) {\n            println(\"$name: $value\")\n          }\n\n          println(response.body!!.string())\n        }\n      }\n    })\n  }\n
  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"http://publicobject.com/helloworld.txt\")\n        .build();\n\n    client.newCall(request).enqueue(new Callback() {\n      @Override public void onFailure(Call call, IOException e) {\n        e.printStackTrace();\n      }\n\n      @Override public void onResponse(Call call, Response response) throws IOException {\n        try (ResponseBody responseBody = response.body()) {\n          if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n          Headers responseHeaders = response.headers();\n          for (int i = 0, size = responseHeaders.size(); i < size; i++) {\n            System.out.println(responseHeaders.name(i) + \": \" + responseHeaders.value(i));\n          }\n\n          System.out.println(responseBody.string());\n        }\n      }\n    });\n  }\n
"},{"location":"recipes/#accessing-headers-kt-java","title":"Accessing Headers (.kt, .java)","text":"

Typically HTTP headers work like a Map<String, String>: each field has one value or none. But some headers permit multiple values, like Guava\u2019s Multimap. For example, it\u2019s legal and common for an HTTP response to supply multiple Vary headers. OkHttp\u2019s APIs attempt to make both cases comfortable.

When writing request headers, use header(name, value) to set the only occurrence of name to value. If there are existing values, they will be removed before the new value is added. Use addHeader(name, value) to add a header without removing the headers already present.

When reading response a header, use header(name) to return the last occurrence of the named value. Usually this is also the only occurrence! If no value is present, header(name) will return null. To read all of a field\u2019s values as a list, use headers(name).

To visit all headers, use the Headers class which supports access by index.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"https://api.github.com/repos/square/okhttp/issues\")\n        .header(\"User-Agent\", \"OkHttp Headers.java\")\n        .addHeader(\"Accept\", \"application/json; q=0.5\")\n        .addHeader(\"Accept\", \"application/vnd.github.v3+json\")\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      println(\"Server: ${response.header(\"Server\")}\")\n      println(\"Date: ${response.header(\"Date\")}\")\n      println(\"Vary: ${response.headers(\"Vary\")}\")\n    }\n  }\n
  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"https://api.github.com/repos/square/okhttp/issues\")\n        .header(\"User-Agent\", \"OkHttp Headers.java\")\n        .addHeader(\"Accept\", \"application/json; q=0.5\")\n        .addHeader(\"Accept\", \"application/vnd.github.v3+json\")\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(\"Server: \" + response.header(\"Server\"));\n      System.out.println(\"Date: \" + response.header(\"Date\"));\n      System.out.println(\"Vary: \" + response.headers(\"Vary\"));\n    }\n  }\n
"},{"location":"recipes/#posting-a-string-kt-java","title":"Posting a String (.kt, .java)","text":"

Use an HTTP POST to send a request body to a service. This example posts a markdown document to a web service that renders markdown as HTML. Because the entire request body is in memory simultaneously, avoid posting large (greater than 1 MiB) documents using this API.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val postBody = \"\"\"\n        |Releases\n        |--------\n        |\n        | * _1.0_ May 6, 2013\n        | * _1.1_ June 15, 2013\n        | * _1.2_ August 11, 2013\n        |\"\"\".trimMargin()\n\n    val request = Request.Builder()\n        .url(\"https://api.github.com/markdown/raw\")\n        .post(postBody.toRequestBody(MEDIA_TYPE_MARKDOWN))\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      println(response.body!!.string())\n    }\n  }\n\n  companion object {\n    val MEDIA_TYPE_MARKDOWN = \"text/x-markdown; charset=utf-8\".toMediaType()\n  }\n
  public static final MediaType MEDIA_TYPE_MARKDOWN\n      = MediaType.parse(\"text/x-markdown; charset=utf-8\");\n\n  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    String postBody = \"\"\n        + \"Releases\\n\"\n        + \"--------\\n\"\n        + \"\\n\"\n        + \" * _1.0_ May 6, 2013\\n\"\n        + \" * _1.1_ June 15, 2013\\n\"\n        + \" * _1.2_ August 11, 2013\\n\";\n\n    Request request = new Request.Builder()\n        .url(\"https://api.github.com/markdown/raw\")\n        .post(RequestBody.create(MEDIA_TYPE_MARKDOWN, postBody))\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n  }\n
"},{"location":"recipes/#post-streaming-kt-java","title":"Post Streaming (.kt, .java)","text":"

Here we POST a request body as a stream. The content of this request body is being generated as it\u2019s being written. This example streams directly into the Okio buffered sink. Your programs may prefer an OutputStream, which you can get from BufferedSink.outputStream().

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val requestBody = object : RequestBody() {\n      override fun contentType() = MEDIA_TYPE_MARKDOWN\n\n      override fun writeTo(sink: BufferedSink) {\n        sink.writeUtf8(\"Numbers\\n\")\n        sink.writeUtf8(\"-------\\n\")\n        for (i in 2..997) {\n          sink.writeUtf8(String.format(\" * $i = ${factor(i)}\\n\"))\n        }\n      }\n\n      private fun factor(n: Int): String {\n        for (i in 2 until n) {\n          val x = n / i\n          if (x * i == n) return \"${factor(x)} \u00d7 $i\"\n        }\n        return n.toString()\n      }\n    }\n\n    val request = Request.Builder()\n        .url(\"https://api.github.com/markdown/raw\")\n        .post(requestBody)\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      println(response.body!!.string())\n    }\n  }\n\n  companion object {\n    val MEDIA_TYPE_MARKDOWN = \"text/x-markdown; charset=utf-8\".toMediaType()\n  }\n
  public static final MediaType MEDIA_TYPE_MARKDOWN\n      = MediaType.parse(\"text/x-markdown; charset=utf-8\");\n\n  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    RequestBody requestBody = new RequestBody() {\n      @Override public MediaType contentType() {\n        return MEDIA_TYPE_MARKDOWN;\n      }\n\n      @Override public void writeTo(BufferedSink sink) throws IOException {\n        sink.writeUtf8(\"Numbers\\n\");\n        sink.writeUtf8(\"-------\\n\");\n        for (int i = 2; i <= 997; i++) {\n          sink.writeUtf8(String.format(\" * %s = %s\\n\", i, factor(i)));\n        }\n      }\n\n      private String factor(int n) {\n        for (int i = 2; i < n; i++) {\n          int x = n / i;\n          if (x * i == n) return factor(x) + \" \u00d7 \" + i;\n        }\n        return Integer.toString(n);\n      }\n    };\n\n    Request request = new Request.Builder()\n        .url(\"https://api.github.com/markdown/raw\")\n        .post(requestBody)\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n  }\n
"},{"location":"recipes/#posting-a-file-kt-java","title":"Posting a File (.kt, .java)","text":"

It\u2019s easy to use a file as a request body.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val file = File(\"README.md\")\n\n    val request = Request.Builder()\n        .url(\"https://api.github.com/markdown/raw\")\n        .post(file.asRequestBody(MEDIA_TYPE_MARKDOWN))\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      println(response.body!!.string())\n    }\n  }\n\n  companion object {\n    val MEDIA_TYPE_MARKDOWN = \"text/x-markdown; charset=utf-8\".toMediaType()\n  }\n
  public static final MediaType MEDIA_TYPE_MARKDOWN\n      = MediaType.parse(\"text/x-markdown; charset=utf-8\");\n\n  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    File file = new File(\"README.md\");\n\n    Request request = new Request.Builder()\n        .url(\"https://api.github.com/markdown/raw\")\n        .post(RequestBody.create(MEDIA_TYPE_MARKDOWN, file))\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n  }\n
"},{"location":"recipes/#posting-form-parameters-kt-java","title":"Posting form parameters (.kt, .java)","text":"

Use FormBody.Builder to build a request body that works like an HTML <form> tag. Names and values will be encoded using an HTML-compatible form URL encoding.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val formBody = FormBody.Builder()\n        .add(\"search\", \"Jurassic Park\")\n        .build()\n    val request = Request.Builder()\n        .url(\"https://en.wikipedia.org/w/index.php\")\n        .post(formBody)\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      println(response.body!!.string())\n    }\n  }\n
  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    RequestBody formBody = new FormBody.Builder()\n        .add(\"search\", \"Jurassic Park\")\n        .build();\n    Request request = new Request.Builder()\n        .url(\"https://en.wikipedia.org/w/index.php\")\n        .post(formBody)\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n  }\n
"},{"location":"recipes/#posting-a-multipart-request-kt-java","title":"Posting a multipart request (.kt, .java)","text":"

MultipartBody.Builder can build sophisticated request bodies compatible with HTML file upload forms. Each part of a multipart request body is itself a request body, and can define its own headers. If present, these headers should describe the part body, such as its Content-Disposition. The Content-Length and Content-Type headers are added automatically if they\u2019re available.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image\n    val requestBody = MultipartBody.Builder()\n        .setType(MultipartBody.FORM)\n        .addFormDataPart(\"title\", \"Square Logo\")\n        .addFormDataPart(\"image\", \"logo-square.png\",\n            File(\"docs/images/logo-square.png\").asRequestBody(MEDIA_TYPE_PNG))\n        .build()\n\n    val request = Request.Builder()\n        .header(\"Authorization\", \"Client-ID $IMGUR_CLIENT_ID\")\n        .url(\"https://api.imgur.com/3/image\")\n        .post(requestBody)\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      println(response.body!!.string())\n    }\n  }\n\n  companion object {\n    /**\n     * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running\n     * these examples, please request your own client ID! https://api.imgur.com/oauth2\n     */\n    private val IMGUR_CLIENT_ID = \"9199fdef135c122\"\n    private val MEDIA_TYPE_PNG = \"image/png\".toMediaType()\n  }\n
  /**\n   * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running\n   * these examples, please request your own client ID! https://api.imgur.com/oauth2\n   */\n  private static final String IMGUR_CLIENT_ID = \"...\";\n  private static final MediaType MEDIA_TYPE_PNG = MediaType.parse(\"image/png\");\n\n  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image\n    RequestBody requestBody = new MultipartBody.Builder()\n        .setType(MultipartBody.FORM)\n        .addFormDataPart(\"title\", \"Square Logo\")\n        .addFormDataPart(\"image\", \"logo-square.png\",\n            RequestBody.create(MEDIA_TYPE_PNG, new File(\"website/static/logo-square.png\")))\n        .build();\n\n    Request request = new Request.Builder()\n        .header(\"Authorization\", \"Client-ID \" + IMGUR_CLIENT_ID)\n        .url(\"https://api.imgur.com/3/image\")\n        .post(requestBody)\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n  }\n
"},{"location":"recipes/#parse-a-json-response-with-moshi-kt-java","title":"Parse a JSON Response With Moshi (.kt, .java)","text":"

Moshi is a handy API for converting between JSON and Java objects. Here we\u2019re using it to decode a JSON response from a GitHub API.

Note that ResponseBody.charStream() uses the Content-Type response header to select which charset to use when decoding the response body. It defaults to UTF-8 if no charset is specified.

Kotlin Java
  private val client = OkHttpClient()\n  private val moshi = Moshi.Builder().build()\n  private val gistJsonAdapter = moshi.adapter(Gist::class.java)\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"https://api.github.com/gists/c2a7c39532239ff261be\")\n        .build()\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      val gist = gistJsonAdapter.fromJson(response.body!!.source())\n\n      for ((key, value) in gist!!.files!!) {\n        println(key)\n        println(value.content)\n      }\n    }\n  }\n\n  @JsonClass(generateAdapter = true)\n  data class Gist(var files: Map<String, GistFile>?)\n\n  @JsonClass(generateAdapter = true)\n  data class GistFile(var content: String?)\n
  private final OkHttpClient client = new OkHttpClient();\n  private final Moshi moshi = new Moshi.Builder().build();\n  private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class);\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"https://api.github.com/gists/c2a7c39532239ff261be\")\n        .build();\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      Gist gist = gistJsonAdapter.fromJson(response.body().source());\n\n      for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {\n        System.out.println(entry.getKey());\n        System.out.println(entry.getValue().content);\n      }\n    }\n  }\n\n  static class Gist {\n    Map<String, GistFile> files;\n  }\n\n  static class GistFile {\n    String content;\n  }\n
"},{"location":"recipes/#response-caching-kt-java","title":"Response Caching (.kt, .java)","text":"

To cache responses, you\u2019ll need a cache directory that you can read and write to, and a limit on the cache\u2019s size. The cache directory should be private, and untrusted applications should not be able to read its contents!

It is an error to have multiple caches accessing the same cache directory simultaneously. Most applications should call new OkHttpClient() exactly once, configure it with their cache, and use that same instance everywhere. Otherwise the two cache instances will stomp on each other, corrupt the response cache, and possibly crash your program.

Response caching uses HTTP headers for all configuration. You can add request headers like Cache-Control: max-stale=3600 and OkHttp\u2019s cache will honor them. Your webserver configures how long responses are cached with its own response headers, like Cache-Control: max-age=9600. There are cache headers to force a cached response, force a network response, or force the network response to be validated with a conditional GET.

Kotlin Java
  private val client: OkHttpClient = OkHttpClient.Builder()\n      .cache(Cache(\n          directory = cacheDirectory,\n          maxSize = 10L * 1024L * 1024L // 10 MiB\n      ))\n      .build()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"http://publicobject.com/helloworld.txt\")\n        .build()\n\n    val response1Body = client.newCall(request).execute().use {\n      if (!it.isSuccessful) throw IOException(\"Unexpected code $it\")\n\n      println(\"Response 1 response:          $it\")\n      println(\"Response 1 cache response:    ${it.cacheResponse}\")\n      println(\"Response 1 network response:  ${it.networkResponse}\")\n      return@use it.body!!.string()\n    }\n\n    val response2Body = client.newCall(request).execute().use {\n      if (!it.isSuccessful) throw IOException(\"Unexpected code $it\")\n\n      println(\"Response 2 response:          $it\")\n      println(\"Response 2 cache response:    ${it.cacheResponse}\")\n      println(\"Response 2 network response:  ${it.networkResponse}\")\n      return@use it.body!!.string()\n    }\n\n    println(\"Response 2 equals Response 1? \" + (response1Body == response2Body))\n  }\n
  private final OkHttpClient client;\n\n  public CacheResponse(File cacheDirectory) throws Exception {\n    int cacheSize = 10 * 1024 * 1024; // 10 MiB\n    Cache cache = new Cache(cacheDirectory, cacheSize);\n\n    client = new OkHttpClient.Builder()\n        .cache(cache)\n        .build();\n  }\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"http://publicobject.com/helloworld.txt\")\n        .build();\n\n    String response1Body;\n    try (Response response1 = client.newCall(request).execute()) {\n      if (!response1.isSuccessful()) throw new IOException(\"Unexpected code \" + response1);\n\n      response1Body = response1.body().string();\n      System.out.println(\"Response 1 response:          \" + response1);\n      System.out.println(\"Response 1 cache response:    \" + response1.cacheResponse());\n      System.out.println(\"Response 1 network response:  \" + response1.networkResponse());\n    }\n\n    String response2Body;\n    try (Response response2 = client.newCall(request).execute()) {\n      if (!response2.isSuccessful()) throw new IOException(\"Unexpected code \" + response2);\n\n      response2Body = response2.body().string();\n      System.out.println(\"Response 2 response:          \" + response2);\n      System.out.println(\"Response 2 cache response:    \" + response2.cacheResponse());\n      System.out.println(\"Response 2 network response:  \" + response2.networkResponse());\n    }\n\n    System.out.println(\"Response 2 equals Response 1? \" + response1Body.equals(response2Body));\n  }\n

To prevent a response from using the cache, use CacheControl.FORCE_NETWORK. To prevent it from using the network, use CacheControl.FORCE_CACHE. Be warned: if you use FORCE_CACHE and the response requires the network, OkHttp will return a 504 Unsatisfiable Request response.

"},{"location":"recipes/#canceling-a-call-kt-java","title":"Canceling a Call (.kt, .java)","text":"

Use Call.cancel() to stop an ongoing call immediately. If a thread is currently writing a request or reading a response, it will receive an IOException. Use this to conserve the network when a call is no longer necessary; for example when your user navigates away from an application. Both synchronous and asynchronous calls can be canceled.

Kotlin Java
  private val executor = Executors.newScheduledThreadPool(1)\n  private val client = OkHttpClient()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"http://httpbin.org/delay/2\") // This URL is served with a 2 second delay.\n        .build()\n\n    val startNanos = System.nanoTime()\n    val call = client.newCall(request)\n\n    // Schedule a job to cancel the call in 1 second.\n    executor.schedule({\n      System.out.printf(\"%.2f Canceling call.%n\", (System.nanoTime() - startNanos) / 1e9f)\n      call.cancel()\n      System.out.printf(\"%.2f Canceled call.%n\", (System.nanoTime() - startNanos) / 1e9f)\n    }, 1, TimeUnit.SECONDS)\n\n    System.out.printf(\"%.2f Executing call.%n\", (System.nanoTime() - startNanos) / 1e9f)\n    try {\n      call.execute().use { response ->\n        System.out.printf(\"%.2f Call was expected to fail, but completed: %s%n\",\n            (System.nanoTime() - startNanos) / 1e9f, response)\n      }\n    } catch (e: IOException) {\n      System.out.printf(\"%.2f Call failed as expected: %s%n\",\n          (System.nanoTime() - startNanos) / 1e9f, e)\n    }\n  }\n
  private final ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);\n  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"http://httpbin.org/delay/2\") // This URL is served with a 2 second delay.\n        .build();\n\n    final long startNanos = System.nanoTime();\n    final Call call = client.newCall(request);\n\n    // Schedule a job to cancel the call in 1 second.\n    executor.schedule(new Runnable() {\n      @Override public void run() {\n        System.out.printf(\"%.2f Canceling call.%n\", (System.nanoTime() - startNanos) / 1e9f);\n        call.cancel();\n        System.out.printf(\"%.2f Canceled call.%n\", (System.nanoTime() - startNanos) / 1e9f);\n      }\n    }, 1, TimeUnit.SECONDS);\n\n    System.out.printf(\"%.2f Executing call.%n\", (System.nanoTime() - startNanos) / 1e9f);\n    try (Response response = call.execute()) {\n      System.out.printf(\"%.2f Call was expected to fail, but completed: %s%n\",\n          (System.nanoTime() - startNanos) / 1e9f, response);\n    } catch (IOException e) {\n      System.out.printf(\"%.2f Call failed as expected: %s%n\",\n          (System.nanoTime() - startNanos) / 1e9f, e);\n    }\n  }\n
"},{"location":"recipes/#timeouts-kt-java","title":"Timeouts (.kt, .java)","text":"

Use timeouts to fail a call when its peer is unreachable. Network partitions can be due to client connectivity problems, server availability problems, or anything between. OkHttp supports connect, write, read, and full call timeouts.

Kotlin Java
  private val client: OkHttpClient = OkHttpClient.Builder()\n      .connectTimeout(5, TimeUnit.SECONDS)\n      .writeTimeout(5, TimeUnit.SECONDS)\n      .readTimeout(5, TimeUnit.SECONDS)\n      .callTimeout(10, TimeUnit.SECONDS)\n      .build()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"http://httpbin.org/delay/2\") // This URL is served with a 2 second delay.\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      println(\"Response completed: $response\")\n    }\n  }\n
  private final OkHttpClient client;\n\n  public ConfigureTimeouts() throws Exception {\n    client = new OkHttpClient.Builder()\n        .connectTimeout(10, TimeUnit.SECONDS)\n        .writeTimeout(10, TimeUnit.SECONDS)\n        .readTimeout(30, TimeUnit.SECONDS)\n        .build();\n  }\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"http://httpbin.org/delay/2\") // This URL is served with a 2 second delay.\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      System.out.println(\"Response completed: \" + response);\n    }\n  }\n
"},{"location":"recipes/#per-call-configuration-kt-java","title":"Per-call Configuration (.kt, .java)","text":"

All the HTTP client configuration lives in OkHttpClient including proxy settings, timeouts, and caches. When you need to change the configuration of a single call, call OkHttpClient.newBuilder(). This returns a builder that shares the same connection pool, dispatcher, and configuration with the original client. In the example below, we make one request with a 500 ms timeout and another with a 3000 ms timeout.

Kotlin Java
  private val client = OkHttpClient()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"http://httpbin.org/delay/1\") // This URL is served with a 1 second delay.\n        .build()\n\n    // Copy to customize OkHttp for this request.\n    val client1 = client.newBuilder()\n        .readTimeout(500, TimeUnit.MILLISECONDS)\n        .build()\n    try {\n      client1.newCall(request).execute().use { response ->\n        println(\"Response 1 succeeded: $response\")\n      }\n    } catch (e: IOException) {\n      println(\"Response 1 failed: $e\")\n    }\n\n    // Copy to customize OkHttp for this request.\n    val client2 = client.newBuilder()\n        .readTimeout(3000, TimeUnit.MILLISECONDS)\n        .build()\n    try {\n      client2.newCall(request).execute().use { response ->\n        println(\"Response 2 succeeded: $response\")\n      }\n    } catch (e: IOException) {\n      println(\"Response 2 failed: $e\")\n    }\n  }\n
  private final OkHttpClient client = new OkHttpClient();\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"http://httpbin.org/delay/1\") // This URL is served with a 1 second delay.\n        .build();\n\n    // Copy to customize OkHttp for this request.\n    OkHttpClient client1 = client.newBuilder()\n        .readTimeout(500, TimeUnit.MILLISECONDS)\n        .build();\n    try (Response response = client1.newCall(request).execute()) {\n      System.out.println(\"Response 1 succeeded: \" + response);\n    } catch (IOException e) {\n      System.out.println(\"Response 1 failed: \" + e);\n    }\n\n    // Copy to customize OkHttp for this request.\n    OkHttpClient client2 = client.newBuilder()\n        .readTimeout(3000, TimeUnit.MILLISECONDS)\n        .build();\n    try (Response response = client2.newCall(request).execute()) {\n      System.out.println(\"Response 2 succeeded: \" + response);\n    } catch (IOException e) {\n      System.out.println(\"Response 2 failed: \" + e);\n    }\n  }\n
"},{"location":"recipes/#handling-authentication-kt-java","title":"Handling authentication (.kt, .java)","text":"

OkHttp can automatically retry unauthenticated requests. When a response is 401 Not Authorized, an Authenticator is asked to supply credentials. Implementations should build a new request that includes the missing credentials. If no credentials are available, return null to skip the retry.

Use Response.challenges() to get the schemes and realms of any authentication challenges. When fulfilling a Basic challenge, use Credentials.basic(username, password) to encode the request header.

Kotlin Java
  private val client = OkHttpClient.Builder()\n      .authenticator(object : Authenticator {\n        @Throws(IOException::class)\n        override fun authenticate(route: Route?, response: Response): Request? {\n          if (response.request.header(\"Authorization\") != null) {\n            return null // Give up, we've already attempted to authenticate.\n          }\n\n          println(\"Authenticating for response: $response\")\n          println(\"Challenges: ${response.challenges()}\")\n          val credential = Credentials.basic(\"jesse\", \"password1\")\n          return response.request.newBuilder()\n              .header(\"Authorization\", credential)\n              .build()\n        }\n      })\n      .build()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"http://publicobject.com/secrets/hellosecret.txt\")\n        .build()\n  }\n

To avoid making many retries when authentication isn\u2019t working, you can return null to give up. For example, you may want to skip the retry when these exact credentials have already been attempted:

if (credential == response.request.header(\"Authorization\")) {\n  return null // If we already failed with these credentials, don't retry.\n }\n

You may also skip the retry when you\u2019ve hit an application-defined attempt limit:

if (response.responseCount >= 3) {\n  return null // If we've failed 3 times, give up.\n}\n

This above code relies on this responseCount extension val:

val Response.responseCount: Int\n  get() = generateSequence(this) { it.priorResponse }.count()\n
  private final OkHttpClient client;\n\n  public Authenticate() {\n    client = new OkHttpClient.Builder()\n        .authenticator(new Authenticator() {\n          @Override public Request authenticate(Route route, Response response) throws IOException {\n            if (response.request().header(\"Authorization\") != null) {\n              return null; // Give up, we've already attempted to authenticate.\n            }\n\n            System.out.println(\"Authenticating for response: \" + response);\n            System.out.println(\"Challenges: \" + response.challenges());\n            String credential = Credentials.basic(\"jesse\", \"password1\");\n            return response.request().newBuilder()\n                .header(\"Authorization\", credential)\n                .build();\n          }\n        })\n        .build();\n  }\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"http://publicobject.com/secrets/hellosecret.txt\")\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n  }\n

To avoid making many retries when authentication isn\u2019t working, you can return null to give up. For example, you may want to skip the retry when these exact credentials have already been attempted:

  if (credential.equals(response.request().header(\"Authorization\"))) {\n    return null; // If we already failed with these credentials, don't retry.\n   }\n

You may also skip the retry when you\u2019ve hit an application-defined attempt limit:

  if (responseCount(response) >= 3) {\n    return null; // If we've failed 3 times, give up.\n  }\n

This above code relies on this responseCount() method:

  private int responseCount(Response response) {\n    int result = 1;\n    while ((response = response.priorResponse()) != null) {\n      result++;\n    }\n    return result;\n  }\n
"},{"location":"recipes/#upload-progress-kt-java","title":"Upload Progress (.kt, .java)","text":"

Upload a file to a server (for example, Imgur) and report progress as the request body is being written. You can implement a ProgressListener to receive updates and wrap the original request body with ProgressRequestBody. This allows you to monitor how many bytes have been uploaded and calculate the percentage of completion.

Kotlin Java
  class UploadProgress {\n\n    companion object {\n      private const val IMGUR_CLIENT_ID = \"9199fdef135c122\"\n      private val MEDIA_TYPE_PNG = \"image/png\".toMediaType()\n\n      @JvmStatic\n      fun main(args: Array<String>) {\n        UploadProgress().run()\n      }\n    }\n\n    private val client = OkHttpClient()\n\n    @Throws(Exception::class)\n    fun run() {\n      val progressListener = object : ProgressListener {\n        private var firstUpdate = true\n\n        override fun update(bytesWritten: Long, contentLength: Long, done: Boolean) {\n          if (done) {\n            println(\"completed\")\n          } else {\n            if (firstUpdate) {\n              firstUpdate = false\n              if (contentLength == -1L) {\n                println(\"content-length: unknown\")\n              } else {\n                println(\"content-length: $contentLength\")\n              }\n            }\n            println(bytesWritten)\n            if (contentLength != -1L) {\n              println(\"${100 * bytesWritten / contentLength}% done\")\n            }\n          }\n        }\n      }\n\n      val file = File(\"docs/images/logo-square.png\")\n      val requestBody: RequestBody = file.asRequestBody(MEDIA_TYPE_PNG)\n\n      val request =\n        Request.Builder().header(\"Authorization\", \"Client-ID $IMGUR_CLIENT_ID\")\n          .url(\"https://api.imgur.com/3/image\")\n          .post(ProgressRequestBody(requestBody, progressListener)).build()\n\n      client.newCall(request).execute().use { response ->\n        if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n        println(response.body.string())\n      }\n    }\n\n    private class ProgressRequestBody(\n      private val delegate: RequestBody, private val progressListener: ProgressListener\n    ) : RequestBody() {\n\n      override fun contentType() = delegate.contentType()\n\n      @Throws(IOException::class)\n      override fun contentLength(): Long = delegate.contentLength()\n\n      @Throws(IOException::class)\n      override fun writeTo(sink: BufferedSink) {\n        val forwardingSink = object : ForwardingSink(sink) {\n          private var totalBytesWritten: Long = 0\n          private var completed = false\n\n          override fun write(source: Buffer, byteCount: Long) {\n            super.write(source, byteCount)\n            totalBytesWritten += byteCount\n            progressListener.update(totalBytesWritten, contentLength(), completed)\n          }\n\n          override fun close() {\n            super.close()\n            if (!completed) {\n              completed = true\n              progressListener.update(totalBytesWritten, contentLength(), completed)\n            }\n          }\n        }\n\n        val bufferedSink = forwardingSink.buffer()\n        delegate.writeTo(bufferedSink)\n        bufferedSink.flush()\n      }\n    }\n\n    fun interface ProgressListener {\n      fun update(bytesWritten: Long, contentLength: Long, done: Boolean)\n    }\n  }\n
  public final class UploadProgress {\n    private static final String IMGUR_CLIENT_ID = \"9199fdef135c122\";\n    private static final MediaType MEDIA_TYPE_PNG = MediaType.get(\"image/png\");\n\n    private final OkHttpClient client = new OkHttpClient();\n\n    public void run() throws Exception {\n      final ProgressListener progressListener = new ProgressListener() {\n        boolean firstUpdate = true;\n\n        @Override public void update(long bytesWritten, long contentLength, boolean done) {\n          if (done) {\n            System.out.println(\"completed\");\n          } else {\n            if (firstUpdate) {\n              firstUpdate = false;\n              if (contentLength == -1) {\n                System.out.println(\"content-length: unknown\");\n              } else {\n                System.out.format(\"content-length: %d\\n\", contentLength);\n              }\n            }\n            System.out.println(bytesWritten);\n            if (contentLength != -1) {\n              System.out.format(\"%d%% done\\n\", (100 * bytesWritten) / contentLength);\n            }\n          }\n        }\n      };\n\n      RequestBody requestBody = RequestBody.create(\n          new File(\"docs/images/logo-square.png\"),\n          MEDIA_TYPE_PNG);\n\n      Request request = new Request.Builder()\n          .header(\"Authorization\", \"Client-ID \" + IMGUR_CLIENT_ID)\n          .url(\"https://api.imgur.com/3/image\")\n          .post(new ProgressRequestBody(requestBody, progressListener))\n          .build();\n\n      Response response = client.newCall(request).execute();\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      System.out.println(response.body().string());\n    }\n\n    public static void main(String... args) throws Exception {\n      new UploadProgress().run();\n    }\n\n    private static class ProgressRequestBody extends RequestBody {\n      private final ProgressListener progressListener;\n      private final RequestBody delegate;\n\n      public ProgressRequestBody(RequestBody delegate, ProgressListener progressListener) {\n        this.delegate = delegate;\n        this.progressListener = progressListener;\n      }\n\n      @Override public MediaType contentType() {\n        return delegate.contentType();\n      }\n\n      @Override public long contentLength() throws IOException {\n        return delegate.contentLength();\n      }\n\n      @Override public void writeTo(BufferedSink sink) throws IOException {\n        BufferedSink bufferedSink = Okio.buffer(sink(sink));\n        delegate.writeTo(bufferedSink);\n        bufferedSink.flush();\n      }\n\n      public Sink sink(Sink sink) {\n        return new ForwardingSink(sink) {\n          private long totalBytesWritten = 0L;\n          private boolean completed = false;\n\n          @Override public void write(Buffer source, long byteCount) throws IOException {\n            super.write(source, byteCount);\n            totalBytesWritten += byteCount;\n            progressListener.update(totalBytesWritten, contentLength(), completed);\n          }\n\n          @Override public void close() throws IOException {\n            super.close();\n            if (!completed) {\n              completed = true;\n              progressListener.update(totalBytesWritten, contentLength(), completed);\n            }\n          }\n        };\n      }\n    }\n\n    interface ProgressListener {\n      void update(long bytesWritten, long contentLength, boolean done);\n    }\n  }\n
"},{"location":"releasing/","title":"Releasing","text":"
  1. Update CHANGELOG.md.

  2. Set versions:

    export RELEASE_VERSION=X.Y.Z\nexport NEXT_VERSION=X.Y.Z-SNAPSHOT\n
  3. Update versions, tag the release, and prepare for the next release.

    `` sed -i \"\" \\ \"s/version = \\\".*\\\"/version = \\\"$RELEASE_VERSION\\\"/g\" \\ build.gradle.kts sed -i \"\" \\ \"s/\\\"com.squareup.okhttp3:\\([^\\:]*\\):[^\\\"]*\\\"/\\\"com.squareup.okhttp3:\\1:$RELEASE_VERSION\\\"/g\" \\find . -name \u201cREADME.md\u201dsed -i \"\" \\ \"s/\\/com.squareup.okhttp3\\/\\([^\\:]*\\)\\/[^\\/]*\\//\\/com.squareup.okhttp3\\/\\1\\/$RELEASE_VERSION\\//g\" \\find . -name \u201cREADME.md\u201d`

    git commit -am \u201cPrepare for release $RELEASE_VERSION.\u201d git tag -a parent-$RELEASE_VERSION -m \u201cVersion $RELEASE_VERSION\u201d git push && git push \u2013tags

sed -i \u201c\u201d \\ \u201cs/version = \".*\"/version = \"$NEXT_VERSION\"/g\u201d \\ build.gradle.kts git commit -am \u201cPrepare next development version.\u201d git push ```

  1. Wait for GitHub Actions to build and promote the release.
"},{"location":"works_with_okhttp/","title":"Works with OkHttp","text":"

Here\u2019s some libraries that work nicely with OkHttp.

  • Chucker: An in-app HTTP inspector for Android OkHttp clients.
  • Coil: An image loading library for Android backed by Kotlin Coroutines.
  • Communicator: An OkHttp wrapper for Scala built with Android in mind.
  • Cronet Transport for OkHttp: A HTTP3 ready transport layer for OkHttp on Android, based on Chromium network stack.
  • CWAC-NetSecurity: Simplifying Secure Internet Access.
  • Failsafe: Fault tolerance and resilience patterns.
  • Flipper: A desktop debugging platform for mobile developers.
  • Fresco: An Android library for managing images and the memory they use.
  • Glide: An image loading and caching library for Android focused on smooth scrolling.
  • GoogleAppEngineOkHttp: An OkHttp Call that works on Google App Engine.
  • Hunter: Configure all OkHttpClients centrally.
  • \u2b1c\ufe0f Moshi: A modern JSON library for Android and Java.
  • Ok2Curl: Convert OkHttp requests into curl logs.
  • OkHttp AWS Signer: AWS V4 signing algorithm for OkHttp requests
  • okhttp-digest: A digest authenticator for OkHttp.
  • OkHttp Idling Resource: An Espresso IdlingResource for OkHttp.
  • okhttp-client-mock: A simple OKHttp client mock, using a programmable request interceptor.
  • OkHttp Profiler: An IntelliJ plugin for monitoring OkHttp calls.
  • OkReplay: Record and replay OkHttp network interaction in your tests.
  • okhttp-signpost: OAuth signing with signpost and OkHttp.
  • okhttp-spring-boot: Spring Boot starters for OkHttp
  • okhttp-staleiferror-interceptor: serve stale responses when the server isn\u2019t reachable.
  • okhttp-stats: Get stats like average network speed.
  • okhttp-system-keystore: Use trusted certificates from the operating system keystore (Keychain on macOS, Certificate Store on Windows).
  • \u2b1c\ufe0f Okio: A modern I/O API for Java.
  • OkLog: Response logging interceptor for OkHttp. Logs a URL link with URL-encoded response for every OkHttp call.
  • Okurl A curl-like client for social networks and other APIs.
  • PersistentCookieJar: A persistent CookieJar.
  • \u2b1c\ufe0f Picasso: A powerful image downloading and caching library for Android.
  • \u2b1c\ufe0f Retrofit: Type-safe HTTP client for Android and Java by Square.
  • ScribeJava: Simple OAuth library for Java
  • Stetho: Stetho is a debug bridge for Android applications.
  • \u2b1c\ufe0f Wire: Clean, lightweight protocol buffers for Android and Java.
"},{"location":"changelogs/changelog/","title":"Change Log","text":""},{"location":"changelogs/changelog/#version-4x","title":"Version 4.x","text":"

See 4.x Change log for the stable version changelogs.

"},{"location":"changelogs/changelog/#version-532","title":"Version 5.3.2","text":"

2025-11-18

  • Fix: Don\u2019t delay triggering timeouts. In Okio 3.16.0 we introduced a regression that caused timeouts to fire later than they were supposed to.

  • Upgrade: Okio 3.16.4.

"},{"location":"changelogs/changelog/#version-531","title":"Version 5.3.1","text":"

2025-11-16

This release is the same as 5.3.0. Okio 3.16.3 didn\u2019t have a necessary fix!

  • Upgrade: Okio 3.16.3.
"},{"location":"changelogs/changelog/#version-530","title":"Version 5.3.0","text":"

2025-10-30

  • New: Add tags to Call, including computable tags. Use this to attach application-specific metadata to a Call in an EventListener or Interceptor. The tag can be read in any other EventListener or Interceptor.

      override fun intercept(chain: Interceptor.Chain): Response {\n    chain.call().tag(MyAnalyticsTag::class) {\n      MyAnalyticsTag(...)\n    }\n\n    return chain.proceed(chain.request())\n  }\n
  • New: Support request bodies on HTTP/1.1 connection upgrades.

  • New: EventListener.plus() makes it easier to observe events in multiple listeners.
  • Fix: Don\u2019t spam logs with \u2018Method isLoggable in android.util.Log not mocked.\u2019 when using OkHttp in Robolectric and Paparazzi tests.
  • Upgrade: Kotlin 2.2.21.
  • Upgrade: Okio 3.16.2.
  • Upgrade: ZSTD-KMP 0.4.0. This update fixes a bug that caused APKs to fail 16 KB ELF alignment checks.
"},{"location":"changelogs/changelog/#version-523","title":"Version 5.2.3","text":"

2025-11-18

  • Fix: Don\u2019t delay triggering timeouts. In Okio 3.16.0 we introduced a regression that caused timeouts to fire later than they were supposed to.

  • Upgrade: Okio 3.16.4.

"},{"location":"changelogs/changelog/#version-522","title":"Version 5.2.2","text":"

2025-11-16

This release is the same as 5.2.1. Okio 3.16.3 didn\u2019t have a necessary fix!

  • Upgrade: Okio 3.16.3.
"},{"location":"changelogs/changelog/#version-521","title":"Version 5.2.1","text":"

2025-10-09

  • Fix: Don\u2019t crash when calling Socket.shutdownOutput() or shutdownInput() on an SSLSocket on Android API 21 through 23. This method throws an UnsupportedOperationException, so we now catch that and close the underlying stream instead.

  • Upgrade: Okio 3.16.1.

"},{"location":"changelogs/changelog/#version-520","title":"Version 5.2.0","text":"

2025-10-07

  • New: Support HTTP 101 responses with Response.socket. This mechanism is only supported on HTTP/1.1. We also reimplemented our websocket client to use this new mechanism.

  • New: The okhttp-zstd module negotiates Zstandard (zstd) compression with servers that support it. It integrates a new (unstable) ZSTD-KMP library, also from Square. Enable it like this:

    val client = OkHttpClient.Builder()\n  .addInterceptor(CompressionInterceptor(Zstd, Gzip))\n  .build()\n
  • New: Support the QUERY HTTP method. You will need to set the Request.cacheUrlOverride property to cache calls made with this method. The RequestBody.sha256() may be helpful here; use it to compose a cache URL from the query body.

  • New: Publish events when calls must wait to execute. EventListener.dispatcherQueueStart() is invoked when a call starts waiting, and dispatcherQueueEnd() is invoked when it\u2019s done.

  • New: Request.toCurl() returns a copy-pasteable curl command consistent with Chrome\u2019s and Firefox\u2019s \u2018copy as cURL\u2019 features.

  • New: Support JPMS. We replaced our Automatic-Module-Name metadata with proper module-info.java files.

  • Fix: Recover gracefully when worker threads are interrupted. When we introduced fast fallback in OkHttp 5.0, we started using background threads while connecting. Sadly that code didn\u2019t handle interruptions well. This is now fixed.

  • Upgrade: Kotlin 2.2.20.

  • Upgrade: Okio 3.16.0.
"},{"location":"changelogs/changelog/#version-510","title":"Version 5.1.0","text":"

2025-07-07

  • New: Response.peekTrailers(). When we changed Response.trailers() to block instead of throwing in 5.0.0, we inadvertently removed the ability for callers to peek the trailers (by catching the IllegalStateException if they weren\u2019t available). This new API restores that capability.

  • Fix: Don\u2019t crash on trailers() if the response doesn\u2019t have a body. We broke Retrofit users who read the trailers on the raw() OkHttp response, after its body was decoded.

"},{"location":"changelogs/changelog/#version-500","title":"Version 5.0.0","text":"

2025-07-02

This is our first stable release of OkHttp since 2023. Here\u2019s the highlights if you\u2019re upgrading from OkHttp 4.x:

OkHttp is now packaged as separate JVM and Android artifacts. This allows us to offer platform-specific features and optimizations. If your build system handles Gradle module metadata, this change should be automatic.

MockWebServer has a new coordinate and package name. We didn\u2019t like that our old artifact depends on JUnit 4 so the new one doesn\u2019t. It also has a better API built on immutable values. (We intend to continue publishing the old okhttp3.mockwebserver artifact so there\u2019s no urgency to migrate.)

Coordinate Package Name Description com.squareup.okhttp3:mockwebserver3:5.0.0 mockwebserver3 Core module. No JUnit dependency! com.squareup.okhttp3:mockwebserver3-junit4:5.0.0 mockwebserver3.junit4 Optional JUnit 4 integration. com.squareup.okhttp3:mockwebserver3-junit5:5.0.0 mockwebserver3.junit5 Optional JUnit 5 integration. com.squareup.okhttp3:mockwebserver:5.0.0 okhttp3.mockwebserver Obsolete. Depends on JUnit 4.

OkHttp now supports Happy Eyeballs (RFC 8305) for IPv4+IPv6 networks. It attempts both IPv6 and IPv4 connections concurrently, keeping whichever connects first.

We\u2019ve improved our Kotlin APIs. You can skip the builder:

val request = Request(\n  url = \"https://cash.app/\".toHttpUrl(),\n)\n

OkHttp now supports GraalVM.

Here\u2019s what has changed since 5.0.0-alpha.17:

  • Upgrade: Okio 3.15.0.
  • Upgrade: Kotlin 2.2.0.
  • Fix: Don\u2019t crash with a NoSuchMethodError when using OkHttp with the Sentry SDK.
  • Fix: Retain the query data in the old okhttp3.mockwebserver.RecordedRequest.path property. We inadvertently changed this behavior when we introduced the mockwebserver3 API.
"},{"location":"changelogs/changelog/#version-500-alpha17","title":"Version 5.0.0-alpha.17","text":"

2025-06-29

This release stabilizes many APIs for the imminent OkHttp 5.0.0 release.

  • New: TrailersSource, a public API for HTTP trailers. Production callers shouldn\u2019t need this as the API to read response trailers is unchanged. Testers may use this new stable API to supply trailers for a Response.

  • New: Path.asRequestBody() is now a non-experimental API.

  • New: FileDescriptor.toRequestBody() is now a non-experimental API.

  • New: Stop using experimental coroutines APIs in our okhttp-coroutines artifact.

  • Breaking: Move gzip from RequestBody to Request.Builder. This new API handles both compressing the request body and also adding the corresponding Content-Encoding header. Note that this function is sensitive to when it is called: the response body must be supplied before it can be compressed.

  • Breaking: Remove AddressPolicy, AsyncDns, and ConnectionListener from the public API. We intend to ship a public API for these features, but we don\u2019t want to hold OkHttp 5.0.0 until those APIs are stable.

  • Fix: Change MockWebServer.close() to cancel ongoing calls that are blocked on a delay.

  • Upgrade: Okio 3.13.0.

This release also stabilizes many APIs in the mockwebserver3 artifact that\u2019s new in 5.0.

  • Breaking: RecordedRequest.body is now nullable. Null is used when the request does not have a body.

  • Breaking: RecordedRequest.chunkSizes is now nullable. Null is used when the request does not use chunked encoding. This is different from an empty list - that indicates the request is chunked but has no data.

  • Breaking: Replace SocketPolicy with a new type, SocketEffect. It splits triggers (request start, response body, etc.) from effects (closing the socket, closing the stream, etc.).

  • Breaking: Rename RecordedRequest.sequenceNumber to exchangeIndex and introduce connectionIndex on that type. These properties may be useful when testing features like connection reuse.

  • Breaking: Replace our parameters-based JUnit 5 extension with a new annotation, @StartStop. Put this annotation on a MockWebServer property and the extension will start it before your test executes and stop it after it completes. No further configuration is required.

    @StartStop val server = MockWebServer()\n
  • Breaking: Don\u2019t automatically start MockWebServer after calls to accessors like port. Now these accessors will throw an IllegalStateException if the service has not yet been started.

  • Breaking: Rename RecordedRequest.path to RecordedRequest.target. (This property is sometimes a path, but it can also be a path and query, or a full URL.)

  • Breaking: Decompose the RecordedRequest.requestLine into three properties, method, target, and version. This better suits HTTP/2 where the request line had to be synthesized from component headers.

  • Breaking: Change RecordedRequest.body from a mutable Buffer to an immutable ByteString.

  • Breaking: Adopt Okio\u2019s new Socket interface for MockResponse.socketHandler.

Note that any Breaking changes above impact only APIs introduced in earlier 5.0.0-alpha releasees. We don\u2019t break binary compatibility with non-alpha APIs.

"},{"location":"changelogs/changelog/#version-500-alpha16","title":"Version 5.0.0-alpha.16","text":"

2025-05-29

  • Fix: The previous release would crash when running on Robolectric. We didn\u2019t anticipate running our Android artifact on the JVM platform!
"},{"location":"changelogs/changelog/#version-500-alpha15","title":"Version 5.0.0-alpha.15","text":"

2025-05-28

This release introduces separate JVM and Android artifacts. Until now, we\u2019ve distributed OkHttp as a JVM library that detects Android capabilities at runtime, but that doesn\u2019t offer Android-specific APIs. With this release we\u2019re starting to publish OkHttp as an AAR for Android users in addition to our existing JAR for JVM users.

This first Android-specific artifact adopts Android\u2019s assets mechanism to embed the public suffix data. We will build more Android integration in future releases.

The okhttp-android artifact first introduced in 5.0.0-alpha.7 is no longer available:

  • The AndroidAsyncDns class moved to the okhttp artifact.
  • The AndroidLogging class is no longer necessary. LoggingEventListener and HttpLoggingInterceptor write to logcat by default.

The rest of this release is our highest-quality release yet. Though we continue to use the word alpha in the version name, the only unstable thing in it is some non-final APIs tagged @ExperimentalOkHttpApi. You can safely use this release in production.

  • Fix: Attempt to read the response even if sending the request failed. This makes it possible to handle response statuses like HTTP/1.1 431 \"Request Header Fields Too Large.

  • Fix: Handle multiple 1xx responses.

  • Fix: Address a performance bug in our internal task runner. We had a race condition that could result in it OkHttp starting a thread for each queued task, even when a single thread could run all of them.

  • Fix: Address a performance bug in MultipartReader. We were scanning the entire input stream for a delimiter when we only needed to scan enough to return a result.

  • Fix: Don\u2019t double-compress the public suffix database. OkHttp is usually distributed in a compressed file (like a JAR or APK), so compressing its internal data was redundant.

  • Fix: Call ProxySelector.connectFailed() when a connection\u2019s initial TCP handshake fails.

  • Fix: Change the signature of Dispatcher to accept a nullable ExecutorService. Changing this parameter to be non-null was an unintended signature change in OkHttp 4.0.

  • New: EventListener.retryDecision() is called each time a request fails with an IOException. It notifies your listener if OkHttp will retry.

  • New: EventListener.followUpDecision() is called each time a response is received. It notifies your listener if OkHttp has decided to make a follow-up request. Some common follow-ups are authentication challenges and redirects.

  • New: Handy constants for Headers.EMPTY, RequestBody.EMPTY, and ResponseBody.EMPTY.

  • New: OkHttp now calls StrictMode.noteSlowCall() when initializing TLS on Android. Use StrictMode to detect if your OkHttpClient is being initialized on the main thread.

  • Upgrade: Okio 3.12.0.

  • Upgrade: Kotlin 2.1.21.

  • Upgrade: kotlinx.coroutines 1.10.2. This is used by the optional okhttp-coroutines artifact.

  • Upgrade: AndroidX Startup 1.2.0. The Android variant of the okhttp artifact now depends on this. This is a new dependency.

  • Upgrade: AndroidX Annotation 1.9.1. As above, the Android variant of the okhttp artifact now depends on this. This is also a new dependency.

"},{"location":"changelogs/changelog/#version-500-alpha14","title":"Version 5.0.0-alpha.14","text":"

2024-04-17

  • Breaking: Move coroutines extensions to okhttp3.coroutines. Previously this artifact shared the okhttp3 package name with our core module, which is incompatible with the Java Platform Module System.

  • Fix in okhttp-coroutines: Publish a valid artifact. The coroutines JAR file in 5.0.0-alpha.13 was corrupt and should not be used.

"},{"location":"changelogs/changelog/#version-500-alpha13","title":"Version 5.0.0-alpha.13","text":"

2024-04-16

  • Breaking: Tag unstable new APIs as @ExperimentalOkHttpApi. We intend to release OkHttp 5.0 without stabilizing these new APIs first.

    Do not use these experimental APIs in modules that may be executed using a version of OkHttp different from the version that the module was compiled with. Do not use them in published libraries. Do not use them if you aren\u2019t willing to track changes to them.

  • Breaking: Drop support for Kotlin Multiplatform.

    We planned to support multiplatform in OkHttp 5.0, but after building it, we weren\u2019t happy with the implementation trade-offs. We can\u2019t use our HTTP client engine on Kotlin/JS, and we weren\u2019t prepared to build a TLS API for Kotlin/Native.

    We\u2019d prefer a multiplatform HTTP client API that\u2019s backed by OkHttp on Android and JVM, and other engines on other platforms. Ktor does this pretty well today!

  • Breaking: Use kotlin.time.Duration in APIs like OkHttpClient.Builder.callTimeout(). This update also drops support for the DurationUnit functions introduced in earlier alpha releases of OkHttp 5.

  • Breaking: Reorder the parameters in the Cache constructor that was introduced in 5.0.0-alpha.3.

  • New: Request.Builder.cacheUrlOverride() customizes the cache key used for a request. This can be used to make canonical URLs for the cache that omit insignificant query parameters or other irrelevant data.

    This feature may be used with POST requests to cache their responses. In such cases the request body is not used to determine the cache key, so you must manually add cache-relevant data to the override URL. For example, you could add a request-body-sha256 query parameter so requests with the same POST data get the same cache entry.

  • New: HttpLoggingInterceptor.redactQueryParams() configures the query parameters to redact in logs. For best security, don\u2019t put sensitive information in query parameters.

  • New: ConnectionPool.setPolicy() configures a minimum connection pool size for a target address. Use this to proactively open HTTP connections.

    Connections opened to fulfill this policy are subject to the connection pool\u2019s keepAliveDuration but do not count against the pool-wide maxIdleConnections limit.

    This feature increases the client\u2019s traffic and the load on the server. Talking to your server\u2019s operators before adopting it.

  • New in okhttp-android: HttpLoggingInterceptor.androidLogging() and LoggingEventListener.androidLogging() write HTTP calls or events to Logcat.

  • New: OkHttpClient.webSocketCloseTimeout configures how long a web socket connection will wait for a graceful shutdown before it performs an abrupt shutdown.

  • Fix: Honor RequestBody.isOneShot() in MultipartBody

  • Fix in okhttp-coroutines: Don\u2019t leak response bodies in executeAsync(). We had a bug where we didn\u2019t call Response.close() if the coroutine was canceled before its response was returned.

  • Upgrade: Okio 3.9.0.

  • Upgrade: Kotlin 1.9.23.

  • Upgrade: Unicode\u00ae IDNA 15.1.0

"},{"location":"changelogs/changelog/#version-500-alpha12","title":"Version 5.0.0-alpha.12","text":"

2023-12-17

We took too long to cut this release and there\u2019s a lot of changes in it. We\u2019ve been busy.

Although this release is labeled alpha, the only unstable thing in it is our new APIs. This release has many critical bug fixes and is safe to run in production. We\u2019re eager to stabilize our new APIs so we can get out of alpha.

  • New: Support Java 21\u2019s virtual threads (\u2018OpenJDK Project Loom\u2019). We changed OkHttp\u2019s internals to use Lock and Condition instead of synchronized for best resource utilization.

  • New: Switch our Internationalized Domain Name (IDN) implementation to UTS #46 Nontransitional Processing. With this fix, the \u00df code point no longer maps to ss. OkHttp now embeds its own IDN mapping table in the library.

  • New: Prefer the client\u2019s configured precedence order for TLS cipher suites. (OkHttp used to prefer the JDK\u2019s precedence order.) This change may cause your HTTP calls to negotiate a different cipher suite than before! OkHttp\u2019s defaults cipher suites are selected for good security and performance.

  • New: ConnectionListener publishes events for connects, disconnects, and use of pooled connections.

  • Fix: Immediately update the connection\u2019s flow control window instead of waiting for the receiving stream to process it.

    This change may increase OkHttp\u2019s memory use for applications that make many concurrent HTTP calls and that can receive data faster than they can process it. Previously, OkHttp limited HTTP/2 to 16 MiB of unacknowledged data per connection. With this fix there is a limit of 16 MiB of unacknowledged data per stream and no per-connection limit.

  • Fix: Don\u2019t close a Deflater while we\u2019re still using it to compress a web socket message. We had a severe bug where web sockets were closed on the wrong thread, which caused NullPointerException crashes in Deflater.

  • Fix: Don\u2019t crash after a web socket fails its connection upgrade. We incorrectly released the web socket\u2019s connections back to the pool before their resources were cleaned up.

  • Fix: Don\u2019t infinite loop when a received web socket message has self-terminating compressed data.

  • Fix: Don\u2019t fail the call when the response code is \u2018HTTP 102 Processing\u2019 or \u2018HTTP 103 Early Hints\u2019.

  • Fix: Honor interceptors\u2019 changes to connect and read timeouts.

  • Fix: Recover gracefully when a cached response is corrupted on disk.

  • Fix: Don\u2019t leak file handles when a cache disk write fails.

  • Fix: Don\u2019t hang when the public suffix database cannot be loaded. We had a bug where a failure reading the public suffix database would cause subsequent reads to hang when they should have crashed.

  • Fix: Avoid InetAddress.getCanonicalHostName() in MockWebServer. This avoids problems if the host machine\u2019s IP address has additional DNS registrations.

  • New: Create a JPMS-compatible artifact for JavaNetCookieJar. Previously, multiple OkHttp artifacts defined classes in the okhttp3 package, but this is forbidden by the Java module system. We\u2019ve fixed this with a new package (okhttp3.java.net.cookiejar) and a new artifact, com.squareup.okhttp3:okhttp-java-net-cookiehandler. (The original artifact now delegates to this new one.)

    implementation(\"com.squareup.okhttp3:okhttp-java-net-cookiehandler:5.0.0-alpha.12\")\n
  • New: Cookie.sameSite determines whether cookies should be sent on cross-site requests. This is used by servers to defend against Cross-Site Request Forgery (CSRF) attacks.

  • New: Log the total time of the HTTP call in HttpLoggingInterceptor.

  • New: OkHttpClient.Builder now has APIs that use kotlin.time.Duration.

  • New: mockwebserver3.SocketPolicy is now a sealed interface. This is one of several backwards-incompatible API changes that may impact early adopters of this alpha API.

  • New: mockwebserver3.Stream for duplex streams.

  • New: mockwebserver3.MockResponseBody for streamed response bodies.

  • New: mockwebserver3.MockResponse is now immutable, with a Builder.

  • New: mockwebserver3.RecordedRequest.handshakeServerNames returns the SNI (Server Name Indication) attribute from the TLS handshake.

  • Upgrade: Kotlin 1.9.21.

  • Upgrade: Okio 3.7.0.

"},{"location":"changelogs/changelog/#version-500-alpha11","title":"Version 5.0.0-alpha.11","text":"

2022-12-24

  • New: Enable fast fallback by default. It\u2019s our implementation of Happy Eyeballs, RFC 8305. Disable with OkHttpClient.Builder.fastFallback(false).
  • Fix: Don\u2019t log response bodies for server-sent events.
  • Fix: Skip early hints (status code 103) responses.
  • Fix: Don\u2019t log sensitive headers in Request.toString().
  • Fix: Don\u2019t crash when the dispatcher\u2019s ExecutorService is shutdown with many calls still enqueued.
  • Upgrade: GraalVM 22.
  • Upgrade: Kotlin 1.7.10.
"},{"location":"changelogs/changelog/#version-500-alpha10","title":"Version 5.0.0-alpha.10","text":"

2022-06-26

  • Fix: Configure the multiplatform artifact (com.squareup.okhttp3:okhttp:3.x.x) to depend on the JVM artifact (com.squareup.okhttp3:okhttp-jvm:3.x.x) for Maven builds. This should work-around an issue where Maven doesn\u2019t interpret Gradle metadata.
  • Fix: Make another attempt at supporting Kotlin 1.5.31 at runtime. We were crashing on DurationUnit which was a typealias in 1.5.x.
  • Upgrade: Okio 3.2.0.
"},{"location":"changelogs/changelog/#version-500-alpha9","title":"Version 5.0.0-alpha.9","text":"

2022-06-16

  • New: Enforce label length limits in URLs. HttpUrl now rejects URLs whose domains aren\u2019t valid. This includes overly-long domain names (longer than 253 characters), overly-long labels (more than 63 characters between dots), and empty labels.
  • New: Don\u2019t include the Content-Length header in multipart bodies. Servers must delimit OkHttp\u2019s request bodies using the boundary only. (This change makes OkHttp more consistent with browsers and other HTTP clients.)
  • New: Drop the tunnelProxy argument in MockWebServer.useHttps(). This change only impacts the OkHttp 5.x API which uses the mockwebserver3 package.
  • Fix: Don\u2019t call toDuration() which isn\u2019t available in kotlin-stdlib 1.4.
"},{"location":"changelogs/changelog/#version-500-alpha8","title":"Version 5.0.0-alpha.8","text":"

2022-06-08

  • Fix: Change how H2_PRIOR_KNOWLEDGE works with HTTP proxies. Previously OkHttp assumed the proxy itself was a prior knowledge HTTP/2 server. With this update, OkHttp attempts a CONNECT tunnel just as it would with HTTPS. For prior knowledge with proxies OkHttp\u2019s is now consistent with these curl arguments:

    curl \\\n  --http2-prior-knowledge \\\n  --proxy localhost:8888 \\\n  --proxytunnel \\\n  http://squareup.com/robots.txt\n
  • Fix: Support executing OkHttp on kotlin-stdlib versions as old as 1.4. The library still builds on up-to-date Kotlin releases (1.6.21) but no longer needs that version as a runtime dependency. This should make it easier to use OkHttp in Gradle plugins.

  • Fix: Don\u2019t start the clock on response timeouts until the request body is fully transmitted. This is only relevant for duplex request bodies, because they are written concurrently when reading the response body.

  • New: MockResponse.inTunnel() is a new mockwebserver3 API to configure responses that are served while creating a proxy tunnel. This obsoletes both the tunnelProxy argument on MockWebServer and the UPGRADE_TO_SSL_AT_END socket option. (Only APIs on mockwebserver3 are changed; the old okhttp3.mockwebserver APIs remain as they always have been.

"},{"location":"changelogs/changelog/#version-500-alpha7","title":"Version 5.0.0-alpha.7","text":"

2022-04-26

This release introduces new Kotlin-friendly APIs. When we migrated OkHttp from Java to Kotlin in OkHttp 4.0, we kept our Java-first APIs. With 5.0 we\u2019re continuing to support Java and adding additional improvements for Kotlin users. In this alpha we\u2019re excited to skip-the-builder for requests and remove a common source of non-null assertions (!!) on the response body.

The alpha releases in the 5.0.0 series have production-quality code and an unstable API. We expect to make changes to the APIs introduced in 5.0.0-alpha.X. These releases are safe for production use and \u2018alpha\u2019 strictly signals that we\u2019re still experimenting with some new APIs. If you\u2019re eager for the fixes or features below, please upgrade.

  • New: Named and default parameters constructor for Request:

    val request = Request(\n  url = \"https://cash.app/\".toHttpUrl(),\n)\n
  • New: Response.body is now non-null. This was generally the case in OkHttp 4.x, but the Kotlin type declaration was nullable to support rare cases like the body on Response.cacheResponse, Response.networkResponse, and Response.priorResponse. In such cases the body is now non-null, but attempts to read its content will fail.

  • New: Kotlin-specific APIs for request tags. Kotlin language users can lookup tags with a type parameter only, like request.tag<MyTagClass>().
  • New: MockWebServer has improved support for HTTP/1xx responses. Once you\u2019ve migrated to the new mockwebserver3 package, there\u2019s a new field, MockResponse.informationalResponses.
  • Fix: Don\u2019t interpret trailers as headers after an HTTP/100 response. This was a bug only when the HTTP response body itself is empty.
  • Fix: Don\u2019t crash when a fast fallback call has both a deferred connection and a held connection.
  • Fix: OkHttpClient no longer implements Cloneable. It never should have; the class is immutable. This is left over from OkHttp 2.x (!) when that class was mutable. We\u2019re using the 5.x upgrade as an opportunity to remove very obsolete APIs.
  • Fix: Recover gracefully when Android\u2019s NativeCrypto crashes with \"ssl == null\". This occurs when OkHttp retrieves ALPN state on a closed connection.
  • Upgrade: Kotlin 1.6.21.
  • Upgrade: Okio 3.1.0.
"},{"location":"changelogs/changelog/#version-500-alpha6","title":"Version 5.0.0-alpha.6","text":"

2022-03-14

  • Fix: Don\u2019t attempt to close pooled connections. We saw occasional fast fallback calls crash in the previous alpha due to an unexpected race.
"},{"location":"changelogs/changelog/#version-500-alpha5","title":"Version 5.0.0-alpha.5","text":"

2022-02-21

  • Fix: Don\u2019t include Assertk in OkHttp\u2019s production dependencies. This regression was introduced in the 5.0.0-alpha.4 release.
  • Fix: Don\u2019t ask Dns implementations to resolve strings that are already IP addresses.
  • Fix: Change fast fallback to race TCP handshakes only. To avoid wasted work, OkHttp will not attempt multiple TLS handshakes for the same call concurrently.
  • Fix: Don\u2019t crash loading the public suffix database in GraalVM native images. The function HttpUrl.topPrivateDomain() uses a resource file to identify private domains, but we didn\u2019t include this file on GraalVM.
"},{"location":"changelogs/changelog/#version-500-alpha4","title":"Version 5.0.0-alpha.4","text":"

2022-02-01

This release introduces fast fallback to better support mixed IPv4+IPv6 networks. Fast fallback is what we\u2019re calling our implementation of Happy Eyeballs, RFC 8305. With this feature OkHttp will attempt both IPv6 and IPv4 connections concurrently, keeping whichever connects first. Fast fallback gives IPv6 connections a 250 ms head start so IPv6 is preferred on networks where it\u2019s available.

To opt-in, configure your OkHttpClient.Builder:

OkHttpClient client = new OkHttpClient.Builder()\n    .fastFallback(true)\n    .build();\n
  • New: Change the build from Kotlin-JVM to Kotlin-multiplatform (which includes JVM). Both native and JavaScript platforms are unstable preview releases and subject to backwards-incompatible changes in forthcoming releases.
  • Fix: Don\u2019t crash loading the public suffix database resource in obfuscated builds.
  • Fix: Don\u2019t silently ignore calls to EventSource.cancel() made from EventSourceListener.onOpen().
  • Fix: Enforce the max intermediates constraint when using pinned certificates with Conscrypt. This impacts Conscrypt when the server\u2019s presented certificates form both a trusted-but-unpinned chain and an untrusted-but-pinned chain.
  • Upgrade: Kotlin 1.6.10.
"},{"location":"changelogs/changelog/#version-500-alpha3","title":"Version 5.0.0-alpha.3","text":"

2021-11-22

  • Fix: Change Headers.toString() to redact authorization and cookie headers.
  • Fix: Don\u2019t do DNS to get the hostname for RecordedRequest.requestUrl. This was doing a DNS lookup for the local hostname, but we really just wanted the Host header.
  • Fix: Don\u2019t crash with a InaccessibleObjectException when detecting the platform trust manager on Java 17+.
  • Fix: Don\u2019t crash if a cookie\u2019s value is a lone double quote character.
  • Fix: Don\u2019t crash when canceling an event source created by EventSources.processResponse().
  • New: Cache now has a public constructor that takes an [okio.FileSystem]. This should make it possible to implement decorators for cache encryption or compression.
  • New: Cookie.newBuilder() to build upon an existing cookie.
  • New: Use TLSv1.3 when running on JDK 8u261 or newer.
  • New: QueueDispatcher.clear() may be used to reset a MockWebServer instance.
  • New: FileDescriptor.toRequestBody() may be particularly useful for users of Android\u2019s Storage Access Framework.
  • Upgrade: Kotlin 1.5.31.
  • Upgrade: Okio 3.0.0.
"},{"location":"changelogs/changelog/#version-500-alpha2","title":"Version 5.0.0-alpha.2","text":"

2021-01-30

In this release MockWebServer has a new Maven coordinate and package name. A longstanding problem with MockWebServer has been its API dependency on JUnit 4. We\u2019ve reorganized things to remove that dependency while preserving backwards compatibility.

Maven Coordinate Package Name Description com.squareup.okhttp3:mockwebserver3:5.0.0-alpha.2 mockwebserver3 Core module. No JUnit dependency! com.squareup.okhttp3:mockwebserver3-junit4:5.0.0-alpha.2 mockwebserver3.junit4 Optional JUnit 4 integration. com.squareup.okhttp3:mockwebserver3-junit5:5.0.0-alpha.2 mockwebserver3.junit5 Optional JUnit 5 integration. com.squareup.okhttp3:mockwebserver:5.0.0-alpha.2 okhttp3.mockwebserver Obsolete. Depends on JUnit 4.

The new APIs use mockwebserver3 in both the Maven coordinate and package name. This new API is not stable and will likely change before the final 5.0.0 release.

If you have code that subclasses okhttp3.mockwebserver.QueueDispatcher, this update is not source or binary compatible. Migrating to the new mockwebserver3 package will fix this problem.

  • New: DNS over HTTPS is now a stable feature of OkHttp. We introduced this as an experimental module in 2018. We are confident in its stable API and solid implementation.
  • Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads concurrently close an SSL socket. This would have appeared in crash logs as NullPointerException: bio == null.
  • Fix: Use plus + instead of %20 to encode space characters in FormBody. This was a longstanding bug in OkHttp. The fix makes OkHttp consistent with major web browsers.
  • Fix: Don\u2019t crash if Conscrypt returns a null version.
  • Fix: Include the public suffix data as a resource in GraalVM native images.
  • Fix: Fail fast when the cache is corrupted.
  • Fix: Fail fast when a private key cannot be encoded.
  • Fix: Fail fast when attempting to verify a non-ASCII hostname.
  • Upgrade: GraalVM 21.
  • Upgrade: Kotlin 1.4.20.
"},{"location":"changelogs/changelog/#version-500-alpha1","title":"Version 5.0.0-alpha.1","text":"

2021-01-30

This release adds initial support for GraalVM.

GraalVM is an exciting new platform and we\u2019re eager to adopt it. The startup time improvements over the JVM are particularly impressive. Try it with okcurl:

$ ./gradlew okcurl:nativeImage\n$ ./okcurl/build/graal/okcurl https://cash.app/robots.txt\n

This is our first release that supports GraalVM. Our code on this platform is less mature than JVM and Android! Please report any issues you encounter: we\u2019ll fix them urgently.

  • Fix: Attempt to read the response body even if the server canceled the request. This will cause some calls to return nice error codes like HTTP/1.1 429 Too Many Requests instead of transport errors like SocketException: Connection reset and StreamResetException: stream was reset: CANCEL.
  • New: Support OSGi metadata.
  • Upgrade: Okio 2.9.0.

    implementation(\"com.squareup.okio:okio:2.9.0\")\n

Note that this was originally released on 2020-10-06 as 4.10.0-RC1. The only change from that release is the version name.

"},{"location":"changelogs/changelog_1x/","title":"OkHttp 1.x Change Log","text":""},{"location":"changelogs/changelog_1x/#version-160","title":"Version 1.6.0","text":"

2014-05-23

  • Offer bridges to make it easier to migrate from OkHttp 1.x to OkHttp 2.0. This adds OkUrlFactory, Cache, and @Deprecated annotations for APIs dropped in 2.0.
"},{"location":"changelogs/changelog_1x/#version-154","title":"Version 1.5.4","text":"

2014-04-14

  • Drop ALPN support in Android. There\u2019s a concurrency bug in all currently-shipping versions.
  • Support asynchronous disconnects by breaking the socket only. This should prevent flakiness from multiple threads concurrently accessing a stream.
"},{"location":"changelogs/changelog_1x/#version-153","title":"Version 1.5.3","text":"

2014-03-29

  • Fix bug where the Content-Length header was not always dropped when following a redirect from a POST to a GET.
  • Implement basic support for Thread.interrupt(). OkHttp now checks for an interruption before doing a blocking call. If it is interrupted, it throws an InterruptedIOException.
"},{"location":"changelogs/changelog_1x/#version-152","title":"Version 1.5.2","text":"

2014-03-17

  • Fix bug where deleting a file that was absent from the HttpResponseCache caused an IOException.
  • Fix bug in HTTP/2 where our HPACK decoder wasn\u2019t emitting entries in certain eviction scenarios, leading to dropped response headers.
"},{"location":"changelogs/changelog_1x/#version-151","title":"Version 1.5.1","text":"

2014-03-11

  • Fix 1.5.0 regression where connections should not have been recycled.
  • Fix 1.5.0 regression where transparent Gzip was broken by attempting to recover from another I/O failure.
  • Fix problems where spdy/3.1 headers may not have been compressed properly.
  • Fix problems with spdy/3.1 and http/2 where the wrong window size was being used.
  • Fix 1.5.0 regression where conditional cache responses could corrupt the connection pool.
"},{"location":"changelogs/changelog_1x/#version-150","title":"Version 1.5.0","text":"

2014-03-07

"},{"location":"changelogs/changelog_1x/#okhttp-no-longer-uses-the-default-ssl-context","title":"OkHttp no longer uses the default SSL context.","text":"

Applications that want to use the global SSL context with OkHttp should configure their OkHttpClient instances with the following:

okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());\n

A simpler solution is to avoid the shared default SSL socket factory. Instead, if you need to customize SSL, do so for your specific OkHttpClient instance only.

"},{"location":"changelogs/changelog_1x/#synthetic-headers-have-changed","title":"Synthetic headers have changed","text":"

Previously OkHttp added a synthetic response header, OkHttp-Selected-Transport. It has been replaced with a new synthetic header, OkHttp-Selected-Protocol.

"},{"location":"changelogs/changelog_1x/#changes","title":"Changes","text":"
  • New: Support for HTTP-draft-09/2.0.
  • New: Support for spdy/3.1. Dropped support for spdy/3.
  • New: Use ALPN on Android platforms that support it (4.4+)
  • New: CacheControl model and parser.
  • New: Protocol selection in MockWebServer.
  • Fix: Route selection shouldn\u2019t use TLS modes that we know will fail.
  • Fix: Cache SPDY responses even if the response body is closed prematurely.
  • Fix: Use strict timeouts when aborting a download.
  • Fix: Support Shoutcast HTTP responses like ICY 200 OK.
  • Fix: Don\u2019t unzip if there isn\u2019t a response body.
  • Fix: Don\u2019t leak gzip streams on redirects.
  • Fix: Don\u2019t do DNS lookups on invalid hosts.
  • Fix: Exhaust the underlying stream when reading gzip streams.
  • Fix: Support the PATCH method.
  • Fix: Support request bodies on DELETE method.
  • Fix: Drop the okhttp-protocols module.
  • Internal: Replaced internal byte array buffers with pooled buffers (\u201cOkBuffer\u201d).
"},{"location":"changelogs/changelog_1x/#version-130","title":"Version 1.3.0","text":"

2014-01-11

  • New: Support for \u201cPATCH\u201d HTTP method in client and MockWebServer.
  • Fix: Drop Content-Length header when redirected from POST to GET.
  • Fix: Correctly read cached header entries with malformed header names.
  • Fix: Do not directly support any authentication schemes other than \u201cBasic\u201d.
  • Fix: Respect read timeouts on recycled connections.
  • Fix: Transmit multiple cookie values as a single header with delimiter.
  • Fix: Ensure null is never returned from a connection\u2019s getHeaderFields().
  • Fix: Persist proper Content-Encoding header to cache for GZip responses.
  • Fix: Eliminate rare race condition in SPDY streams that would prevent connection reuse.
  • Fix: Change HTTP date formats to UTC to conform to RFC2616 section 3.3.
  • Fix: Support SPDY header blocks with trailing bytes.
  • Fix: Allow ; as separator for Cache-Control header.
  • Fix: Correct bug where HTTPS POST requests were always automatically buffered.
  • Fix: Honor read timeout when parsing SPDY headers.
"},{"location":"changelogs/changelog_1x/#version-121","title":"Version 1.2.1","text":"

2013-08-23

  • Resolve issue with \u2018jar-with-dependencies\u2019 artifact creation.
  • Fix: Support empty SPDY header values.
"},{"location":"changelogs/changelog_1x/#version-120","title":"Version 1.2.0","text":"

2013-08-11

  • New APIs on OkHttpClient to set default timeouts for connect and read.
  • Fix bug when caching SPDY responses.
  • Fix a bug with SPDY plus half-closed streams. (thanks kwuollett)
  • Fix a bug in Content-Length reporting for gzipped streams in the Apache HTTP client adapter. (thanks kwuollett)
  • Work around the Alcatel getByInetAddress bug (thanks k.kocel)
  • Be more aggressive about testing pooled sockets before reuse. (thanks warpspin)
  • Include Content-Type and Content-Encoding in the Apache HTTP client adapter. (thanks kwuollett)
  • Add a media type class to OkHttp.
  • Change custom header prefix:

    X-Android-Sent-Millis is now OkHttp-Sent-Millis\nX-Android-Received-Millis is now OkHttp-Received-Millis\nX-Android-Response-Source is now OkHttp-Response-Source\nX-Android-Selected-Transport is now OkHttp-Selected-Transport\n
    * Improve cache invalidation for POST-like requests. * Bring MockWebServer into OkHttp and teach it SPDY.

"},{"location":"changelogs/changelog_1x/#version-111","title":"Version 1.1.1","text":"

2013-06-23

  • Fix: ClassCastException when caching responses that were redirected from HTTP to HTTPS.
"},{"location":"changelogs/changelog_1x/#version-110","title":"Version 1.1.0","text":"

2013-06-15

  • Fix: Connection reuse was broken for most HTTPS connections due to a bug in the way the hostname verifier was selected.
  • Fix: Locking bug in SpdyConnection.
  • Fix: Ignore null header values (for compatibility with HttpURLConnection).
  • Add URLStreamHandlerFactory support so that URL.openConnection() uses OkHttp.
  • Expose the transport (\u201chttp/1.1\u201d, \u201cspdy/3\u201d, etc.) via magic request headers. Use X-Android-Transports to write the preferred transports and X-Android-Selected-Transport to read the negotiated transport.
"},{"location":"changelogs/changelog_1x/#version-102","title":"Version 1.0.2","text":"

2013-05-11

  • Fix: Remove use of Java 6-only APIs.
  • Fix: Properly handle exceptions from NetworkInterface when querying MTU.
  • Fix: Ensure MTU has a reasonable default and upper-bound.
"},{"location":"changelogs/changelog_1x/#version-101","title":"Version 1.0.1","text":"

2013-05-06

  • Correct casing of SSL in method names (getSslSocketFactory/setSslSocketFactory).
"},{"location":"changelogs/changelog_1x/#version-100","title":"Version 1.0.0","text":"

2013-05-06

Initial release.

"},{"location":"changelogs/changelog_2x/","title":"OkHttp 2.x Change Log","text":""},{"location":"changelogs/changelog_2x/#version-275","title":"Version 2.7.5","text":"

2016-02-25

  • Fix: Change the certificate pinner to always build full chains. This prevents a potential crash when using certificate pinning with the Google Play Services security provider.
"},{"location":"changelogs/changelog_2x/#version-274","title":"Version 2.7.4","text":"

2016-02-07

  • Fix: Don\u2019t crash when finding the trust manager if the Play Services (GMS) security provider is installed.
  • Fix: The previous release introduced a performance regression on Android, caused by looking up CA certificates. This is now fixed.
"},{"location":"changelogs/changelog_2x/#version-273","title":"Version 2.7.3","text":"

2016-02-06

  • Fix: Permit the trusted CA root to be pinned by CertificatePinner.
"},{"location":"changelogs/changelog_2x/#version-272","title":"Version 2.7.2","text":"

2016-01-07

  • Fix: Don\u2019t eagerly release stream allocations on cache hits. We might still need them to handle redirects.
"},{"location":"changelogs/changelog_2x/#version-271","title":"Version 2.7.1","text":"

2016-01-01

  • Fix: Don\u2019t do a health check on newly-created connections. This is unnecessary work that could put the client in an inconsistent state if the health check fails.
"},{"location":"changelogs/changelog_2x/#version-270","title":"Version 2.7.0","text":"

2015-12-13

  • Rewritten connection management. Previously OkHttp\u2019s connection pool managed both idle and active connections for HTTP/2, but only idle connections for HTTP/1.x. With this update the connection pool manages both idle and active connections for everything. OkHttp now detects and warns on connections that were allocated but never released, and will enforce HTTP/2 stream limits. This update also fixes Call.cancel() to not do I/O on the calling thread.
  • Fix: Don\u2019t log gzipped data in the logging interceptor.
  • Fix: Don\u2019t resolve DNS addresses when connecting through a SOCKS proxy.
  • Fix: Drop the synthetic OkHttp-Selected-Protocol response header.
  • Fix: Support 204 and 205 \u2018No Content\u2019 replies in the logging interceptor.
  • New: Add Call.isExecuted().
"},{"location":"changelogs/changelog_2x/#version-260","title":"Version 2.6.0","text":"

2015-11-22

  • New Logging Interceptor. The logging-interceptor subproject offers simple request and response logging. It may be configured to log headers and bodies for debugging. It requires this Maven dependency:

    <dependency>\n  <groupId>com.squareup.okhttp</groupId>\n  <artifactId>logging-interceptor</artifactId>\n  <version>2.6.0</version>\n</dependency>\n

    Configure basic logging like this:

    HttpLoggingInterceptor loggingInterceptor = new HttpLoggingInterceptor();\nloggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BASIC);\nclient.networkInterceptors().add(loggingInterceptor);\n

    Warning: Avoid Level.HEADERS and Level.BODY in production because they could leak passwords and other authentication credentials to insecure logs.

  • WebSocket API now uses RequestBody and ResponseBody for messages. This is a backwards-incompatible API change.

  • The DNS service is now pluggable. In some situations this may be useful to manually prioritize specific IP addresses.

  • Fix: Don\u2019t throw when converting an HttpUrl to a java.net.URI. Previously URLs with special characters like | and [ would break when subjected to URI\u2019s overly-strict validation.

  • Fix: Don\u2019t re-encode + as %20 in encoded URL query strings. OkHttp prefers %20 when doing its own encoding, but will retain + when that is provided.
  • Fix: Enforce that callers call WebSocket.close() on IO errors. Error handling in WebSockets is significantly improved.
  • Fix: Don\u2019t use SPDY/3 style header concatenation for HTTP/2 request headers. This could have corrupted requests where multiple headers had the same name, as in cookies.
  • Fix: Reject bad characters in the URL hostname. Previously characters like \\0 would cause a late crash when building the request.
  • Fix: Allow interceptors to change the request method.
  • Fix: Don\u2019t use the request\u2019s User-Agent or Proxy-Authorization when connecting to an HTTPS server via an HTTP tunnel. The Proxy-Authorization header was being leaked to the origin server.
  • Fix: Digits may be used in a URL scheme.
  • Fix: Improve connection timeout recovery.
  • Fix: Recover from getsockname crashes impacting Android releases prior to 4.2.2.
  • Fix: Drop partial support for HTTP/1.0. Previously OkHttp would send HTTP/1.0 on connections after seeing a response with HTTP/1.0. The fixed behavior is consistent with Firefox and Chrome.
  • Fix: Allow a body in OPTIONS requests.
  • Fix: Don\u2019t percent-encode non-ASCII characters in URL fragments.
  • Fix: Handle null fragments.
  • Fix: Don\u2019t crash on interceptors that throw IOException before a connection is attempted.
  • New: Support WebDAV HTTP methods.
  • New: Buffer WebSocket frames for better performance.
  • New: Drop support for TLS_DHE_DSS_WITH_AES_128_CBC_SHA, our only remaining DSS cipher suite. This is consistent with Firefox and Chrome which have also dropped these cipher suite.
"},{"location":"changelogs/changelog_2x/#version-250","title":"Version 2.5.0","text":"

2015-08-25

  • Timeouts now default to 10 seconds. Previously we defaulted to never timing out, and that was a lousy policy. If establishing a connection, reading the next byte from a connection, or writing the next byte to a connection takes more than 10 seconds to complete, you\u2019ll need to adjust the timeouts manually.

  • OkHttp now rejects request headers that contain invalid characters. This includes potential security problems (newline characters) as well as simple non-ASCII characters (including international characters and emoji).

  • Call canceling is more reliable. We had a bug where a socket being connected wasn\u2019t being closed when the application used Call.cancel().

  • Changing a HttpUrl\u2019s scheme now tracks the default port. We had a bug where changing a URL from http to https would leave it on port 80.

  • Okio has been updated to 1.6.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.6.0</version>\n</dependency>\n

  • New: Cache.initialize(). Call this on a background thread to eagerly initialize the response cache.

  • New: Fold MockWebServerRule into MockWebServer. This makes it easier to write JUnit tests with MockWebServer. The MockWebServer library now depends on JUnit, though it continues to work with all testing frameworks.
  • Fix: FormEncodingBuilder is now consistent with browsers in which characters it escapes. Previously we weren\u2019t percent-encoding commas, parens, and other characters.
  • Fix: Relax FormEncodingBuilder to support building empty forms.
  • Fix: Timeouts throw SocketTimeoutException, not InterruptedIOException.
  • Fix: Change MockWebServer to use the same logic as OkHttp when determining whether an HTTP request permits a body.
  • Fix: HttpUrl now uses the canonical form for IPv6 addresses.
  • Fix: Use HttpUrl internally.
  • Fix: Recover from Android 4.2.2 EBADF crashes.
  • Fix: Don\u2019t crash with an IllegalStateException if an HTTP/2 or SPDY write fails, leaving the connection in an inconsistent state.
  • Fix: Make sure the default user agent is ASCII.
"},{"location":"changelogs/changelog_2x/#version-240","title":"Version 2.4.0","text":"

2015-05-22

  • Forbid response bodies on HTTP 204 and 205 responses. Webservers that return such malformed responses will now trigger a ProtocolException in the client.

  • WebSocketListener has incompatible changes. The onOpen() method is now called on the reader thread, so implementations must return before further websocket messages will be delivered. The onFailure() method now includes an HTTP response if one was returned.

"},{"location":"changelogs/changelog_2x/#version-240-rc1","title":"Version 2.4.0-RC1","text":"

2015-05-16

  • New HttpUrl API. It\u2019s like java.net.URL but good. Note that Request.Builder.url() now throws IllegalArgumentException on malformed URLs. (Previous releases would throw a MalformedURLException when calling a malformed URL.)

  • We\u2019ve improved connect failure recovery. We now differentiate between setup, connecting, and connected and implement appropriate recovery rules for each. This changes Address to no longer use ConnectionSpec. (This is an incompatible API change).

  • FormEncodingBuilder now uses %20 instead of + for encoded spaces. Both are permitted-by-spec, but %20 requires fewer special cases.

  • Okio has been updated to 1.4.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.4.0</version>\n</dependency>\n

  • Request.Builder no longer accepts null if a request body is required. Passing null will now fail for request methods that require a body. Instead use an empty body such as this one:

        RequestBody.create(null, new byte[0]);\n
  • CertificatePinner now supports wildcard hostnames. As always with certificate pinning, you must be very careful to avoid bricking your app. You\u2019ll need to pin both the top-level domain and the *. domain for full coverage.

     client.setCertificatePinner(new CertificatePinner.Builder()\n     .add(\"publicobject.com\",   \"sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=\")\n     .add(\"*.publicobject.com\", \"sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=\")\n     .add(\"publicobject.com\",   \"sha1/SXxoaOSEzPC6BgGmxAt/EAcsajw=\")\n     .add(\"*.publicobject.com\", \"sha1/SXxoaOSEzPC6BgGmxAt/EAcsajw=\")\n     .add(\"publicobject.com\",   \"sha1/blhOM3W9V/bVQhsWAcLYwPU6n24=\")\n     .add(\"*.publicobject.com\", \"sha1/blhOM3W9V/bVQhsWAcLYwPU6n24=\")\n     .add(\"publicobject.com\",   \"sha1/T5x9IXmcrQ7YuQxXnxoCmeeQ84c=\")\n     .add(\"*.publicobject.com\", \"sha1/T5x9IXmcrQ7YuQxXnxoCmeeQ84c=\")\n     .build());\n
  • Interceptors lists are now deep-copied by OkHttpClient.clone(). Previously clones shared interceptors, which made it difficult to customize the interceptors on a request-by-request basis.

  • New: Headers.toMultimap().

  • New: RequestBody.create(MediaType, ByteString).
  • New: ConnectionSpec.isCompatible(SSLSocket).
  • New: Dispatcher.getQueuedCallCount() and Dispatcher.getRunningCallCount(). These can be useful in diagnostics.
  • Fix: OkHttp no longer shares timeouts between pooled connections. This was causing some applications to crash when connections were reused.
  • Fix: OkApacheClient now allows an empty PUT and POST.
  • Fix: Websockets no longer rebuffer socket streams.
  • Fix: Websockets are now better at handling close frames.
  • Fix: Content type matching is now case insensitive.
  • Fix: Vary headers are not lost with android.net.http.HttpResponseCache.
  • Fix: HTTP/2 wasn\u2019t enforcing stream timeouts when writing the underlying connection. Now it is.
  • Fix: Never return null on call.proceed(). This was a bug in call cancelation.
  • Fix: When a network interceptor mutates a request, that change is now reflected in Response.networkResponse().
  • Fix: Badly-behaving caches now throw a checked exception instead of a NullPointerException.
  • Fix: Better handling of uncaught exceptions in MockWebServer with HTTP/2.
"},{"location":"changelogs/changelog_2x/#version-230","title":"Version 2.3.0","text":"

2015-03-16

  • HTTP/2 support. We\u2019ve done interop testing and haven\u2019t seen any problems. HTTP/2 support has been a big effort and we\u2019re particularly thankful to Adrian Cole who has helped us to reach this milestone.

  • RC4 cipher suites are no longer supported by default. To connect to old, obsolete servers relying on these cipher suites, you must create a custom ConnectionSpec.

  • Beta WebSockets support.. The okhttp-ws subproject offers a new websockets client. Please try it out! When it\u2019s ready we intend to include it with the core OkHttp library.

  • Okio updated to 1.3.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.3.0</version>\n</dependency>\n
  • Fix: improve parallelism of async requests. OkHttp\u2019s Dispatcher had a misconfigured ExecutorService that limited the number of worker threads. If you\u2019re using Call.enqueue() this update should significantly improve request concurrency.

  • Fix: Lazily initialize the response cache. This avoids strict mode warnings when initializing OkHttp on Android\u2018s main thread.

  • Fix: Disable ALPN on Android 4.4. That release of the feature was unstable and prone to native crashes in the underlying OpenSSL code.

  • Fix: Don\u2019t send both If-None-Match and If-Modified-Since cache headers when both are applicable.
  • Fix: Fail early when a port is out of range.
  • Fix: Offer Content-Length headers for multipart request bodies.
  • Fix: Throw UnknownServiceException if a cleartext connection is attempted when explicitly forbidden.
  • Fix: Throw a SSLPeerUnverifiedException when host verification fails.
  • Fix: MockWebServer explicitly closes sockets. (On some Android releases, closing the input stream and output stream of a socket is not sufficient.
  • Fix: Buffer outgoing HTTP/2 frames to limit how many outgoing frames are created.
  • Fix: Avoid crashing when cache writing fails due to a full disk.
  • Fix: Improve caching of private responses.
  • Fix: Update cache-by-default response codes.
  • Fix: Reused Request.Builder instances no longer hold stale URL fields.
  • New: ConnectionSpec can now be configured to use the SSL socket\u2019s default cipher suites. To use, set the cipher suites to null.
  • New: Support DELETE with a request body.
  • New: Headers.of(Map) creates headers from a Map.
"},{"location":"changelogs/changelog_2x/#version-220","title":"Version 2.2.0","text":"

2014-12-30

  • RequestBody.contentLength() now throws IOException. This is a source-incompatible change. If you have code that calls RequestBody.contentLength(), your compile will break with this update. The change is binary-compatible, however: code compiled for OkHttp 2.0 and 2.1 will continue to work with this update.

  • COMPATIBLE_TLS no longer supports SSLv3. In response to the POODLE vulnerability, OkHttp no longer offers SSLv3 when negotiation an HTTPS connection. If you continue to need to connect to webservers running SSLv3, you must manually configure your own ConnectionSpec.

  • OkHttp now offers interceptors. Interceptors are a powerful mechanism that can monitor, rewrite, and retry calls. The interceptors doc is a full introduction to this new API.

  • New: APIs to iterate and selectively clear the response cache.

  • New: Support for SOCKS proxies.
  • New: Support for TLS_FALLBACK_SCSV.
  • New: Update HTTP/2 support to h2-16 and hpack-10.
  • New: APIs to prevent retrying non-idempotent requests.
  • Fix: Drop NPN support. Going forward we support ALPN only.
  • Fix: The hostname verifier is now strict. This is consistent with the hostname verifier in modern browsers.
  • Fix: Improve CONNECT handling for misbehaving HTTP proxies.
  • Fix: Don\u2019t retry requests that failed due to timeouts.
  • Fix: Cache 302s and 308s that include appropriate response headers.
  • Fix: Improve pooling of connections that use proxy selectors.
  • Fix: Don\u2019t leak connections when using ALPN on the desktop.
  • Fix: Update Jetty ALPN to 7.1.2.v20141202 (Java 7) and 8.1.2.v20141202 (Java 8). This fixes a bug in resumed TLS sessions where the wrong protocol could be selected.
  • Fix: Don\u2019t crash in SPDY and HTTP/2 when disconnecting before connecting.
  • Fix: Avoid a reverse DNS-lookup for a numeric proxy address
  • Fix: Resurrect http/2 frame logging.
  • Fix: Limit to 20 authorization attempts.
"},{"location":"changelogs/changelog_2x/#version-210","title":"Version 2.1.0","text":"

2014-11-11

  • New: Typesafe APIs for interacting with cipher suites and TLS versions.
  • Fix: Don\u2019t crash when mixing authorization challenges with upload retries.
"},{"location":"changelogs/changelog_2x/#version-210-rc1","title":"Version 2.1.0-RC1","text":"

2014-11-04

  • OkHttp now caches private responses. We\u2019ve changed from a shared cache to a private cache, and will now store responses that use an Authorization header. This means OkHttp\u2019s cache shouldn\u2019t be used on middleboxes that sit between user agents and the origin server.

  • TLS configuration updated. OkHttp now explicitly enables TLSv1.2, TLSv1.1 and TLSv1.0 where they are supported. It will continue to perform only one fallback, to SSLv3. Applications can now configure this with the ConnectionSpec class.

    To disable TLS fallback:

    client.setConnectionSpecs(Arrays.asList(\n    ConnectionSpec.MODERN_TLS, ConnectionSpec.CLEARTEXT));\n

    To disable cleartext connections, permitting https URLs only:

    client.setConnectionSpecs(Arrays.asList(\n    ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS));\n
  • New cipher suites. Please confirm that your webservers are reachable with this limited set of cipher suites.

                                             Android\nName                                     Version\n\nTLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256  5.0\nTLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256    5.0\nTLS_DHE_RSA_WITH_AES_128_GCM_SHA256      5.0\nTLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA     4.0\nTLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA     4.0\nTLS_ECDHE_RSA_WITH_AES_128_CBC_SHA       4.0\nTLS_ECDHE_RSA_WITH_AES_256_CBC_SHA       4.0\nTLS_ECDHE_ECDSA_WITH_RC4_128_SHA         4.0\nTLS_ECDHE_RSA_WITH_RC4_128_SHA           4.0\nTLS_DHE_RSA_WITH_AES_128_CBC_SHA         2.3\nTLS_DHE_DSS_WITH_AES_128_CBC_SHA         2.3\nTLS_DHE_RSA_WITH_AES_256_CBC_SHA         2.3\nTLS_RSA_WITH_AES_128_GCM_SHA256          5.0\nTLS_RSA_WITH_AES_128_CBC_SHA             2.3\nTLS_RSA_WITH_AES_256_CBC_SHA             2.3\nSSL_RSA_WITH_3DES_EDE_CBC_SHA            2.3  (Deprecated in 5.0)\nSSL_RSA_WITH_RC4_128_SHA                 2.3\nSSL_RSA_WITH_RC4_128_MD5                 2.3  (Deprecated in 5.0)\n
  • Okio updated to 1.0.1.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.0.1</version>\n</dependency>\n
  • New APIs to permit easy certificate pinning. Be warned, certificate pinning is dangerous and could prevent your application from trusting your server!

  • Cache improvements. This release fixes some severe cache problems including a bug where the cache could be corrupted upon certain access patterns. We also fixed a bug where the cache was being cleared due to a corrupted journal. We\u2019ve added APIs to configure a request\u2019s Cache-Control headers, and to manually clear the cache.

  • Request cancellation fixes. This update fixes a bug where synchronous requests couldn\u2019t be canceled by tag. This update avoids crashing when onResponse() throws an IOException. That failure will now be logged instead of notifying the thread\u2019s uncaught exception handler. We\u2019ve added a new API, Call.isCanceled() to check if a call has been canceled.

  • New: Update MultipartBuilder to support content length.

  • New: Make it possible to mock OkHttpClient and Call.
  • New: Update to h2-14 and hpack-9.
  • New: OkHttp includes a user-agent by default, like okhttp/2.1.0-RC1.
  • Fix: Handle response code 308 Permanent Redirect.
  • Fix: Don\u2019t skip the callback if a call is canceled.
  • Fix: Permit hostnames with underscores.
  • Fix: Permit overriding the content-type in OkApacheClient.
  • Fix: Use the socket factory for direct connections.
  • Fix: Honor OkUrlFactory APIs that disable redirects.
  • Fix: Don\u2019t crash on concurrent modification of SPDY SPDY settings.
"},{"location":"changelogs/changelog_2x/#version-200","title":"Version 2.0.0","text":"

This release commits to a stable 2.0 API. Read the 2.0.0-RC1 changes for advice on upgrading from 1.x to 2.x.

2014-06-21

  • API Change: Use IOException in Callback.onFailure(). This is a source-incompatible change, and is different from OkHttp 2.0.0-RC2 which used Throwable.
  • Fix: Fixed a caching bug where we weren\u2019t storing rewritten request headers like Accept-Encoding.
  • Fix: Fixed bugs in handling the SPDY window size. This was stalling certain large downloads
  • Update the language level to Java 7. (OkHttp requires Android 2.3+ or Java 7+.)
"},{"location":"changelogs/changelog_2x/#version-200-rc2","title":"Version 2.0.0-RC2","text":"

2014-06-11

This update fixes problems in 2.0.0-RC1. Read the 2.0.0-RC1 changes for advice on upgrading from 1.x to 2.x.

  • Fix: Don\u2019t leak connections! There was a regression in 2.0.0-RC1 where connections were neither closed nor pooled.
  • Fix: Revert builder-style return types from OkHttpClient\u2019s timeout methods for binary compatibility with OkHttp 1.x.
  • Fix: Don\u2019t skip client stream 1 on SPDY/3.1. This fixes SPDY connectivity to https://google.com, which doesn\u2019t follow the SPDY/3.1 spec!
  • Fix: Always configure NPN headers. This fixes connectivity to https://facebook.com when SPDY and HTTP/2 are both disabled. Otherwise an unexpected NPN response is received and OkHttp crashes.
  • Fix: Write continuation frames when HPACK data is larger than 16383 bytes.
  • Fix: Don\u2019t drop uncaught exceptions thrown in async calls.
  • Fix: Throw an exception eagerly when a request body is not legal. Previously we ignored the problem at request-building time, only to crash later with a NullPointerException.
  • Fix: Include a backwards-compatible OkHttp-Response-Source header with OkUrlFactoryresponses.
  • Fix: Don\u2019t include a default User-Agent header in requests made with the Call API. Requests made with OkUrlFactory will continue to have a default user agent.
  • New: Guava-like API to create headers:

    Headers headers = Headers.of(name1, value1, name2, value2, ...).\n
  • New: Make the content-type header optional for request bodies.

  • New: Response.isSuccessful() is a convenient API to check response codes.
  • New: The response body can now be read outside of the callback. Response bodies must always be closed, otherwise they will leak connections!
  • New: APIs to create multipart request bodies (MultipartBuilder) and form encoding bodies (FormEncodingBuilder).
"},{"location":"changelogs/changelog_2x/#version-200-rc1","title":"Version 2.0.0-RC1","text":"

2014-05-23

OkHttp 2 is designed around a new API that is true to HTTP, with classes for requests, responses, headers, and calls. It uses modern Java patterns like immutability and chained builders. The API now offers asynchronous callbacks in addition to synchronous blocking calls.

"},{"location":"changelogs/changelog_2x/#api-changes","title":"API Changes","text":"
  • New Request and Response types, each with their own builder. There\u2019s also a RequestBody class to write the request body to the network and a ResponseBody to read the response body from the network. The standalone Headers class offers full access to the HTTP headers.

  • Okio dependency added. OkHttp now depends on Okio, an I/O library that makes it easier to access, store and process data. Using this library internally makes OkHttp faster while consuming less memory. You can write a RequestBody as an Okio BufferedSink and a ResponseBody as an Okio BufferedSource. Standard InputStream and OutputStream access is also available.

  • New Call and Callback types execute requests and receive their responses. Both types of calls can be canceled via the Call or the OkHttpClient.

  • URLConnection support has moved to the okhttp-urlconnection module. If you\u2019re upgrading from 1.x, this change will impact you. You will need to add the okhttp-urlconnection module to your project and use the OkUrlFactory to create new instances of HttpURLConnection:

    // OkHttp 1.x:\nHttpURLConnection connection = client.open(url);\n\n// OkHttp 2.x:\nHttpURLConnection connection = new OkUrlFactory(client).open(url);\n
  • Custom caches are no longer supported. In OkHttp 1.x it was possible to define your own response cache with the java.net.ResponseCache and OkHttp\u2019s OkResponseCache interfaces. Both of these APIs have been dropped. In OkHttp 2 the built-in disk cache is the only supported response cache.

  • HttpResponseCache has been renamed to Cache. Install it with OkHttpClient.setCache(...) instead of OkHttpClient.setResponseCache(...).

  • OkAuthenticator has been replaced with Authenticator. This new authenticator has access to the full incoming response and can respond with whichever followup request is appropriate. The Challenge class is now a top-level class and Credential is replaced with a utility class called Credentials.

  • OkHttpClient.getFollowProtocolRedirects() renamed to getFollowSslRedirects(). We reserve the word protocol for the HTTP version being used (HTTP/1.1, HTTP/2). The old name of this method was misleading; it was always used to configure redirects between https:// and http:// schemes.

  • RouteDatabase is no longer public API. OkHttp continues to track which routes have failed but this is no exposed in the API.

  • ResponseSource is gone. This enum exposed whether a response came from the cache, network, or both. OkHttp 2 offers more detail with raw access to the cache and network responses in the new Response class.

  • TunnelRequest is gone. It specified how to connect to an HTTP proxy. OkHttp 2 uses the new Request class for this.

  • Dispatcher is a new class that manages the queue of asynchronous calls. It implements limits on total in-flight calls and in-flight calls per host.

"},{"location":"changelogs/changelog_2x/#implementation-changes","title":"Implementation changes","text":"
  • Support Android TrafficStats socket tagging.
  • Drop authentication headers on redirect.
  • Added support for compressed data frames.
  • Process push promise callbacks in order.
  • Update to http/2 draft 12.
  • Update to HPACK draft 07.
  • Add ALPN support. Maven will use ALPN on OpenJDK 8.
  • Update NPN dependency to target jdk7u60-b13 and Oracle jdk7u55-b13.
  • Ensure SPDY variants support zero-length DELETE and POST.
  • Prevent leaking a cache item\u2019s InputStreams when metadata read fails.
  • Use a string to identify TLS versions in routes.
  • Add frame logger for HTTP/2.
  • Replacing httpMinorVersion with Protocol. Expose HTTP/1.0 as a potential protocol.
  • Use Protocol to describe framing.
  • Implement write timeouts for HTTP/1.1 streams.
  • Avoid use of SPDY stream ID 1, as that\u2019s typically used for UPGRADE.
  • Support OAuth in Authenticator.
  • Permit a dangling semicolon in media type parsing.
"},{"location":"changelogs/changelog_2x/#version-1x","title":"Version 1.x","text":"

Change log

"},{"location":"changelogs/changelog_3x/","title":"OkHttp 3.x Change Log","text":""},{"location":"changelogs/changelog_3x/#version-3149","title":"Version 3.14.9","text":"

2020-05-17

  • Fix: Don\u2019t crash when running as a plugin in Android Studio Canary 4.1. To enable platform-specific TLS features OkHttp must detect whether it\u2019s running in a JVM or in Android. The upcoming Android Studio runs in a JVM but has classes from Android and that confused OkHttp!
"},{"location":"changelogs/changelog_3x/#version-3148","title":"Version 3.14.8","text":"

2020-04-28

  • Fix: Don\u2019t crash on Java 8u252 which introduces an API previously found only on Java 9 and above. See Jetty\u2019s overview of the API change and its consequences.
"},{"location":"changelogs/changelog_3x/#version-3147","title":"Version 3.14.7","text":"

2020-02-24

  • Fix: Don\u2019t crash on Android 11 due to use of restricted methods. This prevents a crash with the exception, \u201cExpected Android API level 21+ but was 29\u201d.
"},{"location":"changelogs/changelog_3x/#version-3146","title":"Version 3.14.6","text":"

2020-01-11

  • Fix: Don\u2019t crash if the connection is closed when sending a degraded ping. This fixes a regression that was introduced in OkHttp 3.14.5.
"},{"location":"changelogs/changelog_3x/#version-3145","title":"Version 3.14.5","text":"

2020-01-03

  • Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact the stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after a stream timeout to determine whether the connection should remain eligible for pooling.
"},{"location":"changelogs/changelog_3x/#version-3144","title":"Version 3.14.4","text":"

2019-09-29

  • Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call would never call back if it crashed with an unchecked throwable, such as a NullPointerException or OutOfMemoryError. We now call Callback.onFailure() with an IOException that reports the call as canceled. The triggering exception is still delivered to the thread\u2019s UncaughtExceptionHandler.
  • Fix: Don\u2019t evict incomplete entries when iterating the cache. We had a bug where iterating Cache.urls() would prevent in-flight entries from being written.
"},{"location":"changelogs/changelog_3x/#version-3143","title":"Version 3.14.3","text":"

2019-09-10

  • Fix: Don\u2019t lose HTTP/2 flow control bytes when incoming data races with a stream close. If this happened enough then eventually the connection would stall.

  • Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to fail the call.

  • Fix: Recover gracefully when a coalesced connection immediately goes unhealthy.

"},{"location":"changelogs/changelog_3x/#version-3142","title":"Version 3.14.2","text":"

2019-05-19

  • Fix: Lock in a route when recovering from an HTTP/2 connection error. We had a bug where two calls that failed at the same time could cause OkHttp to crash with a NoSuchElementException instead of the expected IOException.

  • Fix: Don\u2019t crash with a NullPointerException when formatting an error message describing a truncated response from an HTTPS proxy.

"},{"location":"changelogs/changelog_3x/#version-3141","title":"Version 3.14.1","text":"

2019-04-10

  • Fix: Don\u2019t crash when an interceptor retries when there are no more routes. This was an edge-case regression introduced with the events cleanup in 3.14.0.

  • Fix: Provide actionable advice when the exchange is non-null. Prior to 3.14, OkHttp would silently leak connections when an interceptor retries without closing the response body. With 3.14 we detect this problem but the exception was not helpful.

"},{"location":"changelogs/changelog_3x/#version-3140","title":"Version 3.14.0","text":"

2019-03-14

  • This release deletes the long-deprecated OkUrlFactory and OkApacheClient APIs. These facades hide OkHttp\u2019s implementation behind another client\u2019s API. If you still need this please copy and paste ObsoleteUrlFactory.java or ObsoleteApacheClient.java into your project.

  • OkHttp now supports duplex calls over HTTP/2. With normal HTTP calls the request must finish before the response starts. With duplex, request and response bodies are transmitted simultaneously. This can be used to implement interactive conversations within a single HTTP call.

    Create duplex calls by overriding the new RequestBody.isDuplex() method to return true. This simple option dramatically changes the behavior of the request body and of the entire call.

    The RequestBody.writeTo() method may now retain a reference to the provided sink and hand it off to another thread to write to it after writeTo returns.

    The EventListener may now see requests and responses interleaved in ways not previously permitted. For example, a listener may receive responseHeadersStart() followed by requestBodyEnd(), both on the same call. Such events may be triggered by different threads even for a single call.

    Interceptors that rewrite or replace the request body may now inadvertently interfere with duplex request bodies. Such interceptors should check RequestBody.isDuplex() and avoid accessing the request body when it is.

    Duplex calls require HTTP/2. If HTTP/1 is established instead the duplex call will fail. The most common use of duplex calls is gRPC.

  • New: Prevent OkHttp from retransmitting a request body by overriding RequestBody.isOneShot(). This is most useful when writing the request body is destructive.

  • New: We\u2019ve added requestFailed() and responseFailed() methods to EventListener. These are called instead of requestBodyEnd() and responseBodyEnd() in some failure situations. They may also be fired in cases where no event was published previously. In this release we did an internal rewrite of our event code to fix problems where events were lost or unbalanced.

  • Fix: Don\u2019t leak a connection when a call is canceled immediately preceding the onFailure() callback.

  • Fix: Apply call timeouts when connecting duplex calls, web sockets, and server-sent events. Once the streams are established no further timeout is enforced.

  • Fix: Retain the Route when a connection is reused on a redirect or other follow-up. This was causing some Authenticator calls to see a null route when non-null was expected.

  • Fix: Use the correct key size in the name of TLS_AES_128_CCM_8_SHA256 which is a TLS 1.3 cipher suite. We accidentally specified a key size of 256, preventing that cipher suite from being selected for any TLS handshakes. We didn\u2019t notice because this cipher suite isn\u2019t supported on Android, Java, or Conscrypt.

    We removed this cipher suite and TLS_AES_128_CCM_SHA256 from the restricted, modern, and compatible sets of cipher suites. These two cipher suites aren\u2019t enabled by default in either Firefox or Chrome.

    See our TLS Configuration History tracker for a log of all changes to OkHttp\u2019s default TLS options.

  • New: Upgrade to Conscrypt 2.0.0. OkHttp works with other versions of Conscrypt but this is the version we\u2019re testing against.

    implementation(\"org.conscrypt:conscrypt-openjdk-uber:2.0.0\")\n
  • New: Update the embedded public suffixes list.

"},{"location":"changelogs/changelog_3x/#version-3131","title":"Version 3.13.1","text":"

2019-02-05

  • Fix: Don\u2019t crash when using a custom X509TrustManager or SSLSocket on Android. When we removed obsolete code for Android 4.4 we inadvertently also removed support for custom subclasses. We\u2019ve restored that support!
"},{"location":"changelogs/changelog_3x/#version-3130","title":"Version 3.13.0","text":"

2019-02-04

  • This release bumps our minimum requirements to Java 8+ or Android 5+. Cutting off old devices is a serious change and we don\u2019t do it lightly! This post explains why we\u2019re doing this and how to upgrade.

    The OkHttp 3.12.x branch will be our long-term branch for Android 2.3+ (API level 9+) and Java 7+. These platforms lack support for TLS 1.2 and should not be used. But because upgrading is difficult we will backport critical fixes to the 3.12.x branch through December 31, 2021. (This commitment was originally through December 31, 2020; we have since extended it.)

  • TLSv1 and TLSv1.1 are no longer enabled by default. Major web browsers are working towards removing these versions altogether in early 2020. If your servers aren\u2019t ready yet you can configure OkHttp 3.13 to allow TLSv1 and TLSv1.1 connections:

    OkHttpClient client = new OkHttpClient.Builder()\n    .connectionSpecs(Arrays.asList(ConnectionSpec.COMPATIBLE_TLS))\n    .build();\n
  • New: You can now access HTTP trailers with Response.trailers(). This method may only be called after the entire HTTP response body has been read.

  • New: Upgrade to Okio 1.17.3. If you\u2019re on Kotlin-friendly Okio 2.x this release requires 2.2.2 or newer.

    implementation(\"com.squareup.okio:okio:1.17.3\")\n
  • Fix: Don\u2019t miss cancels when sending HTTP/2 request headers.

  • Fix: Don\u2019t miss whole operation timeouts when calls redirect.
  • Fix: Don\u2019t leak connections if web sockets have malformed responses or if onOpen() throws.
  • Fix: Don\u2019t retry when request bodies fail due to FileNotFoundException.
  • Fix: Don\u2019t crash when URLs have IPv4-mapped IPv6 addresses.
  • Fix: Don\u2019t crash when building HandshakeCertificates on Android API 28.
  • Fix: Permit multipart file names to contain non-ASCII characters.
  • New: API to get MockWebServer\u2019s dispatcher.
  • New: API to access headers as java.time.Instant.
  • New: Fail fast if a SSLSocketFactory is used as a SocketFactory.
  • New: Log the TLS handshake in LoggingEventListener.
"},{"location":"changelogs/changelog_3x/#version-31213","title":"Version 3.12.13","text":"

2021-01-30

  • Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads concurrently close an SSL socket. This would have appeared in crash logs as NullPointerException: bio == null.
"},{"location":"changelogs/changelog_3x/#version-31212","title":"Version 3.12.12","text":"

2020-05-17

  • Fix: Don\u2019t crash when running as a plugin in Android Studio Canary 4.1. To enable platform-specific TLS features OkHttp must detect whether it\u2019s running in a JVM or in Android. The upcoming Android Studio runs in a JVM but has classes from Android and that confused OkHttp!
"},{"location":"changelogs/changelog_3x/#version-31211","title":"Version 3.12.11","text":"

2020-04-28

  • Fix: Don\u2019t crash on Java 8u252 which introduces an API previously found only on Java 9 and above. See Jetty\u2019s overview of the API change and its consequences.
"},{"location":"changelogs/changelog_3x/#version-31210","title":"Version 3.12.10","text":"

2020-02-29

  • Fix: Don\u2019t crash on Android 4.1 when detecting methods that became restricted in Android 11. Supporting a full decade of Android releases on our 3.12.x branch is tricky!
"},{"location":"changelogs/changelog_3x/#version-3129","title":"Version 3.12.9","text":"

2020-02-24

  • Fix: Don\u2019t crash on Android 11 due to use of restricted methods. This prevents a crash with the exception, \u201cExpected Android API level 21+ but was 29\u201d.
"},{"location":"changelogs/changelog_3x/#version-3128","title":"Version 3.12.8","text":"

2020-01-11

  • Fix: Don\u2019t crash if the connection is closed when sending a degraded ping. This fixes a regression that was introduced in OkHttp 3.12.7.
"},{"location":"changelogs/changelog_3x/#version-3127","title":"Version 3.12.7","text":"

2020-01-03

  • Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact the stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after a stream timeout to determine whether the connection should remain eligible for pooling.
"},{"location":"changelogs/changelog_3x/#version-3126","title":"Version 3.12.6","text":"

2019-09-29

  • Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call would never call back if it crashed with an unchecked throwable, such as a NullPointerException or OutOfMemoryError. We now call Callback.onFailure() with an IOException that reports the call as canceled. The triggering exception is still delivered to the thread\u2019s UncaughtExceptionHandler.
  • Fix: Don\u2019t evict incomplete entries when iterating the cache. We had a bug where iterating Cache.urls() would prevent in-flight entries from being written.
"},{"location":"changelogs/changelog_3x/#version-3125","title":"Version 3.12.5","text":"

2019-09-10

  • Fix: Don\u2019t lose HTTP/2 flow control bytes when incoming data races with a stream close. If this happened enough then eventually the connection would stall.

  • Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to fail the call.

"},{"location":"changelogs/changelog_3x/#version-3124","title":"Version 3.12.4","text":"

2019-09-04

  • Fix: Don\u2019t crash looking up an absent class on certain buggy Android 4.x devices.
"},{"location":"changelogs/changelog_3x/#version-3123","title":"Version 3.12.3","text":"

2019-05-07

  • Fix: Permit multipart file names to contain non-ASCII characters.
  • Fix: Retain the Route when a connection is reused on a redirect or other follow-up. This was causing some Authenticator calls to see a null route when non-null was expected.
"},{"location":"changelogs/changelog_3x/#version-3122","title":"Version 3.12.2","text":"

2019-03-14

  • Fix: Don\u2019t crash if the HTTPS server returns no certificates in the TLS handshake.
  • Fix: Don\u2019t leak a connection when a call is canceled immediately preceding the onFailure() callback.
"},{"location":"changelogs/changelog_3x/#version-3121","title":"Version 3.12.1","text":"

2018-12-23

  • Fix: Remove overlapping package-info.java. This caused issues with some build tools.
"},{"location":"changelogs/changelog_3x/#version-3120","title":"Version 3.12.0","text":"

2018-11-16

  • OkHttp now supports TLS 1.3. This requires either Conscrypt or Java 11+.

  • Proxy authenticators are now asked for preemptive authentication. OkHttp will now request authentication credentials before creating TLS tunnels through HTTP proxies (HTTP CONNECT). Authenticators should identify preemptive authentications by the presence of a challenge whose scheme is \u201cOkHttp-Preemptive\u201d.

  • OkHttp now offers full-operation timeouts. This sets a limit on how long the entire call may take and covers resolving DNS, connecting, writing the request body, server processing, and reading the full response body. If a call requires redirects or retries all must complete within one timeout period.

    Use OkHttpClient.Builder.callTimeout() to specify the default duration and Call.timeout() to specify the timeout of an individual call.

  • New: Return values and fields are now non-null unless otherwise annotated.

  • New: LoggingEventListener makes it easy to get basic visibility into a call\u2019s performance. This class is in the logging-interceptor artifact.
  • New: Headers.Builder.addUnsafeNonAscii() allows non-ASCII values to be added without an immediate exception.
  • New: Headers can be redacted in HttpLoggingInterceptor.
  • New: Headers.Builder now accepts dates.
  • New: OkHttp now accepts java.time.Duration for timeouts on Java 8+ and Android 26+.
  • New: Challenge includes all authentication parameters.
  • New: Upgrade to BouncyCastle 1.60, Conscrypt 1.4.0, and Okio 1.15.0. We don\u2019t yet require Kotlin-friendly Okio 2.x but OkHttp works fine with that series.

    implementation(\"org.bouncycastle:bcprov-jdk15on:1.60\")\nimplementation(\"org.conscrypt:conscrypt-openjdk-uber:1.4.0\")\nimplementation(\"com.squareup.okio:okio:1.15.0\")\n
  • Fix: Handle dispatcher executor shutdowns gracefully. When there aren\u2019t any threads to carry a call its callback now gets a RejectedExecutionException.

  • Fix: Don\u2019t permanently cache responses with Cache-Control: immutable. We misunderstood the original immutable proposal!
  • Fix: Change Authenticator\u2019s Route parameter to be nullable. This was marked as non-null but could be called with null in some cases.
  • Fix: Don\u2019t create malformed URLs when MockWebServer is reached via an IPv6 address.
  • Fix: Don\u2019t crash if the system default authenticator is null.
  • Fix: Don\u2019t crash generating elliptic curve certificates on Android.
  • Fix: Don\u2019t crash doing platform detection on RoboVM.
  • Fix: Don\u2019t leak socket connections when web socket upgrades fail.
"},{"location":"changelogs/changelog_3x/#version-3110","title":"Version 3.11.0","text":"

2018-07-12

  • OkHttp\u2019s new okhttp-tls submodule tames HTTPS and TLS.

    HeldCertificate is a TLS certificate and its private key. Generate a certificate with its builder then use it to sign another certificate or perform a TLS handshake. The certificatePem() method encodes the certificate in the familiar PEM format (--- BEGIN CERTIFICATE ---); the privateKeyPkcs8Pem() does likewise for the private key.

    HandshakeCertificates holds the TLS certificates required for a TLS handshake. On the server it keeps your HeldCertificate and its chain. On the client it keeps the root certificates that are trusted to sign a server\u2019s certificate chain. HandshakeCertificates also works with mutual TLS where these roles are reversed.

    These classes make it possible to enable HTTPS in MockWebServer in just a few lines of code.

  • OkHttp now supports prior knowledge cleartext HTTP/2. Enable this by setting Protocol.H2_PRIOR_KNOWLEDGE as the lone protocol on an OkHttpClient.Builder. This mode only supports http: URLs and is best suited in closed environments where HTTPS is inappropriate.

  • New: HttpUrl.get(String) is an alternative to HttpUrl.parse(String) that throws an exception when the URL is malformed instead of returning null. Use this to avoid checking for null in situations where the input is known to be well-formed. We\u2019ve also added MediaType.get(String) which is an exception-throwing alternative to MediaType.parse(String).

  • New: The EventListener API previewed in OkHttp 3.9 has graduated to a stable API. Use this interface to track metrics and monitor HTTP requests\u2019 size and duration.
  • New: okhttp-dnsoverhttps is an experimental API for doing DNS queries over HTTPS. Using HTTPS for DNS offers better security and potentially better performance. This feature is a preview: the API is subject to change.
  • New: okhttp-sse is an early preview of Server-Sent Events (SSE). This feature is incomplete and is only suitable for experimental use.
  • New: MockWebServer now supports client authentication (mutual TLS). Call requestClientAuth() to permit an optional client certificate or requireClientAuth() to require one.
  • New: RecordedRequest.getHandshake() returns the HTTPS handshake of a request sent to MockWebServer.
  • Fix: Honor the MockResponse header delay in MockWebServer.
  • Fix: Don\u2019t release HTTP/2 connections that have multiple canceled calls. We had a bug where canceling calls would cause the shared HTTP/2 connection to be unnecessarily released. This harmed connection reuse.
  • Fix: Ensure canceled and discarded HTTP/2 data is not permanently counted against the limited flow control window. We had a few bugs where window size accounting was broken when streams were canceled or reset.
  • Fix: Recover gracefully if the TLS session returns an unexpected version (NONE) or cipher suite (SSL_NULL_WITH_NULL_NULL).
  • Fix: Don\u2019t change Conscrypt configuration globally. We migrated from a process-wide setting to configuring only OkHttp\u2019s TLS sockets.
  • Fix: Prefer TLSv1.2 where it is available. On certain older platforms it is necessary to opt-in to TLSv1.2.
  • New: Request.tag() permits multiple tags. Use a Class<?> as a key to identify tags. Note that tag() now returns null if the request has no tag. Previously this would return the request itself.
  • New: Headers.Builder.addAll(Headers).
  • New: ResponseBody.create(MediaType, ByteString).
  • New: Embed R8/ProGuard rules in the jar. These will be applied automatically by R8.
  • Fix: Release the connection if Authenticator throws an exception.
  • Fix: Change the declaration of OkHttpClient.cache() to return a @Nullable Cache. The return value has always been nullable but it wasn\u2019t declared properly.
  • Fix: Reverse suppression of connect exceptions. When both a call and its retry fail, we now throw the initial exception which is most likely to be actionable.
  • Fix: Retain interrupted state when throwing InterruptedIOException. A single interrupt should now be sufficient to break out an in-flight OkHttp call.
  • Fix: Don\u2019t drop a call to EventListener.callEnd() when the response body is consumed inside an interceptor.
"},{"location":"changelogs/changelog_3x/#version-3100","title":"Version 3.10.0","text":"

2018-02-24

  • The pingInterval() feature now aggressively checks connectivity for web sockets and HTTP/2 connections.

    Previously if you configured a ping interval that would cause OkHttp to send pings, but it did not track whether the reply pongs were received. With this update OkHttp requires that every ping receive a response: if it does not the connection will be closed and the listener\u2019s onFailure() method will be called.

    Web sockets have always been had pings, but pings on HTTP/2 connections is new in this release. Pings are used for connections that are busy carrying calls and for idle connections in the connection pool. (Pings do not impact when pooled connections are evicted).

    If you have a configured ping interval, you should confirm that it is long enough for a roundtrip from client to server. If your ping interval is too short, slow connections may be misinterpreted as failed connections. A ping interval of 30 seconds is reasonable for most use cases.

  • OkHttp now supports Conscrypt. Conscrypt is a Java Security Provider that integrates BoringSSL into the Java platform. Conscrypt supports more cipher suites than the JVM\u2019s default provider and may also execute more efficiently.

    To use it, first register a Conscrypt dependency in your build system.

    OkHttp will use Conscrypt if you set the okhttp.platform system property to conscrypt.

    Alternatively, OkHttp will also use Conscrypt if you install it as your preferred security provider. To do so, add the following code to execute before you create your OkHttpClient.

    Security.insertProviderAt(\n    new org.conscrypt.OpenSSLProvider(), 1);\n

    Conscrypt is the bundled security provider on Android so it is not necessary to configure it on that platform.

  • New: HttpUrl.addQueryParameter() percent-escapes more characters. Previously several ASCII punctuation characters were not percent-escaped when used with this method. This does not impact already-encoded query parameters in APIs like HttpUrl.parse() and HttpUrl.Builder.addEncodedQueryParameter().

  • New: CBC-mode ECDSA cipher suites have been removed from OkHttp\u2019s default configuration: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA and TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA. This tracks a Chromium change to remove these cipher suites because they are fragile and rarely-used.
  • New: Don\u2019t fall back to common name (CN) verification for hostnames. This behavior was deprecated with RFC 2818 in May 2000 and was recently dropped from major web browsers.
  • New: Honor the Retry-After response header. HTTP 503 (Unavailable) responses are retried automatically if this header is present and its delay is 0 seconds. HTTP 408 (Client Timeout) responses are retried automatically if the header is absent or its delay is 0 seconds.
  • New: Allow request bodies for all HTTP methods except GET and HEAD.
  • New: Automatic module name of okhttp3 for use with the Java Platform Module System.
  • New: Log gzipped bodies when HttpLoggingInterceptor is used as a network interceptor.
  • New: Protocol.QUIC constant. This protocol is not supported but this constant is included for completeness.
  • New: Upgrade to Okio 1.14.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.14.0</version>\n</dependency>\n\ncom.squareup.okio:okio:1.14.0\n
  • Fix: Handle HTTP/1.1 100 Continue status lines, even on requests that did not send the Expect: continue request header.

  • Fix: Do not count web sockets toward the dispatcher\u2019s per-host connection limit.
  • Fix: Avoid using invalid HTTPS sessions. This prevents OkHttp from crashing with the error, Unexpected TLS version: NONE.
  • Fix: Don\u2019t corrupt the response cache when a 304 (Not Modified) response overrides the stored \u201cContent-Encoding\u201d header.
  • Fix: Gracefully shut down the HTTP/2 connection before it exhausts the namespace of stream IDs (~536 million streams).
  • Fix: Never pass a null Route to Authenticator. There was a bug where routes were omitted for eagerly-closed connections.
"},{"location":"changelogs/changelog_3x/#version-391","title":"Version 3.9.1","text":"

2017-11-18

  • New: Recover gracefully when Android\u2019s DNS crashes with an unexpected NullPointerException.
  • New: Recover gracefully when Android\u2019s socket connections crash with an unexpected ClassCastException.
  • Fix: Don\u2019t include the URL\u2019s fragment in encodedQuery() when the query itself is empty.
"},{"location":"changelogs/changelog_3x/#version-390","title":"Version 3.9.0","text":"

2017-09-03

  • Interceptors are more capable. The Chain interface now offers access to the call and can adjust all call timeouts. Note that this change is source-incompatible for code that implements the Chain interface. We don\u2019t expect this to be a problem in practice!

  • OkHttp has an experimental new API for tracking metrics. The new EventListener API is designed to help developers monitor HTTP requests\u2019 size and duration. This feature is an unstable preview: the API is subject to change, and the implementation is incomplete. This is a big new API we are eager for feedback.

  • New: Support ALPN via Google Play Services\u2019 Dynamic Security Provider. This expands HTTP/2 support to older Android devices that have Google Play Services.

  • New: Consider all routes when looking for candidate coalesced connections. This increases the likelihood that HTTP/2 connections will be shared.
  • New: Authentication challenges and credentials now use a charset. Use this in your authenticator to support user names and passwords with non-ASCII characters.
  • New: Accept a charset in FormBody.Builder. Previously form bodies were always UTF-8.
  • New: Support the immutable cache-control directive.
  • Fix: Don\u2019t crash when an HTTP/2 call is redirected while the connection is being shut down.
  • Fix: Don\u2019t drop headers of healthy streams that raced with GOAWAY frames. This bug would cause HTTP/2 streams to occasional hang when the connection was shutting down.
  • Fix: Honor OkHttpClient.retryOnConnectionFailure() when the response is a HTTP 408 Request Timeout. If retries are enabled, OkHttp will retry exactly once in response to a 408.
  • Fix: Don\u2019t crash when reading the empty HEAD response body if it specifies a Content-Length.
  • Fix: Don\u2019t crash if the thread is interrupted while reading the public suffix database.
  • Fix: Use relative resource path when loading the public suffix database. Loading the resource using a path relative to the class prevents conflicts when the OkHttp classes are relocated (shaded) by allowing multiple private copies of the database.
  • Fix: Accept cookies for URLs that have an IPv6 address for a host.
  • Fix: Don\u2019t log the protocol (HTTP/1.1, h2) in HttpLoggingInterceptor if the protocol isn\u2019t negotiated yet! Previously we\u2019d log HTTP/1.1 by default, and this was confusing.
  • Fix: Omit the message from MockWebServer\u2019s HTTP/2 :status header.
  • Fix: Handle \u2018Expect: 100 Continue\u2019 properly in MockWebServer.
"},{"location":"changelogs/changelog_3x/#version-381","title":"Version 3.8.1","text":"

2017-06-18

  • Fix: Recover gracefully from stale coalesced connections. We had a bug where connection coalescing (introduced in OkHttp 3.7.0) and stale connection recovery could interact to cause a NoSuchElementException crash in the RouteSelector.
"},{"location":"changelogs/changelog_3x/#version-380","title":"Version 3.8.0","text":"

2017-05-13

  • OkHttp now uses @Nullable to annotate all possibly-null values. We\u2019ve added a compile-time dependency on the JSR 305 annotations. This is a provided dependency and does not need to be included in your build configuration, .jar file, or .apk. We use @ParametersAreNonnullByDefault and all parameters and return types are never null unless explicitly annotated @Nullable.

  • Warning: this release is source-incompatible for Kotlin users. Nullability was previously ambiguous and lenient but now the compiler will enforce strict null checks.

  • New: The response message is now non-null. This is the \u201cNot Found\u201d in the status line \u201cHTTP 404 Not Found\u201d. If you are building responses programmatically (with new Response.Builder()) you must now always supply a message. An empty string \"\" is permitted. This value was never null on responses returned by OkHttp itself, and it was an old mistake to permit application code to omit a message.

  • The challenge\u2019s scheme and realm are now non-null. If you are calling new Challenge(scheme, realm) you must provide non-null values. These were never null in challenges created by OkHttp, but could have been null in application code that creates challenges.

  • New: The TlsVersion of a Handshake is now non-null. If you are calling Handshake.get() with a null TLS version, you must instead now provide a non-null TlsVersion. Cache responses persisted prior to OkHttp 3.0 did not store a TLS version; for these unknown values the handshake is defaulted to TlsVersion.SSL_3_0.

  • New: Upgrade to Okio 1.13.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.13.0</version>\n</dependency>\n\ncom.squareup.okio:okio:1.13.0\n
  • Fix: gracefully recover when Android 7.0\u2019s sockets throw an unexpected NullPointerException.

"},{"location":"changelogs/changelog_3x/#version-370","title":"Version 3.7.0","text":"

2017-04-15

  • OkHttp no longer recovers from TLS handshake failures by attempting a TLSv1 connection. The fallback was necessary for servers that implemented version negotiation incorrectly. Now that 99.99% of servers do it right this fallback is obsolete.
  • Fix: Do not honor cookies set on a public domain. Previously a malicious site could inject cookies on top-level domains like co.uk because our cookie parser didn\u2019t honor the public suffix list. Alongside this fix is a new API, HttpUrl.topPrivateDomain(), which returns the privately domain name if the URL has one.
  • Fix: Change MediaType.charset() to return null for unexpected charsets.
  • Fix: Don\u2019t skip cache invalidation if the invalidating response has no body.
  • Fix: Don\u2019t use a cryptographic random number generator for web sockets. Some Android devices implement SecureRandom incorrectly!
  • Fix: Correctly canonicalize IPv6 addresses in HttpUrl. This prevented OkHttp from trusting HTTPS certificates issued to certain IPv6 addresses.
  • Fix: Don\u2019t reuse connections after an unsuccessful Expect: 100-continue.
  • Fix: Handle either TLS_ or SSL_ prefixes for cipher suite names. This is necessary for IBM JVMs that use the SSL_ prefix exclusively.
  • Fix: Reject HTTP/2 data frames if the stream ID is 0.
  • New: Upgrade to Okio 1.12.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.12.0</version>\n</dependency>\n\ncom.squareup.okio:okio:1.12.0\n
  • New: Connection coalescing. OkHttp may reuse HTTP/2 connections across calls that share an IP address and HTTPS certificate, even if their domain names are different.

  • New: MockWebServer\u2019s RecordedRequest exposes the requested HttpUrl with getRequestUrl().
"},{"location":"changelogs/changelog_3x/#version-360","title":"Version 3.6.0","text":"

2017-01-29

  • Fix: Don\u2019t crash with a \u201ccache is closed\u201d error when there is an error initializing the cache.
  • Fix: Calling disconnect() on a connecting HttpUrlConnection could cause it to retry in an infinite loop! This regression was introduced in OkHttp 2.7.0.
  • Fix: Drop cookies that contain ASCII NULL and other bad characters. Previously such cookies would cause OkHttp to crash when they were included in a request.
  • Fix: Release duplicated multiplexed connections. If we concurrently establish connections to an HTTP/2 server, close all but the first connection.
  • Fix: Fail the HTTP/2 connection if first frame isn\u2019t SETTINGS.
  • Fix: Forbid spaces in header names.
  • Fix: Don\u2019t offer to do gzip if the request is partial.
  • Fix: MockWebServer is now usable with JUnit 5. That update broke the rules.
  • New: Support Expect: 100-continue as a request header. Callers can use this header to pessimistically hold off on transmitting a request body until a server gives the go-ahead.
  • New: Permit network interceptors to rewrite the host header for HTTP/2. This makes it possible to do domain fronting.
  • New: charset support for Credentials.basic().
"},{"location":"changelogs/changelog_3x/#version-350","title":"Version 3.5.0","text":"

2016-11-30

  • Web Sockets are now a stable feature of OkHttp. Since being introduced as a beta feature in OkHttp 2.3 our web socket client has matured. Connect to a server\u2019s web socket with OkHttpClient.newWebSocket(), send messages with send(), and receive messages with the WebSocketListener.

    The okhttp-ws submodule is no longer available and okhttp-ws artifacts from previous releases of OkHttp are not compatible with OkHttp 3.5. When upgrading to the new package please note that the WebSocket and WebSocketCall classes have been merged. Sending messages is now asynchronous and they may be enqueued before the web socket is connected.

  • OkHttp no longer attempts a direct connection if the system\u2019s HTTP proxy fails. This behavior was surprising because OkHttp was disregarding the user\u2019s specified configuration. If you need to customize proxy fallback behavior, implement your own java.net.ProxySelector.

  • Fix: Support TLSv1.3 on devices that support it.

  • Fix: Share pooled connections across equivalent OkHttpClient instances. Previous releases had a bug where a shared connection pool did not guarantee shared connections in some cases.

  • Fix: Prefer the server\u2019s response body on all conditional cache misses. Previously we would return the cached response\u2019s body if it had a newer Last-Modified date.
  • Fix: Update the stored timestamp on conditional cache hits.
  • New: Optimized HTTP/2 request header encoding. More headers are HPACK-encoded and string literals are now Huffman-encoded.
  • New: Expose Part headers and body in Multipart.
  • New: Make ResponseBody.string() and ResponseBody.charStream() BOM-aware. If your HTTP response body begins with a byte order mark it will be consumed and used to select a charset for the remaining bytes. Most applications should not need a byte order mark.

  • New: Upgrade to Okio 1.11.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.11.0</version>\n</dependency>\n\ncom.squareup.okio:okio:1.11.0\n
  • Fix: Avoid sending empty HTTP/2 data frames when there is no request body.

  • Fix: Add a leading . for better domain matching in JavaNetCookieJar.
  • Fix: Gracefully recover from HTTP/2 connection shutdowns at start of request.
  • Fix: Be lenient if a MediaType\u2019s character set is 'single-quoted'.
  • Fix: Allow horizontal tab characters in header values.
  • Fix: When parsing HTTP authentication headers permit challenge parameters in any order.
"},{"location":"changelogs/changelog_3x/#version-342","title":"Version 3.4.2","text":"

2016-11-03

  • Fix: Recover gracefully when an HTTP/2 connection is shutdown. We had a bug where shutdown HTTP/2 connections were considered usable. This caused infinite loops when calls attempted to recover.
"},{"location":"changelogs/changelog_3x/#version-341","title":"Version 3.4.1","text":"

2016-07-10

  • Fix a major bug in encoding HTTP headers. In 3.4.0 and 3.4.0-RC1 OkHttp had an off-by-one bug in our HPACK encoder. This bug could have caused the wrong headers to be emitted after a sequence of HTTP/2 requests! Everyone who is using OkHttp 3.4.0 or 3.4.0-RC1 should upgrade for this bug fix.
"},{"location":"changelogs/changelog_3x/#version-340","title":"Version 3.4.0","text":"

2016-07-08

  • New: Support dynamic table size changes to HPACK Encoder.
  • Fix: Use TreeMap in Headers.toMultimap(). This makes string lookups on the returned map case-insensitive.
  • Fix: Don\u2019t share the OkHttpClient\u2019s Dispatcher in HttpURLConnection.
"},{"location":"changelogs/changelog_3x/#version-340-rc1","title":"Version 3.4.0-RC1","text":"

2016-07-02

  • We\u2019ve rewritten HttpURLConnection and HttpsURLConnection. Previously we shared a single HTTP engine between two frontend APIs: HttpURLConnection and Call. With this release we\u2019ve rearranged things so that the HttpURLConnection frontend now delegates to the Call APIs internally. This has enabled substantial simplifications and optimizations in the OkHttp core for both frontends.

    For most HTTP requests the consequences of this change will be negligible. If your application uses HttpURLConnection.connect(), setFixedLengthStreamingMode(), or setChunkedStreamingMode(), OkHttp will now use a async dispatcher thread to establish the HTTP connection.

    We don\u2019t expect this change to have any behavior or performance consequences. Regardless, please exercise your OkUrlFactory and HttpURLConnection code when applying this update.

  • Cipher suites may now have arbitrary names. Previously CipherSuite was a Java enum and it was impossible to define new cipher suites without first upgrading OkHttp. With this change it is now a regular Java class with enum-like constants. Application code that uses enum methods on cipher suites (ordinal(), name(), etc.) will break with this change.

  • Fix: CertificatePinner now matches canonicalized hostnames. Previously this was case sensitive. This change should also make it easier to configure certificate pinning for internationalized domain names.

  • Fix: Don\u2019t crash on non-ASCII ETag headers. Previously OkHttp would reject these headers when validating a cached response.
  • Fix: Don\u2019t allow remote peer to arbitrarily size the HPACK decoder dynamic table.
  • Fix: Honor per-host configuration in Android\u2019s network security config. Previously disabling cleartext for any host would disable cleartext for all hosts. Note that this setting is only available on Android 24+.
  • New: HPACK compression is now dynamic. This should improve performance when transmitting request headers over HTTP/2.
  • New: Dispatcher.setIdleCallback() can be used to signal when there are no calls in flight. This is useful for testing with Espresso.
  • New: Upgrade to Okio 1.9.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.9.0</version>\n</dependency>\n
"},{"location":"changelogs/changelog_3x/#version-331","title":"Version 3.3.1","text":"

2016-05-28

  • Fix: The plaintext check in HttpLoggingInterceptor incorrectly classified newline characters as control characters. This is fixed.
  • Fix: Don\u2019t crash reading non-ASCII characters in HTTP/2 headers or in cached HTTP headers.
  • Fix: Retain the response body when an attempt to open a web socket returns a non-101 response code.
"},{"location":"changelogs/changelog_3x/#version-330","title":"Version 3.3.0","text":"

2016-05-24

  • New: Response.sentRequestAtMillis() and receivedResponseAtMillis() methods track the system\u2019s local time when network calls are made. These replace the OkHttp-Sent-Millis and OkHttp-Received-Millis headers that were present in earlier versions of OkHttp.
  • New: Accept user-provided trust managers in OkHttpClient.Builder. This allows OkHttp to satisfy its TLS requirements directly. Otherwise OkHttp will use reflection to extract the TrustManager from the SSLSocketFactory.
  • New: Support prerelease Java 9. This gets ALPN from the platform rather than relying on the alpn-boot bootclasspath override.
  • New: HttpLoggingInterceptor now logs connection failures.
  • New: Upgrade to Okio 1.8.0.

    <dependency>\n  <groupId>com.squareup.okio</groupId>\n  <artifactId>okio</artifactId>\n  <version>1.8.0</version>\n</dependency>\n
  • Fix: Gracefully recover from a failure to rebuild the cache journal.

  • Fix: Don\u2019t corrupt cache entries when a cache entry is evicted while it is being updated.
  • Fix: Make logging more consistent throughout OkHttp.
  • Fix: Log plaintext bodies only. This uses simple heuristics to differentiate text from other data.
  • Fix: Recover from REFUSED_STREAM errors in HTTP/2. This should improve interoperability with Nginx 1.10.0, which refuses streams created before HTTP/2 settings have been acknowledged.
  • Fix: Improve recovery from failed routes.
  • Fix: Accommodate tunneling proxies that close the connection after an auth challenge.
  • Fix: Use the proxy authenticator when authenticating HTTP proxies. This regression was introduced in OkHttp 3.0.
  • Fix: Fail fast if network interceptors transform the response body such that closing it doesn\u2019t also close the underlying stream. We had a bug where OkHttp would attempt to reuse a connection but couldn\u2019t because it was still held by a prior request.
  • Fix: Ensure network interceptors always have access to the underlying connection.
  • Fix: Use X509TrustManagerExtensions on Android 17+.
  • Fix: Unblock waiting dispatchers on MockWebServer shutdown.
"},{"location":"changelogs/changelog_3x/#version-320","title":"Version 3.2.0","text":"

2016-02-25

  • Fix: Change the certificate pinner to always build full chains. This prevents a potential crash when using certificate pinning with the Google Play Services security provider.
  • Fix: Make IPv6 request lines consistent with Firefox and Chrome.
  • Fix: Recover gracefully when trimming the response cache fails.
  • New: Add multiple path segments using a single string in HttpUrl.Builder.
  • New: Support SHA-256 pins in certificate pinner.
"},{"location":"changelogs/changelog_3x/#version-312","title":"Version 3.1.2","text":"

2016-02-10

  • Fix: Don\u2019t crash when finding the trust manager on Robolectric. We attempted to detect the host platform and got confused because Robolectric looks like Android but isn\u2019t!
  • Fix: Change CertificatePinner to skip sanitizing the certificate chain when no certificates were pinned. This avoids an SSL failure in insecure \u201ctrust everyone\u201d configurations, such as when talking to a development HTTPS server that has a self-signed certificate.
"},{"location":"changelogs/changelog_3x/#version-311","title":"Version 3.1.1","text":"

2016-02-07

  • Fix: Don\u2019t crash when finding the trust manager if the Play Services (GMS) security provider is installed.
  • Fix: The previous release introduced a performance regression on Android, caused by looking up CA certificates. This is now fixed.
"},{"location":"changelogs/changelog_3x/#version-310","title":"Version 3.1.0","text":"

2016-02-06

  • New: WebSockets now defer some writes. This should improve performance for some applications.
  • New: Override equals() and hashCode() in our new cookie class. This class now defines equality by value rather than by reference.
  • New: Handle 408 responses by retrying the request. This allows servers to direct clients to retry rather than failing permanently.
  • New: Expose the framed protocol in Connection. Previously this would return the application-layer protocol (HTTP/1.1 or HTTP/1.0); now it always returns the wire-layer protocol (HTTP/2, SPDY/3.1, or HTTP/1.1).
  • Fix: Permit the trusted CA root to be pinned by CertificatePinner.
  • Fix: Silently ignore unknown HTTP/2 settings. Previously this would cause the entire connection to fail.
  • Fix: Don\u2019t crash on unexpected charsets in the logging interceptor.
  • Fix: OkHttpClient is now non-final for the benefit of mocking frameworks. Mocking sophisticated classes like OkHttpClient is fragile and you shouldn\u2019t do it. But if that\u2019s how you want to live your life we won\u2019t stand in your way!
"},{"location":"changelogs/changelog_3x/#version-301","title":"Version 3.0.1","text":"

2016-01-14

  • Rollback OSGi support. This was causing library jars to include more classes than expected, which interfered with Gradle builds.
"},{"location":"changelogs/changelog_3x/#version-300","title":"Version 3.0.0","text":"

2016-01-13

This release commits to a stable 3.0 API. Read the 3.0.0-RC1 changes for advice on upgrading from 2.x to 3.x.

  • The Callback interface now takes a Call. This makes it easier to check if the call was canceled from within the callback. When migrating async calls to this new API, Call is now the first parameter for both onResponse() and onFailure().
  • Fix: handle multiple cookies in JavaNetCookieJar on Android.
  • Fix: improve the default HTTP message in MockWebServer responses.
  • Fix: don\u2019t leak file handles when a conditional GET throws.
  • Fix: Use charset specified by the request body content type in OkHttp\u2019s logging interceptor.
  • Fix: Don\u2019t eagerly release pools on cache hits.
  • New: Make OkHttp OSGi ready.
  • New: Add already-implemented interfaces Closeable and Flushable to the cache.
"},{"location":"changelogs/changelog_3x/#version-300-rc1","title":"Version 3.0.0-RC1","text":"

2016-01-02

OkHttp 3 is a major release focused on API simplicity and consistency. The API changes are numerous but most are cosmetic. Applications should be able to upgrade from the 2.x API to the 3.x API mechanically and without risk.

Because the release includes breaking API changes, we\u2019re changing the project\u2019s package name from com.squareup.okhttp to okhttp3. This should make it possible for large applications to migrate incrementally. The Maven group ID is now com.squareup.okhttp3. For an explanation of this strategy, see Jake Wharton\u2019s post, Java Interoperability Policy for Major Version Updates.

This release obsoletes OkHttp 2.x, and all code that uses OkHttp\u2019s com.squareup.okhttp package should upgrade to the okhttp3 package. Libraries that depend on OkHttp should upgrade quickly to prevent applications from being stuck on the old version.

  • There is no longer a global singleton connection pool. In OkHttp 2.x, all OkHttpClient instances shared a common connection pool by default. In OkHttp 3.x, each new OkHttpClient gets its own private connection pool. Applications should avoid creating many connection pools as doing so prevents connection reuse. Each connection pool holds its own set of connections alive so applications that have many pools also risk exhausting memory!

    The best practice in OkHttp 3 is to create a single OkHttpClient instance and share it throughout the application. Requests that needs a customized client should call OkHttpClient.newBuilder() on that shared instance. This allows customization without the drawbacks of separate connection pools.

  • OkHttpClient is now stateless. In the 2.x API OkHttpClient had getters and setters. Internally each request was forced to make its own complete snapshot of the OkHttpClient instance to defend against racy configuration changes. In 3.x, OkHttpClient is now stateless and has a builder. Note that this class is not strictly immutable as it has stateful members like the connection pool and cache.

  • Get and Set prefixes are now avoided. With ubiquitous builders throughout OkHttp these accessor prefixes aren\u2019t necessary. Previously OkHttp used get and set prefixes sporadically which make the API inconsistent and awkward to explore.

  • OkHttpClient now implements the new Call.Factory interface. This interface will make your code easier to test. When you test code that makes HTTP requests, you can use this interface to replace the real OkHttpClient with your own mocks or fakes.

    The interface will also let you use OkHttp\u2019s API with another HTTP client\u2019s implementation. This is useful in sandboxed environments like Google App Engine.

  • OkHttp now does cookies. We\u2019ve replaced java.net.CookieHandler with a new interface, CookieJar and added our own Cookie model class. This new cookie follows the latest RFC and supports the same cookie attributes as modern web browsers.

  • Form and Multipart bodies are now modeled. We\u2019ve replaced the opaque FormEncodingBuilder with the more powerful FormBody and FormBody.Builder combo. Similarly we\u2019ve upgraded MultipartBuilder into MultipartBody, MultipartBody.Part, and MultipartBody.Builder.

  • The Apache HTTP client and HttpURLConnection APIs are deprecated. They continue to work as they always have, but we\u2019re moving everything to the new OkHttp 3 API. The okhttp-apache and okhttp-urlconnection modules should be only be used to accelerate a transition to OkHttp\u2019s request/response API. These deprecated modules will be dropped in an upcoming OkHttp 3.x release.

  • Canceling batches of calls is now the application\u2019s responsibility. The API to cancel calls by tag has been removed and replaced with a more general mechanism. The dispatcher now exposes all in-flight calls via its runningCalls() and queuedCalls() methods. You can write code that selects calls by tag, host, or whatever, and invokes Call.cancel() on the ones that are no longer necessary.

  • OkHttp no longer uses the global java.net.Authenticator by default. We\u2019ve changed our Authenticator interface to authenticate web and proxy authentication failures through a single method. An adapter for the old authenticator is available in the okhttp-urlconnection module.

  • Fix: Don\u2019t throw IOException on ResponseBody.contentLength() or close().

  • Fix: Never throw converting an HttpUrl to a java.net.URI. This changes the uri() method to handle malformed percent-escapes and characters forbidden by URI.
  • Fix: When a connect times out, attempt an alternate route. Previously route selection was less efficient when differentiating failures.
  • New: Response.peekBody() lets you access the response body without consuming it. This may be handy for interceptors!
  • New: HttpUrl.newBuilder() resolves a link to a builder.
  • New: Add the TLS version to the Handshake.
  • New: Drop Request.uri() and Request#urlString(). Just use Request.url().uri() and Request.url().toString().
  • New: Add URL to HTTP response logging.
  • New: Make HttpUrl the blessed URL method of Request.
"},{"location":"changelogs/changelog_3x/#version-2x","title":"Version 2.x","text":"

Change log

"},{"location":"changelogs/changelog_4x/","title":"OkHttp 4.x Change Log","text":""},{"location":"changelogs/changelog_4x/#version-4120","title":"Version 4.12.0","text":"

2023-10-16

  • Fix: Don\u2019t hang taking headers for HTTP 103 responses.

  • Fix: Recover gracefully when a cache entry\u2019s certificate is corrupted.

  • Fix: Fail permanently when there\u2019s a failure loading the bundled public suffix database. This is the dataset that powers HttpUrl.topPrivateDomain().

  • Fix: Immediately update the connection\u2019s flow control window instead of waiting for the receiving stream to process it.

    This change may increase OkHttp\u2019s memory use for applications that make many concurrent HTTP calls and that can receive data faster than they can process it. Previously, OkHttp limited HTTP/2 to 16 MiB of unacknowledged data per connection. With this fix there is a limit of 16 MiB of unacknowledged data per stream and no per-connection limit.

  • Fix: Don\u2019t operate on a connection after it\u2019s been returned to the pool. This race occurred on failed web socket connection attempts.

  • Upgrade: Okio 3.6.0.

  • Upgrade: Kotlin 1.8.21.

"},{"location":"changelogs/changelog_4x/#version-4110","title":"Version 4.11.0","text":"

2023-04-22

  • Fix: Don\u2019t fail the call when the response code is \u2018HTTP 102 Processing\u2019 or \u2018HTTP 103 Early Hints\u2019.
  • Fix: Read the response even if writing the request fails. This means you\u2019ll get a proper HTTP response even if the server rejects your request body.
  • Fix: Use literal IP addresses directly rather than passing them to DnsOverHttps.
  • Fix: Embed Proguard rules to prevent warnings from tools like DexGuard and R8. These warnings were triggered by OkHttp\u2019s feature detection for TLS packages like org.conscrypt, org.bouncycastle, and org.openjsse.
  • Upgrade: Explicitly depend on kotlin-stdlib-jdk8. This fixes a problem with dependency locking. That\u2019s a potential security vulnerability, tracked as CVE-2022-24329.
  • Upgrade: publicsuffix.org data. This powers HttpUrl.topPrivateDomain(). It\u2019s also how OkHttp knows which domains can share cookies with one another.
  • Upgrade: Okio 3.2.0.
"},{"location":"changelogs/changelog_4x/#version-4100","title":"Version 4.10.0","text":"

2022-06-12

  • Upgrade: Kotlin 1.6.20.
  • Upgrade: Okio 3.0.0.
  • Fix: Recover gracefully when Android\u2019s NativeCrypto crashes with \"ssl == null\". This occurs when OkHttp retrieves ALPN state on a closed connection.
"},{"location":"changelogs/changelog_4x/#version-493","title":"Version 4.9.3","text":"

2021-11-21

  • Fix: Don\u2019t fail HTTP/2 responses if they complete before a RST_STREAM is sent.
"},{"location":"changelogs/changelog_4x/#version-492","title":"Version 4.9.2","text":"

2021-09-30

  • Fix: Don\u2019t include potentially-sensitive header values in Headers.toString() or exceptions. This applies to Authorization, Cookie, Proxy-Authorization, and Set-Cookie headers.
  • Fix: Don\u2019t crash with an InaccessibleObjectException when running on JDK17+ with strong encapsulation enabled.
  • Fix: Strictly verify hostnames used with OkHttp\u2019s HostnameVerifier. Programs that make direct manual calls to HostnameVerifier could be defeated if the hostnames they pass in are not strictly ASCII. This issue is tracked as CVE-2021-0341.
"},{"location":"changelogs/changelog_4x/#version-491","title":"Version 4.9.1","text":"

2021-01-30

  • Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads concurrently close an SSL socket. This would have appeared in crash logs as NullPointerException: bio == null.
"},{"location":"changelogs/changelog_4x/#version-490","title":"Version 4.9.0","text":"

2020-09-11

With this release, okhttp-tls no longer depends on Bouncy Castle and doesn\u2019t install the Bouncy Castle security provider. If you still need it, you can do it yourself:

Security.addProvider(BouncyCastleProvider())\n

You will also need to configure this dependency:

dependencies {\n  implementation \"org.bouncycastle:bcprov-jdk15on:1.65\"\n}\n
  • Upgrade: Kotlin 1.4.10. We now use Kotlin 1.4.x functional interfaces for Authenticator, Interceptor, and others.
  • Upgrade: Build with Conscrypt 2.5.1.
"},{"location":"changelogs/changelog_4x/#version-481","title":"Version 4.8.1","text":"

2020-08-06

  • Fix: Don\u2019t crash in HeldCertificate.Builder when creating certificates on older versions of Android, including Android 6. We were using a feature of SimpleDateFormat that wasn\u2019t available in those versions!
"},{"location":"changelogs/changelog_4x/#version-480","title":"Version 4.8.0","text":"

2020-07-11

  • New: Change HeldCertificate.Builder to use its own ASN.1 certificate encoder. This is part of our effort to remove the okhttp-tls module\u2019s dependency on Bouncy Castle. We think Bouncy Castle is great! But it\u2019s a large dependency (6.5 MiB) and its security provider feature impacts VM-wide behavior.

  • New: Reduce contention for applications that make a very high number of concurrent requests. Previously OkHttp used its connection pool as a lock when making changes to connections and calls. With this change each connection is locked independently.

  • Upgrade: Okio 2.7.0.

    implementation(\"com.squareup.okio:okio:2.7.0\")\n
  • Fix: Avoid log messages like \u201cDidn\u2019t find class org.conscrypt.ConscryptHostnameVerifier\u201d when detecting the TLS capabilities of the host platform.

  • Fix: Don\u2019t crash in HttpUrl.topPrivateDomain() when the hostname is malformed.

  • Fix: Don\u2019t attempt Brotli decompression if the response body is empty.

"},{"location":"changelogs/changelog_4x/#version-472","title":"Version 4.7.2","text":"

2020-05-20

  • Fix: Don\u2019t crash inspecting whether the host platform is JVM or Android. With 4.7.0 and 4.7.1 we had a crash IllegalArgumentException: Not a Conscrypt trust manager because we depended on initialization order of companion objects.
"},{"location":"changelogs/changelog_4x/#version-471","title":"Version 4.7.1","text":"

2020-05-18

  • Fix: Pass the right arguments in the trust manager created for addInsecureHost(). Without the fix insecure hosts crash with an IllegalArgumentException on Android.
"},{"location":"changelogs/changelog_4x/#version-470","title":"Version 4.7.0","text":"

2020-05-17

  • New: HandshakeCertificates.Builder.addInsecureHost() makes it easy to turn off security in private development environments that only carry test data. Prefer this over creating an all-trusting TrustManager because only hosts on the allowlist are insecure. From our DevServer sample:

    val clientCertificates = HandshakeCertificates.Builder()\n    .addPlatformTrustedCertificates()\n    .addInsecureHost(\"localhost\")\n    .build()\n\nval client = OkHttpClient.Builder()\n    .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager)\n    .build()\n
  • New: Add cacheHit, cacheMiss, and cacheConditionalHit() events to EventListener. Use these in logs, metrics, and even test cases to confirm your cache headers are configured as expected.

  • New: Constant string okhttp3.VERSION. This is a string like \u201c4.5.0-RC1\u201d, \u201c4.5.0\u201d, or \u201c4.6.0-SNAPSHOT\u201d indicating the version of OkHttp in the current runtime. Use this to include the OkHttp version in custom User-Agent headers.

  • Fix: Don\u2019t crash when running as a plugin in Android Studio Canary 4.1. To enable platform-specific TLS features OkHttp must detect whether it\u2019s running in a JVM or in Android. The upcoming Android Studio runs in a JVM but has classes from Android and that confused OkHttp!

  • Fix: Include the header Accept: text/event-stream for SSE calls. This header is not added if the request already contains an Accept header.

  • Fix: Don\u2019t crash with a NullPointerException if a server sends a close while we\u2019re sending a ping. OkHttp had a race condition bug.

"},{"location":"changelogs/changelog_4x/#version-460","title":"Version 4.6.0","text":"

2020-04-28

  • Fix: Follow HTTP 307 and 308 redirects on methods other than GET and POST. We\u2019re reluctant to change OkHttp\u2019s behavior in handling common HTTP status codes, but this fix is overdue! The new behavior is now consistent with RFC 7231, which is newer than OkHttp itself. If you want this update with the old behavior use this interceptor.

  • Fix: Don\u2019t crash decompressing web sockets messages. We had a bug where we assumed deflated bytes in would always yield deflated bytes out and this isn\u2019t always the case!

  • Fix: Reliably update and invalidate the disk cache on windows. As originally designed our internal DiskLruCache assumes an inode-like file system, where it\u2019s fine to delete files that are currently being read or written. On Windows the file system forbids this so we must be more careful when deleting and renaming files.

  • Fix: Don\u2019t crash on Java 8u252 which introduces an API previously found only on Java 9 and above. See Jetty\u2019s overview of the API change and its consequences.

  • New: MultipartReader is a streaming decoder for MIME multipart (RFC 2045) messages. It complements MultipartBody which is our streaming encoder.

    val response: Response = call.execute()\nval multipartReader = MultipartReader(response.body!!)\n\nmultipartReader.use {\n  while (true) {\n    val part = multipartReader.nextPart() ?: break\n    process(part.headers, part.body)\n  }\n}\n
  • New: MediaType.parameter() gets a parameter like boundary from a media type like multipart/mixed; boundary=\"abc\".

  • New: Authenticator.JAVA_NET_AUTHENTICATOR forwards authentication requests to java.net.Authenticator. This obsoletes JavaNetAuthenticator in the okhttp-urlconnection module.

  • New: CertificatePinner now offers an API for inspecting the configured pins.

  • Upgrade: Okio 2.6.0.

    implementation(\"com.squareup.okio:okio:2.6.0\")\n
  • Upgrade: publicsuffix.org data. This powers HttpUrl.topPrivateDomain(). It\u2019s also how OkHttp knows which domains can share cookies with one another.

  • Upgrade: Bouncy Castle 1.65. This dependency is required by the okhttp-tls module.

  • Upgrade: Kotlin 1.3.71.

"},{"location":"changelogs/changelog_4x/#version-450","title":"Version 4.5.0","text":"

2020-04-06

This release fixes a severe bug where OkHttp incorrectly detected and recovered from unhealthy connections. Stale or canceled connections were incorrectly attempted when they shouldn\u2019t have been, leading to rare cases of infinite retries. Please upgrade to this release!

  • Fix: don\u2019t return stale DNS entries in DnsOverHttps. We were caching DNS results indefinitely rather than the duration specified in the response\u2019s cache-control header.
  • Fix: Verify certificate IP addresses in canonical form. When a server presents a TLS certificate containing an IP address we must match that address against the URL\u2019s IP address, even when the two addresses are encoded differently, such as 192.168.1.1 and 0::0:0:FFFF:C0A8:101. Note that OkHttp incorrectly rejected valid certificates resulting in a failure to connect; at no point were invalid certificates accepted.
  • New: OkHttpClient.Builder.minWebSocketMessageToCompress() configures a threshold for compressing outbound web socket messages. Configure this with 0L to always compress outbound messages and Long.MAX_VALUE to never compress outbound messages. The default is 1024L which compresses messages of size 1 KiB and larger. (Inbound messages are compressed or not based on the web socket server\u2019s configuration.)
  • New: Defer constructing Inflater and Deflater instances until they are needed. This saves memory if web socket compression is negotiated but not used.
"},{"location":"changelogs/changelog_4x/#version-450-rc1","title":"Version 4.5.0-RC1","text":"

2020-03-17

This release candidate turns on web socket compression.

The spec includes a sophisticated mechanism for client and server to negotiate compression features. We strive to offer great performance in our default configuration and so we\u2019re making compression the default for everyone starting with this release candidate.

Please be considerate of your servers and their operators as you roll out this release. Compression saves bandwidth but it costs CPU and memory! If you run into a problem you may need to adjust or disable the permessage-deflate compression settings on your server.

Note that OkHttp won\u2019t use compression when sending messages smaller than 1 KiB.

  • Fix: Don\u2019t crash when the URL hostname contains an underscore on Android.
  • Fix: Change HTTP/2 to use a daemon thread for its socket reader. If you\u2019ve ever seen a command line application hang after all of the work is done, it may be due to a non-daemon thread like this one.
  • New: Include suppressed exceptions when all routes to a target service fail.
"},{"location":"changelogs/changelog_4x/#version-441","title":"Version 4.4.1","text":"

2020-03-08

  • Fix: Don\u2019t reuse a connection on redirect if certs match but DNS does not. For better locality and performance OkHttp attempts to use the same pooled connection across redirects and follow-ups. It independently shares connections when the IP addresses and certificates match, even if the host names do not. In 4.4.0 we introduced a regression where we shared a connection when certificates matched but the DNS addresses did not. This would only occur when following a redirect from one hostname to another, and where both hosts had common certificates.

  • Fix: Don\u2019t fail on a redirect when a client has configured a \u2018trust everything\u2019 trust manager. Typically this would cause certain redirects to fail in debug and development configurations.

"},{"location":"changelogs/changelog_4x/#version-440","title":"Version 4.4.0","text":"

2020-02-17

  • New: Support canceled() as an event that can be observed by EventListener. This should be useful for splitting out canceled calls in metrics.

  • New: Publish a bill of materials (BOM) for OkHttp. Depend on this from Gradle or Maven to keep all of your OkHttp artifacts on the same version, even if they\u2019re declared via transitive dependencies. You can even omit versions when declaring other OkHttp dependencies.

    dependencies {\n   api(platform(\"com.squareup.okhttp3:okhttp-bom:4.4.0\"))\n   api(\"com.squareup.okhttp3:okhttp\")              // No version!\n   api(\"com.squareup.okhttp3:logging-interceptor\") // No version!\n}\n
  • New: Upgrade to Okio 2.4.3.

    implementation(\"com.squareup.okio:okio:2.4.3\")\n
  • Fix: Limit retry attempts for HTTP/2 REFUSED_STREAM and CANCEL failures.

  • Fix: Retry automatically when incorrectly sharing a connection among multiple hostnames. OkHttp shares connections when hosts share both IP addresses and certificates, such as squareup.com and www.squareup.com. If a server refuses such sharing it will return HTTP 421 and OkHttp will automatically retry on an unshared connection.
  • Fix: Don\u2019t crash if a TLS tunnel\u2019s response body is truncated.
  • Fix: Don\u2019t track unusable routes beyond their usefulness. We had a bug where we could track certain bad routes indefinitely; now we only track the ones that could be necessary.
  • Fix: Defer proxy selection until a proxy is required. This saves calls to ProxySelector on calls that use a pooled connection.
"},{"location":"changelogs/changelog_4x/#version-431","title":"Version 4.3.1","text":"

2020-01-07

  • Fix: Don\u2019t crash with a NullPointerException when a web socket is closed before it connects. This regression was introduced in OkHttp 4.3.0.
  • Fix: Don\u2019t crash with an IllegalArgumentException when using custom trust managers on Android 10. Android uses reflection to look up a magic checkServerTrusted() method and we didn\u2019t have it.
  • Fix: Explicitly specify the remote server name when making HTTPS connections on Android 5. In 4.3.0 we introduced a regression where server name indication (SNI) was broken on Android 5.
"},{"location":"changelogs/changelog_4x/#version-430","title":"Version 4.3.0","text":"

2019-12-31

  • Fix: Degrade HTTP/2 connections after a timeout. When an HTTP/2 stream times out it may impact the stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after a stream timeout to determine whether the connection should remain eligible for pooling.

  • Fix: Don\u2019t call EventListener.responseHeadersStart() or responseBodyStart() until bytes have been received. Previously these events were incorrectly sent too early, when OkHttp was ready to read the response headers or body, which mislead tracing tools. Note that the responseFailed() event always used to follow one of these events; now it may be sent without them.

  • New: Upgrade to Kotlin 1.3.61.

  • New: Match any number of subdomains with two asterisks in CertificatePinner. For example, **.squareup.com matches us-west.www.squareup.com, www.squareup.com and squareup.com.

  • New: Share threads more aggressively between OkHttp\u2019s HTTP/2 connections, connection pool, web sockets, and cache. OkHttp has a new internal task runner abstraction for managed task scheduling. In your debugger you will see new thread names and more use of daemon threads.

  • Fix: Don\u2019t drop callbacks on unexpected exceptions. When an interceptor throws an unchecked exception the callback is now notified that the call was canceled. The exception is still sent to the uncaught exception handler for reporting and recovery.

  • Fix: Un-deprecate MockResponse.setHeaders() and other setters. These were deprecated in OkHttp 4.0 but that broke method chaining for Java callers.

  • Fix: Don\u2019t crash on HTTP/2 HEAD requests when the Content-Length header is present but is not consistent with the length of the response body.

  • Fix: Don\u2019t crash when converting a HttpUrl instance with an unresolvable hostname to a URI. The new behavior strips invalid characters like \" and { from the hostname before converting.

  • Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior between Kotlin\u2019s assert() and Java\u2019s assert(). (Kotlin always evaluates the argument; Java only does when assertions are enabled.)

  • Fix: Honor RequestBody.isOneShot() in HttpLoggingInterceptor.

"},{"location":"changelogs/changelog_4x/#version-422","title":"Version 4.2.2","text":"

2019-10-06

  • Fix: When closing a canceled HTTP/2 stream, don\u2019t send the END_STREAM flag. This could cause the server to incorrectly interpret the stream as having completed normally. This is most useful when a request body needs to cancel its own call.
"},{"location":"changelogs/changelog_4x/#version-421","title":"Version 4.2.1","text":"

2019-10-02

  • Fix: In 4.1.0 we introduced a performance regression that prevented connections from being pooled in certain situations. We have good test coverage for connection pooling but we missed this because it only occurs if you have proxy configured and you share a connection pool among multiple OkHttpClient instances.

    This particularly-subtle bug was caused by us assigning each OkHttpClient instance its own NullProxySelector when an explicit proxy is configured. But we don\u2019t share connections when the proxy selectors are different. Ugh!

"},{"location":"changelogs/changelog_4x/#version-420","title":"Version 4.2.0","text":"

2019-09-10

  • New: API to decode a certificate and private key to create a HeldCertificate. This accepts a string containing both a certificate and PKCS #8-encoded private key.

    val heldCertificate = HeldCertificate.decode(\"\"\"\n    |-----BEGIN CERTIFICATE-----\n    |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl\n    |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx\n    |MDAwMDEwWjApMRQwEgYDVQQLEwtlbmdpbmVlcmluZzERMA8GA1UEAxMIY2FzaC5h\n    |cHAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASda8ChkQXxGELnrV/oBnIAx3dD\n    |ocUOJfdz4pOJTP6dVQB9U3UBiW5uSX/MoOD0LL5zG3bVyL3Y6pDwKuYvfLNhoyAw\n    |HjAcBgNVHREBAf8EEjAQhwQBAQEBgghjYXNoLmFwcDAKBggqhkjOPQQDAgNIADBF\n    |AiAyHHg1N6YDDQiY920+cnI5XSZwEGhAtb9PYWO8bLmkcQIhAI2CfEZf3V/obmdT\n    |yyaoEufLKVXhrTQhRfodTeigi4RX\n    |-----END CERTIFICATE-----\n    |-----BEGIN PRIVATE KEY-----\n    |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J\n    |lu/GJQZoU9lDrCPeUcQ28tzOWw==\n    |-----END PRIVATE KEY-----\n    \"\"\".trimMargin())\nval handshakeCertificates = HandshakeCertificates.Builder()\n    .heldCertificate(heldCertificate)\n    .build()\nval server = MockWebServer()\nserver.useHttps(handshakeCertificates.sslSocketFactory(), false)\n

    Get these strings with HeldCertificate.certificatePem() and privateKeyPkcs8Pem().

  • Fix: Handshake now returns peer certificates in canonical order: each certificate is signed by the certificate that follows and the last certificate is signed by a trusted root.

  • Fix: Don\u2019t lose HTTP/2 flow control bytes when incoming data races with a stream close. If this happened enough then eventually the connection would stall.

  • Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to fail the call.

"},{"location":"changelogs/changelog_4x/#version-411","title":"Version 4.1.1","text":"

2019-09-05

  • Fix: Don\u2019t drop repeated headers when validating cached responses. In our Kotlin upgrade we introduced a regression where we iterated the number of unique header names rather than then number of unique headers. If you\u2019re using OkHttp\u2019s response cache this may impact you.
"},{"location":"changelogs/changelog_4x/#version-410","title":"Version 4.1.0","text":"

2019-08-12

  • OkHttp\u2019s new okhttp-brotli module implements Brotli compression. Install the interceptor to enable Brotli compression, which compresses 5-20% smaller than gzip.

    val client = OkHttpClient.Builder()\n    .addInterceptor(BrotliInterceptor)\n    .build()\n

    This artifact has a dependency on Google\u2019s Brotli decoder (95 KiB).

  • New: EventListener.proxySelectStart(), proxySelectEnd() events give visibility into the proxy selection process.

  • New: Response.byteString() reads the entire response into memory as a byte string.
  • New: OkHttpClient.x509TrustManager accessor.
  • New: Permit new WebSocket response codes: 1012 (Service Restart), 1013 (Try Again Later), and 1014 (invalid response from the upstream).
  • New: Build with Kotlin 1.3.41, BouncyCastle 1.62, and Conscrypt 2.2.1.
  • Fix: Recover gracefully when a coalesced connection immediately goes unhealthy.
  • Fix: Defer the SecurityException when looking up the default proxy selector.
  • Fix: Don\u2019t use brackets formatting IPv6 host names in MockWebServer.
  • Fix: Don\u2019t permit cache iterators to remove entries that are being written.
"},{"location":"changelogs/changelog_4x/#version-401","title":"Version 4.0.1","text":"

2019-07-10

  • Fix: Tolerate null-hostile lists in public API. Lists created with List.of(...) don\u2019t like it when you call contains(null) on them!
  • Fix: Retain binary-compatibility in okhttp3.internal.HttpHeaders.hasBody(). Some unscrupulous coders call this and we don\u2019t want their users to suffer.
"},{"location":"changelogs/changelog_4x/#version-400","title":"Version 4.0.0","text":"

2019-06-26

This release upgrades OkHttp to Kotlin. We tried our best to make fast and safe to upgrade from OkHttp 3.x. We wrote an upgrade guide to help with the migration and a blog post to explain it.

  • Fix: Target Java 8 bytecode for Java and Kotlin.
"},{"location":"changelogs/changelog_4x/#version-400-rc3","title":"Version 4.0.0-RC3","text":"

2019-06-24

  • Fix: Retain binary-compatibility in okhttp3.internal.HttpMethod. Naughty third party SDKs import this and we want to ease upgrades for their users.
"},{"location":"changelogs/changelog_4x/#version-400-rc2","title":"Version 4.0.0-RC2","text":"

2019-06-21

  • New: Require Kotlin 1.3.40.
  • New: Change the Kotlin API from File.toRequestBody() to File.asRequestBody() and BufferedSource.toResponseBody() to BufferedSource.asResponseBody(). If the returned value is a view of what created it, we use as.
  • Fix: Permit response codes of zero for compatibility with OkHttp 3.x.
  • Fix: Change the return type of MockWebServer.takeRequest() to be nullable.
  • Fix: Make Call.clone() public to Kotlin callers.
"},{"location":"changelogs/changelog_4x/#version-400-rc1","title":"Version 4.0.0-RC1","text":"

2019-06-03

  • First stable preview of OkHttp 4.
"},{"location":"changelogs/changelog_4x/#version-3x","title":"Version 3.x","text":"

Change log

"},{"location":"changelogs/upgrading_to_okhttp_4/","title":"Upgrading to OkHttp 4","text":"

OkHttp 4.x upgrades our implementation language from Java to Kotlin and keeps everything else the same. We\u2019ve chosen Kotlin because it gives us powerful new capabilities while integrating closely with Java.

We spent a lot of time and energy on retaining strict compatibility with OkHttp 3.x. We\u2019re even keeping the package name the same: okhttp3!

There are three kinds of compatibility we\u2019re tracking:

  • Binary compatibility is the ability to compile a program against OkHttp 3.x, and then to run it against OkHttp 4.x. We\u2019re using the excellent japicmp library via its Gradle plugin to enforce binary compatibility.

  • Java source compatibility is the ability to upgrade Java uses of OkHttp 3.x to 4.x without changing .java files.

  • Kotlin source compatibility is the ability to upgrade Kotlin uses of OkHttp 3.x to 4.x without changing .kt files.

With a few small exceptions (below), OkHttp 4.x is both binary- and Java source-compatible with OkHttp 3.x. You can use an OkHttp 4.x .jar file with applications or libraries built for OkHttp 3.x.

OkHttp is not source-compatible for Kotlin callers, but upgrading should be automatic thanks to Kotlin\u2019s powerful deprecation features. Most developers should be able to use IntelliJ\u2019s Code Cleanup for a safe and fast upgrade.

"},{"location":"changelogs/upgrading_to_okhttp_4/#backwards-incompatible-changes","title":"Backwards-Incompatible Changes","text":""},{"location":"changelogs/upgrading_to_okhttp_4/#okhttpclient-final-methods","title":"OkHttpClient final methods","text":"

OkHttpClient has 26 accessors like interceptors() and writeTimeoutMillis() that were non-final in OkHttp 3.x and are final in 4.x. These were made non-final for use with mocking frameworks like Mockito. We believe subtyping OkHttpClient is the wrong way to test with OkHttp. If you must, mock Call.Factory which is the interface that OkHttpClient implements.

"},{"location":"changelogs/upgrading_to_okhttp_4/#internal-api-changes","title":"Internal API changes","text":"

The okhttp3.internal package is not a published API and we change it frequently without warning. Depending on code in this package is bad and will cause you problems with any upgrade! But the 4.x will be particularly painful to naughty developers that import from this package! We changed a lot to take advantage of sweet Kotlin features.

"},{"location":"changelogs/upgrading_to_okhttp_4/#credentialsbasic","title":"Credentials.basic()","text":"

The username and password parameters to Credentials.basic() are now non-null strings. In OkHttp 3.x, null would yield a username or password of \u201cnull\u201d.

"},{"location":"changelogs/upgrading_to_okhttp_4/#httpurlqueryparametervalues","title":"HttpUrl.queryParameterValues()","text":"

The return type of HttpUrl.queryParameterValues() is List<String?>. Lists that may contain null are uncommon and Kotlin callers may have incorrectly assigned the result to List<String>.

"},{"location":"changelogs/upgrading_to_okhttp_4/#code-cleanup","title":"Code Cleanup","text":"

IntelliJ and Android Studio offer a Code Cleanup feature that will automatically update deprecated APIs with their replacements. Access this feature from the Search Anywhere dialog (double-press shift) or under the Analyze menu.

We\u2019ve included deprecated APIs in OkHttp 4.0 because they make migration easy. We will remove them in a future release! If you\u2019re skipping releases, it\u2019ll be much easier if you upgrade to OkHttp 4.0 as an intermediate step.

"},{"location":"changelogs/upgrading_to_okhttp_4/#vars-and-vals","title":"Vars and Vals","text":"

Java doesn\u2019t have language support for properties so developers make do with getters and setters. Kotlin does have properties and we take advantage of them in OkHttp.

  • Address: certificatePinner, connectionSpecs, dns, hostnameVerifier, protocols, proxy, proxyAuthenticator, proxySelector, socketFactory, sslSocketFactory, url
  • Cache: directory
  • CacheControl: immutable, maxAgeSeconds, maxStaleSeconds, minFreshSeconds, mustRevalidate, noCache, noStore, noTransform, onlyIfCached, sMaxAgeSeconds
  • Challenge: authParams, charset, realm, scheme
  • CipherSuite: javaName
  • ConnectionSpec: cipherSuites, supportsTlsExtensions, tlsVersions
  • Cookie: domain, expiresAt, hostOnly, httpOnly, name, path, persistent, value
  • Dispatcher: executorService
  • FormBody: size
  • Handshake: cipherSuite, localCertificates, localPrincipal, peerCertificates, peerPrincipal, tlsVersion
  • HandshakeCertificates: keyManager, trustManager
  • Headers: size
  • HeldCertificate: certificate, keyPair
  • HttpLoggingInterceptor: level
  • HttpUrl: encodedFragment, encodedPassword, encodedPath, encodedPathSegments, encodedQuery, encodedUsername, fragment, host, password, pathSegments, pathSize, port, query, queryParameterNames, querySize, scheme, username
  • MockResponse: headers, http2ErrorCode, socketPolicy, status, trailers
  • MockWebServer: bodyLimit, port, protocolNegotiationEnabled, protocols, requestCount, serverSocketFactory
  • MultipartBody.Part: body, headers
  • MultipartBody.: boundary, parts, size, type
  • OkHttpClient: authenticator, cache, callTimeoutMillis, certificatePinner, connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns, eventListenerFactory, followRedirects, followSslRedirects, hostnameVerifier, interceptors, networkInterceptors, pingIntervalMillis, protocols, proxy, proxyAuthenticator, proxySelector, readTimeoutMillis, retryOnConnectionFailure, socketFactory, sslSocketFactory, writeTimeoutMillis
  • PushPromise: headers, method, path, response
  • Request: body, cacheControl, headers, method, url
  • Response: body, cacheControl, cacheResponse, code, handshake, headers, message, networkResponse, priorResponse, protocol, receivedResponseAtMillis, request, sentRequestAtMillis
  • Route: address, proxy, socketAddress
  • TlsVersion: javaName
"},{"location":"changelogs/upgrading_to_okhttp_4/#renamed-functions","title":"Renamed Functions","text":"
  • Headers.of(): for symmetry with listOf(), setOf(), etc., we\u2019ve replaced Headers.of(String...) with headersOf(vararg String).
"},{"location":"changelogs/upgrading_to_okhttp_4/#extension-functions","title":"Extension Functions","text":"

We\u2019ve migrated from static functions to extension functions where we think they fit.

Java Kotlin Handshake.get(SSLSession) SSLSession.handshake() Headers.of(Map) Map.toHeaders() HttpUrl.get(String) String.toHttpUrl() HttpUrl.get(URI) URI.toHttpUrlOrNull() HttpUrl.get(URL) URL.toHttpUrlOrNull() HttpUrl.parse(String) String.toHttpUrlOrNull() HttpUrl.uri() HttpUrl.toUri() HttpUrl.url() HttpUrl.toUrl() MediaType.get(String) String.toMediaType() MediaType.parse(String) String.toMediaTypeOrNull() RequestBody.create(ByteArray) ByteArray.toRequestBody() RequestBody.create(ByteString) ByteString.toRequestBody() RequestBody.create(File) File.asRequestBody() RequestBody.create(String) String.toRequestBody() ResponseBody.create(BufferedSource) BufferedSource.asResponseBody() ResponseBody.create(ByteArray) ByteArray.toResponseBody() ResponseBody.create(ByteString) ByteString.toResponseBody() ResponseBody.create(String) String.toResponseBody()"},{"location":"changelogs/upgrading_to_okhttp_4/#sam-conversions","title":"SAM Conversions","text":"

When you use Java APIs from Kotlin you can operate on Java interfaces as if they were Kotlin lambdas. The feature is available for interfaces that define a Single Abstract Method (SAM).

But when you use Kotlin APIs from Kotlin there\u2019s no automatic conversion. Code that used SAM lambdas with OkHttp 3.x: must use object : with OkHttp 4.x:

Kotlin calling OkHttp 3.x:

val client = OkHttpClient.Builder()\n    .dns { hostname -> InetAddress.getAllByName(hostname).toList() }\n    .build()\n

Kotlin calling OkHttp 4.x:

val client = OkHttpClient.Builder()\n    .dns(object : Dns {\n      override fun lookup(hostname: String) =\n          InetAddress.getAllByName(hostname).toList()\n    })\n    .build()\n

SAM conversion impacts these APIs:

  • Authenticator
  • Dispatcher.setIdleCallback(Runnable)
  • Dns
  • EventListener.Factory
  • HttpLoggingInterceptor.Logger
  • LoggingEventListener.Factory
  • OkHttpClient.Builder.hostnameVerifier(HostnameVerifier)

JetBrains is working on SAM conversions of Kotlin interfaces. Expect it in a future release of the Kotlin language.

"},{"location":"changelogs/upgrading_to_okhttp_4/#companion-imports","title":"Companion Imports","text":"

The equivalent of static methods in Java is companion object functions in Kotlin. The bytecode is the same but .kt files now need Companion in the import.

This works with OkHttp 3.x:

import okhttp3.CipherSuite.forJavaName\n

But OkHttp 4.x needs a Companion:

import okhttp3.CipherSuite.Companion.forJavaName\n

In the unlikely event that you have a lot of these, run this:

sed -i \"\" \\\n  's/^\\(import okhttp3\\.[^.]*\\)\\.\\([a-z][a-zA-Z]*\\)$/\\1.Companion.\\2/g' \\\n  `find . -name \"*.kt\"`\n
"},{"location":"changelogs/upgrading_to_okhttp_4/#advanced-profiling","title":"Advanced Profiling","text":"

Android Studio\u2019s Advanced Profiling feature rewrites OkHttp bytecode for instrumentation. Unfortunately it crashes on OkHttp 4.x\u2019s bytecode. Until Google\u2019s bug is fixed you must disable advanced profiling in Android Studio.

"},{"location":"changelogs/upgrading_to_okhttp_4/#r8-proguard","title":"R8 / ProGuard","text":"

R8 and ProGuard are both code optimizers for .class files.

R8 is the default optimizer in Android Studio 3.4 and newer. It works well with all releases of OkHttp.

ProGuard was the previous default. We\u2019re tracking problems with interactions between ProGuard, OkHttp 4.x, and Kotlin-originated .class files. Make sure you\u2019re on the latest release if you\u2019re using ProGuard,

"},{"location":"changelogs/upgrading_to_okhttp_4/#gradle","title":"Gradle","text":"

OkHttp 4\u2019s minimum requirements are Java 8+ and Android 5+. These requirements were first introduced with OkHttp 3.13.

Here\u2019s what you need in build.gradle to target Java 8 byte code for Kotlin, Java, and Android plugins respectively.

compileKotlin {\n  kotlinOptions {\n    jvmTarget = \"1.8\"\n  }\n}\ncompileTestKotlin {\n  kotlinOptions {\n    jvmTarget = \"1.8\"\n  }\n}\n\ncompileJava {\n  sourceCompatibility = JavaVersion.VERSION_1_8\n  targetCompatibility = JavaVersion.VERSION_1_8\n}\n\nandroid {\n  compileOptions {\n    sourceCompatibility JavaVersion.VERSION_1_8\n    targetCompatibility JavaVersion.VERSION_1_8\n  }\n}\n
"},{"location":"contribute/code_of_conduct/","title":"Open Source Code of Conduct","text":"

At Square, we are committed to contributing to the open source community and simplifying the process of releasing and managing open source software. We\u2019ve seen incredible support and enthusiasm from thousands of people who have already contributed to our projects\u200a\u2014\u200aand we want to ensure our community continues to be truly open for everyone.

This code of conduct outlines our expectations for participants, as well as steps to reporting unacceptable behavior. We are committed to providing a welcoming and inspiring community for all and expect our code of conduct to be honored.

Square\u2019s open source community strives to:

  • Be open: We invite anyone to participate in any aspect of our projects. Our community is open, and any responsibility can be carried by a contributor who demonstrates the required capacity and competence.

  • Be considerate: People use our work, and we depend on the work of others. Consider users and colleagues before taking action. For example, changes to code, infrastructure, policy, and documentation may negatively impact others.

  • Be respectful: We expect people to work together to resolve conflict, assume good intentions, and act with empathy. Do not turn disagreements into personal attacks.

  • Be collaborative: Collaboration reduces redundancy and improves the quality of our work. We strive for transparency within our open source community, and we work closely with upstream developers and others in the free software community to coordinate our efforts.

  • Be pragmatic: Questions are encouraged and should be asked early in the process to avoid problems later. Be thoughtful and considerate when seeking out the appropriate forum for your questions. Those who are asked should be responsive and helpful.

  • Step down considerately: Members of every project come and go. When somebody leaves or disengages from the project, they should make it known and take the proper steps to ensure that others can pick up where they left off.

This code is not exhaustive or complete. It serves to distill our common understanding of a collaborative, shared environment, and goals. We expect it to be followed in spirit as much as in the letter.

"},{"location":"contribute/code_of_conduct/#diversity-statement","title":"Diversity Statement","text":"

We encourage everyone to participate and are committed to building a community for all. Although we may not be able to satisfy everyone, we all agree that everyone is equal.

Whenever a participant has made a mistake, we expect them to take responsibility for it. If someone has been harmed or offended, it is our responsibility to listen carefully and respectfully, and do our best to right the wrong.

Although this list cannot be exhaustive, we explicitly honor diversity in age, culture, ethnicity, gender identity or expression, language, national origin, political beliefs, profession, race, religion, sexual orientation, socioeconomic status, and technical ability. We will not tolerate discrimination based on any of the protected characteristics above, including participants with disabilities.

"},{"location":"contribute/code_of_conduct/#reporting-issues","title":"Reporting Issues","text":"

If you experience or witness unacceptable behavior\u200a\u2014\u200aor have any other concerns\u200a\u2014\u200aplease report it by emailing codeofconduct@squareup.com. For more details, please see our Reporting Guidelines below.

"},{"location":"contribute/code_of_conduct/#thanks","title":"Thanks","text":"

Some of the ideas and wording for the statements and guidelines above were based on work by the Twitter, Ubuntu, GDC, and Django communities. We are thankful for their work.

"},{"location":"contribute/code_of_conduct/#reporting-guide","title":"Reporting Guide","text":"

If you experience or witness unacceptable behavior\u200a\u2014\u200aor have any other concerns\u200a\u2014\u200aplease report it by emailing codeofconduct@squareup.com. All reports will be handled with discretion.

In your report please include:

  • Your contact information.
  • Names (real, nicknames, or pseudonyms) of any individuals involved. If there are additional witnesses, please include them as well.
  • Your account of what occurred, and if you believe the incident is ongoing. If there is a publicly available record (e.g. a mailing list archive or a public IRC logger), please include a link.
  • Any additional information that may be helpful.

After filing a report, a representative from the Square Code of Conduct committee will contact you personally. The committee will then review the incident, follow up with any additional questions, and make a decision as to how to respond.

Anyone asked to stop unacceptable behavior is expected to comply immediately. If an individual engages in unacceptable behavior, the Square Code of Conduct committee may take any action they deem appropriate, up to and including a permanent ban from all of Square spaces without warning.

"},{"location":"contribute/concurrency/","title":"Concurrency","text":"

This document describes the concurrency considerations for http/2 connections and the connection pool within OkHttp.

"},{"location":"contribute/concurrency/#http2-connections","title":"HTTP/2 Connections","text":"

The HttpURLConnection API is a blocking API. You make a blocking write to send a request, and a blocking read to receive the response.

"},{"location":"contribute/concurrency/#blocking-apis","title":"Blocking APIs","text":"

Blocking APIs are convenient because you get top-to-bottom procedural code without indirection. Network calls work like regular method calls: ask for data and it is returned. If the request fails, you get a stacktrace right where the call was made.

Blocking APIs may be inefficient because you hold a thread idle while waiting on the network. Threads are expensive because they have both a memory overhead and a context-switching overhead.

"},{"location":"contribute/concurrency/#framed-protocols","title":"Framed protocols","text":"

Framed protocols like http/2 don\u2019t lend themselves to blocking APIs. Each application-layer thread wants to do blocking I/O for a specific stream, but the streams are multiplexed on the socket. You can\u2019t just talk to the socket, you need to cooperate with the other application-layer threads that you\u2019re sharing it with.

Framing rules make it impractical to implement http/2 correctly on a single blocking thread. The flow-control features introduce feedback between reads and writes, requiring writes to acknowledge reads and reads to throttle writes.

In OkHttp we expose a blocking API over a framed protocol. This document explains the code and policy that makes that work.

"},{"location":"contribute/concurrency/#threads","title":"Threads","text":""},{"location":"contribute/concurrency/#applications-calling-thread","title":"Application\u2019s calling thread","text":"

The application-layer must block on writing I/O. We can\u2019t return from a write until we\u2019ve pushed its bytes onto the socket. Otherwise, if the write fails we are unable to deliver its IOException to the application. We would have told the application layer that the write succeeded, but it didn\u2019t!

The application-layer can also do blocking reads. If the application asks to read and there\u2019s nothing available, we need to hold that thread until either the bytes arrive, the stream is closed, or a timeout elapses. If we get bytes but there\u2019s nobody asking for them, we buffer them. We don\u2019t consider bytes as delivered for flow control until they\u2019re consumed by the application.

Consider an application streaming a video over http/2. Perhaps the user pauses the video and the application stops reading bytes from this stream. The buffer will fill up, and flow control prevents the server from sending more data on this stream. When the user unpauses her video the buffer drains, the read is acknowledged, and the server proceeds to stream data.

"},{"location":"contribute/concurrency/#shared-reader-thread","title":"Shared reader thread","text":"

We can\u2019t rely on application threads to read data from the socket. Application threads are transient: sometimes they\u2019re reading and writing and sometimes they\u2019re off doing application-layer things. But the socket is permanent, and it needs constant attention: we dispatch all incoming frames so the connection is good-to-go when the application layer needs it.

So we have a dedicated thread for every socket that just reads frames and dispatches them.

The reader thread must never run application-layer code. Otherwise one slow stream can hold up the entire connection.

Similarly, the reader thread must never block on writing because this can deadlock the connection. Consider a client and server that both violate this rule. If you get unlucky, they could fill up their TCP buffers (so that writes block) and then use their reader threads to write a frame. Nobody is reading on either end, and the buffers are never drained.

"},{"location":"contribute/concurrency/#do-stuff-later-pool","title":"Do-stuff-later pool","text":"

Sometimes there\u2019s an action required like calling the application layer or responding to a ping, and the thread discovering the action is not the thread that should do the work. We enqueue a runnable on this executor and it gets handled by one of the executor\u2019s threads.

"},{"location":"contribute/concurrency/#locks","title":"Locks","text":"

We have 3 different things that we synchronize on.

"},{"location":"contribute/concurrency/#http2connection","title":"Http2Connection","text":"

This lock guards internal state of each connection. This lock is never held for blocking operations. That means that we acquire the lock, read or write a few fields and release the lock. No I/O and no application-layer callbacks.

"},{"location":"contribute/concurrency/#http2stream","title":"Http2Stream","text":"

This lock guards the internal state of each stream. As above, it is never held for blocking operations. When we need to hold an application thread to block a read, we use wait/notify on this lock. This works because the lock is released while wait() is waiting.

"},{"location":"contribute/concurrency/#http2writer","title":"Http2Writer","text":"

Socket writes are guarded by the Http2Writer. Only one stream can write at a time so that messages are not interleaved. Writes are either made by application-layer threads or the do-stuff-later pool.

"},{"location":"contribute/concurrency/#holding-multiple-locks","title":"Holding multiple locks","text":"

You\u2019re allowed to take the Http2Connection lock while holding the Http2Writer lock. But not vice-versa. Because taking the Http2Writer lock can block.

This is necessary for bookkeeping when creating new streams. Correct framing requires that stream IDs are sequential on the socket, so we need to bundle assigning the ID with sending the SYN_STREAM frame.

"},{"location":"contribute/concurrency/#connection-pool","title":"Connection Pool","text":"

A primary responsibility for any HTTP client is to efficiently manage network connections. Creating and establishing new connections require a fair amount of overhead and added latency. OkHttp will make every effort to reuse existing connections to avoid this overhead and added latency.

Every OkHttpClient uses a connection pool. Its job is to maintain a reference to all open connections. When an HTTP request is started, OkHttp will attempt to reuse an existing connection from the pool. If there are no existing connections, a new one is created and put into the connection pool. For HTTP/2, the connection can be reused immediately. For HTTP/1, the request must be completed before it can be reused.

Since HTTP requests frequently happen in parallel, connection pooling must be thread-safe.

These are the primary classes involved with establishing, sharing, and terminating connections:

  • RealConnectionPool manages reuse of HTTP and HTTP/2 connections for reduced latency. Every OkHttpClient has one, and its lifetime spans the lifetime of the OkHttpClient.

  • RealConnection is the socket and streams of an HTTP/1 or HTTP/2 connection. These are created on demand to fulfill HTTP requests. They may be reused for many HTTP request/response exchanges. Their lifetime is typically shorter than a connection pool.

  • Exchange carries a single HTTP request/response pair.

  • ExchangeFinder chooses which connection carries each exchange. Where possible it will use the same connection for all exchanges in a single call. It prefers reusing pooled connections over establishing new connections.

"},{"location":"contribute/concurrency/#per-connection-locks","title":"Per-Connection Locks","text":"

Each connection has its own lock. The connections in the pool are all in a ConcurrentLinkedQueue. Due to data races, iterators of this queue may return removed connections. Callers must check the connection\u2019s noNewExchanges property before using connections from the pool.

The connection lock is never held while doing I/O (even closing a socket) to prevent contention.

A lock-per-connection is used to maximize concurrency.

"},{"location":"contribute/contributing/","title":"Contributing","text":"

Keeping the project small and stable limits our ability to accept new contributors. We are not seeking new committers at this time, but some small contributions are welcome.

If you\u2019ve found a security problem, please follow our bug bounty program.

If you\u2019ve found a bug, please contribute a failing test case so we can study and fix it.

If you have a new feature idea, please build it in an external library. There are many libraries that sit on top or hook in via existing APIs. If you build something that integrates with OkHttp, tell us so that we can link it!

Before code can be accepted all contributors must complete our Individual Contributor License Agreement (CLA).

"},{"location":"contribute/contributing/#code-contributions","title":"Code Contributions","text":"

Get working code on a personal branch with tests passing before you submit a PR:

./gradlew clean check\n

Please make every effort to follow existing conventions and style in order to keep the code as readable as possible.

Contribute code changes through GitHub by forking the repository and sending a pull request. We squash all pull requests on merge.

"},{"location":"contribute/contributing/#gradle-setup","title":"Gradle Setup","text":"
$ cat local.properties\nsdk.dir=PATH_TO_ANDROID_HOME/sdk\norg.gradle.caching=true\n
"},{"location":"contribute/contributing/#running-android-tests","title":"Running Android Tests","text":"

$ ANDROID_SDK_ROOT=PATH_TO_ANDROID_HOME/sdk ./gradlew :android-test:connectedCheck -PandroidBuild=true

"},{"location":"contribute/contributing/#committers-guides","title":"Committer\u2019s Guides","text":"
  • Concurrency
  • Debug Logging
  • Releasing
"},{"location":"contribute/debug_logging/","title":"Debug Logging","text":"

OkHttp has internal APIs to enable debug logging. It uses the java.util.logging API which can be tricky to configure. As a shortcut, you can paste OkHttpDebugLogging.kt. Then enable debug logging for whichever features you need:

OkHttpDebugLogging.enableHttp2()\nOkHttpDebugLogging.enableTaskRunner()\n
"},{"location":"contribute/debug_logging/#activating-on-android","title":"Activating on Android","text":"
$ adb shell setprop log.tag.okhttp.Http2 DEBUG\n$ adb shell setprop log.tag.okhttp.TaskRunner DEBUG\n$ adb logcat '*:E' 'okhttp.Http2:D' 'okhttp.TaskRunner:D'\n
"},{"location":"contribute/debug_logging/#http2-frame-logging","title":"HTTP/2 Frame Logging","text":"

This logs inbound (<<) and outbound (>>) frames for HTTP/2 connections.

[2020-01-01 00:00:00] >> CONNECTION 505249202a20485454502f322e300d0a0d0a534d0d0a0d0a\n[2020-01-01 00:00:00] >> 0x00000000     6 SETTINGS\n[2020-01-01 00:00:00] >> 0x00000000     4 WINDOW_UPDATE\n[2020-01-01 00:00:00] >> 0x00000003    47 HEADERS       END_STREAM|END_HEADERS\n[2020-01-01 00:00:00] << 0x00000000     6 SETTINGS\n[2020-01-01 00:00:00] << 0x00000000     0 SETTINGS      ACK\n[2020-01-01 00:00:00] << 0x00000000     4 WINDOW_UPDATE\n[2020-01-01 00:00:00] >> 0x00000000     0 SETTINGS      ACK\n[2020-01-01 00:00:00] << 0x00000003   322 HEADERS       END_HEADERS\n[2020-01-01 00:00:00] << 0x00000003   288 DATA\n[2020-01-01 00:00:00] << 0x00000003     0 DATA          END_STREAM\n[2020-01-01 00:00:00] << 0x00000000     8 GOAWAY\n[2020-01-01 00:00:05] << 0x00000000     8 GOAWAY\n
"},{"location":"contribute/debug_logging/#task-runner-logging","title":"Task Runner Logging","text":"

This logs task enqueues, starts, and finishes.

[2020-01-01 00:00:00] Q10000 scheduled after   0 \u00b5s: OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10000 starting              : OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10000 run again after 300 s : OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10000 finished run in   1 ms: OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10001 scheduled after   0 \u00b5s: OkHttp squareup.com applyAndAckSettings\n[2020-01-01 00:00:00] Q10001 starting              : OkHttp squareup.com applyAndAckSettings\n[2020-01-01 00:00:00] Q10003 scheduled after   0 \u00b5s: OkHttp squareup.com onSettings\n[2020-01-01 00:00:00] Q10003 starting              : OkHttp squareup.com onSettings\n[2020-01-01 00:00:00] Q10001 finished run in   3 ms: OkHttp squareup.com applyAndAckSettings\n[2020-01-01 00:00:00] Q10003 finished run in 528 \u00b5s: OkHttp squareup.com onSettings\n[2020-01-01 00:00:00] Q10000 scheduled after   0 \u00b5s: OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10000 starting              : OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10000 run again after 300 s : OkHttp ConnectionPool\n[2020-01-01 00:00:00] Q10000 finished run in 739 \u00b5s: OkHttp ConnectionPool\n
"},{"location":"features/caching/","title":"Caching","text":"

OkHttp implements an optional, off by default, Cache. OkHttp aims for RFC correct and pragmatic caching behaviour, following common real-world browser like Firefox/Chrome and server behaviour when ambiguous.

"},{"location":"features/caching/#basic-usage","title":"Basic Usage","text":"
  private val client: OkHttpClient = OkHttpClient.Builder()\n      .cache(Cache(\n          directory = File(application.cacheDir, \"http_cache\"),\n          // $0.05 worth of phone storage in 2020\n          maxSize = 50L * 1024L * 1024L // 50 MiB\n      ))\n      .build()\n
"},{"location":"features/caching/#eventlistener-events","title":"EventListener events","text":"

Cache Events are exposed via the EventListener API. Typical scenarios are below.

"},{"location":"features/caching/#cache-hit","title":"Cache Hit","text":"

In the ideal scenario the cache can fulfill the request without any conditional call to the network. This will skip the normal events such as DNS, connecting to the network, and downloading the response body.

As recommended by the HTTP RFC the max age of a document is defaulted to 10% of the document\u2019s age at the time it was served based on \u201cLast-Modified\u201d. Default expiration dates aren\u2019t used for URIs containing a query.

  • CallStart
  • CacheHit
  • CallEnd
"},{"location":"features/caching/#cache-miss","title":"Cache Miss","text":"

Under a cache miss the normal request events are seen but an additional event shows the presence of the cache. Cache Miss will be typical if the item has not been read from the network, is uncacheable, or is past it\u2019s lifetime based on Response cache headers.

  • CallStart
  • CacheMiss
  • ProxySelectStart
  • \u2026 Standard Events \u2026
  • CallEnd
"},{"location":"features/caching/#conditional-cache-hit","title":"Conditional Cache Hit","text":"

When cache flags require checking the cache results are still valid an early cacheConditionalHit event is received followed by a cache hit or miss. Critically in the cache hit scenario the server won\u2019t send the response body.

The response will have non-null cacheResponse and networkResponse. The cacheResponse will be used as the top level response only if the response code is HTTP/1.1 304 Not Modified.

  • CallStart
  • CacheConditionalHit
  • ConnectionAcquired
  • \u2026 Standard Events\u2026
  • ResponseBodyEnd (0 bytes)
  • CacheHit
  • ConnectionReleased
  • CallEnd
"},{"location":"features/caching/#cache-directory","title":"Cache directory","text":"

The cache directory must be exclusively owned by a single instance.

Deleting the cache when it is no longer needed can be done. However this may delete the purpose of the cache which is designed to persist between app restarts.

cache.delete()\n
"},{"location":"features/caching/#pruning-the-cache","title":"Pruning the Cache","text":"

Pruning the entire Cache to clear space temporarily can be done using evictAll.

cache.evictAll()\n

Removing individual items can be done using the urls iterator. This would be typical after a user initiates a force refresh by a pull to refresh type action.

    val urlIterator = cache.urls()\n    while (urlIterator.hasNext()) {\n      if (urlIterator.next().startsWith(\"https://www.google.com/\")) {\n        urlIterator.remove()\n      }\n    }\n
"},{"location":"features/caching/#troubleshooting","title":"Troubleshooting","text":"
  1. Valid cacheable responses are not being cached

Make sure you are reading responses fully as unless they are read fully, cancelled or stalled Responses will not be cached.

"},{"location":"features/caching/#overriding-normal-cache-behaviour","title":"Overriding normal cache behaviour","text":"

See Cache documentation. https://square.github.io/okhttp/4.x/okhttp/okhttp3/-cache/

"},{"location":"features/calls/","title":"Calls","text":"

The HTTP client\u2019s job is to accept your request and produce its response. This is simple in theory but it gets tricky in practice.

"},{"location":"features/calls/#requests","title":"Requests","text":"

Each HTTP request contains a URL, a method (like GET or POST), and a list of headers. Requests may also contain a body: a data stream of a specific content type.

"},{"location":"features/calls/#responses","title":"Responses","text":"

The response answers the request with a code (like 200 for success or 404 for not found), headers, and its own optional body.

"},{"location":"features/calls/#rewriting-requests","title":"Rewriting Requests","text":"

When you provide OkHttp with an HTTP request, you\u2019re describing the request at a high-level: \u201cfetch me this URL with these headers.\u201d For correctness and efficiency, OkHttp rewrites your request before transmitting it.

OkHttp may add headers that are absent from the original request, including Content-Length, Transfer-Encoding, User-Agent, Host, Connection, and Content-Type. It will add an Accept-Encoding header for transparent response compression unless the header is already present. If you\u2019ve got cookies, OkHttp will add a Cookie header with them.

Some requests will have a cached response. When this cached response isn\u2019t fresh, OkHttp can do a conditional GET to download an updated response if it\u2019s newer than what\u2019s cached. This requires headers like If-Modified-Since and If-None-Match to be added.

"},{"location":"features/calls/#rewriting-responses","title":"Rewriting Responses","text":"

If transparent compression was used, OkHttp will drop the corresponding response headers Content-Encoding and Content-Length because they don\u2019t apply to the decompressed response body.

If a conditional GET was successful, responses from the network and cache are merged as directed by the spec.

"},{"location":"features/calls/#follow-up-requests","title":"Follow-up Requests","text":"

When your requested URL has moved, the webserver will return a response code like 302 to indicate the document\u2019s new URL. OkHttp will follow the redirect to retrieve a final response.

If the response issues an authorization challenge, OkHttp will ask the Authenticator (if one is configured) to satisfy the challenge. If the authenticator supplies a credential, the request is retried with that credential included.

"},{"location":"features/calls/#retrying-requests","title":"Retrying Requests","text":"

Sometimes connections fail: either a pooled connection was stale and disconnected, or the webserver itself couldn\u2019t be reached. OkHttp will retry the request with a different route if one is available.

"},{"location":"features/calls/#calls_1","title":"Calls","text":"

With rewrites, redirects, follow-ups and retries, your simple request may yield many requests and responses. OkHttp uses Call to model the task of satisfying your request through however many intermediate requests and responses are necessary. Typically this isn\u2019t many! But it\u2019s comforting to know that your code will continue to work if your URLs are redirected or if you failover to an alternate IP address.

Calls are executed in one of two ways:

  • Synchronous: your thread blocks until the response is readable.
  • Asynchronous: you enqueue the request on any thread, and get called back on another thread when the response is readable.

Calls can be canceled from any thread. This will fail the call if it hasn\u2019t yet completed! Code that is writing the request body or reading the response body will suffer an IOException when its call is canceled.

"},{"location":"features/calls/#dispatch","title":"Dispatch","text":"

For synchronous calls, you bring your own thread and are responsible for managing how many simultaneous requests you make. Too many simultaneous connections wastes resources; too few harms latency.

For asynchronous calls, Dispatcher implements policy for maximum simultaneous requests. You can set maximums per-webserver (default is 5), and overall (default is 64).

"},{"location":"features/connections/","title":"Connections","text":"

Although you provide only the URL, OkHttp plans its connection to your webserver using three types: URL, Address, and Route.

"},{"location":"features/connections/#urls","title":"URLs","text":"

URLs (like https://github.com/square/okhttp) are fundamental to HTTP and the Internet. In addition to being a universal, decentralized naming scheme for everything on the web, they also specify how to access web resources.

URLs are abstract:

  • They specify that the call may be plaintext (http) or encrypted (https), but not which cryptographic algorithms should be used. Nor do they specify how to verify the peer\u2019s certificates (the HostnameVerifier) or which certificates can be trusted (the SSLSocketFactory).
  • They don\u2019t specify whether a specific proxy server should be used or how to authenticate with that proxy server.

They\u2019re also concrete: each URL identifies a specific path (like /square/okhttp) and query (like ?q=sharks&lang=en). Each webserver hosts many URLs.

"},{"location":"features/connections/#addresses","title":"Addresses","text":"

Addresses specify a webserver (like github.com) and all of the static configuration necessary to connect to that server: the port number, HTTPS settings, and preferred network protocols (like HTTP/2).

URLs that share the same address may also share the same underlying TCP socket connection. Sharing a connection has substantial performance benefits: lower latency, higher throughput (due to TCP slow start) and conserved battery. OkHttp uses a ConnectionPool that automatically reuses HTTP/1.x connections and multiplexes HTTP/2 connections.

In OkHttp some fields of the address come from the URL (scheme, hostname, port) and the rest come from the OkHttpClient.

"},{"location":"features/connections/#routes","title":"Routes","text":"

Routes supply the dynamic information necessary to actually connect to a webserver. This is the specific IP address to attempt (as discovered by a DNS query), the exact proxy server to use (if a ProxySelector is in use), and which version of TLS to negotiate (for HTTPS connections).

There may be many routes for a single address. For example, a webserver that is hosted in multiple datacenters may yield multiple IP addresses in its DNS response.

In limited situations OkHttp will retry a route if connecting fails:

  • When making an HTTPS connection through an HTTP proxy, the proxy may issue an authentication challenge. OkHttp will call the proxy authenticator and try again.
  • When making TLS connections with multiple connection specs, these are attempted in sequence until the TLS handshake succeeds.
"},{"location":"features/connections/#connections_1","title":"Connections","text":"

When you request a URL with OkHttp, here\u2019s what it does:

  1. It uses the URL and configured OkHttpClient to create an address. This address specifies how we\u2019ll connect to the webserver.
  2. It attempts to retrieve a connection with that address from the connection pool.
  3. If it doesn\u2019t find a connection in the pool, it selects a route to attempt. This usually means making a DNS request to get the server\u2019s IP addresses. It then selects a TLS version and proxy server if necessary.
  4. If it\u2019s a new route, it connects by building either a direct socket connection, a TLS tunnel (for HTTPS over an HTTP proxy), or a direct TLS connection. It does TLS handshakes as necessary. This step may be retried for tunnel challenges and TLS handshake failures.
  5. It sends the HTTP request and reads the response.

If there\u2019s a problem with the connection, OkHttp will select another route and try again. This allows OkHttp to recover when a subset of a server\u2019s addresses are unreachable. It\u2019s also useful when a pooled connection is stale or if the attempted TLS version is unsupported.

Once the response has been received, the connection will be returned to the pool so it can be reused for a future request. Connections are evicted from the pool after a period of inactivity.

"},{"location":"features/connections/#fast-fallback","title":"Fast Fallback","text":"

Since version 5.0, OkHttpClient supports fast fallback, which is our implementation of Happy Eyeballs RFC 6555.

With fast fallback, OkHttp attempts to connect to multiple web servers concurrently. It keeps whichever route connects first and cancels all of the others. Its rules are:

  • Prefer to alternate IP addresses from different address families, (IPv6 / IPv4), starting with IPv6.
  • Don\u2019t start a new attempt until 250 ms after the most recent attempt was started.
  • Keep whichever TCP connection succeeds first and cancel all the others.
  • Race TCP only. Only attempt a TLS handshake on the winning TCP connection.

If the winner of the TCP handshake race fails to succeed in a TLS handshake, the process is restarted with the remaining routes.

"},{"location":"features/events/","title":"Events","text":"

Events allow you to capture metrics on your application\u2019s HTTP calls. Use events to monitor:

  • The size and frequency of the HTTP calls your application makes. If you\u2019re making too many calls, or your calls are too large, you should know about it!
  • The performance of these calls on the underlying network. If the network\u2019s performance isn\u2019t sufficient, you need to either improve the network or use less of it.
"},{"location":"features/events/#eventlistener","title":"EventListener","text":"

Subclass EventListener and override methods for the events you are interested in. In a successful HTTP call with no redirects or retries the sequence of events is described by this flow.

Here\u2019s a sample event listener that prints each event with a timestamp.

class PrintingEventListener extends EventListener {\n  private long callStartNanos;\n\n  private void printEvent(String name) {\n    long nowNanos = System.nanoTime();\n    if (name.equals(\"callStart\")) {\n      callStartNanos = nowNanos;\n    }\n    long elapsedNanos = nowNanos - callStartNanos;\n    System.out.printf(\"%.3f %s%n\", elapsedNanos / 1000000000d, name);\n  }\n\n  @Override public void callStart(Call call) {\n    printEvent(\"callStart\");\n  }\n\n  @Override public void callEnd(Call call) {\n    printEvent(\"callEnd\");\n  }\n\n  @Override public void dnsStart(Call call, String domainName) {\n    printEvent(\"dnsStart\");\n  }\n\n  @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) {\n    printEvent(\"dnsEnd\");\n  }\n\n  ...\n}\n

We make a couple calls:

Request request = new Request.Builder()\n    .url(\"https://publicobject.com/helloworld.txt\")\n    .build();\n\nSystem.out.println(\"REQUEST 1 (new connection)\");\ntry (Response response = client.newCall(request).execute()) {\n  // Consume and discard the response body.\n  response.body().source().readByteString();\n}\n\nSystem.out.println(\"REQUEST 2 (pooled connection)\");\ntry (Response response = client.newCall(request).execute()) {\n  // Consume and discard the response body.\n  response.body().source().readByteString();\n}\n

And the listener prints the corresponding events:

REQUEST 1 (new connection)\n0.000 callStart\n0.010 dnsStart\n0.017 dnsEnd\n0.025 connectStart\n0.117 secureConnectStart\n0.586 secureConnectEnd\n0.586 connectEnd\n0.587 connectionAcquired\n0.588 requestHeadersStart\n0.590 requestHeadersEnd\n0.591 responseHeadersStart\n0.675 responseHeadersEnd\n0.676 responseBodyStart\n0.679 responseBodyEnd\n0.679 connectionReleased\n0.680 callEnd\nREQUEST 2 (pooled connection)\n0.000 callStart\n0.001 connectionAcquired\n0.001 requestHeadersStart\n0.001 requestHeadersEnd\n0.002 responseHeadersStart\n0.082 responseHeadersEnd\n0.082 responseBodyStart\n0.082 responseBodyEnd\n0.083 connectionReleased\n0.083 callEnd\n

Notice how no connect events are fired for the second call. It reused the connection from the first request for dramatically better performance.

"},{"location":"features/events/#eventlistenerfactory","title":"EventListener.Factory","text":"

In the preceding example we used a field, callStartNanos, to track the elapsed time of each event. This is handy, but it won\u2019t work if multiple calls are executing concurrently. To accommodate this, use a Factory to create a new EventListener instance for each Call. This allows each listener to keep call-specific state.

This sample factory creates a unique ID for each call and uses that ID to differentiate calls in log messages.

class PrintingEventListener extends EventListener {\n  public static final Factory FACTORY = new Factory() {\n    final AtomicLong nextCallId = new AtomicLong(1L);\n\n    @Override public EventListener create(Call call) {\n      long callId = nextCallId.getAndIncrement();\n      System.out.printf(\"%04d %s%n\", callId, call.request().url());\n      return new PrintingEventListener(callId, System.nanoTime());\n    }\n  };\n\n  final long callId;\n  final long callStartNanos;\n\n  public PrintingEventListener(long callId, long callStartNanos) {\n    this.callId = callId;\n    this.callStartNanos = callStartNanos;\n  }\n\n  private void printEvent(String name) {\n    long elapsedNanos = System.nanoTime() - callStartNanos;\n    System.out.printf(\"%04d %.3f %s%n\", callId, elapsedNanos / 1000000000d, name);\n  }\n\n  @Override public void callStart(Call call) {\n    printEvent(\"callStart\");\n  }\n\n  @Override public void callEnd(Call call) {\n    printEvent(\"callEnd\");\n  }\n\n  ...\n}\n

We can use this listener to race a pair of concurrent HTTP requests:

Request washingtonPostRequest = new Request.Builder()\n    .url(\"https://www.washingtonpost.com/\")\n    .build();\nclient.newCall(washingtonPostRequest).enqueue(new Callback() {\n  ...\n});\n\nRequest newYorkTimesRequest = new Request.Builder()\n    .url(\"https://www.nytimes.com/\")\n    .build();\nclient.newCall(newYorkTimesRequest).enqueue(new Callback() {\n  ...\n});\n

Running this race over home WiFi shows the Times (0002) completes just slightly sooner than the Post (0001):

0001 https://www.washingtonpost.com/\n0001 0.000 callStart\n0002 https://www.nytimes.com/\n0002 0.000 callStart\n0002 0.010 dnsStart\n0001 0.013 dnsStart\n0001 0.022 dnsEnd\n0002 0.019 dnsEnd\n0001 0.028 connectStart\n0002 0.025 connectStart\n0002 0.072 secureConnectStart\n0001 0.075 secureConnectStart\n0001 0.386 secureConnectEnd\n0002 0.390 secureConnectEnd\n0002 0.400 connectEnd\n0001 0.403 connectEnd\n0002 0.401 connectionAcquired\n0001 0.404 connectionAcquired\n0001 0.406 requestHeadersStart\n0002 0.403 requestHeadersStart\n0001 0.414 requestHeadersEnd\n0002 0.411 requestHeadersEnd\n0002 0.412 responseHeadersStart\n0001 0.415 responseHeadersStart\n0002 0.474 responseHeadersEnd\n0002 0.475 responseBodyStart\n0001 0.554 responseHeadersEnd\n0001 0.555 responseBodyStart\n0002 0.554 responseBodyEnd\n0002 0.554 connectionReleased\n0002 0.554 callEnd\n0001 0.624 responseBodyEnd\n0001 0.624 connectionReleased\n0001 0.624 callEnd\n

The EventListener.Factory also makes it possible to limit metrics to a subset of calls. This one captures metrics on a random 10%:

class MetricsEventListener extends EventListener {\n  private static final Factory FACTORY = new Factory() {\n    @Override public EventListener create(Call call) {\n      if (Math.random() < 0.10) {\n        return new MetricsEventListener(call);\n      } else {\n        return EventListener.NONE;\n      }\n    }\n  };\n\n  ...\n}\n
"},{"location":"features/events/#events-with-failures","title":"Events with Failures","text":"

When an operation fails, a failure method is called. This is connectFailed() for failures while building a connection to the server, and callFailed() when the HTTP call fails permanently. When a failure happens it is possible that a start event won\u2019t have a corresponding end event.

"},{"location":"features/events/#events-with-retries-and-follow-ups","title":"Events with Retries and Follow-Ups","text":"

OkHttp is resilient and can automatically recover from some connectivity failures. In this case, the connectFailed() event is not terminal and not followed by callFailed(). Event listeners will receive multiple events of the same type when retries are attempted.

A single HTTP call may require follow-up requests to be made to handle authentication challenges, redirects, and HTTP-layer timeouts. In such cases multiple connections, requests, and responses may be attempted. Follow-ups are another reason a single call may trigger multiple events of the same type.

"},{"location":"features/events/#availability","title":"Availability","text":"

Events is available as a public API in OkHttp 3.11. Future releases may introduce new event types; you will need to override the corresponding methods to handle them.

"},{"location":"features/https/","title":"HTTPS","text":"

OkHttp attempts to balance two competing concerns:

  • Connectivity to as many hosts as possible. That includes advanced hosts that run the latest versions of boringssl and less out of date hosts running older versions of OpenSSL.
  • Security of the connection. This includes verification of the remote webserver with certificates and the privacy of data exchanged with strong ciphers.

When negotiating a connection to an HTTPS server, OkHttp needs to know which TLS versions and cipher suites to offer. A client that wants to maximize connectivity would include obsolete TLS versions and weak-by-design cipher suites. A strict client that wants to maximize security would be limited to only the latest TLS version and strongest cipher suites.

Specific security vs. connectivity decisions are implemented by ConnectionSpec. OkHttp includes four built-in connection specs:

  • RESTRICTED_TLS is a secure configuration, intended to meet stricter compliance requirements.
  • MODERN_TLS is a secure configuration that connects to modern HTTPS servers.
  • COMPATIBLE_TLS is a secure configuration that connects to secure\u2013but not current\u2013HTTPS servers.
  • CLEARTEXT is an insecure configuration that is used for http:// URLs.

These loosely follow the model set in Google Cloud Policies. We track changes to this policy.

By default, OkHttp will attempt a MODERN_TLS connection. However by configuring the client connectionSpecs you can allow a fall back to COMPATIBLE_TLS connection if the modern configuration fails.

OkHttpClient client = new OkHttpClient.Builder()\n    .connectionSpecs(Arrays.asList(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS))\n    .build();\n

The TLS versions and cipher suites in each spec can change with each release. For example, in OkHttp 2.2 we dropped support for SSL 3.0 in response to the POODLE attack. And in OkHttp 2.3 we dropped support for RC4. As with your desktop web browser, staying up-to-date with OkHttp is the best way to stay secure.

You can build your own connection spec with a custom set of TLS versions and cipher suites. For example, this configuration is limited to three highly-regarded cipher suites. Its drawback is that it requires Android 5.0+ and a similarly current webserver.

ConnectionSpec spec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)\n    .tlsVersions(TlsVersion.TLS_1_2)\n    .cipherSuites(\n          CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,\n          CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,\n          CipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256)\n    .build();\n\nOkHttpClient client = new OkHttpClient.Builder()\n    .connectionSpecs(Collections.singletonList(spec))\n    .build();\n
"},{"location":"features/https/#debugging-tls-handshake-failures","title":"Debugging TLS Handshake Failures","text":"

The TLS handshake requires clients and servers to share a common TLS version and cipher suite. This depends on the JVM or Android version, OkHttp version, and web server configuration. If there is no common cipher suite and TLS version, your call will fail like this:

Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x7f2719a89e80:\n    Failure in SSL library, usually a protocol error\n        error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake\n        failure (external/openssl/ssl/s23_clnt.c:770 0x7f2728a53ea0:0x00000000)\n    at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)\n

You can check a web server\u2019s configuration using Qualys SSL Labs. OkHttp\u2019s TLS configuration history is tracked here.

Applications expected to be installed on older Android devices should consider adopting the Google Play Services\u2019 ProviderInstaller. This will increase security for users and increase connectivity with web servers.

"},{"location":"features/https/#certificate-pinning-kt-java","title":"Certificate Pinning (.kt, .java)","text":"

By default, OkHttp trusts the certificate authorities of the host platform. This strategy maximizes connectivity, but it is subject to certificate authority attacks such as the 2011 DigiNotar attack. It also assumes your HTTPS servers\u2019 certificates are signed by a certificate authority.

Use CertificatePinner to restrict which certificates and certificate authorities are trusted. Certificate pinning increases security, but limits your server team\u2019s abilities to update their TLS certificates. Do not use certificate pinning without the blessing of your server\u2019s TLS administrator!

Kotlin Java
  private val client = OkHttpClient.Builder()\n      .certificatePinner(\n          CertificatePinner.Builder()\n              .add(\"publicobject.com\", \"sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=\")\n              .build())\n      .build()\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"https://publicobject.com/robots.txt\")\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      for (certificate in response.handshake!!.peerCertificates) {\n        println(CertificatePinner.pin(certificate))\n      }\n    }\n  }\n
  private final OkHttpClient client = new OkHttpClient.Builder()\n      .certificatePinner(\n          new CertificatePinner.Builder()\n              .add(\"publicobject.com\", \"sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=\")\n              .build())\n      .build();\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"https://publicobject.com/robots.txt\")\n        .build();\n\n    try (Response response = client.newCall(request).execute()) {\n      if (!response.isSuccessful()) throw new IOException(\"Unexpected code \" + response);\n\n      for (Certificate certificate : response.handshake().peerCertificates()) {\n        System.out.println(CertificatePinner.pin(certificate));\n      }\n    }\n  }\n
"},{"location":"features/https/#customizing-trusted-certificates-kt-java","title":"Customizing Trusted Certificates (.kt, .java)","text":"

The full code sample shows how to replace the host platform\u2019s certificate authorities with your own set. As above, do not use custom certificates without the blessing of your server\u2019s TLS administrator!

Kotlin Java
  private val client: OkHttpClient\n\n  init {\n    val trustManager = trustManagerForCertificates(trustedCertificatesInputStream())\n    val sslContext = SSLContext.getInstance(\"TLS\")\n    sslContext.init(null, arrayOf<TrustManager>(trustManager), null)\n    val sslSocketFactory = sslContext.socketFactory\n\n    client = OkHttpClient.Builder()\n        .sslSocketFactory(sslSocketFactory, trustManager)\n        .build()\n  }\n\n  fun run() {\n    val request = Request.Builder()\n        .url(\"https://publicobject.com/helloworld.txt\")\n        .build()\n\n    client.newCall(request).execute().use { response ->\n      if (!response.isSuccessful) throw IOException(\"Unexpected code $response\")\n\n      for ((name, value) in response.headers) {\n        println(\"$name: $value\")\n      }\n\n      println(response.body!!.string())\n    }\n  }\n\n  /**\n   * Returns an input stream containing one or more certificate PEM files. This implementation just\n   * embeds the PEM files in Java strings; most applications will instead read this from a resource\n   * file that gets bundled with the application.\n   */\n  private fun trustedCertificatesInputStream(): InputStream {\n    ... // Full source omitted. See sample.\n  }\n\n  private fun trustManagerForCertificates(inputStream: InputStream): X509TrustManager {\n    ... // Full source omitted. See sample.\n  }\n
  private final OkHttpClient client;\n\n  public CustomTrust() {\n    X509TrustManager trustManager;\n    SSLSocketFactory sslSocketFactory;\n    try {\n      trustManager = trustManagerForCertificates(trustedCertificatesInputStream());\n      SSLContext sslContext = SSLContext.getInstance(\"TLS\");\n      sslContext.init(null, new TrustManager[] { trustManager }, null);\n      sslSocketFactory = sslContext.getSocketFactory();\n    } catch (GeneralSecurityException e) {\n      throw new RuntimeException(e);\n    }\n\n    client = new OkHttpClient.Builder()\n        .sslSocketFactory(sslSocketFactory, trustManager)\n        .build();\n  }\n\n  public void run() throws Exception {\n    Request request = new Request.Builder()\n        .url(\"https://publicobject.com/helloworld.txt\")\n        .build();\n\n    Response response = client.newCall(request).execute();\n    System.out.println(response.body().string());\n  }\n\n  private InputStream trustedCertificatesInputStream() {\n    ... // Full source omitted. See sample.\n  }\n\n  public SSLContext sslContextForTrustedCertificates(InputStream in) {\n    ... // Full source omitted. See sample.\n  }\n
"},{"location":"features/interceptors/","title":"Interceptors","text":"

Interceptors are a powerful mechanism that can monitor, rewrite, and retry calls. Here\u2019s a simple interceptor that logs the outgoing request and the incoming response.

class LoggingInterceptor implements Interceptor {\n  @Override public Response intercept(Interceptor.Chain chain) throws IOException {\n    Request request = chain.request();\n\n    long t1 = System.nanoTime();\n    logger.info(String.format(\"Sending request %s on %s%n%s\",\n        request.url(), chain.connection(), request.headers()));\n\n    Response response = chain.proceed(request);\n\n    long t2 = System.nanoTime();\n    logger.info(String.format(\"Received response for %s in %.1fms%n%s\",\n        response.request().url(), (t2 - t1) / 1e6d, response.headers()));\n\n    return response;\n  }\n}\n

A call to chain.proceed(request) is a critical part of each interceptor\u2019s implementation. This simple-looking method is where all the HTTP work happens, producing a response to satisfy the request. If chain.proceed(request) is being called more than once previous response bodies must be closed.

Interceptors can be chained. Suppose you have both a compressing interceptor and a checksumming interceptor: you\u2019ll need to decide whether data is compressed and then checksummed, or checksummed and then compressed. OkHttp uses lists to track interceptors, and interceptors are called in order.

"},{"location":"features/interceptors/#application-interceptors","title":"Application Interceptors","text":"

Interceptors are registered as either application or network interceptors. We\u2019ll use the LoggingInterceptor defined above to show the difference.

Register an application interceptor by calling addInterceptor() on OkHttpClient.Builder:

OkHttpClient client = new OkHttpClient.Builder()\n    .addInterceptor(new LoggingInterceptor())\n    .build();\n\nRequest request = new Request.Builder()\n    .url(\"http://www.publicobject.com/helloworld.txt\")\n    .header(\"User-Agent\", \"OkHttp Example\")\n    .build();\n\nResponse response = client.newCall(request).execute();\nresponse.body().close();\n

The URL http://www.publicobject.com/helloworld.txt redirects to https://publicobject.com/helloworld.txt, and OkHttp follows this redirect automatically. Our application interceptor is called once and the response returned from chain.proceed() has the redirected response:

INFO: Sending request http://www.publicobject.com/helloworld.txt on null\nUser-Agent: OkHttp Example\n\nINFO: Received response for https://publicobject.com/helloworld.txt in 1179.7ms\nServer: nginx/1.4.6 (Ubuntu)\nContent-Type: text/plain\nContent-Length: 1759\nConnection: keep-alive\n

We can see that we were redirected because response.request().url() is different from request.url(). The two log statements log two different URLs.

"},{"location":"features/interceptors/#network-interceptors","title":"Network Interceptors","text":"

Registering a network interceptor is quite similar. Call addNetworkInterceptor() instead of addInterceptor():

OkHttpClient client = new OkHttpClient.Builder()\n    .addNetworkInterceptor(new LoggingInterceptor())\n    .build();\n\nRequest request = new Request.Builder()\n    .url(\"http://www.publicobject.com/helloworld.txt\")\n    .header(\"User-Agent\", \"OkHttp Example\")\n    .build();\n\nResponse response = client.newCall(request).execute();\nresponse.body().close();\n

When we run this code, the interceptor runs twice. Once for the initial request to http://www.publicobject.com/helloworld.txt, and another for the redirect to https://publicobject.com/helloworld.txt.

INFO: Sending request http://www.publicobject.com/helloworld.txt on Connection{www.publicobject.com:80, proxy=DIRECT hostAddress=54.187.32.157 cipherSuite=none protocol=http/1.1}\nUser-Agent: OkHttp Example\nHost: www.publicobject.com\nConnection: Keep-Alive\nAccept-Encoding: gzip\n\nINFO: Received response for http://www.publicobject.com/helloworld.txt in 115.6ms\nServer: nginx/1.4.6 (Ubuntu)\nContent-Type: text/html\nContent-Length: 193\nConnection: keep-alive\nLocation: https://publicobject.com/helloworld.txt\n\nINFO: Sending request https://publicobject.com/helloworld.txt on Connection{publicobject.com:443, proxy=DIRECT hostAddress=54.187.32.157 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA protocol=http/1.1}\nUser-Agent: OkHttp Example\nHost: publicobject.com\nConnection: Keep-Alive\nAccept-Encoding: gzip\n\nINFO: Received response for https://publicobject.com/helloworld.txt in 80.9ms\nServer: nginx/1.4.6 (Ubuntu)\nContent-Type: text/plain\nContent-Length: 1759\nConnection: keep-alive\n

The network requests also contain more data, such as the Accept-Encoding: gzip header added by OkHttp to advertise support for response compression. The network interceptor\u2019s Chain has a non-null Connection that can be used to interrogate the IP address and TLS configuration that were used to connect to the webserver.

"},{"location":"features/interceptors/#choosing-between-application-and-network-interceptors","title":"Choosing between application and network interceptors","text":"

Each interceptor chain has relative merits.

Application interceptors

  • Don\u2019t need to worry about intermediate responses like redirects and retries.
  • Are always invoked once, even if the HTTP response is served from the cache.
  • Observe the application\u2019s original intent. Unconcerned with OkHttp-injected headers like If-None-Match.
  • Permitted to short-circuit and not call Chain.proceed().
  • Permitted to retry and make multiple calls to Chain.proceed().
  • Can adjust Call timeouts using withConnectTimeout, withReadTimeout, withWriteTimeout.

Network Interceptors

  • Able to operate on intermediate responses like redirects and retries.
  • Not invoked for cached responses that short-circuit the network.
  • Observe the data just as it will be transmitted over the network.
  • Access to the Connection that carries the request.
"},{"location":"features/interceptors/#rewriting-requests","title":"Rewriting Requests","text":"

Interceptors can add, remove, or replace request headers. They can also transform the body of those requests that have one. For example, you can use an application interceptor to add request body compression if you\u2019re connecting to a webserver known to support it.

/** This interceptor compresses the HTTP request body. Many webservers can't handle this! */\nfinal class GzipRequestInterceptor implements Interceptor {\n  @Override public Response intercept(Interceptor.Chain chain) throws IOException {\n    Request originalRequest = chain.request();\n    if (originalRequest.body() == null || originalRequest.header(\"Content-Encoding\") != null) {\n      return chain.proceed(originalRequest);\n    }\n\n    Request compressedRequest = originalRequest.newBuilder()\n        .header(\"Content-Encoding\", \"gzip\")\n        .method(originalRequest.method(), gzip(originalRequest.body()))\n        .build();\n    return chain.proceed(compressedRequest);\n  }\n\n  private RequestBody gzip(final RequestBody body) {\n    return new RequestBody() {\n      @Override public MediaType contentType() {\n        return body.contentType();\n      }\n\n      @Override public long contentLength() {\n        return -1; // We don't know the compressed length in advance!\n      }\n\n      @Override public void writeTo(BufferedSink sink) throws IOException {\n        BufferedSink gzipSink = Okio.buffer(new GzipSink(sink));\n        body.writeTo(gzipSink);\n        gzipSink.close();\n      }\n    };\n  }\n}\n
"},{"location":"features/interceptors/#rewriting-responses","title":"Rewriting Responses","text":"

Symmetrically, interceptors can rewrite response headers and transform the response body. This is generally more dangerous than rewriting request headers because it may violate the webserver\u2019s expectations!

If you\u2019re in a tricky situation and prepared to deal with the consequences, rewriting response headers is a powerful way to work around problems. For example, you can fix a server\u2019s misconfigured Cache-Control response header to enable better response caching:

/** Dangerous interceptor that rewrites the server's cache-control header. */\nprivate static final Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = new Interceptor() {\n  @Override public Response intercept(Interceptor.Chain chain) throws IOException {\n    Response originalResponse = chain.proceed(chain.request());\n    return originalResponse.newBuilder()\n        .header(\"Cache-Control\", \"max-age=60\")\n        .build();\n  }\n};\n

Typically this approach works best when it complements a corresponding fix on the webserver!

"},{"location":"features/r8_proguard/","title":"R8 / ProGuard","text":"

If you use OkHttp as a dependency in an Android project which uses R8 as a default compiler you don\u2019t have to do anything. The specific rules are already bundled into the JAR which can be interpreted by R8 automatically.

If you, however, don\u2019t use R8 you have to apply the rules from this file. You might also need rules from Okio which is a dependency of this library.

"},{"location":"security/security/","title":"Security","text":""},{"location":"security/security/#supported-versions","title":"Supported Versions","text":"Version Supported Notes 5.x \u2705 APIs subject to change in alpha releases. 4.x \u2705 Android 5.0+ (API level 21+) and on Java 8+. 3.x \u274c Ended 2021-12-31 Android 2.3+ (API level 9+) and Java 7+."},{"location":"security/security/#reporting-a-vulnerability","title":"Reporting a Vulnerability","text":"

Square recognizes the important contributions the security research community can make. We therefore encourage reporting security issues with the code contained in this repository.

If you believe you have discovered a security vulnerability, please follow the guidelines at https://bugcrowd.com/squareopensource

"},{"location":"security/security/#verifying-artifacts","title":"Verifying Artifacts","text":"

We sign our artifacts using this key:

pub rsa4096/dbd744ace7ade6aa50dd591f66b50994442d2d40 2021-07-09T14:50:19Z\n     Hash=a79b48fd6a1f31699c788b50c97d0b98\n\nuid Square Clippy <opensource@squareup.com>\nsig  sig  66b50994442d2d40 2021-07-09T14:50:19Z 2041-07-04T14:50:19Z ____________________ [selfsig]\n

The best way to verify artifacts is automatically with Gradle.

"},{"location":"security/security_providers/","title":"Security Providers","text":""},{"location":"security/security_providers/#provider-status","title":"Provider Status","text":"Provider HTTP/2 TLSv1.3 Powered By Notes JVM default Java 9+ Java 11+ OpenJDK Android default \u2705 Android 10+ BoringSSL GraalVM \u2705 OpenJDK Only actively tested with JDK 11, not with 8 target Bouncy Castle \u2705 Bouncy Castle Tracking bug. Conscrypt \u2705 \u2705 BoringSSL Activated if Conscrypt is first registered provider. OpenJSSE \u2705 OpenJDK OpenJDK backport. Corretto \u2705 \u2705 OpenSSL Amazon\u2019s high-performance provider. Tracking bug.

All providers support HTTP/1.1 and TLSv1.2.

"},{"location":"security/tls_configuration_history/","title":"TLS Configuration History","text":"

OkHttp tracks the dynamic TLS ecosystem to balance connectivity and security. This page is a log of changes we\u2019ve made over time to OkHttp\u2019s default TLS options.

"},{"location":"security/tls_configuration_history/#okhttp-314","title":"OkHttp 3.14","text":"

2019-03-14

Remove 2 TLSv1.3 cipher suites that are neither available on OkHttp\u2019s host platforms nor enabled in releases of Chrome and Firefox.

"},{"location":"security/tls_configuration_history/#restricted_tls-cipher-suites","title":"RESTRICTED_TLS cipher suites","text":"
  • TLS_AES_128_GCM_SHA256\u00b9
  • TLS_AES_256_GCM_SHA384\u00b9
  • TLS_CHACHA20_POLY1305_SHA256\u00b9
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
  • REMOVED: TLS_AES_128_CCM_SHA256\u00b9
  • REMOVED: TLS_AES_128_CCM_8_SHA256\u00b9
"},{"location":"security/tls_configuration_history/#modern_tls-compatible_tls-cipher-suites","title":"MODERN_TLS / COMPATIBLE_TLS cipher suites","text":"
  • TLS_AES_128_GCM_SHA256\u00b9
  • TLS_AES_256_GCM_SHA384\u00b9
  • TLS_CHACHA20_POLY1305_SHA256\u00b9
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_128_GCM_SHA256\u00b2
  • TLS_RSA_WITH_AES_256_GCM_SHA384\u00b2
  • TLS_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_3DES_EDE_CBC_SHA\u00b2
  • REMOVED: TLS_AES_128_CCM_SHA256\u00b9
  • REMOVED: TLS_AES_128_CCM_8_SHA256\u00b9
"},{"location":"security/tls_configuration_history/#okhttp-313","title":"OkHttp 3.13","text":"

2019-02-04

Remove TLSv1.1 and TLSv1 from MODERN_TLS. Change COMPATIBLE_TLS to support all TLS versions.

"},{"location":"security/tls_configuration_history/#restricted_tls-versions","title":"RESTRICTED_TLS versions","text":"
  • TLSv1.3
  • TLSv1.2
"},{"location":"security/tls_configuration_history/#modern_tls-versions","title":"MODERN_TLS versions","text":"
  • TLSv1.3
  • TLSv1.2
  • REMOVED: TLSv1.1
  • REMOVED: TLSv1
"},{"location":"security/tls_configuration_history/#compatible_tls-versions","title":"COMPATIBLE_TLS versions","text":"
  • NEW: TLSv1.3
  • NEW: TLSv1.2
  • NEW: TLSv1.1
  • TLSv1
"},{"location":"security/tls_configuration_history/#okhttp-312","title":"OkHttp 3.12","text":"

2018-11-16

Added support for TLSv1.3.

"},{"location":"security/tls_configuration_history/#restricted_tls-cipher-suites_1","title":"RESTRICTED_TLS cipher suites","text":"
  • NEW: TLS_AES_128_GCM_SHA256\u00b9
  • NEW: TLS_AES_256_GCM_SHA384\u00b9
  • NEW: TLS_CHACHA20_POLY1305_SHA256\u00b9
  • NEW: TLS_AES_128_CCM_SHA256\u00b9
  • NEW: TLS_AES_128_CCM_8_SHA256\u00b9
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
"},{"location":"security/tls_configuration_history/#modern_tls-compatible_tls-cipher-suites_1","title":"MODERN_TLS / COMPATIBLE_TLS cipher suites","text":"
  • NEW: TLS_AES_128_GCM_SHA256\u00b9
  • NEW: TLS_AES_256_GCM_SHA384\u00b9
  • NEW: TLS_CHACHA20_POLY1305_SHA256\u00b9
  • NEW: TLS_AES_128_CCM_SHA256\u00b9
  • NEW: TLS_AES_128_CCM_8_SHA256\u00b9
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_128_GCM_SHA256\u00b2
  • TLS_RSA_WITH_AES_256_GCM_SHA384\u00b2
  • TLS_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_3DES_EDE_CBC_SHA\u00b2
"},{"location":"security/tls_configuration_history/#restricted_tls-versions_1","title":"RESTRICTED_TLS versions","text":"
  • NEW: TLSv1.3
  • TLSv1.2
"},{"location":"security/tls_configuration_history/#modern_tls-versions_1","title":"MODERN_TLS versions","text":"
  • NEW: TLSv1.3
  • TLSv1.2
  • TLSv1.1
  • TLSv1
"},{"location":"security/tls_configuration_history/#compatible_tls-versions_1","title":"COMPATIBLE_TLS versions","text":"
  • TLSv1
"},{"location":"security/tls_configuration_history/#okhttp-311","title":"OkHttp 3.11","text":"

2018-07-12

Added a new extra strict RESTRICTED_TLS configuration inspired by Google Cloud\u2019s similar policy. It is appropriate when both the host platform (JVM/Conscrypt/Android) and target webserver are current.

"},{"location":"security/tls_configuration_history/#restricted_tls-cipher-suites_2","title":"RESTRICTED_TLS cipher suites","text":"
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
"},{"location":"security/tls_configuration_history/#restricted_tls-versions_2","title":"RESTRICTED_TLS versions","text":"
  • TLSv1.2
"},{"location":"security/tls_configuration_history/#okhttp-310","title":"OkHttp 3.10","text":"

2018-02-24

Remove two rarely-used cipher suites from the default set. This tracks a Chromium change to remove these cipher suites because they are fragile and rarely-used.

"},{"location":"security/tls_configuration_history/#modern_tls-compatible_tls-cipher-suites_2","title":"MODERN_TLS / COMPATIBLE_TLS cipher suites","text":"
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_128_GCM_SHA256\u00b2
  • TLS_RSA_WITH_AES_256_GCM_SHA384\u00b2
  • TLS_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_3DES_EDE_CBC_SHA\u00b2
  • REMOVED: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
  • REMOVED: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
"},{"location":"security/tls_configuration_history/#okhttp-35","title":"OkHttp 3.5","text":"

2016-11-30

Remove three old cipher suites and add five new ones. This tracks changes in what\u2019s available on Android and Java, and also what cipher suites recent releases of Chrome and Firefox support by default.

"},{"location":"security/tls_configuration_history/#modern_tls-compatible_tls-cipher-suites_3","title":"MODERN_TLS / COMPATIBLE_TLS cipher suites","text":"
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • NEW: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • NEW: TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • NEW: TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • NEW: TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_128_GCM_SHA256\u00b2
  • NEW: TLS_RSA_WITH_AES_256_GCM_SHA384\u00b2
  • TLS_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_3DES_EDE_CBC_SHA\u00b2
  • REMOVED: TLS_DHE_RSA_WITH_AES_128_CBC_SHA
  • REMOVED: TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
  • REMOVED: TLS_DHE_RSA_WITH_AES_256_CBC_SHA
"},{"location":"security/tls_configuration_history/#okhttp-30","title":"OkHttp 3.0","text":"

2016-01-13

"},{"location":"security/tls_configuration_history/#modern_tls-compatible_tls-cipher-suites_4","title":"MODERN_TLS / COMPATIBLE_TLS cipher suites","text":"
  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_DHE_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_DHE_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_128_GCM_SHA256\u00b2
  • TLS_RSA_WITH_AES_128_CBC_SHA\u00b2
  • TLS_RSA_WITH_AES_256_CBC_SHA\u00b2
  • TLS_RSA_WITH_3DES_EDE_CBC_SHA\u00b2
"},{"location":"security/tls_configuration_history/#modern_tls-versions_2","title":"MODERN_TLS versions","text":"
  • TLSv1.2
  • TLSv1.1
  • TLSv1
"},{"location":"security/tls_configuration_history/#compatible_tls-versions_2","title":"COMPATIBLE_TLS versions","text":"
  • TLSv1
"},{"location":"security/tls_configuration_history/#1-tlsv13-only","title":"\u00b9 TLSv1.3 Only","text":"

Cipher suites that are only available with TLSv1.3.

"},{"location":"security/tls_configuration_history/#2-http2-cipher-suite-denylist","title":"\u00b2 HTTP/2 Cipher Suite Denylist","text":"

Cipher suites that are discouraged for use with HTTP/2. OkHttp includes them because better suites are not commonly available. For example, none of the better cipher suites listed above shipped with Android 4.4 or Java 7.

"}]} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index ea1addc17..4f85979a1 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,98 +2,98 @@ https://square.github.io/okhttp/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/recipes/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/releasing/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/works_with_okhttp/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/changelogs/changelog/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/changelogs/changelog_1x/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/changelogs/changelog_2x/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/changelogs/changelog_3x/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/changelogs/changelog_4x/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/changelogs/upgrading_to_okhttp_4/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/contribute/code_of_conduct/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/contribute/concurrency/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/contribute/contributing/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/contribute/debug_logging/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/features/caching/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/features/calls/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/features/connections/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/features/events/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/features/https/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/features/interceptors/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/features/r8_proguard/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/security/security/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/security/security_providers/ - 2025-11-16 + 2025-12-05 https://square.github.io/okhttp/security/tls_configuration_history/ - 2025-11-16 + 2025-12-05 \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz index bd44e796e91c53c09a27ab3989a18ca8319b972d..7ce1afe73aa57b0f4017e5e10d6331fc64b0866b 100644 GIT binary patch literal 398 zcmV;90df8xiwFpSATntJ|8r?{Wo=<_E_iKh0L_=dZo)7OhVMK@)jJI^kk|y}wkO!m zQAkZ1QIalpD7^h#K)`vENOP&{I{rVoN!+eBr$dt+A)xhcollENo`KW8vd*mY@2}7C zGT)S=RSXRRWgP5qo!3O|hY(%Y6=(?#s>Q+wBT(0TgW~2Clj1!uM;VVk!PUBqRpWKp zXF*PbKT!oJjHNnm3+sj7_m9L%^ij`~6w<+0VB3x#X{x?tIvz?AR?+m0j1$8ECx0hdB%iIXw*oWHuC#x1oT{(}Kj-1l6CClKgGw z$aw-H?35P{Rn(N2#pxIVcan2zj;opEY<&W$U>l9(m1B~S>_AZr+}gC# zb!vj9!Ib*mInczPJ1HsP2#!($Tmlp7TSpKywB$odjIfk#@P?zR*Ha+yA!+ISFw!IR sYau%HnFLc+n!)M zMjXBuiGHZys4REN0_Mxbu^2F1lGrulnTjmA8N1ZV3s%GT>@ z$by^(f1(PI8%s@G=hh3q9Uh5N3{m%!6w=Pu)oeO@ofO5Sc;k?Z@2n!OGJg>aplt`3 zLbwHmT=K_D_daY<_Ux9a%B~yb47A?h&3q0DSsb1OWcDl|FV6xpPYV(|6Vz}@O7fST zBj*W-yrW>(k$}w_q~Az()lpMo7N=tf+)0k9InHL1v-J+7hIKTOSB^nBQ7E|hb=RgyG?xduEJvd4Ua0*PQZyiC<(2)-*F~UN2!5faMA5Ve6hoq(B%}9?h slw)seNby##Fx2AE#x~Z(poXm~8;iVB{!yUQg@0kHUk>_{;qnXs027|Ong9R* diff --git a/works_with_okhttp/index.html b/works_with_okhttp/index.html index 607524278..bfd176408 100644 --- a/works_with_okhttp/index.html +++ b/works_with_okhttp/index.html @@ -1485,7 +1485,6 @@
  • ⬜️ Retrofit: Type-safe HTTP client for Android and Java by Square.
  • ScribeJava: Simple OAuth library for Java
  • Stetho: Stetho is a debug bridge for Android applications.
  • -
  • Thrifty: An implementation of Apache Thrift for Android.
  • ⬜️ Wire: Clean, lightweight protocol buffers for Android and Java.