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

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

public class Warning
extends SIPHeader
implements javax.sip.header.WarningHeader

the WarningValue SIPObject.

バージョン:
JAIN-SIP-1.1 $Revision: 1.4 $ $Date: 2004/04/22 22:51:16 $ This code is in the public domain.
作成者:
M. Ranganathan
, Olivier Deruelle
関連項目:
SIPHeader which strings these together., 直列化された形式

フィールドの概要
 
インタフェース javax.sip.header.WarningHeader から継承されたフィールド
ATTRIBUTE_NOT_UNDERSTOOD, INCOMPATIBLE_BANDWIDTH_UNITS, INCOMPATIBLE_MEDIA_FORMAT, INCOMPATIBLE_NETWORK_ADDRESS_FORMATS, INCOMPATIBLE_NETWORK_PROTOCOL, INCOMPATIBLE_TRANSPORT_PROTOCOL, INSUFFICIENT_BANDWIDTH, MEDIA_TYPE_NOT_AVAILABLE, MISCELLANEOUS_WARNING, MULTICAST_NOT_AVAILABLE, NAME, SESSION_DESCRIPTION_PARAMETER_NOT_UNDERSTOOD, UNICAST_NOT_AVAILABLE
 
インタフェース 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
 
コンストラクタの概要
Warning()
          constructor.
 
メソッドの概要
 java.lang.String encodeBody()
          Encode the body of the header (return the stuff following name:).
 java.lang.String getAgent()
          Gets agent host of WarningHeader
 int getCode()
          Gets code of WarningHeader
 java.lang.String getText()
          Gets text of WarningHeader
 void setAgent(java.lang.String host)
          Sets host of WarningHeader
 void setCode(int code)
          Sets code of WarningHeader
 void setText(java.lang.String text)
          Sets text of WarningHeader
 
クラス 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 から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース javax.sip.header.Header から継承されたメソッド
clone, equals, getName, toString
 

コンストラクタの詳細

Warning

public Warning()
constructor.

メソッドの詳細

encodeBody

public java.lang.String encodeBody()
Encode the body of the header (return the stuff following name:).

戻り値:
the string encoding of the header value.

getCode

public int getCode()
Gets code of WarningHeader

定義:
インタフェース javax.sip.header.WarningHeader 内の getCode
戻り値:
code of WarningHeader

getAgent

public java.lang.String getAgent()
Gets agent host of WarningHeader

定義:
インタフェース javax.sip.header.WarningHeader 内の getAgent
戻り値:
agent host of WarningHeader

getText

public java.lang.String getText()
Gets text of WarningHeader

定義:
インタフェース javax.sip.header.WarningHeader 内の getText
戻り値:
text of WarningHeader

setCode

public void setCode(int code)
             throws javax.sip.InvalidArgumentException
Sets code of WarningHeader

定義:
インタフェース javax.sip.header.WarningHeader 内の setCode
パラメータ:
code - int to set
例外:
SipParseException - if code is not accepted by implementation
javax.sip.InvalidArgumentException

setAgent

public void setAgent(java.lang.String host)
              throws java.text.ParseException
Sets host of WarningHeader

定義:
インタフェース javax.sip.header.WarningHeader 内の setAgent
パラメータ:
host - String to set
例外:
java.text.ParseException - if host is not accepted by implementation

setText

public void setText(java.lang.String text)
             throws java.text.ParseException
Sets text of WarningHeader

定義:
インタフェース javax.sip.header.WarningHeader 内の setText
パラメータ:
text - String to set
例外:
java.text.ParseException - if text is not accepted by implementation