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 interface
HeaderNames.HeaderNamesProvider
static interface
HeaderNames.XClusterName
static interface
HeaderNames.XErrorCauseClass
static interface
HeaderNames.XErrorCauseMessage
static interface
HeaderNames.XErrorClass
static interface
HeaderNames.XErrorInResponse
static interface
HeaderNames.XErrorMessage
static interface
HeaderNames.XMetrics
static interface
HeaderNames.XMultipartContentStatus
static interface
HeaderNames.XPartition
static interface
HeaderNames.XRequestId
static interface
HeaderNames.XResponseBoundary
static interface
HeaderNames.XReturnMetrics
static interface
HeaderNames.XServedBy
-
Enum Constant Summary
Enum Constants Enum Constant Description SINGLETON
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONTENT_LENGTH
static java.lang.String
CONTENT_LOCATION
static java.lang.String
CONTENT_TYPE
static java.lang.String
PROVIDER_CLASS_NAME
static java.lang.String
SERVER
static java.lang.String
X_CLUSTER_NAME
static java.lang.String
X_ERROR_CAUSE_CLASS
static java.lang.String
X_ERROR_CAUSE_MESSAGE
static java.lang.String
X_ERROR_CLASS
static java.lang.String
X_ERROR_IN_RESPONSE
static java.lang.String
X_ERROR_MESSAGE
static java.lang.String
X_METRICS
static java.lang.String
X_MULTIPART_CONTENT_STATUS
static java.lang.String
X_PARTITION
static java.lang.String
X_REQUEST_ID
static java.lang.String
X_RETURN_METRICS
static java.lang.String
X_SERVED_BY
static java.lang.String
X_USE_RESPONSE_BOUNDARY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HeaderNames
valueOf(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
-
-