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

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

public class UserAgent
extends SIPHeader
implements javax.sip.header.UserAgentHeader

the UserAgent SIPObject.

バージョン:
JAIN-SIP-1.1 $Revision: 1.2 $ $Date: 2004/01/22 13:26:30 $ This code is in the public domain.
作成者:
Olivier Deruelle
関連項目:
直列化された形式

フィールドの概要
 
インタフェース javax.sip.header.UserAgentHeader から継承されたフィールド
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, 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
 
コンストラクタの概要
UserAgent()
          Constructor.
 
メソッドの概要
 void addProductToken(java.lang.String pt)
          set the productToken field
 java.lang.String encodeBody()
          Encode only the body of this header.
 java.util.ListIterator getProduct()
          Returns the list value of the product parameter.
 void setProduct(java.util.List product)
          Sets the product value of the UserAgentHeader.
 
クラス gov.nist.javax.sip.header.SIPHeader から継承されたメソッド
encode, getHeaderName, getHeaderValue, getName, getValue, isHeaderList, setHeaderName
 
クラス gov.nist.javax.sip.header.SIPObject から継承されたメソッド
clone, dbgPrint, debugDump, debugDump, equals, match, merge, replace, replace, replace, replace, toString
 
クラス gov.nist.core.GenericObject から継承されたメソッド
getClassFromName, getMatcher, isMySubclass, setMatcher
 
クラス java.lang.Object から継承されたメソッド
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース javax.sip.header.Header から継承されたメソッド
clone, equals, getName, toString
 

コンストラクタの詳細

UserAgent

public UserAgent()
Constructor.

メソッドの詳細

addProductToken

public void addProductToken(java.lang.String pt)
set the productToken field

パラメータ:
pt - String to set

encodeBody

public java.lang.String encodeBody()
Encode only the body of this header.

戻り値:
encoded value of the header.

getProduct

public java.util.ListIterator getProduct()
Returns the list value of the product parameter.

定義:
インタフェース javax.sip.header.UserAgentHeader 内の getProduct
戻り値:
the software of this UserAgentHeader

setProduct

public void setProduct(java.util.List product)
                throws java.text.ParseException
Sets the product value of the UserAgentHeader.

定義:
インタフェース javax.sip.header.UserAgentHeader 内の setProduct
パラメータ:
product - - a List specifying the product value
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the product value.