public interface JoinHeader extends Header, Parameters
The syntax of the Join header is described as follows: Join = "Join" HCOLON callid *(SEMI join-param) join-param = to-tag / from-tag / generic-param to-tag = "to-tag" EQUAL token from-tag = "from-tag" EQUAL token Examples: Join: 98732@sip.example.com ;from-tag=r33th4x0r ;to-tag=ff87ff Join: 12adf2f34456gs5;to-tag=12345;from-tag=54321 Join: 87134@192.0.2.23;to-tag=24796;from-tag=0
Modifier and Type | Method and Description |
---|---|
String |
getCallId()
Returns the Call-Id of JoinHeader.
|
String |
getFromTag()
Gets the from tag of JoinHeader.
|
String |
getToTag()
Gets to tag of JoinHeader.
|
void |
setCallId(String callId)
Sets the Call-Id of the JoinHeader.
|
void |
setFromTag(String tag)
Sets the from tag parameter of the JoinHeader.
|
void |
setToTag(String tag)
Sets the to tag parameter of the JoinHeader.
|
getParameter, getParameterNames, removeParameter, setParameter
static final String NAME
void setCallId(String callId) throws ParseException
callId
- the string value of the Call-Id of this JoinHeader.ParseException
- which signals that an error has been reached unexpectedly while
parsing the callId value.String getCallId()
void setFromTag(String tag) throws ParseException
tag
- the from tag of the JoinHeader.ParseException
- which signals that an error has been reached unexpectedly while
parsing the from tag value.String getFromTag()
void setToTag(String tag) throws ParseException
tag
- the new to tag of the JoinHeader.ParseException
- which signals that an error has been reached unexpectedly while
parsing the to tag value.String getToTag()