public static enum SMProxySSLSocketFactory.InetHandling extends java.lang.Enum<SMProxySSLSocketFactory.InetHandling>
| Enum Constant and Description |
|---|
COMPAT
Compatible with previous versions of the toolkit.
|
HOSTNAME
An InetAddress will be created with a hostname
|
IPADDRESS
The InetAddress will be created with an IP Address
|
REJECT
The default setting, throws an exception if sockets are created with an InetAddress
|
| Modifier and Type | Method and Description |
|---|---|
static SMProxySSLSocketFactory.InetHandling |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SMProxySSLSocketFactory.InetHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMProxySSLSocketFactory.InetHandling HOSTNAME
public static final SMProxySSLSocketFactory.InetHandling IPADDRESS
public static final SMProxySSLSocketFactory.InetHandling REJECT
public static final SMProxySSLSocketFactory.InetHandling COMPAT
public static SMProxySSLSocketFactory.InetHandling[] values()
for (SMProxySSLSocketFactory.InetHandling c : SMProxySSLSocketFactory.InetHandling.values()) System.out.println(c);
public static SMProxySSLSocketFactory.InetHandling valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null