public class RouteList extends SIPHeaderList<Route>
hlist
headerName
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentation
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, JOIN, MAX_FORWARDS, MIME_VERSION, MIN_EXPIRES, MIN_SE, ORGANIZATION, PRIORITY, PROXY_AUTHENTICATE, PROXY_AUTHORIZATION, PROXY_REQUIRE, RACK, REASON, RECORD_ROUTE, REFERRED_BY, REPLACES, REPLY_TO, REQUIRE, RETRY_AFTER, ROUTE, RSEQ, SERVER, SESSION_EXPIRES, SIP_ETAG, SIP_IF_MATCH, SUBJECT, SUBSCRIPTION_STATE, SUPPORTED, TIMESTAMP, TO, UNSUPPORTED, USER_AGENT, VIA, WARNING, WWW_AUTHENTICATE
Constructor and Description |
---|
RouteList()
default constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
make a clone of this header list.
|
String |
encode()
Encode a list of sip headers.
|
boolean |
equals(Object other)
Order is important when comparing route lists.
|
add, add, add, addAll, addAll, addFirst, clear, clonehlist, concatenate, contains, containsAll, debugDump, debugDump, encode, encodeBody, encodeBody, get, getFirst, getHeaderList, getHeadersAsEncodedStrings, getLast, getMyClass, getName, hashCode, indexOf, indexOf, isEmpty, isHeaderList, iterator, lastIndexOf, listIterator, listIterator, match, remove, remove, remove, removeAll, removeFirst, removeLast, retainAll, set, setMyClass, setPrettyEncode, size, subList, toArray, toArray
getHeaderName, getHeaderValue, getValue, setHeaderName, toString
dbgPrint, getClassFromName, getIndentation, getMatcher, isMySubclass, makeClone, merge, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint
public Object clone()
SIPHeaderList
clone
in interface Header
clone
in class SIPHeaderList<Route>
public String encode()
SIPHeaderList
encode
in class SIPHeaderList<Route>
public boolean equals(Object other)
equals
in interface Header
equals
in interface Collection<Route>
equals
in interface List<Route>
equals
in class SIPHeaderList<Route>
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).Copyright © 2015. All Rights Reserved.