public static enum RestListener.MediaTypes extends Enum<RestListener.MediaTypes>
Modifier and Type | Method and Description |
---|---|
static RestListener.MediaTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestListener.MediaTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestListener.MediaTypes XML
public static final RestListener.MediaTypes JSON
public static final RestListener.MediaTypes TEXT
public static RestListener.MediaTypes[] values()
for (RestListener.MediaTypes c : RestListener.MediaTypes.values()) System.out.println(c);
public static RestListener.MediaTypes 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 © 2023 Frank!Framework. All rights reserved.