public enum ApplicationLayerProtocol extends Enum<ApplicationLayerProtocol>
| Modifier and Type | Method and Description |
|---|---|
String |
getProtocol() |
static ApplicationLayerProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationLayerProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationLayerProtocol HTTP_1_1
public static final ApplicationLayerProtocol H2
private String protocol
public static ApplicationLayerProtocol[] values()
for (ApplicationLayerProtocol c : ApplicationLayerProtocol.values()) System.out.println(c);
public static ApplicationLayerProtocol 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 getProtocol()
Copyright © 2022 Apache NiFi Project. All rights reserved.