| Interface | Description |
|---|---|
| Connection |
The sockets and streams of an HTTP, HTTPS, or HTTPS+HTTP/2 connection.
|
| Class | Description |
|---|---|
| ConnectInterceptor |
Opens a connection to the target server and proceeds to the next intercept.
|
| 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 | |
| ConnectionSpecSelector |
Handles the connection spec fallback strategy: When a secure socket connection fails due to a
handshake / protocol problem the connection may be retried with different protocols.
|
| RealConnection | |
| RouteDatabase |
A blacklist of failed routes to avoid when creating a new connection to a target address.
|
| RouteSelector |
Selects routes to connect to an origin server.
|
| RouteSelector.Selection | |
| StreamAllocation |
This class coordinates the relationship between three entities:
Connections: physical socket connections to remote servers.
|
| StreamAllocation.StreamAllocationReference |
| Exception | Description |
|---|---|
| RouteException |
An exception thrown to indicate a problem connecting via a single Route.
|
Copyright © 2019. All rights reserved.