NIST SIP Parser and Stack (v1.2) API

gov.nist.javax.sip.header
Class AllowEventsList

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.AllowEventsList
All Implemented Interfaces:
Cloneable, Collection, Header, List, Serializable, SIPHeaderNames

public class AllowEventsList
extends SIPHeaderList

List of AllowEvents headers. The sip message can have multiple AllowEvents headers which are strung together in a list.

Version:
JAIN-SIP-1.1
Author:
M. Ranganathan
, Olivier Deruelle
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
AllowEventsList()
          default constructor
 
Method Summary
 ListIterator getMethods()
          Gets an Iterator of all the methods of the AllowEventsHeader.
 void setMethods(List methods)
          Sets the methods supported defined by this AllowEventsHeader.
 
Methods inherited from class gov.nist.javax.sip.header.SIPHeaderList
add, add, add, add, addAll, addAll, addFirst, clear, clone, concatenate, concatenate, contains, containsAll, debugDump, debugDump, encode, equals, 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

AllowEventsList

public AllowEventsList()
default constructor

Method Detail

getMethods

public ListIterator getMethods()
Gets an Iterator of all the methods of the AllowEventsHeader. Returns an empty Iterator if no methods are defined in this AllowEvents Header.

Returns:
Iterator of String objects each identifing the methods of AllowEventsHeader.
Since:
JAIN SIP v1.1

setMethods

public void setMethods(List methods)
                throws ParseException
Sets the methods supported defined by this AllowEventsHeader.

Parameters:
methods - - the Iterator of Strings defining the methods supported in this AllowEventsHeader
Throws:
ParseException - which signals that an error has been reached unexpectedly while parsing the Strings defining the methods supported.
Since:
JAIN SIP v1.1

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.