use of gov.nist.javax.sip.header.ViaList in project XobotOS by xamarin.
the class SIPMessage method setVia.
/**
* Set A list of via headers.
*
* @param viaList a list of via headers to add.
*/
public void setVia(java.util.List viaList) {
ViaList vList = new ViaList();
ListIterator it = viaList.listIterator();
while (it.hasNext()) {
Via via = (Via) it.next();
vList.add(via);
}
this.setHeader(vList);
}
Aggregations