Enum Class HttpProtocolStrategy
- All Implemented Interfaces:
Serializable,Comparable<HttpProtocolStrategy>,Constable,org.apache.nifi.components.DescribedValue
public enum HttpProtocolStrategy
extends Enum<HttpProtocolStrategy>
implements org.apache.nifi.components.DescribedValue
HTTP protocol configuration strategy
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<ApplicationLayerProtocol> private final Stringprivate final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateHttpProtocolStrategy(String displayName, String description, Set<ApplicationLayerProtocol> applicationLayerProtocols) -
Method Summary
Modifier and TypeMethodDescriptiongetValue()static HttpProtocolStrategyReturns the enum constant of this class with the specified name.static HttpProtocolStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HTTP_1_1
-
H2_HTTP_1_1
-
H2
-
-
Field Details
-
displayName
-
description
-
applicationLayerProtocols
-
-
Constructor Details
-
HttpProtocolStrategy
private HttpProtocolStrategy(String displayName, String description, Set<ApplicationLayerProtocol> applicationLayerProtocols)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
- Specified by:
getValuein interfaceorg.apache.nifi.components.DescribedValue
-
getDisplayName
- Specified by:
getDisplayNamein interfaceorg.apache.nifi.components.DescribedValue
-
getDescription
- Specified by:
getDescriptionin interfaceorg.apache.nifi.components.DescribedValue
-
getApplicationLayerProtocols
-