SipHeaderPrefix Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. communication. callautomation. models. SipHeaderPrefix
- com.
- com.
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
Sip |
X
Use the generic "X-" prefix. |
|
static final
Sip |
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 Sip |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sip |
fromString(String name)
Creates or finds a Sip |
|
static
Collection<Sip |
values()
Gets known Sip |
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
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:
Returns:
values
public static Collection<SipHeaderPrefix> values()
Gets known SipHeaderPrefix values.
Returns: