JAIN-SIP 2.0 API

javax.sip.header
Interface JoinHeader

All Superinterfaces:
Cloneable, Header, Parameters, Serializable

public interface JoinHeader
extends Parameters, Header

Interface for the Join Header. See RFC 3911 for further details.

Since:
2.0
Version:
2.0
Author:
Oracle Inc., NIST

Field Summary
static String NAME
           
 
Method Summary
 String getCallId()
          Get the call ID field.
 String getFromTag()
          Get the from tag.
 String getToTag()
          Get the to To tag.
 void setCallId(String callId)
          Set the call Id.
 void setFromTag(String tag)
          Set the from tag for the Join header.
 void setToTag(String tag)
          Set the to tag for the Join 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

NAME

static final String NAME
See Also:
Constant Field Values
Method Detail

setToTag

void setToTag(String tag)
              throws ParseException
Set the to tag for the Join Header

Parameters:
tag - -- the tag to set.
Throws:
ParseException - if there is a problem with the tag.
NullPointerException - if the parameter is null.

setFromTag

void setFromTag(String tag)
                throws ParseException
Set the from tag for the Join header.

Parameters:
tag - -- the tag to set.
Throws:
ParseException - if there is a problem with the tag
NullPointerException - if the parameter is null

getToTag

String getToTag()
Get the to To tag.

Returns:
the to tag. Null if not set.

getFromTag

String getFromTag()
Get the from tag.

Returns:
the from tag. Null if not set.

setCallId

void setCallId(String callId)
               throws ParseException
Set the call Id.

Parameters:
callId - - the call Id for the header.
Throws:
ParseException - - if the character set is unacceptable.
NullPointerException - if the parameter is null.

getCallId

String getCallId()
Get the call ID field.

Returns:
the call Id field. Null if not set.

JAIN-SIP 2.0 API


See conditions of use.
Submit a bug report or feature request.