Searched refs:matchObj (Results 1 - 4 of 4) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/header/
H A DStatusLine.java68 public boolean match(Object matchObj) { argument
69 if (!(matchObj instanceof StatusLine))
71 StatusLine sl = (StatusLine) matchObj;
/external/nist-sip/java/gov/nist/javax/sip/message/
H A DSIPResponse.java501 *@param matchObj template object to match ourselves with (null
504 public boolean match(Object matchObj) { argument
505 if (matchObj == null)
507 else if (!matchObj.getClass().equals(this.getClass())) {
509 } else if (matchObj == this)
511 SIPResponse that = (SIPResponse) matchObj;
517 return super.match(matchObj);
520 return statusLine.match(that.statusLine) && super.match(matchObj);
H A DSIPRequest.java525 * @param matchObj object to match ourselves with (null matches wildcard)
528 public boolean match(Object matchObj) { argument
529 if (matchObj == null)
531 else if (!matchObj.getClass().equals(this.getClass()))
533 else if (matchObj == this)
535 SIPRequest that = (SIPRequest) matchObj;
540 return super.match(matchObj);
541 return requestLine.match(that.requestLine) && super.match(matchObj);
H A DSIPMessage.java264 * Template match for SIP messages. The matchObj is a SIPMessage template to match against.
276 SIPMessage matchObj = (SIPMessage) other;
277 Iterator<SIPHeader> li = matchObj.getHeaders();

Completed in 138 milliseconds