Package | Description |
---|---|
okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
okhttp3.internal.connection | |
okhttp3.internal.huc |
Modifier and Type | Method and Description |
---|---|
static Handshake |
Handshake.get(SSLSession session) |
static Handshake |
Handshake.get(TlsVersion tlsVersion,
CipherSuite cipherSuite,
List<Certificate> peerCertificates,
List<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 | Method and Description |
---|---|
Handshake |
RealConnection.handshake() |
Modifier and Type | Method and Description |
---|---|
protected Handshake |
OkHttpsURLConnection.handshake() |
Copyright © 2018. All rights reserved.