Package | Description |
---|---|
okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
okhttp3.internal.connection | |
okhttp3.internal.huc |
Modifier and Type | Field and Description |
---|---|
private Handshake |
Cache.Entry.handshake |
(package private) Handshake |
Response.handshake |
(package private) Handshake |
Response.Builder.handshake |
Modifier and Type | Method and Description |
---|---|
static Handshake |
Handshake.get(javax.net.ssl.SSLSession session) |
static Handshake |
Handshake.get(TlsVersion tlsVersion,
CipherSuite cipherSuite,
java.util.List<java.security.cert.Certificate> peerCertificates,
java.util.List<java.security.cert.Certificate> localCertificates) |
Handshake |
Connection.handshake()
Returns the TLS handshake used to establish this connection, or null if the connection is not
HTTPS.
|
Handshake |
Response.handshake()
Returns the TLS handshake of the connection that carried this response, or null if the response
was received without TLS.
|
Modifier and Type | Method and Description |
---|---|
Response.Builder |
Response.Builder.handshake(Handshake handshake) |
void |
EventListener.secureConnectEnd(Call call,
Handshake handshake)
Invoked immediately after a TLS connection was attempted.
|
Modifier and Type | Field and Description |
---|---|
private Handshake |
RealConnection.handshake |
Modifier and Type | Method and Description |
---|---|
Handshake |
RealConnection.handshake() |
Modifier and Type | Field and Description |
---|---|
(package private) Handshake |
OkHttpURLConnection.handshake |
Modifier and Type | Method and Description |
---|---|
protected abstract Handshake |
DelegatingHttpsURLConnection.handshake() |
protected Handshake |
OkHttpsURLConnection.handshake() |