public enum ListenerProtocol extends Enum<ListenerProtocol>
Enum Constant and Description |
---|
HTTP |
HTTPS |
TCP |
TERMINATED_HTTPS |
Modifier and Type | Method and Description |
---|---|
static ListenerProtocol |
forValue(String value) |
static ListenerProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListenerProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListenerProtocol HTTP
public static final ListenerProtocol HTTPS
public static final ListenerProtocol TERMINATED_HTTPS
public static final ListenerProtocol TCP
public static ListenerProtocol[] values()
for (ListenerProtocol c : ListenerProtocol.values()) System.out.println(c);
public static ListenerProtocol 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 ListenerProtocol forValue(String value)
Copyright © 2017. All rights reserved.