public enum HttpPartType extends Enum<HttpPartType>
HttpPartSerializer.serialize(HttpPartType, Object)
.Enum Constant and Description |
---|
FORM_DATA
A form-data parameter
|
HEADER
An HTTP header
|
PATH
A URI path variable
|
QUERY
A URI query parameter
|
Modifier and Type | Method and Description |
---|---|
static HttpPartType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpPartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpPartType PATH
public static final HttpPartType QUERY
public static final HttpPartType FORM_DATA
public static final HttpPartType HEADER
public static HttpPartType[] values()
for (HttpPartType c : HttpPartType.values()) System.out.println(c);
public static HttpPartType 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 © 2018 Apache. All rights reserved.