Partager via


SupportedTlsVersions Class

public final class SupportedTlsVersions
extends ExpandableStringEnum<SupportedTlsVersions>

MinTlsVersion: configures the minimum version of TLS required for SSL requests.

Field Summary

Modifier and Type Field and Description
static final SupportedTlsVersions ONE_ONE

Static value 1.1 for SupportedTlsVersions.

static final SupportedTlsVersions ONE_THREE

Static value 1.3 for SupportedTlsVersions.

static final SupportedTlsVersions ONE_TWO

Static value 1.2 for SupportedTlsVersions.

static final SupportedTlsVersions ONE_ZERO

Static value 1.0 for SupportedTlsVersions.

Constructor Summary

Constructor Description
SupportedTlsVersions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SupportedTlsVersions value.

Method Summary

Modifier and Type Method and Description
static SupportedTlsVersions fromString(String name)

Creates or finds a SupportedTlsVersions from its string representation.

static Collection<SupportedTlsVersions> values()

Gets known SupportedTlsVersions values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ONE_ONE

public static final SupportedTlsVersions ONE_ONE

Static value 1.1 for SupportedTlsVersions.

ONE_THREE

public static final SupportedTlsVersions ONE_THREE

Static value 1.3 for SupportedTlsVersions.

ONE_TWO

public static final SupportedTlsVersions ONE_TWO

Static value 1.2 for SupportedTlsVersions.

ONE_ZERO

public static final SupportedTlsVersions ONE_ZERO

Static value 1.0 for SupportedTlsVersions.

Constructor Details

SupportedTlsVersions

@Deprecated
public SupportedTlsVersions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SupportedTlsVersions value.

Method Details

fromString

public static SupportedTlsVersions fromString(String name)

Creates or finds a SupportedTlsVersions from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SupportedTlsVersions.

values

public static Collection values()

Gets known SupportedTlsVersions values.

Returns:

known SupportedTlsVersions values.

Applies to