gov.nist.javax.sip.header
クラス Contact

java.lang.Object
  上位を拡張 gov.nist.core.GenericObject
      上位を拡張 gov.nist.javax.sip.header.SIPObject
          上位を拡張 gov.nist.javax.sip.header.SIPHeader
              上位を拡張 gov.nist.javax.sip.header.ParametersHeader
                  上位を拡張 gov.nist.javax.sip.header.AddressParametersHeader
                      上位を拡張 gov.nist.javax.sip.header.Contact
すべての実装されたインタフェース:
SIPHeaderNames, java.io.Serializable, java.lang.Cloneable, javax.sip.header.ContactHeader, javax.sip.header.Header, javax.sip.header.HeaderAddress, javax.sip.header.Parameters

public final class Contact
extends AddressParametersHeader
implements javax.sip.header.ContactHeader

Contact Item.

バージョン:
JAIN-SIP-1.1 $Revision: 1.3 $ $Date: 2004/07/28 14:13:53 $ This code is in the public domain. Bug reports contributed by Joao Paulo, Stephen Jones, John Zeng and Alstair Cole.
作成者:
M. Ranganathan
関連項目:
ContactList, 直列化された形式

フィールドの概要
static java.lang.String ACTION
           
static java.lang.String EXPIRES
           
static java.lang.String PROXY
           
static java.lang.String Q
           
static java.lang.String REDIRECT
           
 
インタフェース javax.sip.header.ContactHeader から継承されたフィールド
NAME
 
インタフェース 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, 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
 
コンストラクタの概要
Contact()
          Default constructor.
 
メソッドの概要
 boolean equals(java.lang.Object that)
          Equality test.
 javax.sip.address.Address getAddress()
          get the address field.
 ContactList getContactList()
          get the Contact list.
 NameValueList getContactParms()
          get the parameters List
 int getExpires()
          get Expires parameter.
 float getQValue()
          get the Q-value
 boolean getWildCardFlag()
          get the WildCardFlag field
 void setAddress(javax.sip.address.Address address)
          Set the address member
 void setContactList(ContactList cl)
          set the Contact List
 void setExpires(int expiryDeltaSeconds)
          Set the expiry time in seconds.
 void setParameter(java.lang.String name, java.lang.String value)
          Set a parameter.
 void setQValue(float qValue)
          set the Q-value parameter
 void setWildCardFlag(boolean w)
          Set the wildCardFlag member
 
クラス gov.nist.javax.sip.header.ParametersHeader から継承されたメソッド
getNameValue, getParameter, getParameterNames, getParameters, getParameterValue, hasParameter, hasParameters, removeParameter, removeParameters, setParameter, setParameters, setQuotedParameter
 
クラス gov.nist.javax.sip.header.SIPHeader から継承されたメソッド
encode, getHeaderName, getHeaderValue, getName, getValue, isHeaderList, setHeaderName
 
クラス gov.nist.javax.sip.header.SIPObject から継承されたメソッド
clone, dbgPrint, debugDump, debugDump, match, merge, replace, replace, replace, replace, toString
 
クラス gov.nist.core.GenericObject から継承されたメソッド
getClassFromName, getMatcher, isMySubclass, setMatcher
 
クラス java.lang.Object から継承されたメソッド
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース javax.sip.header.Parameters から継承されたメソッド
getParameter, getParameterNames, removeParameter
 
インタフェース javax.sip.header.Header から継承されたメソッド
clone, getName, toString
 

フィールドの詳細

ACTION

public static final java.lang.String ACTION
関連項目:
定数フィールド値

PROXY

public static final java.lang.String PROXY
関連項目:
定数フィールド値

REDIRECT

public static final java.lang.String REDIRECT
関連項目:
定数フィールド値

EXPIRES

public static final java.lang.String EXPIRES
関連項目:
定数フィールド値

Q

public static final java.lang.String Q
関連項目:
定数フィールド値
コンストラクタの詳細

Contact

public Contact()
Default constructor.

メソッドの詳細

setParameter

public void setParameter(java.lang.String name,
                         java.lang.String value)
                  throws java.text.ParseException
Set a parameter.

定義:
インタフェース javax.sip.header.Parameters 内の setParameter
オーバーライド:
クラス ParametersHeader 内の setParameter
パラメータ:
name - - a String specifying the parameter name
value - - a String specifying the parameter value
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the parameter name or value.

getContactList

public ContactList getContactList()
get the Contact list.

戻り値:
ContactList

getWildCardFlag

public boolean getWildCardFlag()
get the WildCardFlag field

戻り値:
boolean

getAddress

public javax.sip.address.Address getAddress()
get the address field.

定義:
インタフェース javax.sip.header.HeaderAddress 内の getAddress
オーバーライド:
クラス AddressParametersHeader 内の getAddress
戻り値:
Address

getContactParms

public NameValueList getContactParms()
get the parameters List

戻り値:
NameValueList

getExpires

public int getExpires()
get Expires parameter.

定義:
インタフェース javax.sip.header.ContactHeader 内の getExpires
戻り値:
the Expires parameter.

setExpires

public void setExpires(int expiryDeltaSeconds)
Set the expiry time in seconds.

定義:
インタフェース javax.sip.header.ContactHeader 内の setExpires
パラメータ:
expiryDeltaSeconds - exipry time.

getQValue

public float getQValue()
get the Q-value

定義:
インタフェース javax.sip.header.ContactHeader 内の getQValue
戻り値:
float

setContactList

public void setContactList(ContactList cl)
set the Contact List

パラメータ:
cl - ContactList to set

setWildCardFlag

public void setWildCardFlag(boolean w)
Set the wildCardFlag member

パラメータ:
w - boolean to set

setAddress

public void setAddress(javax.sip.address.Address address)
Set the address member

定義:
インタフェース javax.sip.header.HeaderAddress 内の setAddress
オーバーライド:
クラス AddressParametersHeader 内の setAddress
パラメータ:
address - Address to set

setQValue

public void setQValue(float qValue)
               throws javax.sip.InvalidArgumentException
set the Q-value parameter

定義:
インタフェース javax.sip.header.ContactHeader 内の setQValue
パラメータ:
qValue - float to set
例外:
javax.sip.InvalidArgumentException

equals

public boolean equals(java.lang.Object that)
Equality test.

定義:
インタフェース javax.sip.header.Header 内の equals
オーバーライド:
クラス SIPObject 内の equals
パラメータ:
that - the other object to test against.
戻り値:
true if the objects are euqal and false otherwise