Package org.graylog2.inputs.codecs.gelf
Enum Class GELFMessage.Type
- All Implemented Interfaces:
Serializable
,Comparable<GELFMessage.Type>
,Constable
- Enclosing class:
- GELFMessage
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA chunked GELF messageA GZIP compressed message (RFC 1952)An uncompressed message, the byte values are not used.A ZLIB compressed message (RFC 1950) -
Method Summary
Modifier and TypeMethodDescriptionbyte
first()
byte
second()
static GELFMessage.Type
Returns the enum constant of this class with the specified name.static GELFMessage.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSUPPORTED
-
ZLIB
A ZLIB compressed message (RFC 1950) -
GZIP
A GZIP compressed message (RFC 1952) -
CHUNKED
A chunked GELF message -
UNCOMPRESSED
An uncompressed message, the byte values are not used.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
first
public byte first() -
second
public byte second()
-