NIST SIP Parser and Stack (v1.2) API

gov.nist.javax.sip.header
Class RouteList

java.lang.Object
  |
  +--gov.nist.core.GenericObject
        |
        +--gov.nist.javax.sip.header.SIPObject
              |
              +--gov.nist.javax.sip.header.SIPHeader
                    |
                    +--gov.nist.javax.sip.header.SIPHeaderList
                          |
                          +--gov.nist.javax.sip.header.RouteList
All Implemented Interfaces:
Cloneable, Collection, Header, List, Serializable, SIPHeaderNames

public class RouteList
extends SIPHeaderList

A list of Route Headers.

Version:
JAIN-SIP-1.1
Author:
M. Ranganathan
This code is in the public domain.
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface gov.nist.javax.sip.header.SIPHeaderNames
ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, ALERT_INFO, ALLOW, ALLOW_EVENTS, AUTHENTICATION_INFO, AUTHORIZATION, CALL_ID, CALL_INFO, CONTACT, CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, CSEQ, DATE, ERROR_INFO, EVENT, EXPIRES, FROM, IN_REPLY_TO, MAX_FORWARDS, MIME_VERSION, MIN_EXPIRES, ORGANIZATION, PRIORITY, PROXY_AUTHENTICATE, PROXY_AUTHORIZATION, PROXY_REQUIRE, RACK, REASON, RECORD_ROUTE, REPLY_TO, REQUIRE, RETRY_AFTER, ROUTE, RSEQ, SERVER, SUBJECT, SUBSCRIPTION_STATE, SUPPORTED, TIMESTAMP, TO, UNSUPPORTED, USER_AGENT, VIA, WARNING, WWW_AUTHENTICATE
 
Constructor Summary
RouteList()
          default constructor
RouteList(SIPObjectList sip)
          Constructor
 
Method Summary
 boolean add(Object rh)
          Concatenate the list of stuff that we are keeping around and also the text corresponding to these structures (that we parsed).
 boolean equals(Object other)
          Order is important when comparing route lists.
 
Methods inherited from class gov.nist.javax.sip.header.SIPHeaderList
add, add, add, addAll, addAll, addFirst, clear, clone, concatenate, concatenate, contains, containsAll, debugDump, debugDump, encode, first, get, getFirst, getHeaderList, getHeadersAsEncodedStrings, getLast, getMyClass, indexOf, indexOf, isEmpty, isHeaderList, iterator, lastIndexOf, listIterator, listIterator, match, merge, next, next, remove, remove, remove, removeAll, removeAll, removeFirst, removeLast, retainAll, set, size, subList, toArray, toArray, toString
 
Methods inherited from class gov.nist.javax.sip.header.SIPHeader
getHeaderName, getHeaderValue, getName, getValue, setHeaderName
 
Methods inherited from class gov.nist.javax.sip.header.SIPObject
dbgPrint, replace, replace, replace, replace
 
Methods inherited from class gov.nist.core.GenericObject
getClassFromName, getMatcher, isMySubclass, setMatcher
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
hashCode
 

Constructor Detail

RouteList

public RouteList()
default constructor


RouteList

public RouteList(SIPObjectList sip)
Constructor

Parameters:
sip - SIPObjectList to set
Method Detail

add

public boolean add(Object rh)
Description copied from class: SIPHeaderList
Concatenate the list of stuff that we are keeping around and also the text corresponding to these structures (that we parsed).

Specified by:
add in interface List
Overrides:
add in class SIPHeaderList

equals

public boolean equals(Object other)
Order is important when comparing route lists.

Specified by:
equals in interface List
Overrides:
equals in class SIPHeaderList
Parameters:
other - the other object to compare with. true is returned iff the classes match and list of headers herein is equal to the list of headers in the target (order of the headers is not important).

NIST SIP Parser and Stack (v1.2) API

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Get the latest distribution.
Submit a bug report or feature request.