public enum SSLVersion extends Enum<SSLVersion>
| Modifier and Type | Method and Description |
|---|---|
static SSLVersion |
find(String name) |
static SSLVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SSLVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SSLVersion SSL
public static final SSLVersion SSLv3
public static final SSLVersion TLSv1
public static final SSLVersion TLSv1_1
public static final SSLVersion TLSv1_2
private String name
public static SSLVersion[] values()
for (SSLVersion c : SSLVersion.values()) System.out.println(c);
public static SSLVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SSLVersion find(String name)
Copyright © 2020. All rights reserved.