public static enum Http.HttpFormat extends Enum<Http.HttpFormat>
| Enum Constant and Description |
|---|
JSON_ARRAY |
JSON_META |
JSON_NEW_LINE |
| Modifier and Type | Method and Description |
|---|---|
static Http.HttpFormat |
fromStr(String str) |
static Http.HttpFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Http.HttpFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Http.HttpFormat JSON_META
public static final Http.HttpFormat JSON_ARRAY
public static final Http.HttpFormat JSON_NEW_LINE
public static Http.HttpFormat[] values()
for (Http.HttpFormat c : Http.HttpFormat.values()) System.out.println(c);
public static Http.HttpFormat 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 Http.HttpFormat fromStr(String str)
Copyright © 2015. All Rights Reserved.