Package com.linkedin.alpini.base.misc
Enum HeaderNames
- java.lang.Object
-
- java.lang.Enum<HeaderNames>
-
- com.linkedin.alpini.base.misc.HeaderNames
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<HeaderNames>
public enum HeaderNames extends java.lang.Enum<HeaderNames>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHeaderNames.HeaderNamesProviderstatic interfaceHeaderNames.XClusterNamestatic interfaceHeaderNames.XErrorCauseClassstatic interfaceHeaderNames.XErrorCauseMessagestatic interfaceHeaderNames.XErrorClassstatic interfaceHeaderNames.XErrorInResponsestatic interfaceHeaderNames.XErrorMessagestatic interfaceHeaderNames.XMetricsstatic interfaceHeaderNames.XMultipartContentStatusstatic interfaceHeaderNames.XPartitionstatic interfaceHeaderNames.XRequestIdstatic interfaceHeaderNames.XResponseBoundarystatic interfaceHeaderNames.XReturnMetricsstatic interfaceHeaderNames.XServedBy
-
Enum Constant Summary
Enum Constants Enum Constant Description SINGLETON
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONTENT_LENGTHstatic java.lang.StringCONTENT_LOCATIONstatic java.lang.StringCONTENT_TYPEstatic java.lang.StringPROVIDER_CLASS_NAMEstatic java.lang.StringSERVERstatic java.lang.StringX_CLUSTER_NAMEstatic java.lang.StringX_ERROR_CAUSE_CLASSstatic java.lang.StringX_ERROR_CAUSE_MESSAGEstatic java.lang.StringX_ERROR_CLASSstatic java.lang.StringX_ERROR_IN_RESPONSEstatic java.lang.StringX_ERROR_MESSAGEstatic java.lang.StringX_METRICSstatic java.lang.StringX_MULTIPART_CONTENT_STATUSstatic java.lang.StringX_PARTITIONstatic java.lang.StringX_REQUEST_IDstatic java.lang.StringX_RETURN_METRICSstatic java.lang.StringX_SERVED_BYstatic java.lang.StringX_USE_RESPONSE_BOUNDARY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HeaderNamesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HeaderNames[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLETON
public static final HeaderNames SINGLETON
-
-
Field Detail
-
PROVIDER_CLASS_NAME
public static final java.lang.String PROVIDER_CLASS_NAME
- See Also:
- Constant Field Values
-
CONTENT_LOCATION
public static final java.lang.String CONTENT_LOCATION
- See Also:
- Constant Field Values
-
CONTENT_TYPE
public static final java.lang.String CONTENT_TYPE
- See Also:
- Constant Field Values
-
CONTENT_LENGTH
public static final java.lang.String CONTENT_LENGTH
- See Also:
- Constant Field Values
-
SERVER
public static final java.lang.String SERVER
- See Also:
- Constant Field Values
-
X_CLUSTER_NAME
public static final java.lang.String X_CLUSTER_NAME
-
X_ERROR_CLASS
public static final java.lang.String X_ERROR_CLASS
-
X_ERROR_MESSAGE
public static final java.lang.String X_ERROR_MESSAGE
-
X_ERROR_CAUSE_CLASS
public static final java.lang.String X_ERROR_CAUSE_CLASS
-
X_ERROR_CAUSE_MESSAGE
public static final java.lang.String X_ERROR_CAUSE_MESSAGE
-
X_ERROR_IN_RESPONSE
public static final java.lang.String X_ERROR_IN_RESPONSE
-
X_METRICS
public static final java.lang.String X_METRICS
-
X_MULTIPART_CONTENT_STATUS
public static final java.lang.String X_MULTIPART_CONTENT_STATUS
-
X_PARTITION
public static final java.lang.String X_PARTITION
-
X_REQUEST_ID
public static final java.lang.String X_REQUEST_ID
-
X_RETURN_METRICS
public static final java.lang.String X_RETURN_METRICS
-
X_SERVED_BY
public static final java.lang.String X_SERVED_BY
-
X_USE_RESPONSE_BOUNDARY
public static final java.lang.String X_USE_RESPONSE_BOUNDARY
-
-
Method Detail
-
values
public static HeaderNames[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HeaderNames c : HeaderNames.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HeaderNames valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-