public enum HttpPartCollectionFormat extends Enum<HttpPartCollectionFormat>
Enum Constant and Description |
---|
CSV
Comma-separated values (e.g.
|
MULTI
Corresponds to multiple parameter instances instead of multiple values for a single instance (e.g.
|
NO_COLLECTION_FORMAT
Not specified.
|
PIPES
Pipe-separated values (e.g.
|
SSV
Space-separated values (e.g.
|
TSV
Tab-separated values (e.g.
|
UONC
UON collection notation (e.g.
|
Modifier and Type | Method and Description |
---|---|
static HttpPartCollectionFormat |
fromString(String value)
Create from lowercase string.
|
String |
toString() |
static HttpPartCollectionFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpPartCollectionFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpPartCollectionFormat CSV
public static final HttpPartCollectionFormat SSV
public static final HttpPartCollectionFormat TSV
public static final HttpPartCollectionFormat PIPES
public static final HttpPartCollectionFormat MULTI
public static final HttpPartCollectionFormat UONC
public static final HttpPartCollectionFormat NO_COLLECTION_FORMAT
public static HttpPartCollectionFormat[] values()
for (HttpPartCollectionFormat c : HttpPartCollectionFormat.values()) System.out.println(c);
public static HttpPartCollectionFormat 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 HttpPartCollectionFormat fromString(String value)
value
- The enum name.public String toString()
toString
in class Enum<HttpPartCollectionFormat>
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.