public static enum Template.EncodingOptions extends Enum<Template.EncodingOptions>
Enum Constant and Description |
---|
NOT_REQUIRED |
REQUIRED |
Modifier and Type | Method and Description |
---|---|
boolean |
isEncodingRequired() |
static Template.EncodingOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Template.EncodingOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Template.EncodingOptions REQUIRED
public static final Template.EncodingOptions NOT_REQUIRED
public static Template.EncodingOptions[] values()
for (Template.EncodingOptions c : Template.EncodingOptions.values()) System.out.println(c);
public static Template.EncodingOptions 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 boolean isEncodingRequired()
Copyright © 2012–2020 OpenFeign. All rights reserved.