public enum LinkHttpMethod extends Enum<LinkHttpMethod>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
CONNECT |
DELETE |
GET |
HEAD |
OPTIONS |
PATCH |
POST |
PUT |
| Modifier and Type | Method and Description |
|---|---|
static LinkHttpMethod |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static LinkHttpMethod |
fromString(String toConvert)
Returns the enum member associated with the given string value.
|
String |
toString()
Get string representation of this enum.
|
static List<String> |
toValue(List<LinkHttpMethod> toConvert)
Convert list of LinkHttpMethod values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static LinkHttpMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkHttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkHttpMethod GET
public static final LinkHttpMethod POST
public static final LinkHttpMethod PUT
public static final LinkHttpMethod DELETE
public static final LinkHttpMethod HEAD
public static final LinkHttpMethod CONNECT
public static final LinkHttpMethod OPTIONS
public static final LinkHttpMethod PATCH
public static final LinkHttpMethod _UNKNOWN
public static LinkHttpMethod[] values()
for (LinkHttpMethod c : LinkHttpMethod.values()) System.out.println(c);
public static LinkHttpMethod 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 LinkHttpMethod constructFromString(String toConvert) throws IOException
toConvert - String value to get enum member.IOException - when provided value is not mapped to any enum member.public static LinkHttpMethod fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<LinkHttpMethod>public static List<String> toValue(List<LinkHttpMethod> toConvert)
toConvert - The list of LinkHttpMethod values to convert.Copyright © 2025. All rights reserved.