public static enum DefaultBotOptions.ProxyType extends Enum<DefaultBotOptions.ProxyType>
| Modifier and Type | Method and Description |
|---|---|
static DefaultBotOptions.ProxyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultBotOptions.ProxyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultBotOptions.ProxyType NO_PROXY
public static final DefaultBotOptions.ProxyType HTTP
public static final DefaultBotOptions.ProxyType SOCKS4
public static final DefaultBotOptions.ProxyType SOCKS5
public static DefaultBotOptions.ProxyType[] values()
for (DefaultBotOptions.ProxyType c : DefaultBotOptions.ProxyType.values()) System.out.println(c);
public static DefaultBotOptions.ProxyType 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 nullCopyright © 2018. All rights reserved.