SipTargetedRequestType
The SipTargetedRequestType enum defines the types of targeted SIP requests, categorizing them based on the headers or URI format included in the request. These types help the container and application router identify the specific context of the targeted request.
Enum Constants:
JOIN
public static final SipTargetedRequestType JOIN
Indicates that the SIP request contains a Join header as specified in RFC 3911. The Join header allows the request to target and join an existing dialog.
REPLACES
public static final SipTargetedRequestType REPLACES
Indicates that the SIP request contains a Replaces header as specified in RFC 3891. The Replaces header allows the request to replace an existing dialog, typically when a call is being transferred.
ENCODED_URI
public static final SipTargetedRequestType ENCODED_URI
Indicates that the SIP request contains a Request-URI with an encoded URI. The encoded URI carries additional information about the target, such as routing instructions or application-specific data.
Methods:
values
public static final SipTargetedRequestType[] values()
The method returns an array containing all constants of the SipTargetedRequestType enum in the order they are declared. This method is used to iterate over all possible targeted request types.
Returns:
An array of all constants in the SipTargetedRequestType enum.
valueOf
public static SipTargetedRequestType valueOf(java.lang.String name)
The method converts a string into the corresponding SipTargetedRequestType enum constant. The input string must exactly match the name of one of the enum constants.
Parameters:
name: The name of the enum constant to retrieve. It must match exactly, including case sensitivity.
Returns:
The enum constant corresponding to the specified name.
Exceptions:
IllegalArgumentException: Thrown if no constant with the specified name exists in the enum.
NullPointerException: Thrown if the name parameter is null.
Methods inherited from class java.lang.Enum:
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf.
Methods inherited from class java.lang.Object:
finalize, getClass, notify, notifyAll, wait, wait, wait.
These methods are not overridden in this implementation.
Start innovating with Mobius
What's next? Let's talk!