다음을 통해 공유


CorsRuleAllowedMethodsItem Class

public final class CorsRuleAllowedMethodsItem
extends ExpandableStringEnum<CorsRuleAllowedMethodsItem>

Defines values for CorsRuleAllowedMethodsItem.

Field Summary

Modifier and Type Field and Description
static final CorsRuleAllowedMethodsItem CONNECT

Static value CONNECT for CorsRuleAllowedMethodsItem.

static final CorsRuleAllowedMethodsItem DELETE

Static value DELETE for CorsRuleAllowedMethodsItem.

static final CorsRuleAllowedMethodsItem GET

Static value GET for CorsRuleAllowedMethodsItem.

static final CorsRuleAllowedMethodsItem HEAD

Static value HEAD for CorsRuleAllowedMethodsItem.

static final CorsRuleAllowedMethodsItem MERGE

Static value MERGE for CorsRuleAllowedMethodsItem.

static final CorsRuleAllowedMethodsItem OPTIONS

Static value OPTIONS for CorsRuleAllowedMethodsItem.

static final CorsRuleAllowedMethodsItem PATCH

Static value PATCH for CorsRuleAllowedMethodsItem.

static final CorsRuleAllowedMethodsItem POST

Static value POST for CorsRuleAllowedMethodsItem.

static final CorsRuleAllowedMethodsItem PUT

Static value PUT for CorsRuleAllowedMethodsItem.

static final CorsRuleAllowedMethodsItem TRACE

Static value TRACE for CorsRuleAllowedMethodsItem.

Constructor Summary

Constructor Description
CorsRuleAllowedMethodsItem()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CorsRuleAllowedMethodsItem value.

Method Summary

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

Creates or finds a CorsRuleAllowedMethodsItem from its string representation.

static Collection<CorsRuleAllowedMethodsItem> values()

Gets known CorsRuleAllowedMethodsItem values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONNECT

public static final CorsRuleAllowedMethodsItem CONNECT

Static value CONNECT for CorsRuleAllowedMethodsItem.

DELETE

public static final CorsRuleAllowedMethodsItem DELETE

Static value DELETE for CorsRuleAllowedMethodsItem.

GET

public static final CorsRuleAllowedMethodsItem GET

Static value GET for CorsRuleAllowedMethodsItem.

HEAD

public static final CorsRuleAllowedMethodsItem HEAD

Static value HEAD for CorsRuleAllowedMethodsItem.

MERGE

public static final CorsRuleAllowedMethodsItem MERGE

Static value MERGE for CorsRuleAllowedMethodsItem.

OPTIONS

public static final CorsRuleAllowedMethodsItem OPTIONS

Static value OPTIONS for CorsRuleAllowedMethodsItem.

PATCH

public static final CorsRuleAllowedMethodsItem PATCH

Static value PATCH for CorsRuleAllowedMethodsItem.

POST

public static final CorsRuleAllowedMethodsItem POST

Static value POST for CorsRuleAllowedMethodsItem.

PUT

public static final CorsRuleAllowedMethodsItem PUT

Static value PUT for CorsRuleAllowedMethodsItem.

TRACE

public static final CorsRuleAllowedMethodsItem TRACE

Static value TRACE for CorsRuleAllowedMethodsItem.

Constructor Details

CorsRuleAllowedMethodsItem

@Deprecated
public CorsRuleAllowedMethodsItem()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CorsRuleAllowedMethodsItem value.

Method Details

fromString

public static CorsRuleAllowedMethodsItem fromString(String name)

Creates or finds a CorsRuleAllowedMethodsItem from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CorsRuleAllowedMethodsItem.

values

public static Collection values()

Gets known CorsRuleAllowedMethodsItem values.

Returns:

known CorsRuleAllowedMethodsItem values.

Applies to