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