public static enum HealthMonitor.Type extends Enum<HealthMonitor.Type>
| Enum Constant and Description |
|---|
CONNECT |
HTTP |
HTTPS |
UNRECOGNIZED |
| Modifier and Type | Method and Description |
|---|---|
static HealthMonitor.Type |
fromValue(String type) |
static HealthMonitor.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthMonitor.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthMonitor.Type CONNECT
public static final HealthMonitor.Type HTTP
public static final HealthMonitor.Type HTTPS
public static final HealthMonitor.Type UNRECOGNIZED
public static HealthMonitor.Type[] values()
for (HealthMonitor.Type c : HealthMonitor.Type.values()) System.out.println(c);
public static HealthMonitor.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 static HealthMonitor.Type fromValue(String type)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.