public enum ThriftHeaderTransform extends Enum<ThriftHeaderTransform>
| Enum Constant and Description |
|---|
ZLIB_TRANSFORM |
| Modifier and Type | Method and Description |
|---|---|
static ThriftHeaderTransform |
fromId(int transformId) |
int |
getId() |
com.facebook.drift.transport.netty.codec.ThriftMessageTransformer |
getMessageTransformer() |
static ThriftHeaderTransform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThriftHeaderTransform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThriftHeaderTransform ZLIB_TRANSFORM
public static ThriftHeaderTransform[] values()
for (ThriftHeaderTransform c : ThriftHeaderTransform.values()) System.out.println(c);
public static ThriftHeaderTransform 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 int getId()
public static ThriftHeaderTransform fromId(int transformId)
public com.facebook.drift.transport.netty.codec.ThriftMessageTransformer getMessageTransformer()
Copyright © 2012–2020. All rights reserved.