public enum HttpProtocolStrategy extends Enum<HttpProtocolStrategy> implements DescribedValue
| Enum Constant and Description |
|---|
H2 |
H2_HTTP_1_1 |
HTTP_1_1 |
| Modifier and Type | Field and Description |
|---|---|
private Set<ApplicationLayerProtocol> |
applicationLayerProtocols |
private String |
description |
private String |
displayName |
| Modifier and Type | Method and Description |
|---|---|
Set<ApplicationLayerProtocol> |
getApplicationLayerProtocols() |
String |
getDescription() |
String |
getDisplayName() |
String |
getValue() |
static HttpProtocolStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpProtocolStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpProtocolStrategy HTTP_1_1
public static final HttpProtocolStrategy H2_HTTP_1_1
public static final HttpProtocolStrategy H2
private final String displayName
private final String description
private final Set<ApplicationLayerProtocol> applicationLayerProtocols
public static HttpProtocolStrategy[] values()
for (HttpProtocolStrategy c : HttpProtocolStrategy.values()) System.out.println(c);
public static HttpProtocolStrategy 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 String getValue()
getValue in interface DescribedValuepublic String getDisplayName()
getDisplayName in interface DescribedValuepublic String getDescription()
getDescription in interface DescribedValuepublic Set<ApplicationLayerProtocol> getApplicationLayerProtocols()
Copyright © 2023 Apache NiFi Project. All rights reserved.