public enum SerdeCollectionFormat extends java.lang.Enum<SerdeCollectionFormat>
List
parameters in
paths, queries, and headers.Enum Constant and Description |
---|
CSV
Comma separated values.
|
MULTI
Corresponds to multiple parameter instances instead of multiple values
for a single instance.
|
PIPES
Pipe(|) separated values.
|
SSV
Space separated values.
|
TSV
Tab separated values.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDelimiter()
Gets the delimiter used to join a list of parameters.
|
static SerdeCollectionFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SerdeCollectionFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerdeCollectionFormat CSV
public static final SerdeCollectionFormat SSV
public static final SerdeCollectionFormat TSV
public static final SerdeCollectionFormat PIPES
public static final SerdeCollectionFormat MULTI
public static SerdeCollectionFormat[] values()
for (SerdeCollectionFormat c : SerdeCollectionFormat.values()) System.out.println(c);
public static SerdeCollectionFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDelimiter()