public static enum ServiceInfo.ServiceInfoSecurity extends Enum<ServiceInfo.ServiceInfoSecurity>
enumeration defines the security information: off, one way, or dual.| Modifier and Type | Method and Description |
|---|---|
static ServiceInfo.ServiceInfoSecurity |
getByName(String name) |
String |
getName() |
static String |
getRegexp(ServiceInfo.ServiceInfoSecurity... excludedValues) |
boolean |
isSecured() |
boolean |
needsClientAuth() |
String |
toString() |
static ServiceInfo.ServiceInfoSecurity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceInfo.ServiceInfoSecurity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceInfo.ServiceInfoSecurity OFF
public static final ServiceInfo.ServiceInfoSecurity ONEWAY
public static final ServiceInfo.ServiceInfoSecurity DUAL
public static ServiceInfo.ServiceInfoSecurity[] values()
for (ServiceInfo.ServiceInfoSecurity c : ServiceInfo.ServiceInfoSecurity.values()) System.out.println(c);
public static ServiceInfo.ServiceInfoSecurity 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 String getName()
public String toString()
toString in class Enum<ServiceInfo.ServiceInfoSecurity>public boolean isSecured()
public boolean needsClientAuth()
public static ServiceInfo.ServiceInfoSecurity getByName(String name)
public static String getRegexp(ServiceInfo.ServiceInfoSecurity... excludedValues)