public enum ProxySpec extends Enum<ProxySpec>
| Enum Constant and Description |
|---|
HTTP |
HTTP_AUTH |
SOCKS |
SOCKS_AUTH |
| Modifier and Type | Field and Description |
|---|---|
private String |
displayName |
private Proxy.Type |
proxyType |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
Proxy.Type |
getProxyType() |
static ProxySpec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxySpec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxySpec HTTP
public static final ProxySpec HTTP_AUTH
public static final ProxySpec SOCKS
public static final ProxySpec SOCKS_AUTH
private Proxy.Type proxyType
private String displayName
public static ProxySpec[] values()
for (ProxySpec c : ProxySpec.values()) System.out.println(c);
public static ProxySpec 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 getProxyType()
public String getDisplayName()
Copyright © 2019 Apache NiFi Project. All rights reserved.