APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.ssl

pack-priv final Enum ContentType

extends Enum<ContentType>
Class Inheritance

Enum for SSL/(D)TLS content types.

Field Summary

Modifier and TypeField and Description
public static final ContentType
public static final ContentType
public static final ContentType
public static final ContentType
pack-priv final byte
public static final ContentType
pack-priv final String
pack-priv final ProtocolVersion[]

Constructor Summary

AccessConstructor and Description
private
ContentType(byte id, String name, ProtocolVersion[] supportedProtocols)

Method Summary

Modifier and TypeMethod and Description
pack-priv static String
nameOf(byte id)

public static ContentType
pack-priv static ContentType
valueOf(byte id)

public static ContentType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ALERTback to summary
public static final ContentType ALERT
APPLICATION_DATAback to summary
public static final ContentType APPLICATION_DATA
CHANGE_CIPHER_SPECback to summary
public static final ContentType CHANGE_CIPHER_SPEC
HANDSHAKEback to summary
public static final ContentType HANDSHAKE
idback to summary
pack-priv final byte id
INVALIDback to summary
public static final ContentType INVALID
nameback to summary
pack-priv final String name

Hides java.lang.Enum.name.

supportedProtocolsback to summary
pack-priv final ProtocolVersion[] supportedProtocols

Constructor Detail

ContentTypeback to summary
private ContentType(byte id, String name, ProtocolVersion[] supportedProtocols)

Method Detail

nameOfback to summary
pack-priv static String nameOf(byte id)
valueOfback to summary
public static ContentType valueOf(String name)
valueOfback to summary
pack-priv static ContentType valueOf(byte id)
valuesback to summary
public static ContentType[] values()