Address
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.
Constructors
Properties
Returns this address's certificate pinner, or null if this is not an HTTPS address.
Returns the hostname verifier, or null if this is not an HTTPS address.
Returns this address's explicitly-specified HTTP proxy, or null to delegate to the proxy selector.
Returns the client's proxy authenticator.
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.
Returns the socket factory for new connections.
Returns the SSL socket factory, or null if this is not an HTTPS address.