Searched refs:sipHeader (Results 1 – 8 of 8) sorted by relevance
42 private SIPHeader sipHeader; field in HeaderIterator44 protected HeaderIterator(SIPMessage sipMessage, SIPHeader sipHeader) { in HeaderIterator() argument46 this.sipHeader = sipHeader; in HeaderIterator()50 if (sipHeader == null || index == 1) in next()54 return (Object) sipHeader; in next()58 if (sipHeader == null || index == 0) in previous()62 return (Object) sipHeader; in previous()82 if (this.sipHeader == null) in remove()85 this.sipHeader = null; in remove()86 this.sipMessage.removeHeader(sipHeader.getName()); in remove()
186 public static boolean isRequestHeader(SIPHeader sipHeader) { in isRequestHeader() argument187 return sipHeader instanceof AlertInfo || sipHeader instanceof InReplyTo in isRequestHeader()188 || sipHeader instanceof Authorization || sipHeader instanceof MaxForwards in isRequestHeader()189 || sipHeader instanceof UserAgent || sipHeader instanceof Priority in isRequestHeader()190 || sipHeader instanceof ProxyAuthorization || sipHeader instanceof ProxyRequire in isRequestHeader()191 || sipHeader instanceof ProxyRequireList || sipHeader instanceof Route in isRequestHeader()192 || sipHeader instanceof RouteList || sipHeader instanceof Subject in isRequestHeader()193 || sipHeader instanceof SIPIfMatch; in isRequestHeader()201 public static boolean isResponseHeader(SIPHeader sipHeader) { in isResponseHeader() argument202 return sipHeader instanceof ErrorInfo || sipHeader instanceof ProxyAuthenticate in isResponseHeader()[all …]
48 protected SIPHeader sipHeader; field in SIPDuplicateHeaderException58 return sipHeader; in getSIPHeader()61 public void setSIPHeader(SIPHeader sipHeader) { in setSIPHeader() argument62 this.sipHeader = sipHeader; in setSIPHeader()
138 static protected boolean hasList(SIPHeader sipHeader) { in hasList() argument139 if (sipHeader instanceof SIPHeaderList) in hasList()142 Class<?> headerClass = sipHeader.getClass(); in hasList()169 static protected SIPHeaderList<SIPHeader> getList(SIPHeader sipHeader) { in getList() argument173 Class<?> headerClass = sipHeader.getClass(); in getList()176 shl.setHeaderName(sipHeader.getName()); in getList()
335 HDR sipHeader = (HDR) it.next(); in debugDump() local336 sprint(indent + sipHeader.debugDump()); in debugDump()379 public void add(int index, HDR sipHeader) in add() argument381 hlist.add(index, sipHeader); in add()427 SIPHeader sipHeader = (SIPHeader) it.next(); in match() local433 found = sipHeader1.match(sipHeader); in match()502 SIPHeader sipHeader = (SIPHeader) iterator.next(); in encodeBody() local503 … if ( sipHeader == this ) throw new RuntimeException ("Unexpected circularity in SipHeaderList"); in encodeBody()504 sipHeader.encodeBody(buffer); in encodeBody()652 public HDR set(int position, HDR sipHeader) { in set() argument[all …]
1167 SIPHeader sipHeader = smp.parseSIPHeader(headerText.trim()); in createHeader() local1168 if (sipHeader instanceof SIPHeaderList) { in createHeader()1169 if (((SIPHeaderList) sipHeader).size() > 1) { in createHeader()1173 } else if (((SIPHeaderList) sipHeader).size() == 0) { in createHeader()1175 return (Header) ((SIPHeaderList) sipHeader) in createHeader()1186 return (Header) ((SIPHeaderList) sipHeader).getFirst(); in createHeader()1189 return (Header) sipHeader; in createHeader()
404 SIPHeader sipHeader = headerParser.parse(); in processHeader() local405 message.attachHeader(sipHeader, false); in processHeader()
398 ReferToHeader sipHeader = (ReferToHeader) sipRequest.getHeader(ReferTo.NAME); in processRequest() local399 if (sipHeader == null) { in processRequest()