public static enum Message._Fields extends Enum<Message._Fields> implements org.apache.thrift.TFieldIdEnum
Enum Constant and Description |
---|
CONTENT_TYPE |
EPOCH |
HTTP_METHOD |
IS_DOING_MTOM |
IS_DOING_REST |
IS_DOING_SW_A |
MESSAGE |
MESSAGE_ID |
REQUEST_URI |
SOAP_ACTION |
TRANSPORT_HEADERS |
Modifier and Type | Method and Description |
---|---|
static Message._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static Message._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static Message._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static Message._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message._Fields MESSAGE_ID
public static final Message._Fields CONTENT_TYPE
public static final Message._Fields MESSAGE
public static final Message._Fields SOAP_ACTION
public static final Message._Fields EPOCH
public static final Message._Fields TRANSPORT_HEADERS
public static final Message._Fields REQUEST_URI
public static final Message._Fields IS_DOING_REST
public static final Message._Fields HTTP_METHOD
public static final Message._Fields IS_DOING_MTOM
public static final Message._Fields IS_DOING_SW_A
public static Message._Fields[] values()
for (Message._Fields c : Message._Fields.values()) System.out.println(c);
public static Message._Fields 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 static Message._Fields findByThriftId(int fieldId)
public static Message._Fields findByThriftIdOrThrow(int fieldId)
public static Message._Fields findByName(String name)
public short getThriftFieldId()
getThriftFieldId
in interface org.apache.thrift.TFieldIdEnum
public String getFieldName()
getFieldName
in interface org.apache.thrift.TFieldIdEnum
Copyright © 2017 WSO2. All rights reserved.