public enum ManifestV3RouteProtocol extends Enum<ManifestV3RouteProtocol>
ManifestV3Route| Enum Constant and Description |
|---|
HTTP1
HTTP1 protocol
|
HTTP2
HTTP2 protocol
|
TCP
TCP protocol
|
| Modifier and Type | Method and Description |
|---|---|
static ManifestV3RouteProtocol |
from(String s) |
String |
getValue() |
String |
toString() |
static ManifestV3RouteProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ManifestV3RouteProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManifestV3RouteProtocol TCP
public static final ManifestV3RouteProtocol HTTP1
public static final ManifestV3RouteProtocol HTTP2
public static ManifestV3RouteProtocol[] values()
for (ManifestV3RouteProtocol c : ManifestV3RouteProtocol.values()) System.out.println(c);
public static ManifestV3RouteProtocol 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 static ManifestV3RouteProtocol from(String s)
public String getValue()
public String toString()
toString in class Enum<ManifestV3RouteProtocol>Copyright © 2024. All rights reserved.