Partilhar via


HttpConfigurationMethod Class

public final class HttpConfigurationMethod
extends ExpandableStringEnum<HttpConfigurationMethod>

The HTTP method to use.

Field Summary

Modifier and Type Field and Description
static final HttpConfigurationMethod GET

Static value Get for HttpConfigurationMethod.

static final HttpConfigurationMethod POST

Static value Post for HttpConfigurationMethod.

Constructor Summary

Constructor Description
HttpConfigurationMethod()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HttpConfigurationMethod value.

Method Summary

Modifier and Type Method and Description
static HttpConfigurationMethod fromString(String name)

Creates or finds a HttpConfigurationMethod from its string representation.

static Collection<HttpConfigurationMethod> values()

Gets known HttpConfigurationMethod values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GET

public static final HttpConfigurationMethod GET

Static value Get for HttpConfigurationMethod.

POST

public static final HttpConfigurationMethod POST

Static value Post for HttpConfigurationMethod.

Constructor Details

HttpConfigurationMethod

@Deprecated
public HttpConfigurationMethod()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HttpConfigurationMethod value.

Method Details

fromString

public static HttpConfigurationMethod fromString(String name)

Creates or finds a HttpConfigurationMethod from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding HttpConfigurationMethod.

values

public static Collection values()

Gets known HttpConfigurationMethod values.

Returns:

known HttpConfigurationMethod values.

Applies to