SipHeaderPrefix Class

public final class SipHeaderPrefix
extends ExpandableStringEnum<SipHeaderPrefix>

Specifies the SipHeaderPrefix used for custom SIP headers in Call Automation.

Field Summary

Modifier and Type Field and Description
static final SipHeaderPrefix X

Use the generic "X-" prefix.

static final SipHeaderPrefix X_MS_CUSTOM

Use the legacy "X-MS-Custom" prefix.

Constructor Summary

Constructor Description
SipHeaderPrefix()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SipHeaderPrefix value.

Method Summary

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

Creates or finds a SipHeaderPrefix from its string representation.

static Collection<SipHeaderPrefix> values()

Gets known SipHeaderPrefix values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

X

public static final SipHeaderPrefix X

Use the generic "X-" prefix.

X_MS_CUSTOM

public static final SipHeaderPrefix X_MS_CUSTOM

Use the legacy "X-MS-Custom" prefix.

Constructor Details

SipHeaderPrefix

@Deprecated
public SipHeaderPrefix()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SipHeaderPrefix value.

Method Details

fromString

public static SipHeaderPrefix fromString(String name)

Creates or finds a SipHeaderPrefix from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SipHeaderPrefix.

values

public static Collection<SipHeaderPrefix> values()

Gets known SipHeaderPrefix values.

Returns:

known SipHeaderPrefix values.

Applies to