@ParametersAreNonnullByDefault
See: Description
| Interface | Description |
|---|---|
| Authenticator |
Responds to an authentication challenge from either a remote web server or a proxy server.
|
| Call |
A call is a request that has been prepared for execution.
|
| Call.Factory | |
| Callback | |
| Connection |
The sockets and streams of an HTTP, HTTPS, or HTTPS+HTTP/2 connection.
|
| CookieJar |
Provides policy and persistence for HTTP cookies.
|
| Dns |
A domain name service that resolves IP addresses for host names.
|
| Interceptor |
Observes, modifies, and potentially short-circuits requests going out and the corresponding
responses coming back in.
|
| Interceptor.Chain | |
| OkCacheContainer |
An interface that allows OkHttp to detect that a
ResponseCache contains a Cache. |
| WebSocket |
A non-blocking interface to a web socket.
|
| WebSocket.Factory |
| Class | Description |
|---|---|
| Address |
A specification for a connection to an origin server.
|
| AndroidInternal |
Back doors to enable the use of OkHttp within the Android platform libraries.
|
| AndroidShimResponseCache |
A class provided for use by Android so that it can continue supporting a
ResponseCache
with stats. |
| AutobahnTester |
Exercises the web socket implementation against the Autobahn Testsuite.
|
| Cache |
Caches HTTP and HTTPS responses to the filesystem so they may be reused, saving time and
bandwidth.
|
| CacheControl |
A Cache-Control header with cache directives from a server or client.
|
| CacheControl.Builder |
Builds a
Cache-Control request header. |
| CertificatePinner |
Constrains which certificates are trusted.
|
| CertificatePinner.Builder |
Builds a configured certificate pinner.
|
| Challenge |
An RFC 2617 challenge.
|
| CipherSuite | |
| ConnectionPool |
Manages reuse of HTTP and HTTP/2 connections for reduced network latency.
|
| ConnectionSpec |
Specifies configuration for the socket connection that HTTP traffic travels through.
|
| ConnectionSpec.Builder | |
| Cookie |
An RFC 6265 Cookie.
|
| Cookie.Builder |
Builds a cookie.
|
| Credentials |
Factory for HTTP authorization credentials.
|
| Dispatcher |
Policy on when async requests are executed.
|
| FakeDns | |
| FakeProxySelector | |
| FakeSSLSession | |
| FormBody | |
| FormBody.Builder | |
| Handshake |
A record of a TLS handshake.
|
| Headers |
The header fields of a single HTTP message.
|
| Headers.Builder | |
| HttpUrl |
A uniform resource locator (URL) with a scheme of either
http or https. |
| HttpUrl.Builder | |
| JavaNetAuthenticator |
Adapts
Authenticator to Authenticator. |
| JavaNetCookieJar |
A cookie jar that delegates to a
CookieHandler. |
| MediaType |
An RFC 2045 Media Type, appropriate to describe
the content type of an HTTP request or response body.
|
| MultipartBody |
An RFC 2387-compliant request body.
|
| MultipartBody.Builder | |
| MultipartBody.Part | |
| OkHttpClient |
Factory for calls, which can be used to send HTTP requests and read their
responses.
|
| OkHttpClient.Builder | |
| OkUrlFactory | Deprecated
OkHttp will be dropping its ability to be used with
HttpURLConnection in an
upcoming release. |
| RecordingCookieJar | |
| RecordingHostnameVerifier | |
| Request |
An HTTP request.
|
| Request.Builder | |
| RequestBody | |
| Response |
An HTTP response.
|
| Response.Builder | |
| ResponseBody |
A one-shot stream from the origin server to the client application with the raw bytes of the
response body.
|
| Route |
The concrete route used by a connection to reach an abstract origin server.
|
| WebSocketListener |
| Enum | Description |
|---|---|
| Protocol |
Protocols that OkHttp implements for ALPN selection.
|
| TlsVersion |
Versions of TLS that can be offered when negotiating a secure socket.
|
Copyright © 2017. All Rights Reserved.