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