From e9050658fef653276eebcaf5bc113567537efa8d Mon Sep 17 00:00:00 2001 From: jwilson Date: Sat, 2 Jan 2016 08:48:13 -0500 Subject: [PATCH] Publish Javadoc Artifacts published: com.squareup.okhttp3:benchmarks:3.0.0-RC1 com.squareup.okhttp3:okcurl:3.0.0-RC1 com.squareup.okhttp3:logging-interceptor:3.0.0-RC1 com.squareup.okhttp3:okhttp-apache:3.0.0-RC1 com.squareup.okhttp3:okhttp-android-support:3.0.0-RC1 com.squareup.okhttp3:okhttp-urlconnection:3.0.0-RC1 com.squareup.okhttp3:mockwebserver:3.0.0-RC1 com.squareup.okhttp3:okhttp-ws:3.0.0-RC1 com.squareup.okhttp3:okhttp-testing-support:3.0.0-RC1 com.squareup.okhttp3:okhttp:3.0.0-RC1 --- 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 | 72 + .../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/logging-interceptor/META-INF/MANIFEST.MF | 6 + 3.x/logging-interceptor/allclasses-frame.html | 22 + .../allclasses-noframe.html | 22 + 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 | 206 ++ 3.x/logging-interceptor/index.html | 72 + .../logging/HttpLoggingInterceptor.Level.html | 420 ++++ .../HttpLoggingInterceptor.Logger.html | 264 +++ .../logging/HttpLoggingInterceptor.html | 358 ++++ .../HttpLoggingInterceptor.Level.html | 177 ++ .../HttpLoggingInterceptor.Logger.html | 162 ++ .../class-use/HttpLoggingInterceptor.html | 151 ++ .../okhttp3/logging/package-frame.html | 29 + .../okhttp3/logging/package-summary.html | 174 ++ .../okhttp3/logging/package-tree.html | 149 ++ .../okhttp3/logging/package-use.html | 150 ++ 3.x/logging-interceptor/overview-tree.html | 153 ++ 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 | 6 + 3.x/mockwebserver/allclasses-frame.html | 28 + 3.x/mockwebserver/allclasses-noframe.html | 28 + 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 | 565 ++++++ 3.x/mockwebserver/index.html | 75 + .../okhttp3/internal/SslContextBuilder.html | 347 ++++ .../internal/class-use/SslContextBuilder.html | 126 ++ .../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/package-frame.html | 21 + .../okhttp3/internal/package-summary.html | 146 ++ .../okhttp3/internal/package-tree.html | 139 ++ .../okhttp3/internal/package-use.html | 126 ++ .../okhttp3/mockwebserver/Dispatcher.html | 307 +++ .../okhttp3/mockwebserver/MockResponse.html | 763 +++++++ .../okhttp3/mockwebserver/MockWebServer.html | 656 ++++++ .../okhttp3/mockwebserver/PushPromise.html | 319 +++ .../mockwebserver/QueueDispatcher.html | 391 ++++ .../mockwebserver/RecordedRequest.html | 462 +++++ .../okhttp3/mockwebserver/SocketPolicy.html | 505 +++++ .../mockwebserver/class-use/Dispatcher.html | 183 ++ .../mockwebserver/class-use/MockResponse.html | 357 ++++ .../class-use/MockWebServer.html | 126 ++ .../mockwebserver/class-use/PushPromise.html | 183 ++ .../class-use/QueueDispatcher.html | 126 ++ .../class-use/RecordedRequest.html | 195 ++ .../mockwebserver/class-use/SocketPolicy.html | 192 ++ .../okhttp3/mockwebserver/package-frame.html | 30 + .../mockwebserver/package-summary.html | 193 ++ .../okhttp3/mockwebserver/package-tree.html | 159 ++ .../okhttp3/mockwebserver/package-use.html | 181 ++ 3.x/mockwebserver/overview-frame.html | 24 + 3.x/mockwebserver/overview-summary.html | 148 ++ 3.x/mockwebserver/overview-tree.html | 167 ++ 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 | 223 +++ 3.x/okcurl/index.html | 72 + 3.x/okcurl/okhttp3/curl/Main.html | 506 +++++ 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 | 6 + .../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 | 72 + .../okhttp3/AndroidInternal.html | 245 +++ .../okhttp3/AndroidShimResponseCache.html | 487 +++++ .../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 | 168 ++ .../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 | 6 + 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 | 72 + .../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 + .../META-INF/MANIFEST.MF | 6 + .../allclasses-frame.html | 23 + .../allclasses-noframe.html | 23 + .../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 | 255 +++ 3.x/okhttp-testing-support/index.html | 75 + .../okhttp3/RecordingCookieJar.html | 355 ++++ .../okhttp3/class-use/RecordingCookieJar.html | 126 ++ .../internal/io/InMemoryFileSystem.html | 472 +++++ .../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 | 21 + .../okhttp3/package-summary.html | 144 ++ .../okhttp3/package-tree.html | 139 ++ .../okhttp3/package-use.html | 126 ++ ...stallUncaughtExceptionHandlerListener.html | 334 +++ .../testing/RecordingHostnameVerifier.html | 320 +++ ...stallUncaughtExceptionHandlerListener.html | 126 ++ .../class-use/RecordingHostnameVerifier.html | 126 ++ .../okhttp3/testing/package-frame.html | 22 + .../okhttp3/testing/package-summary.html | 150 ++ .../okhttp3/testing/package-tree.html | 144 ++ .../okhttp3/testing/package-use.html | 126 ++ .../overview-frame.html | 24 + .../overview-summary.html | 148 ++ 3.x/okhttp-testing-support/overview-tree.html | 148 ++ 3.x/okhttp-testing-support/package-list | 3 + 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-urlconnection/META-INF/MANIFEST.MF | 6 + .../allclasses-frame.html | 24 + .../allclasses-noframe.html | 24 + 3.x/okhttp-urlconnection/constant-values.html | 126 ++ 3.x/okhttp-urlconnection/deprecated-list.html | 152 ++ 3.x/okhttp-urlconnection/help-doc.html | 231 +++ 3.x/okhttp-urlconnection/index-all.html | 243 +++ 3.x/okhttp-urlconnection/index.html | 75 + .../okhttp3/JavaNetAuthenticator.html | 303 +++ .../okhttp3/OkUrlFactory.html | 374 ++++ .../class-use/JavaNetAuthenticator.html | 126 ++ .../okhttp3/class-use/OkUrlFactory.html | 176 ++ .../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 | 153 ++ .../okhttp3/package-tree.html | 140 ++ .../okhttp3/package-use.html | 165 ++ 3.x/okhttp-urlconnection/overview-frame.html | 23 + .../overview-summary.html | 144 ++ 3.x/okhttp-urlconnection/overview-tree.html | 144 ++ 3.x/okhttp-urlconnection/package-list | 2 + 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 | 6 + 3.x/okhttp/allclasses-frame.html | 65 + 3.x/okhttp/allclasses-noframe.html | 65 + 3.x/okhttp/constant-values.html | 124 ++ 3.x/okhttp/deprecated-list.html | 148 ++ 3.x/okhttp/help-doc.html | 225 +++ 3.x/okhttp/index-all.html | 1784 +++++++++++++++++ 3.x/okhttp/index.html | 72 + 3.x/okhttp/okhttp3/Address.html | 497 +++++ 3.x/okhttp/okhttp3/Authenticator.html | 297 +++ 3.x/okhttp/okhttp3/Cache.html | 598 ++++++ 3.x/okhttp/okhttp3/CacheControl.Builder.html | 409 ++++ 3.x/okhttp/okhttp3/CacheControl.html | 509 +++++ 3.x/okhttp/okhttp3/Call.Factory.html | 229 +++ 3.x/okhttp/okhttp3/Call.html | 351 ++++ 3.x/okhttp/okhttp3/Callback.html | 257 +++ .../okhttp3/CertificatePinner.Builder.html | 300 +++ 3.x/okhttp/okhttp3/CertificatePinner.html | 444 ++++ 3.x/okhttp/okhttp3/Challenge.html | 344 ++++ 3.x/okhttp/okhttp3/CipherSuite.html | 1510 ++++++++++++++ 3.x/okhttp/okhttp3/Connection.html | 325 +++ 3.x/okhttp/okhttp3/ConnectionPool.html | 333 +++ .../okhttp3/ConnectionSpec.Builder.html | 366 ++++ 3.x/okhttp/okhttp3/ConnectionSpec.html | 458 +++++ 3.x/okhttp/okhttp3/Cookie.Builder.html | 388 ++++ 3.x/okhttp/okhttp3/Cookie.html | 480 +++++ 3.x/okhttp/okhttp3/CookieJar.html | 300 +++ 3.x/okhttp/okhttp3/Credentials.html | 243 +++ 3.x/okhttp/okhttp3/Dispatcher.html | 430 ++++ 3.x/okhttp/okhttp3/Dns.html | 278 +++ 3.x/okhttp/okhttp3/FormBody.Builder.html | 305 +++ 3.x/okhttp/okhttp3/FormBody.html | 391 ++++ 3.x/okhttp/okhttp3/Handshake.html | 392 ++++ 3.x/okhttp/okhttp3/Headers.Builder.html | 357 ++++ 3.x/okhttp/okhttp3/Headers.html | 447 +++++ 3.x/okhttp/okhttp3/HttpUrl.Builder.html | 614 ++++++ 3.x/okhttp/okhttp3/HttpUrl.html | 1016 ++++++++++ 3.x/okhttp/okhttp3/Interceptor.Chain.html | 256 +++ 3.x/okhttp/okhttp3/Interceptor.html | 248 +++ 3.x/okhttp/okhttp3/MediaType.html | 368 ++++ 3.x/okhttp/okhttp3/MultipartBody.Builder.html | 394 ++++ 3.x/okhttp/okhttp3/MultipartBody.Part.html | 288 +++ 3.x/okhttp/okhttp3/MultipartBody.html | 513 +++++ 3.x/okhttp/okhttp3/OkHttpClient.Builder.html | 753 +++++++ 3.x/okhttp/okhttp3/OkHttpClient.html | 648 ++++++ 3.x/okhttp/okhttp3/Protocol.html | 441 ++++ 3.x/okhttp/okhttp3/Request.Builder.html | 541 +++++ 3.x/okhttp/okhttp3/Request.html | 396 ++++ 3.x/okhttp/okhttp3/RequestBody.html | 417 ++++ 3.x/okhttp/okhttp3/Response.Builder.html | 459 +++++ 3.x/okhttp/okhttp3/Response.html | 589 ++++++ 3.x/okhttp/okhttp3/ResponseBody.html | 478 +++++ 3.x/okhttp/okhttp3/Route.html | 371 ++++ 3.x/okhttp/okhttp3/TlsVersion.html | 392 ++++ 3.x/okhttp/okhttp3/class-use/Address.html | 162 ++ .../okhttp3/class-use/Authenticator.html | 217 ++ 3.x/okhttp/okhttp3/class-use/Cache.html | 162 ++ .../class-use/CacheControl.Builder.html | 190 ++ .../okhttp3/class-use/CacheControl.html | 205 ++ .../okhttp3/class-use/Call.Factory.html | 152 ++ 3.x/okhttp/okhttp3/class-use/Call.html | 176 ++ 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 | 151 ++ 3.x/okhttp/okhttp3/class-use/CipherSuite.html | 203 ++ 3.x/okhttp/okhttp3/class-use/Connection.html | 149 ++ .../okhttp3/class-use/ConnectionPool.html | 164 ++ .../class-use/ConnectionSpec.Builder.html | 173 ++ .../okhttp3/class-use/ConnectionSpec.html | 239 +++ .../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 ++ .../okhttp3/class-use/FormBody.Builder.html | 155 ++ 3.x/okhttp/okhttp3/class-use/FormBody.html | 149 ++ 3.x/okhttp/okhttp3/class-use/Handshake.html | 183 ++ .../okhttp3/class-use/Headers.Builder.html | 173 ++ 3.x/okhttp/okhttp3/class-use/Headers.html | 215 ++ .../okhttp3/class-use/HttpUrl.Builder.html | 258 +++ 3.x/okhttp/okhttp3/class-use/HttpUrl.html | 230 +++ .../okhttp3/class-use/Interceptor.Chain.html | 149 ++ 3.x/okhttp/okhttp3/class-use/Interceptor.html | 190 ++ 3.x/okhttp/okhttp3/class-use/MediaType.html | 292 +++ .../class-use/MultipartBody.Builder.html | 185 ++ .../okhttp3/class-use/MultipartBody.Part.html | 197 ++ .../okhttp3/class-use/MultipartBody.html | 151 ++ .../class-use/OkHttpClient.Builder.html | 285 +++ .../okhttp3/class-use/OkHttpClient.html | 149 ++ 3.x/okhttp/okhttp3/class-use/Protocol.html | 246 +++ .../okhttp3/class-use/Request.Builder.html | 235 +++ 3.x/okhttp/okhttp3/class-use/Request.html | 207 ++ 3.x/okhttp/okhttp3/class-use/RequestBody.html | 271 +++ .../okhttp3/class-use/Response.Builder.html | 209 ++ 3.x/okhttp/okhttp3/class-use/Response.html | 217 ++ .../okhttp3/class-use/ResponseBody.html | 191 ++ 3.x/okhttp/okhttp3/class-use/Route.html | 167 ++ 3.x/okhttp/okhttp3/class-use/TlsVersion.html | 203 ++ 3.x/okhttp/okhttp3/package-frame.html | 72 + 3.x/okhttp/okhttp3/package-summary.html | 415 ++++ 3.x/okhttp/okhttp3/package-tree.html | 195 ++ 3.x/okhttp/okhttp3/package-use.html | 343 ++++ 3.x/okhttp/overview-tree.html | 199 ++ 3.x/okhttp/package-list | 1 + 3.x/okhttp/script.js | 30 + 3.x/okhttp/stylesheet.css | 574 ++++++ 3.x/okhttp/version.txt | 1 + 348 files changed, 70921 insertions(+) create mode 100644 3.x/benchmarks/META-INF/MANIFEST.MF create mode 100644 3.x/benchmarks/allclasses-frame.html create mode 100644 3.x/benchmarks/allclasses-noframe.html create mode 100644 3.x/benchmarks/constant-values.html create mode 100644 3.x/benchmarks/deprecated-list.html create mode 100644 3.x/benchmarks/help-doc.html create mode 100644 3.x/benchmarks/index-all.html create mode 100644 3.x/benchmarks/index.html create mode 100644 3.x/benchmarks/okhttp3/benchmarks/Benchmark.html create mode 100644 3.x/benchmarks/okhttp3/benchmarks/class-use/Benchmark.html create mode 100644 3.x/benchmarks/okhttp3/benchmarks/package-frame.html create mode 100644 3.x/benchmarks/okhttp3/benchmarks/package-summary.html create mode 100644 3.x/benchmarks/okhttp3/benchmarks/package-tree.html create mode 100644 3.x/benchmarks/okhttp3/benchmarks/package-use.html create mode 100644 3.x/benchmarks/overview-tree.html create mode 100644 3.x/benchmarks/package-list create mode 100644 3.x/benchmarks/script.js create mode 100644 3.x/benchmarks/stylesheet.css create mode 100644 3.x/benchmarks/version.txt create mode 100644 3.x/logging-interceptor/META-INF/MANIFEST.MF create mode 100644 3.x/logging-interceptor/allclasses-frame.html create mode 100644 3.x/logging-interceptor/allclasses-noframe.html create mode 100644 3.x/logging-interceptor/constant-values.html create mode 100644 3.x/logging-interceptor/deprecated-list.html create mode 100644 3.x/logging-interceptor/help-doc.html create mode 100644 3.x/logging-interceptor/index-all.html create mode 100644 3.x/logging-interceptor/index.html create mode 100644 3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Level.html create mode 100644 3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Logger.html create mode 100644 3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.html create mode 100644 3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Level.html create mode 100644 3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Logger.html create mode 100644 3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.html create mode 100644 3.x/logging-interceptor/okhttp3/logging/package-frame.html create mode 100644 3.x/logging-interceptor/okhttp3/logging/package-summary.html create mode 100644 3.x/logging-interceptor/okhttp3/logging/package-tree.html create mode 100644 3.x/logging-interceptor/okhttp3/logging/package-use.html create mode 100644 3.x/logging-interceptor/overview-tree.html create mode 100644 3.x/logging-interceptor/package-list create mode 100644 3.x/logging-interceptor/script.js create mode 100644 3.x/logging-interceptor/stylesheet.css create mode 100644 3.x/logging-interceptor/version.txt create mode 100644 3.x/mockwebserver/META-INF/MANIFEST.MF create mode 100644 3.x/mockwebserver/allclasses-frame.html create mode 100644 3.x/mockwebserver/allclasses-noframe.html create mode 100644 3.x/mockwebserver/constant-values.html create mode 100644 3.x/mockwebserver/deprecated-list.html create mode 100644 3.x/mockwebserver/help-doc.html create mode 100644 3.x/mockwebserver/index-all.html create mode 100644 3.x/mockwebserver/index.html create mode 100644 3.x/mockwebserver/okhttp3/internal/SslContextBuilder.html create mode 100644 3.x/mockwebserver/okhttp3/internal/class-use/SslContextBuilder.html create mode 100644 3.x/mockwebserver/okhttp3/internal/framed/FramedServer.html create mode 100644 3.x/mockwebserver/okhttp3/internal/framed/class-use/FramedServer.html create mode 100644 3.x/mockwebserver/okhttp3/internal/framed/package-frame.html create mode 100644 3.x/mockwebserver/okhttp3/internal/framed/package-summary.html create mode 100644 3.x/mockwebserver/okhttp3/internal/framed/package-tree.html create mode 100644 3.x/mockwebserver/okhttp3/internal/framed/package-use.html create mode 100644 3.x/mockwebserver/okhttp3/internal/package-frame.html create mode 100644 3.x/mockwebserver/okhttp3/internal/package-summary.html create mode 100644 3.x/mockwebserver/okhttp3/internal/package-tree.html create mode 100644 3.x/mockwebserver/okhttp3/internal/package-use.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/Dispatcher.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/MockResponse.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/MockWebServer.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/PushPromise.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/QueueDispatcher.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/RecordedRequest.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/SocketPolicy.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/Dispatcher.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/MockResponse.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/MockWebServer.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/PushPromise.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/QueueDispatcher.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/RecordedRequest.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/class-use/SocketPolicy.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/package-frame.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/package-summary.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/package-tree.html create mode 100644 3.x/mockwebserver/okhttp3/mockwebserver/package-use.html create mode 100644 3.x/mockwebserver/overview-frame.html create mode 100644 3.x/mockwebserver/overview-summary.html create mode 100644 3.x/mockwebserver/overview-tree.html create mode 100644 3.x/mockwebserver/package-list create mode 100644 3.x/mockwebserver/script.js create mode 100644 3.x/mockwebserver/stylesheet.css create mode 100644 3.x/mockwebserver/version.txt create mode 100644 3.x/okcurl/META-INF/MANIFEST.MF create mode 100644 3.x/okcurl/allclasses-frame.html create mode 100644 3.x/okcurl/allclasses-noframe.html create mode 100644 3.x/okcurl/constant-values.html create mode 100644 3.x/okcurl/deprecated-list.html create mode 100644 3.x/okcurl/help-doc.html create mode 100644 3.x/okcurl/index-all.html create mode 100644 3.x/okcurl/index.html create mode 100644 3.x/okcurl/okhttp3/curl/Main.html create mode 100644 3.x/okcurl/okhttp3/curl/class-use/Main.html create mode 100644 3.x/okcurl/okhttp3/curl/package-frame.html create mode 100644 3.x/okcurl/okhttp3/curl/package-summary.html create mode 100644 3.x/okcurl/okhttp3/curl/package-tree.html create mode 100644 3.x/okcurl/okhttp3/curl/package-use.html create mode 100644 3.x/okcurl/overview-tree.html create mode 100644 3.x/okcurl/package-list create mode 100644 3.x/okcurl/script.js create mode 100644 3.x/okcurl/stylesheet.css create mode 100644 3.x/okcurl/version.txt create mode 100644 3.x/okhttp-android-support/META-INF/MANIFEST.MF create mode 100644 3.x/okhttp-android-support/allclasses-frame.html create mode 100644 3.x/okhttp-android-support/allclasses-noframe.html create mode 100644 3.x/okhttp-android-support/constant-values.html create mode 100644 3.x/okhttp-android-support/deprecated-list.html create mode 100644 3.x/okhttp-android-support/help-doc.html create mode 100644 3.x/okhttp-android-support/index-all.html create mode 100644 3.x/okhttp-android-support/index.html create mode 100644 3.x/okhttp-android-support/okhttp3/AndroidInternal.html create mode 100644 3.x/okhttp-android-support/okhttp3/AndroidShimResponseCache.html create mode 100644 3.x/okhttp-android-support/okhttp3/OkCacheContainer.html create mode 100644 3.x/okhttp-android-support/okhttp3/class-use/AndroidInternal.html create mode 100644 3.x/okhttp-android-support/okhttp3/class-use/AndroidShimResponseCache.html create mode 100644 3.x/okhttp-android-support/okhttp3/class-use/OkCacheContainer.html create mode 100644 3.x/okhttp-android-support/okhttp3/package-frame.html create mode 100644 3.x/okhttp-android-support/okhttp3/package-summary.html create mode 100644 3.x/okhttp-android-support/okhttp3/package-tree.html create mode 100644 3.x/okhttp-android-support/okhttp3/package-use.html create mode 100644 3.x/okhttp-android-support/overview-tree.html create mode 100644 3.x/okhttp-android-support/package-list create mode 100644 3.x/okhttp-android-support/script.js create mode 100644 3.x/okhttp-android-support/stylesheet.css create mode 100644 3.x/okhttp-android-support/version.txt create mode 100644 3.x/okhttp-apache/META-INF/MANIFEST.MF create mode 100644 3.x/okhttp-apache/allclasses-frame.html create mode 100644 3.x/okhttp-apache/allclasses-noframe.html create mode 100644 3.x/okhttp-apache/constant-values.html create mode 100644 3.x/okhttp-apache/deprecated-list.html create mode 100644 3.x/okhttp-apache/help-doc.html create mode 100644 3.x/okhttp-apache/index-all.html create mode 100644 3.x/okhttp-apache/index.html create mode 100644 3.x/okhttp-apache/okhttp3/apache/OkApacheClient.html create mode 100644 3.x/okhttp-apache/okhttp3/apache/class-use/OkApacheClient.html create mode 100644 3.x/okhttp-apache/okhttp3/apache/package-frame.html create mode 100644 3.x/okhttp-apache/okhttp3/apache/package-summary.html create mode 100644 3.x/okhttp-apache/okhttp3/apache/package-tree.html create mode 100644 3.x/okhttp-apache/okhttp3/apache/package-use.html create mode 100644 3.x/okhttp-apache/overview-tree.html create mode 100644 3.x/okhttp-apache/package-list create mode 100644 3.x/okhttp-apache/script.js create mode 100644 3.x/okhttp-apache/stylesheet.css create mode 100644 3.x/okhttp-apache/version.txt create mode 100644 3.x/okhttp-testing-support/META-INF/MANIFEST.MF create mode 100644 3.x/okhttp-testing-support/allclasses-frame.html create mode 100644 3.x/okhttp-testing-support/allclasses-noframe.html create mode 100644 3.x/okhttp-testing-support/constant-values.html create mode 100644 3.x/okhttp-testing-support/deprecated-list.html create mode 100644 3.x/okhttp-testing-support/help-doc.html create mode 100644 3.x/okhttp-testing-support/index-all.html create mode 100644 3.x/okhttp-testing-support/index.html create mode 100644 3.x/okhttp-testing-support/okhttp3/RecordingCookieJar.html create mode 100644 3.x/okhttp-testing-support/okhttp3/class-use/RecordingCookieJar.html create mode 100644 3.x/okhttp-testing-support/okhttp3/internal/io/InMemoryFileSystem.html create mode 100644 3.x/okhttp-testing-support/okhttp3/internal/io/class-use/InMemoryFileSystem.html create mode 100644 3.x/okhttp-testing-support/okhttp3/internal/io/package-frame.html create mode 100644 3.x/okhttp-testing-support/okhttp3/internal/io/package-summary.html create mode 100644 3.x/okhttp-testing-support/okhttp3/internal/io/package-tree.html create mode 100644 3.x/okhttp-testing-support/okhttp3/internal/io/package-use.html create mode 100644 3.x/okhttp-testing-support/okhttp3/package-frame.html create mode 100644 3.x/okhttp-testing-support/okhttp3/package-summary.html create mode 100644 3.x/okhttp-testing-support/okhttp3/package-tree.html create mode 100644 3.x/okhttp-testing-support/okhttp3/package-use.html create mode 100644 3.x/okhttp-testing-support/okhttp3/testing/InstallUncaughtExceptionHandlerListener.html create mode 100644 3.x/okhttp-testing-support/okhttp3/testing/RecordingHostnameVerifier.html create mode 100644 3.x/okhttp-testing-support/okhttp3/testing/class-use/InstallUncaughtExceptionHandlerListener.html create mode 100644 3.x/okhttp-testing-support/okhttp3/testing/class-use/RecordingHostnameVerifier.html create mode 100644 3.x/okhttp-testing-support/okhttp3/testing/package-frame.html create mode 100644 3.x/okhttp-testing-support/okhttp3/testing/package-summary.html create mode 100644 3.x/okhttp-testing-support/okhttp3/testing/package-tree.html create mode 100644 3.x/okhttp-testing-support/okhttp3/testing/package-use.html create mode 100644 3.x/okhttp-testing-support/overview-frame.html create mode 100644 3.x/okhttp-testing-support/overview-summary.html create mode 100644 3.x/okhttp-testing-support/overview-tree.html create mode 100644 3.x/okhttp-testing-support/package-list create mode 100644 3.x/okhttp-testing-support/script.js create mode 100644 3.x/okhttp-testing-support/stylesheet.css create mode 100644 3.x/okhttp-testing-support/version.txt create mode 100644 3.x/okhttp-urlconnection/META-INF/MANIFEST.MF create mode 100644 3.x/okhttp-urlconnection/allclasses-frame.html create mode 100644 3.x/okhttp-urlconnection/allclasses-noframe.html create mode 100644 3.x/okhttp-urlconnection/constant-values.html create mode 100644 3.x/okhttp-urlconnection/deprecated-list.html create mode 100644 3.x/okhttp-urlconnection/help-doc.html create mode 100644 3.x/okhttp-urlconnection/index-all.html create mode 100644 3.x/okhttp-urlconnection/index.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/JavaNetAuthenticator.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/OkUrlFactory.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/class-use/JavaNetAuthenticator.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/class-use/OkUrlFactory.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/JavaNetCookieJar.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/JavaNetHeaders.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/SystemPropertiesConnectionPool.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/class-use/JavaNetCookieJar.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/class-use/JavaNetHeaders.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/class-use/SystemPropertiesConnectionPool.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/package-frame.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/package-summary.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/package-tree.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/internal/package-use.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/package-frame.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/package-summary.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/package-tree.html create mode 100644 3.x/okhttp-urlconnection/okhttp3/package-use.html create mode 100644 3.x/okhttp-urlconnection/overview-frame.html create mode 100644 3.x/okhttp-urlconnection/overview-summary.html create mode 100644 3.x/okhttp-urlconnection/overview-tree.html create mode 100644 3.x/okhttp-urlconnection/package-list create mode 100644 3.x/okhttp-urlconnection/script.js create mode 100644 3.x/okhttp-urlconnection/stylesheet.css create mode 100644 3.x/okhttp-urlconnection/version.txt create mode 100644 3.x/okhttp-ws/META-INF/MANIFEST.MF create mode 100644 3.x/okhttp-ws/allclasses-frame.html create mode 100644 3.x/okhttp-ws/allclasses-noframe.html create mode 100644 3.x/okhttp-ws/constant-values.html create mode 100644 3.x/okhttp-ws/deprecated-list.html create mode 100644 3.x/okhttp-ws/help-doc.html create mode 100644 3.x/okhttp-ws/index-all.html create mode 100644 3.x/okhttp-ws/index.html create mode 100644 3.x/okhttp-ws/okhttp3/ws/WebSocket.html create mode 100644 3.x/okhttp-ws/okhttp3/ws/WebSocketCall.html create mode 100644 3.x/okhttp-ws/okhttp3/ws/WebSocketListener.html create mode 100644 3.x/okhttp-ws/okhttp3/ws/class-use/WebSocket.html create mode 100644 3.x/okhttp-ws/okhttp3/ws/class-use/WebSocketCall.html create mode 100644 3.x/okhttp-ws/okhttp3/ws/class-use/WebSocketListener.html create mode 100644 3.x/okhttp-ws/okhttp3/ws/package-frame.html create mode 100644 3.x/okhttp-ws/okhttp3/ws/package-summary.html create mode 100644 3.x/okhttp-ws/okhttp3/ws/package-tree.html create mode 100644 3.x/okhttp-ws/okhttp3/ws/package-use.html create mode 100644 3.x/okhttp-ws/overview-tree.html create mode 100644 3.x/okhttp-ws/package-list create mode 100644 3.x/okhttp-ws/script.js create mode 100644 3.x/okhttp-ws/stylesheet.css create mode 100644 3.x/okhttp-ws/version.txt create mode 100644 3.x/okhttp/META-INF/MANIFEST.MF create mode 100644 3.x/okhttp/allclasses-frame.html create mode 100644 3.x/okhttp/allclasses-noframe.html create mode 100644 3.x/okhttp/constant-values.html create mode 100644 3.x/okhttp/deprecated-list.html create mode 100644 3.x/okhttp/help-doc.html create mode 100644 3.x/okhttp/index-all.html create mode 100644 3.x/okhttp/index.html create mode 100644 3.x/okhttp/okhttp3/Address.html create mode 100644 3.x/okhttp/okhttp3/Authenticator.html create mode 100644 3.x/okhttp/okhttp3/Cache.html create mode 100644 3.x/okhttp/okhttp3/CacheControl.Builder.html create mode 100644 3.x/okhttp/okhttp3/CacheControl.html create mode 100644 3.x/okhttp/okhttp3/Call.Factory.html create mode 100644 3.x/okhttp/okhttp3/Call.html create mode 100644 3.x/okhttp/okhttp3/Callback.html create mode 100644 3.x/okhttp/okhttp3/CertificatePinner.Builder.html create mode 100644 3.x/okhttp/okhttp3/CertificatePinner.html create mode 100644 3.x/okhttp/okhttp3/Challenge.html create mode 100644 3.x/okhttp/okhttp3/CipherSuite.html create mode 100644 3.x/okhttp/okhttp3/Connection.html create mode 100644 3.x/okhttp/okhttp3/ConnectionPool.html create mode 100644 3.x/okhttp/okhttp3/ConnectionSpec.Builder.html create mode 100644 3.x/okhttp/okhttp3/ConnectionSpec.html create mode 100644 3.x/okhttp/okhttp3/Cookie.Builder.html create mode 100644 3.x/okhttp/okhttp3/Cookie.html create mode 100644 3.x/okhttp/okhttp3/CookieJar.html create mode 100644 3.x/okhttp/okhttp3/Credentials.html create mode 100644 3.x/okhttp/okhttp3/Dispatcher.html create mode 100644 3.x/okhttp/okhttp3/Dns.html create mode 100644 3.x/okhttp/okhttp3/FormBody.Builder.html create mode 100644 3.x/okhttp/okhttp3/FormBody.html create mode 100644 3.x/okhttp/okhttp3/Handshake.html create mode 100644 3.x/okhttp/okhttp3/Headers.Builder.html create mode 100644 3.x/okhttp/okhttp3/Headers.html create mode 100644 3.x/okhttp/okhttp3/HttpUrl.Builder.html create mode 100644 3.x/okhttp/okhttp3/HttpUrl.html create mode 100644 3.x/okhttp/okhttp3/Interceptor.Chain.html create mode 100644 3.x/okhttp/okhttp3/Interceptor.html create mode 100644 3.x/okhttp/okhttp3/MediaType.html create mode 100644 3.x/okhttp/okhttp3/MultipartBody.Builder.html create mode 100644 3.x/okhttp/okhttp3/MultipartBody.Part.html create mode 100644 3.x/okhttp/okhttp3/MultipartBody.html create mode 100644 3.x/okhttp/okhttp3/OkHttpClient.Builder.html create mode 100644 3.x/okhttp/okhttp3/OkHttpClient.html create mode 100644 3.x/okhttp/okhttp3/Protocol.html create mode 100644 3.x/okhttp/okhttp3/Request.Builder.html create mode 100644 3.x/okhttp/okhttp3/Request.html create mode 100644 3.x/okhttp/okhttp3/RequestBody.html create mode 100644 3.x/okhttp/okhttp3/Response.Builder.html create mode 100644 3.x/okhttp/okhttp3/Response.html create mode 100644 3.x/okhttp/okhttp3/ResponseBody.html create mode 100644 3.x/okhttp/okhttp3/Route.html create mode 100644 3.x/okhttp/okhttp3/TlsVersion.html create mode 100644 3.x/okhttp/okhttp3/class-use/Address.html create mode 100644 3.x/okhttp/okhttp3/class-use/Authenticator.html create mode 100644 3.x/okhttp/okhttp3/class-use/Cache.html create mode 100644 3.x/okhttp/okhttp3/class-use/CacheControl.Builder.html create mode 100644 3.x/okhttp/okhttp3/class-use/CacheControl.html create mode 100644 3.x/okhttp/okhttp3/class-use/Call.Factory.html create mode 100644 3.x/okhttp/okhttp3/class-use/Call.html create mode 100644 3.x/okhttp/okhttp3/class-use/Callback.html create mode 100644 3.x/okhttp/okhttp3/class-use/CertificatePinner.Builder.html create mode 100644 3.x/okhttp/okhttp3/class-use/CertificatePinner.html create mode 100644 3.x/okhttp/okhttp3/class-use/Challenge.html create mode 100644 3.x/okhttp/okhttp3/class-use/CipherSuite.html create mode 100644 3.x/okhttp/okhttp3/class-use/Connection.html create mode 100644 3.x/okhttp/okhttp3/class-use/ConnectionPool.html create mode 100644 3.x/okhttp/okhttp3/class-use/ConnectionSpec.Builder.html create mode 100644 3.x/okhttp/okhttp3/class-use/ConnectionSpec.html create mode 100644 3.x/okhttp/okhttp3/class-use/Cookie.Builder.html create mode 100644 3.x/okhttp/okhttp3/class-use/Cookie.html create mode 100644 3.x/okhttp/okhttp3/class-use/CookieJar.html create mode 100644 3.x/okhttp/okhttp3/class-use/Credentials.html create mode 100644 3.x/okhttp/okhttp3/class-use/Dispatcher.html create mode 100644 3.x/okhttp/okhttp3/class-use/Dns.html create mode 100644 3.x/okhttp/okhttp3/class-use/FormBody.Builder.html create mode 100644 3.x/okhttp/okhttp3/class-use/FormBody.html create mode 100644 3.x/okhttp/okhttp3/class-use/Handshake.html create mode 100644 3.x/okhttp/okhttp3/class-use/Headers.Builder.html create mode 100644 3.x/okhttp/okhttp3/class-use/Headers.html create mode 100644 3.x/okhttp/okhttp3/class-use/HttpUrl.Builder.html create mode 100644 3.x/okhttp/okhttp3/class-use/HttpUrl.html create mode 100644 3.x/okhttp/okhttp3/class-use/Interceptor.Chain.html create mode 100644 3.x/okhttp/okhttp3/class-use/Interceptor.html create mode 100644 3.x/okhttp/okhttp3/class-use/MediaType.html create mode 100644 3.x/okhttp/okhttp3/class-use/MultipartBody.Builder.html create mode 100644 3.x/okhttp/okhttp3/class-use/MultipartBody.Part.html create mode 100644 3.x/okhttp/okhttp3/class-use/MultipartBody.html create mode 100644 3.x/okhttp/okhttp3/class-use/OkHttpClient.Builder.html create mode 100644 3.x/okhttp/okhttp3/class-use/OkHttpClient.html create mode 100644 3.x/okhttp/okhttp3/class-use/Protocol.html create mode 100644 3.x/okhttp/okhttp3/class-use/Request.Builder.html create mode 100644 3.x/okhttp/okhttp3/class-use/Request.html create mode 100644 3.x/okhttp/okhttp3/class-use/RequestBody.html create mode 100644 3.x/okhttp/okhttp3/class-use/Response.Builder.html create mode 100644 3.x/okhttp/okhttp3/class-use/Response.html create mode 100644 3.x/okhttp/okhttp3/class-use/ResponseBody.html create mode 100644 3.x/okhttp/okhttp3/class-use/Route.html create mode 100644 3.x/okhttp/okhttp3/class-use/TlsVersion.html create mode 100644 3.x/okhttp/okhttp3/package-frame.html create mode 100644 3.x/okhttp/okhttp3/package-summary.html create mode 100644 3.x/okhttp/okhttp3/package-tree.html create mode 100644 3.x/okhttp/okhttp3/package-use.html create mode 100644 3.x/okhttp/overview-tree.html create mode 100644 3.x/okhttp/package-list create mode 100644 3.x/okhttp/script.js create mode 100644 3.x/okhttp/stylesheet.css create mode 100644 3.x/okhttp/version.txt diff --git a/3.x/benchmarks/META-INF/MANIFEST.MF b/3.x/benchmarks/META-INF/MANIFEST.MF new file mode 100644 index 000000000..aaa8bf6f7 --- /dev/null +++ b/3.x/benchmarks/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jwilson +Build-Jdk: 1.8.0_45 + diff --git a/3.x/benchmarks/allclasses-frame.html b/3.x/benchmarks/allclasses-frame.html new file mode 100644 index 000000000..47dcfa3bd --- /dev/null +++ b/3.x/benchmarks/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (Benchmarks 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/benchmarks/allclasses-noframe.html b/3.x/benchmarks/allclasses-noframe.html new file mode 100644 index 000000000..c53b5f1a6 --- /dev/null +++ b/3.x/benchmarks/allclasses-noframe.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (Benchmarks 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/benchmarks/constant-values.html b/3.x/benchmarks/constant-values.html new file mode 100644 index 000000000..fc002b5a8 --- /dev/null +++ b/3.x/benchmarks/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Constant Field Values (Benchmarks 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/benchmarks/deprecated-list.html b/3.x/benchmarks/deprecated-list.html new file mode 100644 index 000000000..86c469a35 --- /dev/null +++ b/3.x/benchmarks/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Deprecated List (Benchmarks 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/benchmarks/help-doc.html b/3.x/benchmarks/help-doc.html new file mode 100644 index 000000000..c28505bcb --- /dev/null +++ b/3.x/benchmarks/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +API Help (Benchmarks 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/benchmarks/index-all.html b/3.x/benchmarks/index-all.html new file mode 100644 index 000000000..6d236c5ac --- /dev/null +++ b/3.x/benchmarks/index-all.html @@ -0,0 +1,165 @@ + + + + + + +Index (Benchmarks 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/benchmarks/index.html b/3.x/benchmarks/index.html new file mode 100644 index 000000000..ea82a901c --- /dev/null +++ b/3.x/benchmarks/index.html @@ -0,0 +1,72 @@ + + + + + + +Benchmarks 3.0.0-RC1 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 new file mode 100644 index 000000000..d5f038dd9 --- /dev/null +++ b/3.x/benchmarks/okhttp3/benchmarks/Benchmark.html @@ -0,0 +1,321 @@ + + + + + + +Benchmark (Benchmarks 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3.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 © 2016. 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 new file mode 100644 index 000000000..b7b25d5e6 --- /dev/null +++ b/3.x/benchmarks/okhttp3/benchmarks/class-use/Benchmark.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class okhttp3.benchmarks.Benchmark (Benchmarks 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.benchmarks.Benchmark

+
+
No usage of okhttp3.benchmarks.Benchmark
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/benchmarks/okhttp3/benchmarks/package-frame.html b/3.x/benchmarks/okhttp3/benchmarks/package-frame.html new file mode 100644 index 000000000..af95e6da4 --- /dev/null +++ b/3.x/benchmarks/okhttp3/benchmarks/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +okhttp3.benchmarks (Benchmarks 3.0.0-RC1 API) + + + + + +

okhttp3.benchmarks

+
+

Classes

+ +
+ + diff --git a/3.x/benchmarks/okhttp3/benchmarks/package-summary.html b/3.x/benchmarks/okhttp3/benchmarks/package-summary.html new file mode 100644 index 000000000..cbc00cf50 --- /dev/null +++ b/3.x/benchmarks/okhttp3/benchmarks/package-summary.html @@ -0,0 +1,144 @@ + + + + + + +okhttp3.benchmarks (Benchmarks 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package okhttp3.benchmarks

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/benchmarks/okhttp3/benchmarks/package-tree.html b/3.x/benchmarks/okhttp3/benchmarks/package-tree.html new file mode 100644 index 000000000..5e449f390 --- /dev/null +++ b/3.x/benchmarks/okhttp3/benchmarks/package-tree.html @@ -0,0 +1,137 @@ + + + + + + +okhttp3.benchmarks Class Hierarchy (Benchmarks 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package okhttp3.benchmarks

+
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/benchmarks/okhttp3/benchmarks/package-use.html b/3.x/benchmarks/okhttp3/benchmarks/package-use.html new file mode 100644 index 000000000..d39d2cbb1 --- /dev/null +++ b/3.x/benchmarks/okhttp3/benchmarks/package-use.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Package okhttp3.benchmarks (Benchmarks 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
okhttp3.benchmarks

+
+
No usage of okhttp3.benchmarks
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/benchmarks/overview-tree.html b/3.x/benchmarks/overview-tree.html new file mode 100644 index 000000000..61b8737e9 --- /dev/null +++ b/3.x/benchmarks/overview-tree.html @@ -0,0 +1,141 @@ + + + + + + +Class Hierarchy (Benchmarks 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/benchmarks/package-list b/3.x/benchmarks/package-list new file mode 100644 index 000000000..03b31f50f --- /dev/null +++ b/3.x/benchmarks/package-list @@ -0,0 +1 @@ +okhttp3.benchmarks diff --git a/3.x/benchmarks/script.js b/3.x/benchmarks/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/3.x/benchmarks/script.js @@ -0,0 +1,30 @@ +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 new file mode 100644 index 000000000..cebb4fd8d --- /dev/null +++ b/3.x/benchmarks/stylesheet.css @@ -0,0 +1,574 @@ +/* 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/3.x/benchmarks/version.txt b/3.x/benchmarks/version.txt new file mode 100644 index 000000000..e4ebb1de6 --- /dev/null +++ b/3.x/benchmarks/version.txt @@ -0,0 +1 @@ +3.0.0-RC1 \ No newline at end of file diff --git a/3.x/logging-interceptor/META-INF/MANIFEST.MF b/3.x/logging-interceptor/META-INF/MANIFEST.MF new file mode 100644 index 000000000..aaa8bf6f7 --- /dev/null +++ b/3.x/logging-interceptor/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jwilson +Build-Jdk: 1.8.0_45 + diff --git a/3.x/logging-interceptor/allclasses-frame.html b/3.x/logging-interceptor/allclasses-frame.html new file mode 100644 index 000000000..347d8d14c --- /dev/null +++ b/3.x/logging-interceptor/allclasses-frame.html @@ -0,0 +1,22 @@ + + + + + + +All Classes (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/logging-interceptor/allclasses-noframe.html b/3.x/logging-interceptor/allclasses-noframe.html new file mode 100644 index 000000000..314353826 --- /dev/null +++ b/3.x/logging-interceptor/allclasses-noframe.html @@ -0,0 +1,22 @@ + + + + + + +All Classes (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/logging-interceptor/constant-values.html b/3.x/logging-interceptor/constant-values.html new file mode 100644 index 000000000..573d06c93 --- /dev/null +++ b/3.x/logging-interceptor/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Constant Field Values (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/logging-interceptor/deprecated-list.html b/3.x/logging-interceptor/deprecated-list.html new file mode 100644 index 000000000..2eb605a46 --- /dev/null +++ b/3.x/logging-interceptor/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Deprecated List (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/logging-interceptor/help-doc.html b/3.x/logging-interceptor/help-doc.html new file mode 100644 index 000000000..bf6e4db8b --- /dev/null +++ b/3.x/logging-interceptor/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +API Help (OkHttp Logging Interceptor 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/logging-interceptor/index-all.html b/3.x/logging-interceptor/index-all.html new file mode 100644 index 000000000..e43fad1ac --- /dev/null +++ b/3.x/logging-interceptor/index-all.html @@ -0,0 +1,206 @@ + + + + + + +Index (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
D G H I L O S V  + + +

D

+
+
DEFAULT - Static variable in interface okhttp3.logging.HttpLoggingInterceptor.Logger
+
+
A HttpLoggingInterceptor.Logger defaults output appropriate for the current platform.
+
+
+ + + +

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
+
 
+
+ + + +

O

+
+
okhttp3.logging - package okhttp3.logging
+
 
+
+ + + +

S

+
+
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.
+
+
+D G H I L O S V 
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/logging-interceptor/index.html b/3.x/logging-interceptor/index.html new file mode 100644 index 000000000..e686776b3 --- /dev/null +++ b/3.x/logging-interceptor/index.html @@ -0,0 +1,72 @@ + + + + + + +OkHttp Logging Interceptor 3.0.0-RC1 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 new file mode 100644 index 000000000..bdd453084 --- /dev/null +++ b/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Level.html @@ -0,0 +1,420 @@ + + + + + + +HttpLoggingInterceptor.Level (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3.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/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Logger.html b/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Logger.html new file mode 100644 index 000000000..9e847ca58 --- /dev/null +++ b/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.Logger.html @@ -0,0 +1,264 @@ + + + + + + +HttpLoggingInterceptor.Logger (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3.logging
+

Interface HttpLoggingInterceptor.Logger

+
+
+
+
    +
  • +
    +
    Enclosing class:
    +
    HttpLoggingInterceptor
    +
    +
    +
    +
    public static interface HttpLoggingInterceptor.Logger
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.html b/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.html new file mode 100644 index 000000000..740bf5574 --- /dev/null +++ b/3.x/logging-interceptor/okhttp3/logging/HttpLoggingInterceptor.html @@ -0,0 +1,358 @@ + + + + + + +HttpLoggingInterceptor (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3.logging
+

Class 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/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Level.html b/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Level.html new file mode 100644 index 000000000..fd8c333fa --- /dev/null +++ b/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Level.html @@ -0,0 +1,177 @@ + + + + + + +Uses of Class okhttp3.logging.HttpLoggingInterceptor.Level (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.logging.HttpLoggingInterceptor.Level

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..57e54738e --- /dev/null +++ b/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.Logger.html @@ -0,0 +1,162 @@ + + + + + + +Uses of Interface okhttp3.logging.HttpLoggingInterceptor.Logger (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
okhttp3.logging.HttpLoggingInterceptor.Logger

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..f09f8c4ce --- /dev/null +++ b/3.x/logging-interceptor/okhttp3/logging/class-use/HttpLoggingInterceptor.html @@ -0,0 +1,151 @@ + + + + + + +Uses of Class okhttp3.logging.HttpLoggingInterceptor (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.logging.HttpLoggingInterceptor

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..e048f31ba --- /dev/null +++ b/3.x/logging-interceptor/okhttp3/logging/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +okhttp3.logging (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + +

okhttp3.logging

+
+

Interfaces

+ +

Classes

+ +

Enums

+ +
+ + diff --git a/3.x/logging-interceptor/okhttp3/logging/package-summary.html b/3.x/logging-interceptor/okhttp3/logging/package-summary.html new file mode 100644 index 000000000..7c1cbf1bb --- /dev/null +++ b/3.x/logging-interceptor/okhttp3/logging/package-summary.html @@ -0,0 +1,174 @@ + + + + + + +okhttp3.logging (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package okhttp3.logging

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..68fdc1627 --- /dev/null +++ b/3.x/logging-interceptor/okhttp3/logging/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +okhttp3.logging Class Hierarchy (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package okhttp3.logging

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..aec7d7883 --- /dev/null +++ b/3.x/logging-interceptor/okhttp3/logging/package-use.html @@ -0,0 +1,150 @@ + + + + + + +Uses of Package okhttp3.logging (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
okhttp3.logging

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/logging-interceptor/overview-tree.html b/3.x/logging-interceptor/overview-tree.html new file mode 100644 index 000000000..ceb1ab637 --- /dev/null +++ b/3.x/logging-interceptor/overview-tree.html @@ -0,0 +1,153 @@ + + + + + + +Class Hierarchy (OkHttp Logging Interceptor 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/logging-interceptor/package-list b/3.x/logging-interceptor/package-list new file mode 100644 index 000000000..057bdc482 --- /dev/null +++ b/3.x/logging-interceptor/package-list @@ -0,0 +1 @@ +okhttp3.logging diff --git a/3.x/logging-interceptor/script.js b/3.x/logging-interceptor/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/3.x/logging-interceptor/script.js @@ -0,0 +1,30 @@ +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 new file mode 100644 index 000000000..cebb4fd8d --- /dev/null +++ b/3.x/logging-interceptor/stylesheet.css @@ -0,0 +1,574 @@ +/* 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/3.x/logging-interceptor/version.txt b/3.x/logging-interceptor/version.txt new file mode 100644 index 000000000..e4ebb1de6 --- /dev/null +++ b/3.x/logging-interceptor/version.txt @@ -0,0 +1 @@ +3.0.0-RC1 \ No newline at end of file diff --git a/3.x/mockwebserver/META-INF/MANIFEST.MF b/3.x/mockwebserver/META-INF/MANIFEST.MF new file mode 100644 index 000000000..aaa8bf6f7 --- /dev/null +++ b/3.x/mockwebserver/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jwilson +Build-Jdk: 1.8.0_45 + diff --git a/3.x/mockwebserver/allclasses-frame.html b/3.x/mockwebserver/allclasses-frame.html new file mode 100644 index 000000000..11575cb6a --- /dev/null +++ b/3.x/mockwebserver/allclasses-frame.html @@ -0,0 +1,28 @@ + + + + + + +All Classes (MockWebServer 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/mockwebserver/allclasses-noframe.html b/3.x/mockwebserver/allclasses-noframe.html new file mode 100644 index 000000000..287aa61a4 --- /dev/null +++ b/3.x/mockwebserver/allclasses-noframe.html @@ -0,0 +1,28 @@ + + + + + + +All Classes (MockWebServer 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/mockwebserver/constant-values.html b/3.x/mockwebserver/constant-values.html new file mode 100644 index 000000000..a682ff5ba --- /dev/null +++ b/3.x/mockwebserver/constant-values.html @@ -0,0 +1,126 @@ + + + + + + +Constant Field Values (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/deprecated-list.html b/3.x/mockwebserver/deprecated-list.html new file mode 100644 index 000000000..5fe4ac580 --- /dev/null +++ b/3.x/mockwebserver/deprecated-list.html @@ -0,0 +1,150 @@ + + + + + + +Deprecated List (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+ +
+
+ + + +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/help-doc.html b/3.x/mockwebserver/help-doc.html new file mode 100644 index 000000000..9c7990702 --- /dev/null +++ b/3.x/mockwebserver/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +API Help (MockWebServer 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/index-all.html b/3.x/mockwebserver/index-all.html new file mode 100644 index 000000000..b9ac88009 --- /dev/null +++ b/3.x/mockwebserver/index-all.html @@ -0,0 +1,565 @@ + + + + + + +Index (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H L M 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.
+
+
apply(Statement, Description) - Method in class okhttp3.mockwebserver.MockWebServer
+
 
+
+ + + +

B

+
+
build() - Method in class okhttp3.internal.SslContextBuilder
+
 
+
+ + + +

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
+
 
+
+ + + +

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
+
 
+
+ + + +

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
+
 
+
+ + + +

F

+
+
FramedServer - Class in okhttp3.internal.framed
+
+
A basic SPDY/HTTP_2 server that serves the contents of a local directory.
+
+
FramedServer(File, SSLSocketFactory) - Constructor for class okhttp3.internal.framed.FramedServer
+
 
+
+ + + +

G

+
+
generateKeyPair() - Method in class okhttp3.internal.SslContextBuilder
+
 
+
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.
+
+
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.
+
+
getHostName() - Method in class okhttp3.mockwebserver.MockWebServer
+
 
+
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
+
 
+
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.
+
+
getUtf8Body() - Method in class okhttp3.mockwebserver.RecordedRequest
+
+
Deprecated. + +
+
+
getWebSocketListener() - Method in class okhttp3.mockwebserver.MockResponse
+
 
+
+ + + +

H

+
+
headers() - Method in class okhttp3.mockwebserver.PushPromise
+
 
+
+ + + +

L

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

M

+
+
main(String...) - Static method in class okhttp3.internal.framed.FramedServer
+
 
+
method() - Method in class okhttp3.mockwebserver.PushPromise
+
 
+
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
+
 
+
+ + + +

O

+
+
okhttp3.internal - package okhttp3.internal
+
 
+
okhttp3.internal.framed - package okhttp3.internal.framed
+
 
+
okhttp3.mockwebserver - package okhttp3.mockwebserver
+
 
+
onStream(FramedStream) - Method in class okhttp3.internal.framed.FramedServer
+
 
+
+ + + +

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
+
 
+
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

+
+
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.
+
+
response() - Method in class okhttp3.mockwebserver.PushPromise
+
 
+
responseQueue - Variable in class okhttp3.mockwebserver.QueueDispatcher
+
 
+
+ + + +

S

+
+
selfSignedCertificate(KeyPair, String) - Method in class okhttp3.internal.SslContextBuilder
+
+
Generates a certificate for hostName containing keyPair's public key, signed by + keyPair's private key.
+
+
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 in headers.
+
+
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
+
 
+
shutdown() - Method in class okhttp3.mockwebserver.MockWebServer
+
 
+
SocketPolicy - Enum in okhttp3.mockwebserver
+
+
What should be done with the incoming socket.
+
+
SslContextBuilder - Class in okhttp3.internal
+
+
Constructs an SSL context for testing.
+
+
SslContextBuilder(String) - Constructor for class okhttp3.internal.SslContextBuilder
+
 
+
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 F G H L M O P Q R S T U V W 
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/index.html b/3.x/mockwebserver/index.html new file mode 100644 index 000000000..8319de306 --- /dev/null +++ b/3.x/mockwebserver/index.html @@ -0,0 +1,75 @@ + + + + + + +MockWebServer 3.0.0-RC1 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/SslContextBuilder.html b/3.x/mockwebserver/okhttp3/internal/SslContextBuilder.html new file mode 100644 index 000000000..6a68a1280 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/internal/SslContextBuilder.html @@ -0,0 +1,347 @@ + + + + + + +SslContextBuilder (MockWebServer 3.0.0-RC1 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.

    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

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 new file mode 100644 index 000000000..c4f78c75b --- /dev/null +++ b/3.x/mockwebserver/okhttp3/internal/class-use/SslContextBuilder.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class okhttp3.internal.SslContextBuilder (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.internal.SslContextBuilder

+
+
No usage of okhttp3.internal.SslContextBuilder
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/okhttp3/internal/framed/FramedServer.html b/3.x/mockwebserver/okhttp3/internal/framed/FramedServer.html new file mode 100644 index 000000000..bafe6a0ee --- /dev/null +++ b/3.x/mockwebserver/okhttp3/internal/framed/FramedServer.html @@ -0,0 +1,328 @@ + + + + + + +FramedServer (MockWebServer 3.0.0-RC1 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 new file mode 100644 index 000000000..a71f7d08c --- /dev/null +++ b/3.x/mockwebserver/okhttp3/internal/framed/class-use/FramedServer.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class okhttp3.internal.framed.FramedServer (MockWebServer 3.0.0-RC1 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 new file mode 100644 index 000000000..dcf6134c9 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/internal/framed/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +okhttp3.internal.framed (MockWebServer 3.0.0-RC1 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 new file mode 100644 index 000000000..3856e4fd0 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/internal/framed/package-summary.html @@ -0,0 +1,146 @@ + + + + + + +okhttp3.internal.framed (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package okhttp3.internal.framed

+
+
+ +
+ +
+ + + + + + + +
+ + +

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 new file mode 100644 index 000000000..e0fcd73fb --- /dev/null +++ b/3.x/mockwebserver/okhttp3/internal/framed/package-tree.html @@ -0,0 +1,143 @@ + + + + + + +okhttp3.internal.framed Class Hierarchy (MockWebServer 3.0.0-RC1 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 new file mode 100644 index 000000000..0578ccda5 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/internal/framed/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Package okhttp3.internal.framed (MockWebServer 3.0.0-RC1 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/package-frame.html b/3.x/mockwebserver/okhttp3/internal/package-frame.html new file mode 100644 index 000000000..19241a8cb --- /dev/null +++ b/3.x/mockwebserver/okhttp3/internal/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +okhttp3.internal (MockWebServer 3.0.0-RC1 API) + + + + + +

okhttp3.internal

+
+

Classes

+ +
+ + diff --git a/3.x/mockwebserver/okhttp3/internal/package-summary.html b/3.x/mockwebserver/okhttp3/internal/package-summary.html new file mode 100644 index 000000000..4fb18a528 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/internal/package-summary.html @@ -0,0 +1,146 @@ + + + + + + +okhttp3.internal (MockWebServer 3.0.0-RC1 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 new file mode 100644 index 000000000..fed0cd16f --- /dev/null +++ b/3.x/mockwebserver/okhttp3/internal/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +okhttp3.internal Class Hierarchy (MockWebServer 3.0.0-RC1 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 new file mode 100644 index 000000000..0d2f6ea3c --- /dev/null +++ b/3.x/mockwebserver/okhttp3/internal/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Package okhttp3.internal (MockWebServer 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/mockwebserver/okhttp3/mockwebserver/Dispatcher.html b/3.x/mockwebserver/okhttp3/mockwebserver/Dispatcher.html new file mode 100644 index 000000000..b3dd9a32d --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/Dispatcher.html @@ -0,0 +1,307 @@ + + + + + + +Dispatcher (MockWebServer 3.0.0-RC1 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.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/MockResponse.html b/3.x/mockwebserver/okhttp3/mockwebserver/MockResponse.html new file mode 100644 index 000000000..cc7495397 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/MockResponse.html @@ -0,0 +1,763 @@ + + + + + + +MockResponse (MockWebServer 3.0.0-RC1 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".
        +
      • +
      + + + +
        +
      • +

        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 Buffer getBody()
        +
        Returns a copy of the raw HTTP payload.
        +
      • +
      + + + + + + + +
        +
      • +

        setBody

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

        setChunkedBody

        +
        public MockResponse setChunkedBody(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 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)
        +
      • +
      + + + + + + + +
        +
      • +

        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/3.x/mockwebserver/okhttp3/mockwebserver/MockWebServer.html b/3.x/mockwebserver/okhttp3/mockwebserver/MockWebServer.html new file mode 100644 index 000000000..b64a2d9ee --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/MockWebServer.html @@ -0,0 +1,656 @@ + + + + + + +MockWebServer (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3.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)
        +
      • +
      + + + +
        +
      • +

        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.
        +
        +
      • +
      + + + +
        +
      • +

        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/3.x/mockwebserver/okhttp3/mockwebserver/PushPromise.html b/3.x/mockwebserver/okhttp3/mockwebserver/PushPromise.html new file mode 100644 index 000000000..27909ad42 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/PushPromise.html @@ -0,0 +1,319 @@ + + + + + + +PushPromise (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3.mockwebserver
+

Class PushPromise

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/QueueDispatcher.html b/3.x/mockwebserver/okhttp3/mockwebserver/QueueDispatcher.html new file mode 100644 index 000000000..b2fc5d9ba --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/QueueDispatcher.html @@ -0,0 +1,391 @@ + + + + + + +QueueDispatcher (MockWebServer 3.0.0-RC1 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)
        +
      • +
      + + + +
        +
      • +

        setFailFast

        +
        public void setFailFast(boolean failFast)
        +
      • +
      + + + +
        +
      • +

        setFailFast

        +
        public void setFailFast(MockResponse failFastResponse)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/RecordedRequest.html b/3.x/mockwebserver/okhttp3/mockwebserver/RecordedRequest.html new file mode 100644 index 000000000..3d546952d --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/RecordedRequest.html @@ -0,0 +1,462 @@ + + + + + + +RecordedRequest (MockWebServer 3.0.0-RC1 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,
        +                       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 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/3.x/mockwebserver/okhttp3/mockwebserver/SocketPolicy.html b/3.x/mockwebserver/okhttp3/mockwebserver/SocketPolicy.html new file mode 100644 index 000000000..1379c9e28 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/SocketPolicy.html @@ -0,0 +1,505 @@ + + + + + + +SocketPolicy (MockWebServer 3.0.0-RC1 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

      + + + +
        +
      • +

        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. + +

        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.

        +
      • +
      + + + +
        +
      • +

        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/3.x/mockwebserver/okhttp3/mockwebserver/class-use/Dispatcher.html b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/Dispatcher.html new file mode 100644 index 000000000..408deed24 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/Dispatcher.html @@ -0,0 +1,183 @@ + + + + + + +Uses of Class okhttp3.mockwebserver.Dispatcher (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.mockwebserver.Dispatcher

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..07d7e7ab4 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/MockResponse.html @@ -0,0 +1,357 @@ + + + + + + +Uses of Class okhttp3.mockwebserver.MockResponse (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.mockwebserver.MockResponse

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..297faf922 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/MockWebServer.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class okhttp3.mockwebserver.MockWebServer (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.mockwebserver.MockWebServer

+
+
No usage of okhttp3.mockwebserver.MockWebServer
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..f697cdc64 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/PushPromise.html @@ -0,0 +1,183 @@ + + + + + + +Uses of Class okhttp3.mockwebserver.PushPromise (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.mockwebserver.PushPromise

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..7bb4c0d96 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/QueueDispatcher.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class okhttp3.mockwebserver.QueueDispatcher (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.mockwebserver.QueueDispatcher

+
+
No usage of okhttp3.mockwebserver.QueueDispatcher
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..4fa2ffbc6 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/RecordedRequest.html @@ -0,0 +1,195 @@ + + + + + + +Uses of Class okhttp3.mockwebserver.RecordedRequest (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.mockwebserver.RecordedRequest

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..f01d3dbab --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/class-use/SocketPolicy.html @@ -0,0 +1,192 @@ + + + + + + +Uses of Class okhttp3.mockwebserver.SocketPolicy (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.mockwebserver.SocketPolicy

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/package-frame.html b/3.x/mockwebserver/okhttp3/mockwebserver/package-frame.html new file mode 100644 index 000000000..30ad353fd --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/package-frame.html @@ -0,0 +1,30 @@ + + + + + + +okhttp3.mockwebserver (MockWebServer 3.0.0-RC1 API) + + + + + +

okhttp3.mockwebserver

+
+

Classes

+ +

Enums

+ +
+ + diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/package-summary.html b/3.x/mockwebserver/okhttp3/mockwebserver/package-summary.html new file mode 100644 index 000000000..604804af5 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/package-summary.html @@ -0,0 +1,193 @@ + + + + + + +okhttp3.mockwebserver (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package okhttp3.mockwebserver

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/package-tree.html b/3.x/mockwebserver/okhttp3/mockwebserver/package-tree.html new file mode 100644 index 000000000..b71242626 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/package-tree.html @@ -0,0 +1,159 @@ + + + + + + +okhttp3.mockwebserver Class Hierarchy (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package okhttp3.mockwebserver

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/okhttp3/mockwebserver/package-use.html b/3.x/mockwebserver/okhttp3/mockwebserver/package-use.html new file mode 100644 index 000000000..27dcc3c65 --- /dev/null +++ b/3.x/mockwebserver/okhttp3/mockwebserver/package-use.html @@ -0,0 +1,181 @@ + + + + + + +Uses of Package okhttp3.mockwebserver (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
okhttp3.mockwebserver

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/overview-frame.html b/3.x/mockwebserver/overview-frame.html new file mode 100644 index 000000000..b4ccc9f55 --- /dev/null +++ b/3.x/mockwebserver/overview-frame.html @@ -0,0 +1,24 @@ + + + + + + +Overview List (MockWebServer 3.0.0-RC1 API) + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/3.x/mockwebserver/overview-summary.html b/3.x/mockwebserver/overview-summary.html new file mode 100644 index 000000000..90475e11f --- /dev/null +++ b/3.x/mockwebserver/overview-summary.html @@ -0,0 +1,148 @@ + + + + + + +Overview (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

MockWebServer 3.0.0-RC1 API

+
+
+ + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
okhttp3.internal 
okhttp3.internal.framed 
okhttp3.mockwebserver 
+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/overview-tree.html b/3.x/mockwebserver/overview-tree.html new file mode 100644 index 000000000..a600766b6 --- /dev/null +++ b/3.x/mockwebserver/overview-tree.html @@ -0,0 +1,167 @@ + + + + + + +Class Hierarchy (MockWebServer 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/mockwebserver/package-list b/3.x/mockwebserver/package-list new file mode 100644 index 000000000..d48f354ec --- /dev/null +++ b/3.x/mockwebserver/package-list @@ -0,0 +1,3 @@ +okhttp3.internal +okhttp3.internal.framed +okhttp3.mockwebserver diff --git a/3.x/mockwebserver/script.js b/3.x/mockwebserver/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/3.x/mockwebserver/script.js @@ -0,0 +1,30 @@ +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 new file mode 100644 index 000000000..cebb4fd8d --- /dev/null +++ b/3.x/mockwebserver/stylesheet.css @@ -0,0 +1,574 @@ +/* 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/3.x/mockwebserver/version.txt b/3.x/mockwebserver/version.txt new file mode 100644 index 000000000..e4ebb1de6 --- /dev/null +++ b/3.x/mockwebserver/version.txt @@ -0,0 +1 @@ +3.0.0-RC1 \ No newline at end of file diff --git a/3.x/okcurl/META-INF/MANIFEST.MF b/3.x/okcurl/META-INF/MANIFEST.MF new file mode 100644 index 000000000..aaa8bf6f7 --- /dev/null +++ b/3.x/okcurl/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jwilson +Build-Jdk: 1.8.0_45 + diff --git a/3.x/okcurl/allclasses-frame.html b/3.x/okcurl/allclasses-frame.html new file mode 100644 index 000000000..088bce353 --- /dev/null +++ b/3.x/okcurl/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (OkCurl 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okcurl/allclasses-noframe.html b/3.x/okcurl/allclasses-noframe.html new file mode 100644 index 000000000..99ed0dd80 --- /dev/null +++ b/3.x/okcurl/allclasses-noframe.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (OkCurl 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okcurl/constant-values.html b/3.x/okcurl/constant-values.html new file mode 100644 index 000000000..cf49f868e --- /dev/null +++ b/3.x/okcurl/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Constant Field Values (OkCurl 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okcurl/deprecated-list.html b/3.x/okcurl/deprecated-list.html new file mode 100644 index 000000000..c1dee5d40 --- /dev/null +++ b/3.x/okcurl/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Deprecated List (OkCurl 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okcurl/help-doc.html b/3.x/okcurl/help-doc.html new file mode 100644 index 000000000..1a4278315 --- /dev/null +++ b/3.x/okcurl/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +API Help (OkCurl 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okcurl/index-all.html b/3.x/okcurl/index-all.html new file mode 100644 index 000000000..446f536a9 --- /dev/null +++ b/3.x/okcurl/index-all.html @@ -0,0 +1,223 @@ + + + + + + +Index (OkCurl 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
A C D F H M O R S U V  + + +

A

+
+
allowInsecure - Variable in class okhttp3.curl.Main
+
 
+
+ + + +

C

+
+
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

+
+
version - Variable in class okhttp3.curl.Main
+
 
+
+A C D F H M O R S U V 
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okcurl/index.html b/3.x/okcurl/index.html new file mode 100644 index 000000000..d1262be0d --- /dev/null +++ b/3.x/okcurl/index.html @@ -0,0 +1,72 @@ + + + + + + +OkCurl 3.0.0-RC1 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 new file mode 100644 index 000000000..193539ebf --- /dev/null +++ b/3.x/okcurl/okhttp3/curl/Main.html @@ -0,0 +1,506 @@ + + + + + + +Main (OkCurl 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3.curl
+

Class 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/3.x/okcurl/okhttp3/curl/class-use/Main.html b/3.x/okcurl/okhttp3/curl/class-use/Main.html new file mode 100644 index 000000000..179650170 --- /dev/null +++ b/3.x/okcurl/okhttp3/curl/class-use/Main.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class okhttp3.curl.Main (OkCurl 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.curl.Main

+
+
No usage of okhttp3.curl.Main
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okcurl/okhttp3/curl/package-frame.html b/3.x/okcurl/okhttp3/curl/package-frame.html new file mode 100644 index 000000000..d31b43ae6 --- /dev/null +++ b/3.x/okcurl/okhttp3/curl/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +okhttp3.curl (OkCurl 3.0.0-RC1 API) + + + + + +

okhttp3.curl

+
+

Classes

+ +
+ + diff --git a/3.x/okcurl/okhttp3/curl/package-summary.html b/3.x/okcurl/okhttp3/curl/package-summary.html new file mode 100644 index 000000000..7ab3168b7 --- /dev/null +++ b/3.x/okcurl/okhttp3/curl/package-summary.html @@ -0,0 +1,142 @@ + + + + + + +okhttp3.curl (OkCurl 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package okhttp3.curl

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okcurl/okhttp3/curl/package-tree.html b/3.x/okcurl/okhttp3/curl/package-tree.html new file mode 100644 index 000000000..e71259cac --- /dev/null +++ b/3.x/okcurl/okhttp3/curl/package-tree.html @@ -0,0 +1,137 @@ + + + + + + +okhttp3.curl Class Hierarchy (OkCurl 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package okhttp3.curl

+
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okcurl/okhttp3/curl/package-use.html b/3.x/okcurl/okhttp3/curl/package-use.html new file mode 100644 index 000000000..7dc632735 --- /dev/null +++ b/3.x/okcurl/okhttp3/curl/package-use.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Package okhttp3.curl (OkCurl 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
okhttp3.curl

+
+
No usage of okhttp3.curl
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okcurl/overview-tree.html b/3.x/okcurl/overview-tree.html new file mode 100644 index 000000000..5279a9fc6 --- /dev/null +++ b/3.x/okcurl/overview-tree.html @@ -0,0 +1,141 @@ + + + + + + +Class Hierarchy (OkCurl 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okcurl/package-list b/3.x/okcurl/package-list new file mode 100644 index 000000000..c3348cb1b --- /dev/null +++ b/3.x/okcurl/package-list @@ -0,0 +1 @@ +okhttp3.curl diff --git a/3.x/okcurl/script.js b/3.x/okcurl/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/3.x/okcurl/script.js @@ -0,0 +1,30 @@ +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 new file mode 100644 index 000000000..cebb4fd8d --- /dev/null +++ b/3.x/okcurl/stylesheet.css @@ -0,0 +1,574 @@ +/* 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/3.x/okcurl/version.txt b/3.x/okcurl/version.txt new file mode 100644 index 000000000..e4ebb1de6 --- /dev/null +++ b/3.x/okcurl/version.txt @@ -0,0 +1 @@ +3.0.0-RC1 \ No newline at end of file diff --git a/3.x/okhttp-android-support/META-INF/MANIFEST.MF b/3.x/okhttp-android-support/META-INF/MANIFEST.MF new file mode 100644 index 000000000..aaa8bf6f7 --- /dev/null +++ b/3.x/okhttp-android-support/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jwilson +Build-Jdk: 1.8.0_45 + diff --git a/3.x/okhttp-android-support/allclasses-frame.html b/3.x/okhttp-android-support/allclasses-frame.html new file mode 100644 index 000000000..3750dc5a5 --- /dev/null +++ b/3.x/okhttp-android-support/allclasses-frame.html @@ -0,0 +1,22 @@ + + + + + + +All Classes (OkHttp Android Platform Support 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okhttp-android-support/allclasses-noframe.html b/3.x/okhttp-android-support/allclasses-noframe.html new file mode 100644 index 000000000..40ff940b4 --- /dev/null +++ b/3.x/okhttp-android-support/allclasses-noframe.html @@ -0,0 +1,22 @@ + + + + + + +All Classes (OkHttp Android Platform Support 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okhttp-android-support/constant-values.html b/3.x/okhttp-android-support/constant-values.html new file mode 100644 index 000000000..71dbc8c49 --- /dev/null +++ b/3.x/okhttp-android-support/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Constant Field Values (OkHttp Android Platform Support 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-android-support/deprecated-list.html b/3.x/okhttp-android-support/deprecated-list.html new file mode 100644 index 000000000..77620b389 --- /dev/null +++ b/3.x/okhttp-android-support/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Deprecated List (OkHttp Android Platform Support 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-android-support/help-doc.html b/3.x/okhttp-android-support/help-doc.html new file mode 100644 index 000000000..d83576296 --- /dev/null +++ b/3.x/okhttp-android-support/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +API Help (OkHttp Android Platform Support 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-android-support/index-all.html b/3.x/okhttp-android-support/index-all.html new file mode 100644 index 000000000..25323e407 --- /dev/null +++ b/3.x/okhttp-android-support/index-all.html @@ -0,0 +1,245 @@ + + + + + + +Index (OkHttp Android Platform Support 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-android-support/index.html b/3.x/okhttp-android-support/index.html new file mode 100644 index 000000000..736ef7c34 --- /dev/null +++ b/3.x/okhttp-android-support/index.html @@ -0,0 +1,72 @@ + + + + + + +OkHttp Android Platform Support 3.0.0-RC1 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 new file mode 100644 index 000000000..5ee30b999 --- /dev/null +++ b/3.x/okhttp-android-support/okhttp3/AndroidInternal.html @@ -0,0 +1,245 @@ + + + + + + +AndroidInternal (OkHttp Android Platform Support 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-android-support/okhttp3/AndroidShimResponseCache.html b/3.x/okhttp-android-support/okhttp3/AndroidShimResponseCache.html new file mode 100644 index 000000000..f1554bba6 --- /dev/null +++ b/3.x/okhttp-android-support/okhttp3/AndroidShimResponseCache.html @@ -0,0 +1,487 @@ + + + + + + +AndroidShimResponseCache (OkHttp Android Platform Support 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-android-support/okhttp3/OkCacheContainer.html b/3.x/okhttp-android-support/okhttp3/OkCacheContainer.html new file mode 100644 index 000000000..62037b5de --- /dev/null +++ b/3.x/okhttp-android-support/okhttp3/OkCacheContainer.html @@ -0,0 +1,222 @@ + + + + + + +OkCacheContainer (OkHttp Android Platform Support 3.0.0-RC1 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 © 2016. 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 new file mode 100644 index 000000000..d810225a0 --- /dev/null +++ b/3.x/okhttp-android-support/okhttp3/class-use/AndroidInternal.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class okhttp3.AndroidInternal (OkHttp Android Platform Support 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.AndroidInternal

+
+
No usage of okhttp3.AndroidInternal
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..234f3cf80 --- /dev/null +++ b/3.x/okhttp-android-support/okhttp3/class-use/AndroidShimResponseCache.html @@ -0,0 +1,150 @@ + + + + + + +Uses of Class okhttp3.AndroidShimResponseCache (OkHttp Android Platform Support 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.AndroidShimResponseCache

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..e4e3b58a6 --- /dev/null +++ b/3.x/okhttp-android-support/okhttp3/class-use/OkCacheContainer.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Interface okhttp3.OkCacheContainer (OkHttp Android Platform Support 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
okhttp3.OkCacheContainer

+
+
No usage of okhttp3.OkCacheContainer
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..7daa7c3ae --- /dev/null +++ b/3.x/okhttp-android-support/okhttp3/package-frame.html @@ -0,0 +1,26 @@ + + + + + + +okhttp3 (OkHttp Android Platform Support 3.0.0-RC1 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 new file mode 100644 index 000000000..cb5114f58 --- /dev/null +++ b/3.x/okhttp-android-support/okhttp3/package-summary.html @@ -0,0 +1,168 @@ + + + + + + +okhttp3 (OkHttp Android Platform Support 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package okhttp3

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..04f6f9a76 --- /dev/null +++ b/3.x/okhttp-android-support/okhttp3/package-tree.html @@ -0,0 +1,142 @@ + + + + + + +okhttp3 Class Hierarchy (OkHttp Android Platform Support 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package okhttp3

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..09dc5d58c --- /dev/null +++ b/3.x/okhttp-android-support/okhttp3/package-use.html @@ -0,0 +1,145 @@ + + + + + + +Uses of Package okhttp3 (OkHttp Android Platform Support 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
okhttp3

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-android-support/overview-tree.html b/3.x/okhttp-android-support/overview-tree.html new file mode 100644 index 000000000..fe1ec9d0f --- /dev/null +++ b/3.x/okhttp-android-support/overview-tree.html @@ -0,0 +1,146 @@ + + + + + + +Class Hierarchy (OkHttp Android Platform Support 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-android-support/package-list b/3.x/okhttp-android-support/package-list new file mode 100644 index 000000000..80c510a07 --- /dev/null +++ b/3.x/okhttp-android-support/package-list @@ -0,0 +1 @@ +okhttp3 diff --git a/3.x/okhttp-android-support/script.js b/3.x/okhttp-android-support/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/3.x/okhttp-android-support/script.js @@ -0,0 +1,30 @@ +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 new file mode 100644 index 000000000..cebb4fd8d --- /dev/null +++ b/3.x/okhttp-android-support/stylesheet.css @@ -0,0 +1,574 @@ +/* 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/3.x/okhttp-android-support/version.txt b/3.x/okhttp-android-support/version.txt new file mode 100644 index 000000000..e4ebb1de6 --- /dev/null +++ b/3.x/okhttp-android-support/version.txt @@ -0,0 +1 @@ +3.0.0-RC1 \ 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 new file mode 100644 index 000000000..aaa8bf6f7 --- /dev/null +++ b/3.x/okhttp-apache/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jwilson +Build-Jdk: 1.8.0_45 + diff --git a/3.x/okhttp-apache/allclasses-frame.html b/3.x/okhttp-apache/allclasses-frame.html new file mode 100644 index 000000000..f3f647ece --- /dev/null +++ b/3.x/okhttp-apache/allclasses-frame.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (OkHttp Apache HttpClient 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okhttp-apache/allclasses-noframe.html b/3.x/okhttp-apache/allclasses-noframe.html new file mode 100644 index 000000000..df76e6d19 --- /dev/null +++ b/3.x/okhttp-apache/allclasses-noframe.html @@ -0,0 +1,20 @@ + + + + + + +All Classes (OkHttp Apache HttpClient 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okhttp-apache/constant-values.html b/3.x/okhttp-apache/constant-values.html new file mode 100644 index 000000000..d3bed75d9 --- /dev/null +++ b/3.x/okhttp-apache/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Constant Field Values (OkHttp Apache HttpClient 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-apache/deprecated-list.html b/3.x/okhttp-apache/deprecated-list.html new file mode 100644 index 000000000..94c9801d0 --- /dev/null +++ b/3.x/okhttp-apache/deprecated-list.html @@ -0,0 +1,150 @@ + + + + + + +Deprecated List (OkHttp Apache HttpClient 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+ +
+
+ + + +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-apache/help-doc.html b/3.x/okhttp-apache/help-doc.html new file mode 100644 index 000000000..6f30ce89c --- /dev/null +++ b/3.x/okhttp-apache/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +API Help (OkHttp Apache HttpClient 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-apache/index-all.html b/3.x/okhttp-apache/index-all.html new file mode 100644 index 000000000..151454e3b --- /dev/null +++ b/3.x/okhttp-apache/index-all.html @@ -0,0 +1,197 @@ + + + + + + +Index (OkHttp Apache HttpClient 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-apache/index.html b/3.x/okhttp-apache/index.html new file mode 100644 index 000000000..c7fee6d74 --- /dev/null +++ b/3.x/okhttp-apache/index.html @@ -0,0 +1,72 @@ + + + + + + +OkHttp Apache HttpClient 3.0.0-RC1 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 new file mode 100644 index 000000000..568e67b92 --- /dev/null +++ b/3.x/okhttp-apache/okhttp3/apache/OkApacheClient.html @@ -0,0 +1,534 @@ + + + + + + +OkApacheClient (OkHttp Apache HttpClient 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3.apache
+

Class OkApacheClient

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    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 HttpClient
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..ccf86bb8c --- /dev/null +++ b/3.x/okhttp-apache/okhttp3/apache/class-use/OkApacheClient.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class okhttp3.apache.OkApacheClient (OkHttp Apache HttpClient 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.apache.OkApacheClient

+
+
No usage of okhttp3.apache.OkApacheClient
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..169dc0948 --- /dev/null +++ b/3.x/okhttp-apache/okhttp3/apache/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +okhttp3.apache (OkHttp Apache HttpClient 3.0.0-RC1 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 new file mode 100644 index 000000000..6cb08c91b --- /dev/null +++ b/3.x/okhttp-apache/okhttp3/apache/package-summary.html @@ -0,0 +1,145 @@ + + + + + + +okhttp3.apache (OkHttp Apache HttpClient 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package okhttp3.apache

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..10335eaf6 --- /dev/null +++ b/3.x/okhttp-apache/okhttp3/apache/package-tree.html @@ -0,0 +1,133 @@ + + + + + + +okhttp3.apache Class Hierarchy (OkHttp Apache HttpClient 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package okhttp3.apache

+
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..0e3308215 --- /dev/null +++ b/3.x/okhttp-apache/okhttp3/apache/package-use.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Package okhttp3.apache (OkHttp Apache HttpClient 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
okhttp3.apache

+
+
No usage of okhttp3.apache
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-apache/overview-tree.html b/3.x/okhttp-apache/overview-tree.html new file mode 100644 index 000000000..101a94ad1 --- /dev/null +++ b/3.x/okhttp-apache/overview-tree.html @@ -0,0 +1,137 @@ + + + + + + +Class Hierarchy (OkHttp Apache HttpClient 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-apache/package-list b/3.x/okhttp-apache/package-list new file mode 100644 index 000000000..eeaa709aa --- /dev/null +++ b/3.x/okhttp-apache/package-list @@ -0,0 +1 @@ +okhttp3.apache diff --git a/3.x/okhttp-apache/script.js b/3.x/okhttp-apache/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/3.x/okhttp-apache/script.js @@ -0,0 +1,30 @@ +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 new file mode 100644 index 000000000..cebb4fd8d --- /dev/null +++ b/3.x/okhttp-apache/stylesheet.css @@ -0,0 +1,574 @@ +/* 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/3.x/okhttp-apache/version.txt b/3.x/okhttp-apache/version.txt new file mode 100644 index 000000000..e4ebb1de6 --- /dev/null +++ b/3.x/okhttp-apache/version.txt @@ -0,0 +1 @@ +3.0.0-RC1 \ No newline at end of file diff --git a/3.x/okhttp-testing-support/META-INF/MANIFEST.MF b/3.x/okhttp-testing-support/META-INF/MANIFEST.MF new file mode 100644 index 000000000..aaa8bf6f7 --- /dev/null +++ b/3.x/okhttp-testing-support/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jwilson +Build-Jdk: 1.8.0_45 + diff --git a/3.x/okhttp-testing-support/allclasses-frame.html b/3.x/okhttp-testing-support/allclasses-frame.html new file mode 100644 index 000000000..e68ac40e8 --- /dev/null +++ b/3.x/okhttp-testing-support/allclasses-frame.html @@ -0,0 +1,23 @@ + + + + + + +All Classes (OkHttp test support classes 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okhttp-testing-support/allclasses-noframe.html b/3.x/okhttp-testing-support/allclasses-noframe.html new file mode 100644 index 000000000..def7ef9a8 --- /dev/null +++ b/3.x/okhttp-testing-support/allclasses-noframe.html @@ -0,0 +1,23 @@ + + + + + + +All Classes (OkHttp test support classes 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okhttp-testing-support/constant-values.html b/3.x/okhttp-testing-support/constant-values.html new file mode 100644 index 000000000..8721c2e30 --- /dev/null +++ b/3.x/okhttp-testing-support/constant-values.html @@ -0,0 +1,126 @@ + + + + + + +Constant Field Values (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-testing-support/deprecated-list.html b/3.x/okhttp-testing-support/deprecated-list.html new file mode 100644 index 000000000..f566455ae --- /dev/null +++ b/3.x/okhttp-testing-support/deprecated-list.html @@ -0,0 +1,126 @@ + + + + + + +Deprecated List (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-testing-support/help-doc.html b/3.x/okhttp-testing-support/help-doc.html new file mode 100644 index 000000000..68b9f3fcd --- /dev/null +++ b/3.x/okhttp-testing-support/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +API Help (OkHttp test support classes 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-testing-support/index-all.html b/3.x/okhttp-testing-support/index-all.html new file mode 100644 index 000000000..6946b6bf0 --- /dev/null +++ b/3.x/okhttp-testing-support/index-all.html @@ -0,0 +1,255 @@ + + + + + + +Index (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
A C D E I L O R S T V  + + +

A

+
+
appendingSink(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
+
 
+
apply(Statement, Description) - Method in class okhttp3.internal.io.InMemoryFileSystem
+
 
+
assertResponseCookies(String...) - Method in class okhttp3.RecordingCookieJar
+
 
+
+ + + +

C

+
+
calls - Variable in class okhttp3.testing.RecordingHostnameVerifier
+
 
+
+ + + +

D

+
+
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
+
 
+
ensureResourcesClosed() - Method in class okhttp3.internal.io.InMemoryFileSystem
+
 
+
exists(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
+
 
+
+ + + +

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
+
 
+
+ + + +

L

+
+
loadForRequest(HttpUrl) - Method in class okhttp3.RecordingCookieJar
+
 
+
+ + + +

O

+
+
okhttp3 - package okhttp3
+
 
+
okhttp3.internal.io - package okhttp3.internal.io
+
 
+
okhttp3.testing - package okhttp3.testing
+
 
+
+ + + +

R

+
+
RecordingCookieJar - Class in okhttp3
+
 
+
RecordingCookieJar() - Constructor for class okhttp3.RecordingCookieJar
+
 
+
RecordingHostnameVerifier - Class in okhttp3.testing
+
 
+
RecordingHostnameVerifier() - Constructor for class okhttp3.testing.RecordingHostnameVerifier
+
 
+
rename(File, File) - Method in class okhttp3.internal.io.InMemoryFileSystem
+
 
+
+ + + +

S

+
+
saveFromResponse(HttpUrl, List<Cookie>) - Method in class okhttp3.RecordingCookieJar
+
 
+
sink(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
+
 
+
size(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
+
 
+
source(File) - Method in class okhttp3.internal.io.InMemoryFileSystem
+
 
+
+ + + +

T

+
+
takeResponseCookies() - Method in class okhttp3.RecordingCookieJar
+
 
+
testRunFinished(Result) - Method in class okhttp3.testing.InstallUncaughtExceptionHandlerListener
+
 
+
testRunStarted(Description) - Method in class okhttp3.testing.InstallUncaughtExceptionHandlerListener
+
 
+
testStarted(Description) - Method in class okhttp3.testing.InstallUncaughtExceptionHandlerListener
+
 
+
+ + + +

V

+
+
verify(String, SSLSession) - Method in class okhttp3.testing.RecordingHostnameVerifier
+
 
+
+A C D E I L O R S T V 
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-testing-support/index.html b/3.x/okhttp-testing-support/index.html new file mode 100644 index 000000000..ed36b0ac8 --- /dev/null +++ b/3.x/okhttp-testing-support/index.html @@ -0,0 +1,75 @@ + + + + + + +OkHttp test support classes 3.0.0-RC1 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/RecordingCookieJar.html b/3.x/okhttp-testing-support/okhttp3/RecordingCookieJar.html new file mode 100644 index 000000000..95db0007a --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/RecordingCookieJar.html @@ -0,0 +1,355 @@ + + + + + + +RecordingCookieJar (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class RecordingCookieJar

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    CookieJar
    +
    +
    +
    +
    public final class RecordingCookieJar
    +extends Object
    +implements CookieJar
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RecordingCookieJar

        +
        public RecordingCookieJar()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..42b7d6907 --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/class-use/RecordingCookieJar.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class okhttp3.RecordingCookieJar (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.RecordingCookieJar

+
+
No usage of okhttp3.RecordingCookieJar
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..aed18b1ac --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/internal/io/InMemoryFileSystem.html @@ -0,0 +1,472 @@ + + + + + + +InMemoryFileSystem (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3.internal.io
+

Class InMemoryFileSystem

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..fc93b1f07 --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/internal/io/class-use/InMemoryFileSystem.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class okhttp3.internal.io.InMemoryFileSystem (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.internal.io.InMemoryFileSystem

+
+
No usage of okhttp3.internal.io.InMemoryFileSystem
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..576b84089 --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/internal/io/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +okhttp3.internal.io (OkHttp test support classes 3.0.0-RC1 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 new file mode 100644 index 000000000..ae1ce5003 --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/internal/io/package-summary.html @@ -0,0 +1,146 @@ + + + + + + +okhttp3.internal.io (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package okhttp3.internal.io

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..641031990 --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/internal/io/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +okhttp3.internal.io Class Hierarchy (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package okhttp3.internal.io

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..4ab0bc254 --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/internal/io/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Package okhttp3.internal.io (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
okhttp3.internal.io

+
+
No usage of okhttp3.internal.io
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..dbefdb72e --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +okhttp3 (OkHttp test support classes 3.0.0-RC1 API) + + + + + +

okhttp3

+
+

Classes

+ +
+ + diff --git a/3.x/okhttp-testing-support/okhttp3/package-summary.html b/3.x/okhttp-testing-support/okhttp3/package-summary.html new file mode 100644 index 000000000..6c8608d87 --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/package-summary.html @@ -0,0 +1,144 @@ + + + + + + +okhttp3 (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package okhttp3

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..134c332de --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +okhttp3 Class Hierarchy (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package okhttp3

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..e286f645e --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Package okhttp3 (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
okhttp3

+
+
No usage of okhttp3
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..6476a2072 --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/testing/InstallUncaughtExceptionHandlerListener.html @@ -0,0 +1,334 @@ + + + + + + +InstallUncaughtExceptionHandlerListener (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3.testing
+

Class 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/3.x/okhttp-testing-support/okhttp3/testing/RecordingHostnameVerifier.html b/3.x/okhttp-testing-support/okhttp3/testing/RecordingHostnameVerifier.html new file mode 100644 index 000000000..e54bab785 --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/testing/RecordingHostnameVerifier.html @@ -0,0 +1,320 @@ + + + + + + +RecordingHostnameVerifier (OkHttp test support classes 3.0.0-RC1 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 new file mode 100644 index 000000000..a409d8a72 --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/testing/class-use/InstallUncaughtExceptionHandlerListener.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class okhttp3.testing.InstallUncaughtExceptionHandlerListener (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.testing.InstallUncaughtExceptionHandlerListener

+
+
No usage of okhttp3.testing.InstallUncaughtExceptionHandlerListener
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..5edde2883 --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/testing/class-use/RecordingHostnameVerifier.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class okhttp3.testing.RecordingHostnameVerifier (OkHttp test support classes 3.0.0-RC1 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 new file mode 100644 index 000000000..2eee7a1fa --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/testing/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +okhttp3.testing (OkHttp test support classes 3.0.0-RC1 API) + + + + + +

okhttp3.testing

+
+

Classes

+ +
+ + diff --git a/3.x/okhttp-testing-support/okhttp3/testing/package-summary.html b/3.x/okhttp-testing-support/okhttp3/testing/package-summary.html new file mode 100644 index 000000000..4b1b4ddb8 --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/testing/package-summary.html @@ -0,0 +1,150 @@ + + + + + + +okhttp3.testing (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package okhttp3.testing

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..1a5432b29 --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/testing/package-tree.html @@ -0,0 +1,144 @@ + + + + + + +okhttp3.testing Class Hierarchy (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package okhttp3.testing

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..70379208d --- /dev/null +++ b/3.x/okhttp-testing-support/okhttp3/testing/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Package okhttp3.testing (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
okhttp3.testing

+
+
No usage of okhttp3.testing
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-testing-support/overview-frame.html b/3.x/okhttp-testing-support/overview-frame.html new file mode 100644 index 000000000..a90cb2b91 --- /dev/null +++ b/3.x/okhttp-testing-support/overview-frame.html @@ -0,0 +1,24 @@ + + + + + + +Overview List (OkHttp test support classes 3.0.0-RC1 API) + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/3.x/okhttp-testing-support/overview-summary.html b/3.x/okhttp-testing-support/overview-summary.html new file mode 100644 index 000000000..28523fe09 --- /dev/null +++ b/3.x/okhttp-testing-support/overview-summary.html @@ -0,0 +1,148 @@ + + + + + + +Overview (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

OkHttp test support classes 3.0.0-RC1 API

+
+
+ + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
okhttp3 
okhttp3.internal.io 
okhttp3.testing 
+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-testing-support/overview-tree.html b/3.x/okhttp-testing-support/overview-tree.html new file mode 100644 index 000000000..db24e73c3 --- /dev/null +++ b/3.x/okhttp-testing-support/overview-tree.html @@ -0,0 +1,148 @@ + + + + + + +Class Hierarchy (OkHttp test support classes 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-testing-support/package-list b/3.x/okhttp-testing-support/package-list new file mode 100644 index 000000000..02ca62acc --- /dev/null +++ b/3.x/okhttp-testing-support/package-list @@ -0,0 +1,3 @@ +okhttp3 +okhttp3.internal.io +okhttp3.testing diff --git a/3.x/okhttp-testing-support/script.js b/3.x/okhttp-testing-support/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/3.x/okhttp-testing-support/script.js @@ -0,0 +1,30 @@ +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 new file mode 100644 index 000000000..cebb4fd8d --- /dev/null +++ b/3.x/okhttp-testing-support/stylesheet.css @@ -0,0 +1,574 @@ +/* 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/3.x/okhttp-testing-support/version.txt b/3.x/okhttp-testing-support/version.txt new file mode 100644 index 000000000..e4ebb1de6 --- /dev/null +++ b/3.x/okhttp-testing-support/version.txt @@ -0,0 +1 @@ +3.0.0-RC1 \ No newline at end of file diff --git a/3.x/okhttp-urlconnection/META-INF/MANIFEST.MF b/3.x/okhttp-urlconnection/META-INF/MANIFEST.MF new file mode 100644 index 000000000..aaa8bf6f7 --- /dev/null +++ b/3.x/okhttp-urlconnection/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jwilson +Build-Jdk: 1.8.0_45 + diff --git a/3.x/okhttp-urlconnection/allclasses-frame.html b/3.x/okhttp-urlconnection/allclasses-frame.html new file mode 100644 index 000000000..7b98cc56b --- /dev/null +++ b/3.x/okhttp-urlconnection/allclasses-frame.html @@ -0,0 +1,24 @@ + + + + + + +All Classes (OkHttp URLConnection 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okhttp-urlconnection/allclasses-noframe.html b/3.x/okhttp-urlconnection/allclasses-noframe.html new file mode 100644 index 000000000..5daa73758 --- /dev/null +++ b/3.x/okhttp-urlconnection/allclasses-noframe.html @@ -0,0 +1,24 @@ + + + + + + +All Classes (OkHttp URLConnection 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okhttp-urlconnection/constant-values.html b/3.x/okhttp-urlconnection/constant-values.html new file mode 100644 index 000000000..da80639ff --- /dev/null +++ b/3.x/okhttp-urlconnection/constant-values.html @@ -0,0 +1,126 @@ + + + + + + +Constant Field Values (OkHttp URLConnection 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-urlconnection/deprecated-list.html b/3.x/okhttp-urlconnection/deprecated-list.html new file mode 100644 index 000000000..b4ff48e50 --- /dev/null +++ b/3.x/okhttp-urlconnection/deprecated-list.html @@ -0,0 +1,152 @@ + + + + + + +Deprecated List (OkHttp URLConnection 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+ +
+
+ + + +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-urlconnection/help-doc.html b/3.x/okhttp-urlconnection/help-doc.html new file mode 100644 index 000000000..86eb57408 --- /dev/null +++ b/3.x/okhttp-urlconnection/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +API Help (OkHttp URLConnection 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-urlconnection/index-all.html b/3.x/okhttp-urlconnection/index-all.html new file mode 100644 index 000000000..6b5ca0bea --- /dev/null +++ b/3.x/okhttp-urlconnection/index-all.html @@ -0,0 +1,243 @@ + + + + + + +Index (OkHttp URLConnection 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
A C I J L O S T  + + +

A

+
+
authenticate(Route, Response) - Method in class okhttp3.JavaNetAuthenticator
+
 
+
+ + + +

C

+
+
client() - Method in class okhttp3.OkUrlFactory
+
+
Deprecated.
+
clone() - Method in class okhttp3.OkUrlFactory
+
+
Deprecated.
+
Returns a copy of this stream handler factory that includes a shallow copy of the internal + HTTP client.
+
+
createURLStreamHandler(String) - Method in class okhttp3.OkUrlFactory
+
+
Deprecated.
+ +
+
+ + + +

I

+
+
INSTANCE - Static variable in class okhttp3.internal.SystemPropertiesConnectionPool
+
 
+
+ + + +

J

+
+
JavaNetAuthenticator - Class in okhttp3
+
+ +
+
JavaNetAuthenticator() - Constructor for class okhttp3.JavaNetAuthenticator
+
 
+
JavaNetCookieJar - Class in okhttp3.internal
+
+
A cookie jar that delegates to a CookieHandler.
+
+
JavaNetCookieJar(CookieHandler) - Constructor for class okhttp3.internal.JavaNetCookieJar
+
 
+
JavaNetHeaders - Class in okhttp3.internal
+
 
+
+ + + +

L

+
+
loadForRequest(HttpUrl) - Method in class okhttp3.internal.JavaNetCookieJar
+
 
+
+ + + +

O

+
+
okhttp3 - package okhttp3
+
 
+
okhttp3.internal - package okhttp3.internal
+
 
+
OkUrlFactory - Class in okhttp3
+
+
Deprecated. +
OkHttp will be dropping its ability to be used with HttpURLConnection in an + upcoming release. Applications that need this should either downgrade to the system's built-in + HttpURLConnection or upgrade to OkHttp's Request/Response API.
+
+
+
OkUrlFactory(OkHttpClient) - Constructor for class okhttp3.OkUrlFactory
+
+
Deprecated.
+
open(URL) - Method in class okhttp3.OkUrlFactory
+
+
Deprecated.
+
+ + + +

S

+
+
saveFromResponse(HttpUrl, List<Cookie>) - Method in class okhttp3.internal.JavaNetCookieJar
+
 
+
setClient(OkHttpClient) - Method in class okhttp3.OkUrlFactory
+
+
Deprecated.
+
SystemPropertiesConnectionPool - Class in okhttp3.internal
+
+
A shared connection pool that uses system properties for tuning parameters: + + + http.keepAlive true if HTTP and SPDY connections should be pooled at all.
+
+
+ + + +

T

+
+
toMultimap(Headers, String) - Static method in class okhttp3.internal.JavaNetHeaders
+
+
Returns an immutable map containing each field to its list of values.
+
+
+A C I J L O S T 
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-urlconnection/index.html b/3.x/okhttp-urlconnection/index.html new file mode 100644 index 000000000..19ea7dcc2 --- /dev/null +++ b/3.x/okhttp-urlconnection/index.html @@ -0,0 +1,75 @@ + + + + + + +OkHttp URLConnection 3.0.0-RC1 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-urlconnection/okhttp3/JavaNetAuthenticator.html b/3.x/okhttp-urlconnection/okhttp3/JavaNetAuthenticator.html new file mode 100644 index 000000000..3bac9fca8 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/JavaNetAuthenticator.html @@ -0,0 +1,303 @@ + + + + + + +JavaNetAuthenticator (OkHttp URLConnection 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class JavaNetAuthenticator

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-urlconnection/okhttp3/OkUrlFactory.html b/3.x/okhttp-urlconnection/okhttp3/OkUrlFactory.html new file mode 100644 index 000000000..1a1987765 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/OkUrlFactory.html @@ -0,0 +1,374 @@ + + + + + + +OkUrlFactory (OkHttp URLConnection 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class OkUrlFactory

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..d04f92ee0 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/class-use/JavaNetAuthenticator.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class okhttp3.JavaNetAuthenticator (OkHttp URLConnection 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.JavaNetAuthenticator

+
+
No usage of okhttp3.JavaNetAuthenticator
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..351fbdb78 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/class-use/OkUrlFactory.html @@ -0,0 +1,176 @@ + + + + + + +Uses of Class okhttp3.OkUrlFactory (OkHttp URLConnection 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.OkUrlFactory

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-urlconnection/okhttp3/internal/JavaNetCookieJar.html b/3.x/okhttp-urlconnection/okhttp3/internal/JavaNetCookieJar.html new file mode 100644 index 000000000..1d792b314 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/internal/JavaNetCookieJar.html @@ -0,0 +1,317 @@ + + + + + + +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 new file mode 100644 index 000000000..2ff89b6b3 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/internal/JavaNetHeaders.html @@ -0,0 +1,249 @@ + + + + + + +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 new file mode 100644 index 000000000..8cf0fd777 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/internal/SystemPropertiesConnectionPool.html @@ -0,0 +1,255 @@ + + + + + + +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 new file mode 100644 index 000000000..ce4474495 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/internal/class-use/JavaNetCookieJar.html @@ -0,0 +1,126 @@ + + + + + + +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 new file mode 100644 index 000000000..8aecc5f92 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/internal/class-use/JavaNetHeaders.html @@ -0,0 +1,126 @@ + + + + + + +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 new file mode 100644 index 000000000..6ad825345 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/internal/class-use/SystemPropertiesConnectionPool.html @@ -0,0 +1,126 @@ + + + + + + +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 new file mode 100644 index 000000000..570369376 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/internal/package-frame.html @@ -0,0 +1,23 @@ + + + + + + +okhttp3.internal (OkHttp URLConnection 3.0.0-RC1 API) + + + + + +

okhttp3.internal

+
+

Classes

+ +
+ + diff --git a/3.x/okhttp-urlconnection/okhttp3/internal/package-summary.html b/3.x/okhttp-urlconnection/okhttp3/internal/package-summary.html new file mode 100644 index 000000000..e6090a3c0 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/internal/package-summary.html @@ -0,0 +1,159 @@ + + + + + + +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 new file mode 100644 index 000000000..4379a0609 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/internal/package-tree.html @@ -0,0 +1,141 @@ + + + + + + +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 new file mode 100644 index 000000000..6f6f02fef --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/internal/package-use.html @@ -0,0 +1,126 @@ + + + + + + +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 new file mode 100644 index 000000000..45db477bc --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +okhttp3 (OkHttp URLConnection 3.0.0-RC1 API) + + + + + +

okhttp3

+
+

Classes

+ +
+ + diff --git a/3.x/okhttp-urlconnection/okhttp3/package-summary.html b/3.x/okhttp-urlconnection/okhttp3/package-summary.html new file mode 100644 index 000000000..9acaae44a --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/package-summary.html @@ -0,0 +1,153 @@ + + + + + + +okhttp3 (OkHttp URLConnection 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package okhttp3

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-urlconnection/okhttp3/package-tree.html b/3.x/okhttp-urlconnection/okhttp3/package-tree.html new file mode 100644 index 000000000..670f87b9a --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/package-tree.html @@ -0,0 +1,140 @@ + + + + + + +okhttp3 Class Hierarchy (OkHttp URLConnection 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package okhttp3

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-urlconnection/okhttp3/package-use.html b/3.x/okhttp-urlconnection/okhttp3/package-use.html new file mode 100644 index 000000000..b06d91634 --- /dev/null +++ b/3.x/okhttp-urlconnection/okhttp3/package-use.html @@ -0,0 +1,165 @@ + + + + + + +Uses of Package okhttp3 (OkHttp URLConnection 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
okhttp3

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-urlconnection/overview-frame.html b/3.x/okhttp-urlconnection/overview-frame.html new file mode 100644 index 000000000..2a7b8d49f --- /dev/null +++ b/3.x/okhttp-urlconnection/overview-frame.html @@ -0,0 +1,23 @@ + + + + + + +Overview List (OkHttp URLConnection 3.0.0-RC1 API) + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/3.x/okhttp-urlconnection/overview-summary.html b/3.x/okhttp-urlconnection/overview-summary.html new file mode 100644 index 000000000..8fcda2f0b --- /dev/null +++ b/3.x/okhttp-urlconnection/overview-summary.html @@ -0,0 +1,144 @@ + + + + + + +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 new file mode 100644 index 000000000..a5d9e03dd --- /dev/null +++ b/3.x/okhttp-urlconnection/overview-tree.html @@ -0,0 +1,144 @@ + + + + + + +Class Hierarchy (OkHttp URLConnection 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-urlconnection/package-list b/3.x/okhttp-urlconnection/package-list new file mode 100644 index 000000000..a4a21955e --- /dev/null +++ b/3.x/okhttp-urlconnection/package-list @@ -0,0 +1,2 @@ +okhttp3 +okhttp3.internal diff --git a/3.x/okhttp-urlconnection/script.js b/3.x/okhttp-urlconnection/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/3.x/okhttp-urlconnection/script.js @@ -0,0 +1,30 @@ +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 new file mode 100644 index 000000000..cebb4fd8d --- /dev/null +++ b/3.x/okhttp-urlconnection/stylesheet.css @@ -0,0 +1,574 @@ +/* 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/3.x/okhttp-urlconnection/version.txt b/3.x/okhttp-urlconnection/version.txt new file mode 100644 index 000000000..e4ebb1de6 --- /dev/null +++ b/3.x/okhttp-urlconnection/version.txt @@ -0,0 +1 @@ +3.0.0-RC1 \ No newline at end of file diff --git a/3.x/okhttp-ws/META-INF/MANIFEST.MF b/3.x/okhttp-ws/META-INF/MANIFEST.MF new file mode 100644 index 000000000..aaa8bf6f7 --- /dev/null +++ b/3.x/okhttp-ws/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jwilson +Build-Jdk: 1.8.0_45 + diff --git a/3.x/okhttp-ws/allclasses-frame.html b/3.x/okhttp-ws/allclasses-frame.html new file mode 100644 index 000000000..dd7853697 --- /dev/null +++ b/3.x/okhttp-ws/allclasses-frame.html @@ -0,0 +1,22 @@ + + + + + + +All Classes (OkHttp Web Sockets 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okhttp-ws/allclasses-noframe.html b/3.x/okhttp-ws/allclasses-noframe.html new file mode 100644 index 000000000..00bfa69ee --- /dev/null +++ b/3.x/okhttp-ws/allclasses-noframe.html @@ -0,0 +1,22 @@ + + + + + + +All Classes (OkHttp Web Sockets 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okhttp-ws/constant-values.html b/3.x/okhttp-ws/constant-values.html new file mode 100644 index 000000000..a3d8029a7 --- /dev/null +++ b/3.x/okhttp-ws/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Constant Field Values (OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..6d82c8cc0 --- /dev/null +++ b/3.x/okhttp-ws/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Deprecated List (OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..c2143a682 --- /dev/null +++ b/3.x/okhttp-ws/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +API Help (OkHttp Web Sockets 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp-ws/index-all.html b/3.x/okhttp-ws/index-all.html new file mode 100644 index 000000000..5288e96f4 --- /dev/null +++ b/3.x/okhttp-ws/index-all.html @@ -0,0 +1,227 @@ + + + + + + +Index (OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..d398dd5ed --- /dev/null +++ b/3.x/okhttp-ws/index.html @@ -0,0 +1,72 @@ + + + + + + +OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..e66ab4071 --- /dev/null +++ b/3.x/okhttp-ws/okhttp3/ws/WebSocket.html @@ -0,0 +1,342 @@ + + + + + + +WebSocket (OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..5b529cb92 --- /dev/null +++ b/3.x/okhttp-ws/okhttp3/ws/WebSocketCall.html @@ -0,0 +1,285 @@ + + + + + + +WebSocketCall (OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..c1da93649 --- /dev/null +++ b/3.x/okhttp-ws/okhttp3/ws/WebSocketListener.html @@ -0,0 +1,323 @@ + + + + + + +WebSocketListener (OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..e8ce99f50 --- /dev/null +++ b/3.x/okhttp-ws/okhttp3/ws/class-use/WebSocket.html @@ -0,0 +1,152 @@ + + + + + + +Uses of Interface okhttp3.ws.WebSocket (OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..b8bac4e5a --- /dev/null +++ b/3.x/okhttp-ws/okhttp3/ws/class-use/WebSocketCall.html @@ -0,0 +1,152 @@ + + + + + + +Uses of Class okhttp3.ws.WebSocketCall (OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..09bfe4725 --- /dev/null +++ b/3.x/okhttp-ws/okhttp3/ws/class-use/WebSocketListener.html @@ -0,0 +1,151 @@ + + + + + + +Uses of Interface okhttp3.ws.WebSocketListener (OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..28f059a0e --- /dev/null +++ b/3.x/okhttp-ws/okhttp3/ws/package-frame.html @@ -0,0 +1,26 @@ + + + + + + +okhttp3.ws (OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..11712d3c2 --- /dev/null +++ b/3.x/okhttp-ws/okhttp3/ws/package-summary.html @@ -0,0 +1,165 @@ + + + + + + +okhttp3.ws (OkHttp Web Sockets 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package okhttp3.ws

+
+
+ +
+ +
+ + + + + + + +
+ + +

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 new file mode 100644 index 000000000..95a3316b4 --- /dev/null +++ b/3.x/okhttp-ws/okhttp3/ws/package-tree.html @@ -0,0 +1,138 @@ + + + + + + +okhttp3.ws Class Hierarchy (OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..1eb9f1ccd --- /dev/null +++ b/3.x/okhttp-ws/okhttp3/ws/package-use.html @@ -0,0 +1,152 @@ + + + + + + +Uses of Package okhttp3.ws (OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..d393108aa --- /dev/null +++ b/3.x/okhttp-ws/overview-tree.html @@ -0,0 +1,142 @@ + + + + + + +Class Hierarchy (OkHttp Web Sockets 3.0.0-RC1 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 new file mode 100644 index 000000000..ac850988d --- /dev/null +++ b/3.x/okhttp-ws/package-list @@ -0,0 +1 @@ +okhttp3.ws diff --git a/3.x/okhttp-ws/script.js b/3.x/okhttp-ws/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/3.x/okhttp-ws/script.js @@ -0,0 +1,30 @@ +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 new file mode 100644 index 000000000..cebb4fd8d --- /dev/null +++ b/3.x/okhttp-ws/stylesheet.css @@ -0,0 +1,574 @@ +/* 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/3.x/okhttp-ws/version.txt b/3.x/okhttp-ws/version.txt new file mode 100644 index 000000000..e4ebb1de6 --- /dev/null +++ b/3.x/okhttp-ws/version.txt @@ -0,0 +1 @@ +3.0.0-RC1 \ No newline at end of file diff --git a/3.x/okhttp/META-INF/MANIFEST.MF b/3.x/okhttp/META-INF/MANIFEST.MF new file mode 100644 index 000000000..aaa8bf6f7 --- /dev/null +++ b/3.x/okhttp/META-INF/MANIFEST.MF @@ -0,0 +1,6 @@ +Manifest-Version: 1.0 +Archiver-Version: Plexus Archiver +Created-By: Apache Maven +Built-By: jwilson +Build-Jdk: 1.8.0_45 + diff --git a/3.x/okhttp/allclasses-frame.html b/3.x/okhttp/allclasses-frame.html new file mode 100644 index 000000000..f7e523287 --- /dev/null +++ b/3.x/okhttp/allclasses-frame.html @@ -0,0 +1,65 @@ + + + + + + +All Classes (OkHttp 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okhttp/allclasses-noframe.html b/3.x/okhttp/allclasses-noframe.html new file mode 100644 index 000000000..f7681eee8 --- /dev/null +++ b/3.x/okhttp/allclasses-noframe.html @@ -0,0 +1,65 @@ + + + + + + +All Classes (OkHttp 3.0.0-RC1 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/3.x/okhttp/constant-values.html b/3.x/okhttp/constant-values.html new file mode 100644 index 000000000..be8f2f2c5 --- /dev/null +++ b/3.x/okhttp/constant-values.html @@ -0,0 +1,124 @@ + + + + + + +Constant Field Values (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/deprecated-list.html b/3.x/okhttp/deprecated-list.html new file mode 100644 index 000000000..d36944001 --- /dev/null +++ b/3.x/okhttp/deprecated-list.html @@ -0,0 +1,148 @@ + + + + + + +Deprecated List (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+ +
+
+ + + +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/help-doc.html b/3.x/okhttp/help-doc.html new file mode 100644 index 000000000..9bbe16421 --- /dev/null +++ b/3.x/okhttp/help-doc.html @@ -0,0 +1,225 @@ + + + + + + +API Help (OkHttp 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/index-all.html b/3.x/okhttp/index-all.html new file mode 100644 index 000000000..93a5a19d0 --- /dev/null +++ b/3.x/okhttp/index-all.html @@ -0,0 +1,1784 @@ + + + + + + +Index (OkHttp 3.0.0-RC1 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 okhttp3.CertificatePinner.Builder
+
+
Pins certificates for hostname.
+
+
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 field with the specified value.
+
+
addEncoded(String, String) - Method in class okhttp3.FormBody.Builder
+
 
+
addEncodedPathSegment(String) - Method in class okhttp3.HttpUrl.Builder
+
 
+
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
+
 
+
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
+
 
+
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
+
+
Responds to an authentication challenge from either a remote web server or a 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.
+
+
+ + + +

B

+
+
basic(String, String) - Static method in class okhttp3.Credentials
+
+
Returns an auth credential for the Basic scheme.
+
+
body() - Method in class okhttp3.Request
+
 
+
body() - Method in class okhttp3.Response
+
 
+
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() - 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
+
 
+
bytes() - Method in class okhttp3.ResponseBody
+
 
+
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
+
 
+
cache(Cache) - Method in class okhttp3.OkHttpClient.Builder
+
 
+
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.Factory - Interface in okhttp3
+
 
+
Callback - Interface in okhttp3
+
 
+
cancel() - Method in interface okhttp3.Call
+
+
Cancels the request, if possible.
+
+
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 2617 challenge.
+
+
Challenge(String, String) - Constructor for class okhttp3.Challenge
+
 
+
challenges() - Method in class okhttp3.Response
+
+
Returns the authorization challenges appropriate for this response's code.
+
+
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 this media type doesn't + specify a charset.
+
+
charStream() - Method in class okhttp3.ResponseBody
+
+
Returns the response as a character stream decoded with the charset of the Content-Type header.
+
+
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 - Enum 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.
+
+
close() - Method in class okhttp3.Cache
+
 
+
close() - Method in class okhttp3.ResponseBody
+
 
+
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 connection for interop with obsolete servers.
+
+
Connection - Interface in okhttp3
+
+
The sockets and streams of an HTTP, HTTPS, or HTTPS+SPDY connection.
+
+
connection() - Method in interface okhttp3.Interceptor.Chain
+
 
+
connectionCount() - Method in class okhttp3.ConnectionPool
+
+
Returns total number of connections in the pool.
+
+
ConnectionPool - Class in okhttp3
+
+
Manages reuse of HTTP and SPDY 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
+
 
+
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
+
 
+
connectTimeout(long, TimeUnit) - Method in class okhttp3.OkHttpClient.Builder
+
+
Sets the default connect timeout for new connections.
+
+
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 out 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(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, 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
+
 
+
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
+
 
+
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
+
 
+
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.Challenge
+
 
+
equals(Object) - Method in class okhttp3.ConnectionSpec
+
 
+
equals(Object) - Method in class okhttp3.Handshake
+
 
+
equals(Object) - Method in class okhttp3.HttpUrl
+
 
+
equals(Object) - Method in class okhttp3.MediaType
+
 
+
equals(Object) - Method in class okhttp3.Route
+
 
+
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 enum 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
+
 
+
+ + + +

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(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 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.
+
+
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.Challenge
+
 
+
hashCode() - Method in class okhttp3.ConnectionSpec
+
 
+
hashCode() - Method in class okhttp3.Handshake
+
 
+
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(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.
+
+
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 + requests 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 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 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.
+
+
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
+
 
+
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 enum okhttp3.CipherSuite
+
+
Returns the Java name of this cipher suite.
+
+
javaName() - Method in enum okhttp3.TlsVersion
+
 
+
+ + + +

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
+
 
+
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 or null if it is unknown.
+
+
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 connection with extensions like SNI and ALPN available.
+
+
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 a modifiable 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.
+
+
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.
+
+
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
+
 
+
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
+
 
+
onFailure(Request, IOException) - Method in interface okhttp3.Callback
+
+
Called when the request could not be executed due to cancellation, a connectivity problem or + timeout.
+
+
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.
+
+
onResponse(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
+
 
+
pathSize() - Method in class okhttp3.HttpUrl
+
 
+
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 expires at the end of the current session.
+
+
pin(Certificate) - Static method in class okhttp3.CertificatePinner
+
+
Returns the SHA-1 of certificate's public key.
+
+
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
+
 
+
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
+
 
+
queryParameterNames() - Method in class okhttp3.HttpUrl
+
 
+
queryParameterValue(int) - Method in class okhttp3.HttpUrl
+
 
+
queryParameterValues(String) - Method in class okhttp3.HttpUrl
+
 
+
querySize() - Method in class okhttp3.HttpUrl
+
 
+
queuedCalls() - Method in class okhttp3.Dispatcher
+
+
Returns a snapshot of the calls currently awaiting execution.
+
+
queuedCallsCount() - Method in class okhttp3.Dispatcher
+
 
+
+ + + +

R

+
+
readTimeout(long, TimeUnit) - Method in class okhttp3.OkHttpClient.Builder
+
+
Sets the default read timeout for new connections.
+
+
readTimeoutMillis() - Method in class okhttp3.OkHttpClient
+
+
Default read timeout (in milliseconds).
+
+
realm() - Method in class okhttp3.Challenge
+
+
Returns the protection space.
+
+
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
+
 
+
removeHeader(String) - Method in class okhttp3.Response.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.Builder - Class in okhttp3
+
 
+
RequestBody - Class in okhttp3
+
 
+
RequestBody() - Constructor for class okhttp3.RequestBody
+
 
+
requestCount() - Method in class okhttp3.Cache
+
 
+
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
+
 
+
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.
+
+
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
+
 
+
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
+
+
Sets the socket factory used to secure HTTPS connections.
+
+
sslSocketFactory() - Method in class okhttp3.OkHttpClient
+
 
+
string() - Method in class okhttp3.ResponseBody
+
+
Returns the response as a string decoded with the charset of the Content-Type header.
+
+
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
+
 
+
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.
+
+
tag() - Method in class okhttp3.Request
+
 
+
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
+
 
+
toString() - Method in class okhttp3.CacheControl
+
 
+
toString() - Method in class okhttp3.Challenge
+
 
+
toString() - Method in class okhttp3.ConnectionSpec
+
 
+
toString() - Method in class okhttp3.Cookie
+
 
+
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
+
 
+
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
+
 
+
+ + + +

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.CipherSuite
+
+
Returns the enum constant of this type with the specified name.
+
+
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() - Static method in enum okhttp3.CipherSuite
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
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

+
+
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.
+
+
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 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/3.x/okhttp/index.html b/3.x/okhttp/index.html new file mode 100644 index 000000000..7bfbab3f9 --- /dev/null +++ b/3.x/okhttp/index.html @@ -0,0 +1,72 @@ + + + + + + +OkHttp 3.0.0-RC1 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 new file mode 100644 index 000000000..3a2de4d88 --- /dev/null +++ b/3.x/okhttp/okhttp3/Address.html @@ -0,0 +1,497 @@ + + + + + + +Address (OkHttp 3.0.0-RC1 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

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

        sslSocketFactory

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

        hostnameVerifier

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

        certificatePinner

        +
        public CertificatePinner certificatePinner()
        +
        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/3.x/okhttp/okhttp3/Authenticator.html b/3.x/okhttp/okhttp3/Authenticator.html new file mode 100644 index 000000000..7d86e69b5 --- /dev/null +++ b/3.x/okhttp/okhttp3/Authenticator.html @@ -0,0 +1,297 @@ + + + + + + +Authenticator (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Interface Authenticator

+
+
+
+
    +
  • +
    +
    +
    public interface Authenticator
    +
    Responds to an authentication challenge from either a remote web server or a proxy server. + Implementations may either attempt to satisfy the challenge by returning a request that includes + an authorization header, or they may refuse the challenge by returning null. In this case the + unauthenticated response will be returned to the caller that triggered it. + +

    When authentication is requested by an origin server, the response code is 401 and the + implementation should respond with a new request that sets the "Authorization" header. +

       
    +
    +    String credential = Credentials.basic(...)
    +    return response.request().newBuilder()
    +        .header("Authorization", credential)
    +        .build();
    + 
    + +

    Whn 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. +

       
    +
    +    String credential = Credentials.basic(...)
    +    return response.request().newBuilder()
    +        .header("Proxy-Authorization", credential)
    +        .build();
    + 
    + +

    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

        +
        Request authenticate(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.
        +
        +
        Throws:
        +
        IOException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/Cache.html b/3.x/okhttp/okhttp3/Cache.html new file mode 100644 index 000000000..d34ee0ad3 --- /dev/null +++ b/3.x/okhttp/okhttp3/Cache.html @@ -0,0 +1,598 @@ + + + + + + +Cache (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

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
        +
        +
      • +
      + + + +
        +
      • +

        writeAbortCount

        +
        public int writeAbortCount()
        +
      • +
      + + + +
        +
      • +

        writeSuccessCount

        +
        public int writeSuccessCount()
        +
      • +
      + + + + + + + +
        +
      • +

        maxSize

        +
        public long maxSize()
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        directory

        +
        public File directory()
        +
      • +
      + + + +
        +
      • +

        isClosed

        +
        public boolean isClosed()
        +
      • +
      + + + +
        +
      • +

        networkCount

        +
        public int networkCount()
        +
      • +
      + + + +
        +
      • +

        hitCount

        +
        public int hitCount()
        +
      • +
      + + + +
        +
      • +

        requestCount

        +
        public int requestCount()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/CacheControl.Builder.html b/3.x/okhttp/okhttp3/CacheControl.Builder.html new file mode 100644 index 000000000..0775d6e4a --- /dev/null +++ b/3.x/okhttp/okhttp3/CacheControl.Builder.html @@ -0,0 +1,409 @@ + + + + + + +CacheControl.Builder (OkHttp 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/CacheControl.html b/3.x/okhttp/okhttp3/CacheControl.html new file mode 100644 index 000000000..afa2b9a2f --- /dev/null +++ b/3.x/okhttp/okhttp3/CacheControl.html @@ -0,0 +1,509 @@ + + + + + + +CacheControl (OkHttp 3.0.0-RC1 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 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/3.x/okhttp/okhttp3/Call.Factory.html b/3.x/okhttp/okhttp3/Call.Factory.html new file mode 100644 index 000000000..3d1a5a6ba --- /dev/null +++ b/3.x/okhttp/okhttp3/Call.Factory.html @@ -0,0 +1,229 @@ + + + + + + +Call.Factory (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Interface Call.Factory

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    OkHttpClient
    +
    +
    +
    Enclosing interface:
    +
    Call
    +
    +
    +
    +
    public static interface Call.Factory
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/Call.html b/3.x/okhttp/okhttp3/Call.html new file mode 100644 index 000000000..1115cff78 --- /dev/null +++ b/3.x/okhttp/okhttp3/Call.html @@ -0,0 +1,351 @@ + + + + + + +Call (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Interface Call

+
+
+
+
    +
  • +
    +
    +
    public interface Call
    +
    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.
      +
      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.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      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. + +

        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

        +
        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

        +
        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()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/Callback.html b/3.x/okhttp/okhttp3/Callback.html new file mode 100644 index 000000000..608709754 --- /dev/null +++ b/3.x/okhttp/okhttp3/Callback.html @@ -0,0 +1,257 @@ + + + + + + +Callback (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

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/3.x/okhttp/okhttp3/CertificatePinner.Builder.html b/3.x/okhttp/okhttp3/CertificatePinner.Builder.html new file mode 100644 index 000000000..15d64fc35 --- /dev/null +++ b/3.x/okhttp/okhttp3/CertificatePinner.Builder.html @@ -0,0 +1,300 @@ + + + + + + +CertificatePinner.Builder (OkHttp 3.0.0-RC1 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 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/3.x/okhttp/okhttp3/CertificatePinner.html b/3.x/okhttp/okhttp3/CertificatePinner.html new file mode 100644 index 000000000..0c3ec8b1c --- /dev/null +++ b/3.x/okhttp/okhttp3/CertificatePinner.html @@ -0,0 +1,444 @@ + + + + + + +CertificatePinner (OkHttp 3.0.0-RC1 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 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 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", "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/3.x/okhttp/okhttp3/Challenge.html b/3.x/okhttp/okhttp3/Challenge.html new file mode 100644 index 000000000..50b9c9209 --- /dev/null +++ b/3.x/okhttp/okhttp3/Challenge.html @@ -0,0 +1,344 @@ + + + + + + +Challenge (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class Challenge

+
+
+ +
+
    +
  • +
    +
    +
    public final class Challenge
    +extends Object
    +
    An RFC 2617 challenge.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Challenge

        +
        public Challenge(String scheme,
        +                 String realm)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        scheme

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

        realm

        +
        public String realm()
        +
        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/3.x/okhttp/okhttp3/CipherSuite.html b/3.x/okhttp/okhttp3/CipherSuite.html new file mode 100644 index 000000000..f32c98151 --- /dev/null +++ b/3.x/okhttp/okhttp3/CipherSuite.html @@ -0,0 +1,1510 @@ + + + + + + +CipherSuite (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

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
        +
        +
      • +
      + + + +
        +
      • +

        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 enum + name which is always prefixed TLS_.
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/Connection.html b/3.x/okhttp/okhttp3/Connection.html new file mode 100644 index 000000000..28a2880f3 --- /dev/null +++ b/3.x/okhttp/okhttp3/Connection.html @@ -0,0 +1,325 @@ + + + + + + +Connection (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

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

      + + + +
        +
      • +

        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 or SPDY + connection the socket may be shared by multiple concurrent calls.
        +
      • +
      + + + +
        +
      • +

        handshake

        +
        Handshake handshake()
        +
        Returns the TLS handshake used to establish this connection, or null if the connection is not + HTTPS.
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/ConnectionPool.html b/3.x/okhttp/okhttp3/ConnectionPool.html new file mode 100644 index 000000000..1d896d2d5 --- /dev/null +++ b/3.x/okhttp/okhttp3/ConnectionPool.html @@ -0,0 +1,333 @@ + + + + + + +ConnectionPool (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

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.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      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. Note that prior to OkHttp 2.7 this included + only idle connections and SPDY connections. Since OkHttp 2.7 this includes all connections, + both active and inactive. Use idleConnectionCount() to count connections not currently + in use.
        +
      • +
      + + + +
        +
      • +

        evictAll

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

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/ConnectionSpec.Builder.html b/3.x/okhttp/okhttp3/ConnectionSpec.Builder.html new file mode 100644 index 000000000..26a9886c9 --- /dev/null +++ b/3.x/okhttp/okhttp3/ConnectionSpec.Builder.html @@ -0,0 +1,366 @@ + + + + + + +ConnectionSpec.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class ConnectionSpec.Builder

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    ConnectionSpec
    +
    +
    +
    +
    public static final class ConnectionSpec.Builder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/ConnectionSpec.html b/3.x/okhttp/okhttp3/ConnectionSpec.html new file mode 100644 index 000000000..3227d0176 --- /dev/null +++ b/3.x/okhttp/okhttp3/ConnectionSpec.html @@ -0,0 +1,458 @@ + + + + + + +ConnectionSpec (OkHttp 3.0.0-RC1 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.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/3.x/okhttp/okhttp3/Cookie.Builder.html b/3.x/okhttp/okhttp3/Cookie.Builder.html new file mode 100644 index 000000000..9fa158861 --- /dev/null +++ b/3.x/okhttp/okhttp3/Cookie.Builder.html @@ -0,0 +1,388 @@ + + + + + + +Cookie.Builder (OkHttp 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/Cookie.html b/3.x/okhttp/okhttp3/Cookie.html new file mode 100644 index 000000000..611cb1331 --- /dev/null +++ b/3.x/okhttp/okhttp3/Cookie.html @@ -0,0 +1,480 @@ + + + + + + +Cookie (OkHttp 3.0.0-RC1 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 expires 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

        +
        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.
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/CookieJar.html b/3.x/okhttp/okhttp3/CookieJar.html new file mode 100644 index 000000000..46d3873fc --- /dev/null +++ b/3.x/okhttp/okhttp3/CookieJar.html @@ -0,0 +1,300 @@ + + + + + + +CookieJar (OkHttp 3.0.0-RC1 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 be + 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/Credentials.html b/3.x/okhttp/okhttp3/Credentials.html new file mode 100644 index 000000000..d66bc70e9 --- /dev/null +++ b/3.x/okhttp/okhttp3/Credentials.html @@ -0,0 +1,243 @@ + + + + + + +Credentials (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

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/3.x/okhttp/okhttp3/Dispatcher.html b/3.x/okhttp/okhttp3/Dispatcher.html new file mode 100644 index 000000000..dc0c7bc48 --- /dev/null +++ b/3.x/okhttp/okhttp3/Dispatcher.html @@ -0,0 +1,430 @@ + + + + + + +Dispatcher (OkHttp 3.0.0-RC1 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.

        +
      • +
      + + + +
        +
      • +

        getMaxRequestsPerHost

        +
        public int getMaxRequestsPerHost()
        +
      • +
      + + + +
        +
      • +

        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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/Dns.html b/3.x/okhttp/okhttp3/Dns.html new file mode 100644 index 000000000..768196a42 --- /dev/null +++ b/3.x/okhttp/okhttp3/Dns.html @@ -0,0 +1,278 @@ + + + + + + +Dns (OkHttp 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/FormBody.Builder.html b/3.x/okhttp/okhttp3/FormBody.Builder.html new file mode 100644 index 000000000..fac9255a1 --- /dev/null +++ b/3.x/okhttp/okhttp3/FormBody.Builder.html @@ -0,0 +1,305 @@ + + + + + + +FormBody.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class FormBody.Builder

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    FormBody
    +
    +
    +
    +
    public static final class FormBody.Builder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/FormBody.html b/3.x/okhttp/okhttp3/FormBody.html new file mode 100644 index 000000000..693e24a55 --- /dev/null +++ b/3.x/okhttp/okhttp3/FormBody.html @@ -0,0 +1,391 @@ + + + + + + +FormBody (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class FormBody

+
+
+ +
+
    +
  • +
    +
    +
    public final class FormBody
    +extends RequestBody
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/Handshake.html b/3.x/okhttp/okhttp3/Handshake.html new file mode 100644 index 000000000..21be44463 --- /dev/null +++ b/3.x/okhttp/okhttp3/Handshake.html @@ -0,0 +1,392 @@ + + + + + + +Handshake (OkHttp 3.0.0-RC1 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. May return null if the response was cached + with a version of OkHttp prior to 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

        +
        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/3.x/okhttp/okhttp3/Headers.Builder.html b/3.x/okhttp/okhttp3/Headers.Builder.html new file mode 100644 index 000000000..ba5a22bb9 --- /dev/null +++ b/3.x/okhttp/okhttp3/Headers.Builder.html @@ -0,0 +1,357 @@ + + + + + + +Headers.Builder (OkHttp 3.0.0-RC1 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.
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        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/3.x/okhttp/okhttp3/Headers.html b/3.x/okhttp/okhttp3/Headers.html new file mode 100644 index 000000000..a3186a40f --- /dev/null +++ b/3.x/okhttp/okhttp3/Headers.html @@ -0,0 +1,447 @@ + + + + + + +Headers (OkHttp 3.0.0-RC1 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

        +
        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.
        +
      • +
      + + + +
        +
      • +

        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.
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        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/3.x/okhttp/okhttp3/HttpUrl.Builder.html b/3.x/okhttp/okhttp3/HttpUrl.Builder.html new file mode 100644 index 000000000..1337249cd --- /dev/null +++ b/3.x/okhttp/okhttp3/HttpUrl.Builder.html @@ -0,0 +1,614 @@ + + + + + + +HttpUrl.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class HttpUrl.Builder

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    HttpUrl
    +
    +
    +
    +
    public static final class HttpUrl.Builder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/HttpUrl.html b/3.x/okhttp/okhttp3/HttpUrl.html new file mode 100644 index 000000000..56a7eca17 --- /dev/null +++ b/3.x/okhttp/okhttp3/HttpUrl.html @@ -0,0 +1,1016 @@ + + + + + + +HttpUrl (OkHttp 3.0.0-RC1 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". 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 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 interpretted 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.
        +
      • +
      + + + +
        +
      • +

        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, or null if + the resulting URL is not well-formed.
        +
      • +
      + + + + + + + +
        +
      • +

        newBuilder

        +
        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

        +
        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/3.x/okhttp/okhttp3/Interceptor.Chain.html b/3.x/okhttp/okhttp3/Interceptor.Chain.html new file mode 100644 index 000000000..43d81474a --- /dev/null +++ b/3.x/okhttp/okhttp3/Interceptor.Chain.html @@ -0,0 +1,256 @@ + + + + + + +Interceptor.Chain (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Interface Interceptor.Chain

+
+
+
+
    +
  • +
    +
    Enclosing interface:
    +
    Interceptor
    +
    +
    +
    +
    public static interface Interceptor.Chain
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/Interceptor.html b/3.x/okhttp/okhttp3/Interceptor.html new file mode 100644 index 000000000..cb0b4a2d3 --- /dev/null +++ b/3.x/okhttp/okhttp3/Interceptor.html @@ -0,0 +1,248 @@ + + + + + + +Interceptor (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

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/3.x/okhttp/okhttp3/MediaType.html b/3.x/okhttp/okhttp3/MediaType.html new file mode 100644 index 000000000..77aac9094 --- /dev/null +++ b/3.x/okhttp/okhttp3/MediaType.html @@ -0,0 +1,368 @@ + + + + + + +MediaType (OkHttp 3.0.0-RC1 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 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/3.x/okhttp/okhttp3/MultipartBody.Builder.html b/3.x/okhttp/okhttp3/MultipartBody.Builder.html new file mode 100644 index 000000000..582240f31 --- /dev/null +++ b/3.x/okhttp/okhttp3/MultipartBody.Builder.html @@ -0,0 +1,394 @@ + + + + + + +MultipartBody.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class MultipartBody.Builder

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    MultipartBody
    +
    +
    +
    +
    public static final class MultipartBody.Builder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/MultipartBody.Part.html b/3.x/okhttp/okhttp3/MultipartBody.Part.html new file mode 100644 index 000000000..fe35cab9f --- /dev/null +++ b/3.x/okhttp/okhttp3/MultipartBody.Part.html @@ -0,0 +1,288 @@ + + + + + + +MultipartBody.Part (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class MultipartBody.Part

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    MultipartBody
    +
    +
    +
    +
    public static final class MultipartBody.Part
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/MultipartBody.html b/3.x/okhttp/okhttp3/MultipartBody.html new file mode 100644 index 000000000..18d0546d7 --- /dev/null +++ b/3.x/okhttp/okhttp3/MultipartBody.html @@ -0,0 +1,513 @@ + + + + + + +MultipartBody (OkHttp 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/OkHttpClient.Builder.html b/3.x/okhttp/okhttp3/OkHttpClient.Builder.html new file mode 100644 index 000000000..51d5fbb4c --- /dev/null +++ b/3.x/okhttp/okhttp3/OkHttpClient.Builder.html @@ -0,0 +1,753 @@ + + + + + + +OkHttpClient.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class OkHttpClient.Builder

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    OkHttpClient
    +
    +
    +
    +
    public static final class OkHttpClient.Builder
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Builder

        +
        public Builder()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        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.
        +
      • +
      + + + +
        +
      • +

        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.
        +
      • +
      + + + +
        +
      • +

        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.
        +
      • +
      + + + +
        +
      • +

        proxy

        +
        public OkHttpClient.Builder proxy(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 setProxy(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)
        +
        Sets the socket factory used to secure HTTPS connections. + +

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

        +
      • +
      + + + +
        +
      • +

        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 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 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.
        +
        +
      • +
      + + + + + + + +
        +
      • +

        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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/OkHttpClient.html b/3.x/okhttp/okhttp3/OkHttpClient.html new file mode 100644 index 000000000..e8d327ff0 --- /dev/null +++ b/3.x/okhttp/okhttp3/OkHttpClient.html @@ -0,0 +1,648 @@ + + + + + + +OkHttpClient (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class OkHttpClient

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Cloneable, Call.Factory
    +
    +
    +
    +
    public final class OkHttpClient
    +extends Object
    +implements Cloneable, Call.Factory
    +
    Factory for calls, which can be used to send HTTP requests and read their + responses. 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. + +

    To create an OkHttpClient with the default settings, use the default constructor. Or create a configured instance with OkHttpClient.Builder. To adjust an existing client before making a request, use newBuilder(). This example shows a call with a 30 second timeout: +

       
    +
    +   OkHttpClient client = ...
    +   OkHttpClient clientWith30sTimeout = client.newBuilder()
    +       .readTimeout(30, TimeUnit.SECONDS)
    +       .build();
    +   Response response = clientWith30sTimeout.newCall(request).execute();
    + 
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        OkHttpClient

        +
        public OkHttpClient()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        connectTimeoutMillis

        +
        public int connectTimeoutMillis()
        +
        Default connect timeout (in milliseconds).
        +
      • +
      + + + +
        +
      • +

        readTimeoutMillis

        +
        public int readTimeoutMillis()
        +
        Default read timeout (in milliseconds).
        +
      • +
      + + + +
        +
      • +

        writeTimeoutMillis

        +
        public int writeTimeoutMillis()
        +
        Default write timeout (in milliseconds).
        +
      • +
      + + + +
        +
      • +

        proxy

        +
        public Proxy proxy()
        +
      • +
      + + + + + + + +
        +
      • +

        cookieJar

        +
        public CookieJar cookieJar()
        +
      • +
      + + + +
        +
      • +

        cache

        +
        public Cache cache()
        +
      • +
      + + + +
        +
      • +

        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 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.
        +
      • +
      + + + +
        +
      • +

        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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/Protocol.html b/3.x/okhttp/okhttp3/Protocol.html new file mode 100644 index 000000000..21e80de70 --- /dev/null +++ b/3.x/okhttp/okhttp3/Protocol.html @@ -0,0 +1,441 @@ + + + + + + +Protocol (OkHttp 3.0.0-RC1 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
      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/3.x/okhttp/okhttp3/Request.Builder.html b/3.x/okhttp/okhttp3/Request.Builder.html new file mode 100644 index 000000000..06767f9fb --- /dev/null +++ b/3.x/okhttp/okhttp3/Request.Builder.html @@ -0,0 +1,541 @@ + + + + + + +Request.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class Request.Builder

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    Request
    +
    +
    +
    +
    public static class Request.Builder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/Request.html b/3.x/okhttp/okhttp3/Request.html new file mode 100644 index 000000000..c4bac5137 --- /dev/null +++ b/3.x/okhttp/okhttp3/Request.html @@ -0,0 +1,396 @@ + + + + + + +Request (OkHttp 3.0.0-RC1 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.
    +
  • +
+
+
+ +
+
+
    +
  • + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/RequestBody.html b/3.x/okhttp/okhttp3/RequestBody.html new file mode 100644 index 000000000..1196f801d --- /dev/null +++ b/3.x/okhttp/okhttp3/RequestBody.html @@ -0,0 +1,417 @@ + + + + + + +RequestBody (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class RequestBody

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RequestBody

        +
        public RequestBody()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        contentType

        +
        public abstract MediaType contentType()
        +
        Returns the Content-Type header for this body.
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        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,
        +                                 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/3.x/okhttp/okhttp3/Response.Builder.html b/3.x/okhttp/okhttp3/Response.Builder.html new file mode 100644 index 000000000..0cf32d9e3 --- /dev/null +++ b/3.x/okhttp/okhttp3/Response.Builder.html @@ -0,0 +1,459 @@ + + + + + + +Response.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

Class Response.Builder

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    Response
    +
    +
    +
    +
    public static class Response.Builder
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/Response.html b/3.x/okhttp/okhttp3/Response.html new file mode 100644 index 000000000..67a5e2bb7 --- /dev/null +++ b/3.x/okhttp/okhttp3/Response.html @@ -0,0 +1,589 @@ + + + + + + +Response (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
okhttp3
+

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()
        +
      • +
      + + + +
        +
      • +

        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

        +
        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/3.x/okhttp/okhttp3/ResponseBody.html b/3.x/okhttp/okhttp3/ResponseBody.html new file mode 100644 index 000000000..fd37ef58e --- /dev/null +++ b/3.x/okhttp/okhttp3/ResponseBody.html @@ -0,0 +1,478 @@ + + + + + + +ResponseBody (OkHttp 3.0.0-RC1 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 these resources + and may ultimately cause the application to slow down or crash. Close the response body by + calling either close(), byteStream().close(), or reader().close(). The bytes() and + string() methods both close the response body automatically. + +

    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

      + + + +
        +
      • +

        contentType

        +
        public abstract MediaType contentType()
        +
      • +
      + + + +
        +
      • +

        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()
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        charStream

        +
        public final Reader charStream()
        +
        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.
        +
      • +
      + + + +
        +
      • +

        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,
        +                                  BufferedSource content)
        +
        Returns a new response body that transmits content.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/Route.html b/3.x/okhttp/okhttp3/Route.html new file mode 100644 index 000000000..95d257219 --- /dev/null +++ b/3.x/okhttp/okhttp3/Route.html @@ -0,0 +1,371 @@ + + + + + + +Route (OkHttp 3.0.0-RC1 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.

    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        address

        +
        public Address address()
        +
      • +
      + + + +
        +
      • +

        proxy

        +
        public Proxy proxy()
        +
        Returns the Proxy of this route. + + Warning: This may disagree with Address.proxy 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/3.x/okhttp/okhttp3/TlsVersion.html b/3.x/okhttp/okhttp3/TlsVersion.html new file mode 100644 index 000000000..59d6f4230 --- /dev/null +++ b/3.x/okhttp/okhttp3/TlsVersion.html @@ -0,0 +1,392 @@ + + + + + + +TlsVersion (OkHttp 3.0.0-RC1 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 © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Address.html b/3.x/okhttp/okhttp3/class-use/Address.html new file mode 100644 index 000000000..914748665 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Address.html @@ -0,0 +1,162 @@ + + + + + + +Uses of Class okhttp3.Address (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Address

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Authenticator.html b/3.x/okhttp/okhttp3/class-use/Authenticator.html new file mode 100644 index 000000000..74ef8e536 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Authenticator.html @@ -0,0 +1,217 @@ + + + + + + +Uses of Interface okhttp3.Authenticator (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
okhttp3.Authenticator

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Cache.html b/3.x/okhttp/okhttp3/class-use/Cache.html new file mode 100644 index 000000000..da40e3f92 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Cache.html @@ -0,0 +1,162 @@ + + + + + + +Uses of Class okhttp3.Cache (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Cache

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..aadaaa3ee --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/CacheControl.Builder.html @@ -0,0 +1,190 @@ + + + + + + +Uses of Class okhttp3.CacheControl.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.CacheControl.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/CacheControl.html b/3.x/okhttp/okhttp3/class-use/CacheControl.html new file mode 100644 index 000000000..0c5977a90 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/CacheControl.html @@ -0,0 +1,205 @@ + + + + + + +Uses of Class okhttp3.CacheControl (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.CacheControl

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..a5686d796 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Call.Factory.html @@ -0,0 +1,152 @@ + + + + + + +Uses of Interface okhttp3.Call.Factory (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
okhttp3.Call.Factory

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Call.html b/3.x/okhttp/okhttp3/class-use/Call.html new file mode 100644 index 000000000..4c4c6ad77 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Call.html @@ -0,0 +1,176 @@ + + + + + + +Uses of Interface okhttp3.Call (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
okhttp3.Call

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Callback.html b/3.x/okhttp/okhttp3/class-use/Callback.html new file mode 100644 index 000000000..7940f61ed --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Callback.html @@ -0,0 +1,151 @@ + + + + + + +Uses of Interface okhttp3.Callback (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
okhttp3.Callback

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..b194b6de3 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/CertificatePinner.Builder.html @@ -0,0 +1,152 @@ + + + + + + +Uses of Class okhttp3.CertificatePinner.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.CertificatePinner.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/CertificatePinner.html b/3.x/okhttp/okhttp3/class-use/CertificatePinner.html new file mode 100644 index 000000000..d8375b330 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/CertificatePinner.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Class okhttp3.CertificatePinner (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.CertificatePinner

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Challenge.html b/3.x/okhttp/okhttp3/class-use/Challenge.html new file mode 100644 index 000000000..701cfd280 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Challenge.html @@ -0,0 +1,151 @@ + + + + + + +Uses of Class okhttp3.Challenge (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Challenge

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/CipherSuite.html b/3.x/okhttp/okhttp3/class-use/CipherSuite.html new file mode 100644 index 000000000..612cf419b --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/CipherSuite.html @@ -0,0 +1,203 @@ + + + + + + +Uses of Class okhttp3.CipherSuite (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.CipherSuite

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Connection.html b/3.x/okhttp/okhttp3/class-use/Connection.html new file mode 100644 index 000000000..f44143bbb --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Connection.html @@ -0,0 +1,149 @@ + + + + + + +Uses of Interface okhttp3.Connection (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
okhttp3.Connection

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/ConnectionPool.html b/3.x/okhttp/okhttp3/class-use/ConnectionPool.html new file mode 100644 index 000000000..95d35a9dc --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/ConnectionPool.html @@ -0,0 +1,164 @@ + + + + + + +Uses of Class okhttp3.ConnectionPool (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.ConnectionPool

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..f1d8e65fb --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/ConnectionSpec.Builder.html @@ -0,0 +1,173 @@ + + + + + + +Uses of Class okhttp3.ConnectionSpec.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.ConnectionSpec.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/ConnectionSpec.html b/3.x/okhttp/okhttp3/class-use/ConnectionSpec.html new file mode 100644 index 000000000..26ae03642 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/ConnectionSpec.html @@ -0,0 +1,239 @@ + + + + + + +Uses of Class okhttp3.ConnectionSpec (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.ConnectionSpec

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..cef826afa --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Cookie.Builder.html @@ -0,0 +1,181 @@ + + + + + + +Uses of Class okhttp3.Cookie.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Cookie.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Cookie.html b/3.x/okhttp/okhttp3/class-use/Cookie.html new file mode 100644 index 000000000..f5f3a2f9d --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Cookie.html @@ -0,0 +1,194 @@ + + + + + + +Uses of Class okhttp3.Cookie (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Cookie

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/CookieJar.html b/3.x/okhttp/okhttp3/class-use/CookieJar.html new file mode 100644 index 000000000..98d5f069f --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/CookieJar.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Interface okhttp3.CookieJar (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
okhttp3.CookieJar

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Credentials.html b/3.x/okhttp/okhttp3/class-use/Credentials.html new file mode 100644 index 000000000..ebee378d8 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Credentials.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Class okhttp3.Credentials (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Credentials

+
+
No usage of okhttp3.Credentials
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Dispatcher.html b/3.x/okhttp/okhttp3/class-use/Dispatcher.html new file mode 100644 index 000000000..ec9cf45e3 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Dispatcher.html @@ -0,0 +1,164 @@ + + + + + + +Uses of Class okhttp3.Dispatcher (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Dispatcher

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Dns.html b/3.x/okhttp/okhttp3/class-use/Dns.html new file mode 100644 index 000000000..820888949 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Dns.html @@ -0,0 +1,208 @@ + + + + + + +Uses of Interface okhttp3.Dns (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
okhttp3.Dns

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..fa0584b1a --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/FormBody.Builder.html @@ -0,0 +1,155 @@ + + + + + + +Uses of Class okhttp3.FormBody.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.FormBody.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/FormBody.html b/3.x/okhttp/okhttp3/class-use/FormBody.html new file mode 100644 index 000000000..14a42121f --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/FormBody.html @@ -0,0 +1,149 @@ + + + + + + +Uses of Class okhttp3.FormBody (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.FormBody

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Handshake.html b/3.x/okhttp/okhttp3/class-use/Handshake.html new file mode 100644 index 000000000..f84904aa6 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Handshake.html @@ -0,0 +1,183 @@ + + + + + + +Uses of Class okhttp3.Handshake (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Handshake

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..0b674645b --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Headers.Builder.html @@ -0,0 +1,173 @@ + + + + + + +Uses of Class okhttp3.Headers.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Headers.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Headers.html b/3.x/okhttp/okhttp3/class-use/Headers.html new file mode 100644 index 000000000..2c059f3b0 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Headers.html @@ -0,0 +1,215 @@ + + + + + + +Uses of Class okhttp3.Headers (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Headers

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..109da12cd --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/HttpUrl.Builder.html @@ -0,0 +1,258 @@ + + + + + + +Uses of Class okhttp3.HttpUrl.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.HttpUrl.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/HttpUrl.html b/3.x/okhttp/okhttp3/class-use/HttpUrl.html new file mode 100644 index 000000000..bb7f4826c --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/HttpUrl.html @@ -0,0 +1,230 @@ + + + + + + +Uses of Class okhttp3.HttpUrl (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.HttpUrl

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..d4a666cb1 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Interceptor.Chain.html @@ -0,0 +1,149 @@ + + + + + + +Uses of Interface okhttp3.Interceptor.Chain (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
okhttp3.Interceptor.Chain

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Interceptor.html b/3.x/okhttp/okhttp3/class-use/Interceptor.html new file mode 100644 index 000000000..9bc7f4e3d --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Interceptor.html @@ -0,0 +1,190 @@ + + + + + + +Uses of Interface okhttp3.Interceptor (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
okhttp3.Interceptor

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/MediaType.html b/3.x/okhttp/okhttp3/class-use/MediaType.html new file mode 100644 index 000000000..6f10b16da --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/MediaType.html @@ -0,0 +1,292 @@ + + + + + + +Uses of Class okhttp3.MediaType (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.MediaType

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..dc60a757b --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/MultipartBody.Builder.html @@ -0,0 +1,185 @@ + + + + + + +Uses of Class okhttp3.MultipartBody.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.MultipartBody.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..7034cef21 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/MultipartBody.Part.html @@ -0,0 +1,197 @@ + + + + + + +Uses of Class okhttp3.MultipartBody.Part (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.MultipartBody.Part

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/MultipartBody.html b/3.x/okhttp/okhttp3/class-use/MultipartBody.html new file mode 100644 index 000000000..c1803d4a9 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/MultipartBody.html @@ -0,0 +1,151 @@ + + + + + + +Uses of Class okhttp3.MultipartBody (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.MultipartBody

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..3b851ce76 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/OkHttpClient.Builder.html @@ -0,0 +1,285 @@ + + + + + + +Uses of Class okhttp3.OkHttpClient.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.OkHttpClient.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/OkHttpClient.html b/3.x/okhttp/okhttp3/class-use/OkHttpClient.html new file mode 100644 index 000000000..81e1dc25d --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/OkHttpClient.html @@ -0,0 +1,149 @@ + + + + + + +Uses of Class okhttp3.OkHttpClient (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.OkHttpClient

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Protocol.html b/3.x/okhttp/okhttp3/class-use/Protocol.html new file mode 100644 index 000000000..7822ab547 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Protocol.html @@ -0,0 +1,246 @@ + + + + + + +Uses of Class okhttp3.Protocol (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Protocol

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..a20f3767b --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Request.Builder.html @@ -0,0 +1,235 @@ + + + + + + +Uses of Class okhttp3.Request.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Request.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Request.html b/3.x/okhttp/okhttp3/class-use/Request.html new file mode 100644 index 000000000..20b4073e1 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Request.html @@ -0,0 +1,207 @@ + + + + + + +Uses of Class okhttp3.Request (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Request

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/RequestBody.html b/3.x/okhttp/okhttp3/class-use/RequestBody.html new file mode 100644 index 000000000..477c04bbf --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/RequestBody.html @@ -0,0 +1,271 @@ + + + + + + +Uses of Class okhttp3.RequestBody (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.RequestBody

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. 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 new file mode 100644 index 000000000..eac9de836 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Response.Builder.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Class okhttp3.Response.Builder (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Response.Builder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Response.html b/3.x/okhttp/okhttp3/class-use/Response.html new file mode 100644 index 000000000..1ef93d99d --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Response.html @@ -0,0 +1,217 @@ + + + + + + +Uses of Class okhttp3.Response (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Response

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/ResponseBody.html b/3.x/okhttp/okhttp3/class-use/ResponseBody.html new file mode 100644 index 000000000..ce49c0750 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/ResponseBody.html @@ -0,0 +1,191 @@ + + + + + + +Uses of Class okhttp3.ResponseBody (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.ResponseBody

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/Route.html b/3.x/okhttp/okhttp3/class-use/Route.html new file mode 100644 index 000000000..f263e1b48 --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/Route.html @@ -0,0 +1,167 @@ + + + + + + +Uses of Class okhttp3.Route (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.Route

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/class-use/TlsVersion.html b/3.x/okhttp/okhttp3/class-use/TlsVersion.html new file mode 100644 index 000000000..cbde110be --- /dev/null +++ b/3.x/okhttp/okhttp3/class-use/TlsVersion.html @@ -0,0 +1,203 @@ + + + + + + +Uses of Class okhttp3.TlsVersion (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
okhttp3.TlsVersion

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/package-frame.html b/3.x/okhttp/okhttp3/package-frame.html new file mode 100644 index 000000000..911604421 --- /dev/null +++ b/3.x/okhttp/okhttp3/package-frame.html @@ -0,0 +1,72 @@ + + + + + + +okhttp3 (OkHttp 3.0.0-RC1 API) + + + + + +

okhttp3

+
+

Interfaces

+ +

Classes

+ +

Enums

+ +
+ + diff --git a/3.x/okhttp/okhttp3/package-summary.html b/3.x/okhttp/okhttp3/package-summary.html new file mode 100644 index 000000000..f32cb8574 --- /dev/null +++ b/3.x/okhttp/okhttp3/package-summary.html @@ -0,0 +1,415 @@ + + + + + + +okhttp3 (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package okhttp3

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/package-tree.html b/3.x/okhttp/okhttp3/package-tree.html new file mode 100644 index 000000000..d8c40533d --- /dev/null +++ b/3.x/okhttp/okhttp3/package-tree.html @@ -0,0 +1,195 @@ + + + + + + +okhttp3 Class Hierarchy (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package okhttp3

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/okhttp3/package-use.html b/3.x/okhttp/okhttp3/package-use.html new file mode 100644 index 000000000..530c2e4d5 --- /dev/null +++ b/3.x/okhttp/okhttp3/package-use.html @@ -0,0 +1,343 @@ + + + + + + +Uses of Package okhttp3 (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
okhttp3

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/overview-tree.html b/3.x/okhttp/overview-tree.html new file mode 100644 index 000000000..f14e28008 --- /dev/null +++ b/3.x/okhttp/overview-tree.html @@ -0,0 +1,199 @@ + + + + + + +Class Hierarchy (OkHttp 3.0.0-RC1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2016. All Rights Reserved.

+ + diff --git a/3.x/okhttp/package-list b/3.x/okhttp/package-list new file mode 100644 index 000000000..80c510a07 --- /dev/null +++ b/3.x/okhttp/package-list @@ -0,0 +1 @@ +okhttp3 diff --git a/3.x/okhttp/script.js b/3.x/okhttp/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/3.x/okhttp/script.js @@ -0,0 +1,30 @@ +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 new file mode 100644 index 000000000..cebb4fd8d --- /dev/null +++ b/3.x/okhttp/stylesheet.css @@ -0,0 +1,574 @@ +/* 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/3.x/okhttp/version.txt b/3.x/okhttp/version.txt new file mode 100644 index 000000000..e4ebb1de6 --- /dev/null +++ b/3.x/okhttp/version.txt @@ -0,0 +1 @@ +3.0.0-RC1 \ No newline at end of file