Home
last modified time | relevance | path

Searched refs:sipHeader (Results 1 – 8 of 8) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/message/
DHeaderIterator.java42 private SIPHeader sipHeader; field in HeaderIterator
44 protected HeaderIterator(SIPMessage sipMessage, SIPHeader sipHeader) { in HeaderIterator() argument
46 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()
DSIPMessage.java186 public static boolean isRequestHeader(SIPHeader sipHeader) { in isRequestHeader() argument
187 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() argument
202 return sipHeader instanceof ErrorInfo || sipHeader instanceof ProxyAuthenticate in isResponseHeader()
[all …]
DSIPDuplicateHeaderException.java48 protected SIPHeader sipHeader; field in SIPDuplicateHeaderException
58 return sipHeader; in getSIPHeader()
61 public void setSIPHeader(SIPHeader sipHeader) { in setSIPHeader() argument
62 this.sipHeader = sipHeader; in setSIPHeader()
DListMap.java138 static protected boolean hasList(SIPHeader sipHeader) { in hasList() argument
139 if (sipHeader instanceof SIPHeaderList) in hasList()
142 Class<?> headerClass = sipHeader.getClass(); in hasList()
169 static protected SIPHeaderList<SIPHeader> getList(SIPHeader sipHeader) { in getList() argument
173 Class<?> headerClass = sipHeader.getClass(); in getList()
176 shl.setHeaderName(sipHeader.getName()); in getList()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPHeaderList.java335 HDR sipHeader = (HDR) it.next(); in debugDump() local
336 sprint(indent + sipHeader.debugDump()); in debugDump()
379 public void add(int index, HDR sipHeader) in add() argument
381 hlist.add(index, sipHeader); in add()
427 SIPHeader sipHeader = (SIPHeader) it.next(); in match() local
433 found = sipHeader1.match(sipHeader); in match()
502 SIPHeader sipHeader = (SIPHeader) iterator.next(); in encodeBody() local
503 … 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 …]
DHeaderFactoryImpl.java1167 SIPHeader sipHeader = smp.parseSIPHeader(headerText.trim()); in createHeader() local
1168 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()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DStringMsgParser.java404 SIPHeader sipHeader = headerParser.parse(); in processHeader() local
405 message.attachHeader(sipHeader, false); in processHeader()
/external/nist-sip/java/gov/nist/javax/sip/
DDialogFilter.java398 ReferToHeader sipHeader = (ReferToHeader) sipRequest.getHeader(ReferTo.NAME); in processRequest() local
399 if (sipHeader == null) { in processRequest()