|
JAIN-SIP 2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplacesHeader
Defines an interface for the SIP Replaces Header as defined in RFC 3891. The Replaces header is used to logically replace an existing SIP dialog with a new SIP dialog. This primitive can be used to enable a variety of features, for example: "Attended Transfer" and "Call Pickup".
Field Summary | |
---|---|
static String |
NAME
The header NAME. |
Method Summary | |
---|---|
String |
getCallId()
get the previously set call Id or Null if nothing has been set. |
String |
getFromTag()
Get the previously set From tag or |
String |
getToTag()
Get the previously set to tag or |
void |
setCallId(String callId)
Set the CallId of the Replaces header. |
void |
setFromTag(String tag)
Set the From tag of the Replaces header. |
void |
setToTag(String tag)
set the to tag of the Replaces header. |
Methods inherited from interface javax.sip.header.Parameters |
---|
getParameter, getParameter, getParameterNames, removeParameter, setParameter |
Methods inherited from interface javax.sip.header.Header |
---|
clone, equals, getName, getValue, hashCode, toString |
Field Detail |
---|
static final String NAME
Method Detail |
---|
void setToTag(String tag) throws ParseException, NullPointerException
tag
- - the tag to set.
NullPointerException
- if null tag is set.
ParseException
- if invalid characters are in the tag.void setFromTag(String tag) throws ParseException, NullPointerException
tag
- - the tag to set.
NullPointerException
- if null tag is set.
ParseException
- if invalid characters are in the tag.String getToTag()
String getFromTag()
void setCallId(String callId) throws ParseException, NullPointerException
callId
- - the callId to set.
NullPointerException
- if null tag is set.
ParseException
- if invalid characters are in the tag.String getCallId()
|
JAIN-SIP 2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |