public enum MqttProxyProtocol extends Enum<MqttProxyProtocol>
MqttProxyConfig
.Enum Constant and Description |
---|
HTTP
HTTP CONNECT proxy protocol.
|
SOCKS_4
SOCKS4 proxy protocol.
|
SOCKS_5
SOCKS5 proxy protocol.
|
Modifier and Type | Method and Description |
---|---|
static MqttProxyProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttProxyProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MqttProxyProtocol SOCKS_4
public static final MqttProxyProtocol SOCKS_5
public static final MqttProxyProtocol HTTP
public static MqttProxyProtocol[] values()
for (MqttProxyProtocol c : MqttProxyProtocol.values()) System.out.println(c);
public static MqttProxyProtocol 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 null