Modifier and Type | Method and Description |
---|---|
static TlsVersion |
TlsVersion.forJavaName(String javaName) |
static TlsVersion |
TlsVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TlsVersion[] |
TlsVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<TlsVersion> |
ConnectionSpec.tlsVersions()
Returns the TLS versions to use when negotiating a connection.
|
Modifier and Type | Method and Description |
---|---|
ConnectionSpec.Builder |
ConnectionSpec.Builder.tlsVersions(TlsVersion... tlsVersions) |
Copyright © 2016. All Rights Reserved.