| Interface | Description |
|---|---|
| Authenticator |
Responds to authentication challenges from the remote web or proxy server.
|
| Callback | |
| Connection |
The sockets and streams of an HTTP, HTTPS, or HTTPS+SPDY connection.
|
| Dns |
A domain name service that resolves IP addresses for host names.
|
| Interceptor |
Observes, modifies, and potentially short-circuits requests going out and the corresponding
requests coming back in.
|
| Interceptor.Chain |
| Class | Description |
|---|---|
| Address |
A specification for a connection to an origin server.
|
| Cache |
Caches HTTP and HTTPS responses to the filesystem so they may be reused, saving time and
bandwidth.
|
| CacheControl |
A Cache-Control header with cache directives from a server or client.
|
| CacheControl.Builder |
Builds a
Cache-Control request header. |
| Call |
A call is a request that has been prepared for execution.
|
| CertificatePinner |
Constrains which certificates are trusted.
|
| CertificatePinner.Builder |
Builds a configured certificate pinner.
|
| Challenge |
An RFC 2617 challenge.
|
| ConnectionPool |
Manages reuse of HTTP and SPDY connections for reduced network latency.
|
| ConnectionSpec |
Specifies configuration for the socket connection that HTTP traffic travels through.
|
| ConnectionSpec.Builder | |
| Credentials |
Factory for HTTP authorization credentials.
|
| Dispatcher |
Policy on when async requests are executed.
|
| FormEncodingBuilder |
Fluent API to build HTML
2.0-compliant form data.
|
| Handshake |
A record of a TLS handshake.
|
| Headers |
The header fields of a single HTTP message.
|
| Headers.Builder | |
| HttpUrl |
A uniform resource locator (URL) with a scheme of either
http or https. |
| HttpUrl.Builder | |
| MediaType |
An RFC 2045 Media Type,
appropriate to describe the content type of an HTTP request or response body.
|
| MultipartBuilder |
Fluent API to build RFC
2387-compliant request bodies.
|
| OkHttpClient |
Configures and creates HTTP connections.
|
| Request |
An HTTP request.
|
| Request.Builder | |
| RequestBody | |
| Response |
An HTTP response.
|
| Response.Builder | |
| ResponseBody | |
| Route |
The concrete route used by a connection to reach an abstract origin server.
|
| Enum | Description |
|---|---|
| CipherSuite | |
| Protocol |
Protocols that OkHttp implements for ALPN
selection.
|
| TlsVersion |
Versions of TLS that can be offered when negotiating a secure socket.
|
Copyright © 2016. All Rights Reserved.