public enum TlsNameType extends java.lang.Enum<TlsNameType>
| Enum Constant | Description |
|---|---|
HOSTNAME |
| Modifier and Type | Method | Description |
|---|---|---|
short |
value() |
|
static TlsNameType |
valueOf(short value) |
Returns the enum constant of this type with the specified name.
|
static TlsNameType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TlsNameType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TlsNameType HOSTNAME
public static TlsNameType[] values()
for (TlsNameType c : TlsNameType.values()) System.out.println(c);
public static TlsNameType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic short value()
public static TlsNameType valueOf(short value)
value - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2016–2019. All rights reserved.