public static enum Proxy.Type extends Enum<Proxy.Type>
| Enum Constant and Description |
|---|
direct
Прямое соединение
|
http
http / ftp прокси
|
socks
socks прокси протокол
|
| Modifier and Type | Method and Description |
|---|---|
Proxy.Type |
get() |
static Proxy.Type |
get(Proxy.Type t) |
static Proxy.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Proxy.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Proxy.Type direct
public static final Proxy.Type http
public static final Proxy.Type socks
public static Proxy.Type[] values()
for (Proxy.Type c : Proxy.Type.values()) System.out.println(c);
public static Proxy.Type 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 Proxy.Type get()
public static Proxy.Type get(Proxy.Type t)
Copyright © 2017. All rights reserved.