public static enum GELFMessage.Type extends Enum<GELFMessage.Type>
| Enum Constant and Description |
|---|
CHUNKED
A chunked GELF message
|
GZIP
A GZIP compressed message (RFC 1952)
|
UNCOMPRESSED
An uncompressed message, the byte values are not used.
|
UNSUPPORTED |
ZLIB
A ZLIB compressed message (RFC 1950)
|
| Modifier and Type | Method and Description |
|---|---|
byte |
first() |
byte |
second() |
static GELFMessage.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GELFMessage.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GELFMessage.Type UNSUPPORTED
public static final GELFMessage.Type ZLIB
public static final GELFMessage.Type GZIP
public static final GELFMessage.Type CHUNKED
public static final GELFMessage.Type UNCOMPRESSED
public static GELFMessage.Type[] values()
for (GELFMessage.Type c : GELFMessage.Type.values()) System.out.println(c);
public static GELFMessage.Type 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 byte first()
public byte second()
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.