public static enum InfluxDB.ResponseFormat extends Enum<InfluxDB.ResponseFormat>
Enum Constant and Description |
---|
JSON
application/json format.
|
MSGPACK
application/x-msgpack format.
|
Modifier and Type | Method and Description |
---|---|
static InfluxDB.ResponseFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InfluxDB.ResponseFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfluxDB.ResponseFormat JSON
public static final InfluxDB.ResponseFormat MSGPACK
public static InfluxDB.ResponseFormat[] values()
for (InfluxDB.ResponseFormat c : InfluxDB.ResponseFormat.values()) System.out.println(c);
public static InfluxDB.ResponseFormat 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 nullCopyright © 2019. All rights reserved.