public enum TlsContentType extends java.lang.Enum<TlsContentType>
| Enum Constant | Description |
|---|---|
ALERT |
|
APPLICATION_DATA |
|
CHANGE_CIPHER_SPEC |
|
HANDSHAKE |
| Modifier and Type | Method | Description |
|---|---|---|
short |
value() |
|
static TlsContentType |
valueOf(short value) |
Returns the enum constant of this type with the specified name.
|
static TlsContentType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TlsContentType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TlsContentType CHANGE_CIPHER_SPEC
public static final TlsContentType ALERT
public static final TlsContentType HANDSHAKE
public static final TlsContentType APPLICATION_DATA
public static TlsContentType[] values()
for (TlsContentType c : TlsContentType.values()) System.out.println(c);
public static TlsContentType 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 TlsContentType 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.