NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

gov.nist.javax.sip.header
Class AddressParametersHeader

java.lang.Object
  extended bygov.nist.core.GenericObject
      extended bygov.nist.javax.sip.header.SIPObject
          extended bygov.nist.javax.sip.header.SIPHeader
              extended bygov.nist.javax.sip.header.ParametersHeader
                  extended bygov.nist.javax.sip.header.AddressParametersHeader
All Implemented Interfaces:
Cloneable, Header, Parameters, Serializable, SIPHeaderNames
Direct Known Subclasses:
CalledPartyID, Contact, From, Path, RecordRoute, ReferredBy, ReferTo, ReplyTo, Route, ServiceRoute, To

public abstract class AddressParametersHeader
extends ParametersHeader

An abstract class for headers that take an address and parameters.

Since:
1.1
Version:
1.2 $Revision: 1.6 $ $Date: 2006/11/01 02:23:01 $
Author:
M. Ranganathan
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, 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
 
Method Summary
 Object clone()
          Overrides the generic clone method
 boolean equals(Object other)
          Compare two AddressParametersHeader headers for equality.
 Address getAddress()
          get the Address field
 void setAddress(Address address)
          set the Address field
 
Methods inherited from class gov.nist.javax.sip.header.ParametersHeader
getNameValue, getParameter, getParameterNames, getParameters, getParameterValue, hasParameter, hasParameters, removeParameter, removeParameters, setParameter, setParameter, setParameters, setQuotedParameter
 
Methods inherited from class gov.nist.javax.sip.header.SIPHeader
encode, getHeaderName, getHeaderValue, getName, getValue, hashCode, isHeaderList, setHeaderName, toString
 
Methods inherited from class gov.nist.javax.sip.header.SIPObject
dbgPrint, debugDump, debugDump, match
 
Methods inherited from class gov.nist.core.GenericObject
getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getAddress

public Address getAddress()
get the Address field

Returns:
the imbedded Address

setAddress

public void setAddress(Address address)
set the Address field

Parameters:
address - Address to set

clone

public Object clone()
Overrides the generic clone method

Specified by:
clone in interface Header
Overrides:
clone in class ParametersHeader
See Also:
Object#clone()

equals

public boolean equals(Object other)
Compare two AddressParametersHeader headers for equality.

Specified by:
equals in interface Header
Overrides:
equals in class SIPObject
Parameters:
other - Object to compare with
Returns:
true if the two headers are the same.
See Also:
Object.equals(java.lang.Object)

NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

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