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

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.Reason
すべての実装されたインタフェース:
SIPHeaderNames, java.io.Serializable, java.lang.Cloneable, javax.sip.header.Header, javax.sip.header.Parameters, javax.sip.header.ReasonHeader

public class Reason
extends ParametersHeader
implements javax.sip.header.ReasonHeader

Definition of the Reason SIP Header.

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

フィールドの概要
 java.lang.String CAUSE
           
 java.lang.String TEXT
           
 
インタフェース javax.sip.header.ReasonHeader から継承されたフィールド
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
 
コンストラクタの概要
Reason()
          Set the cause. /** Creates a new instance of Reason
 
メソッドの概要
 int getCause()
          Get the cause token.
 java.lang.String getName()
          Gets the unique string name of this Header.
 java.lang.String getProtocol()
          Return the protocol.
 java.lang.String getText()
          Get the text.
 void setCause(int cause)
          Set the cause.
 void setProtocol(java.lang.String protocol)
          Set the protocol
 void setText(java.lang.String text)
          Set the text.
 
クラス gov.nist.javax.sip.header.ParametersHeader から継承されたメソッド
getNameValue, getParameter, getParameterNames, getParameters, getParameterValue, hasParameter, hasParameters, removeParameter, removeParameters, setParameter, setParameter, setParameters, setQuotedParameter
 
クラス gov.nist.javax.sip.header.SIPHeader から継承されたメソッド
encode, getHeaderName, getHeaderValue, 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, wait, wait, wait
 
インタフェース javax.sip.header.Parameters から継承されたメソッド
getParameter, getParameterNames, removeParameter, setParameter
 
インタフェース javax.sip.header.Header から継承されたメソッド
clone, equals, toString
 

フィールドの詳細

TEXT

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

CAUSE

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

Reason

public Reason()
Set the cause. /** Creates a new instance of Reason

メソッドの詳細

getCause

public int getCause()
Get the cause token.

定義:
インタフェース javax.sip.header.ReasonHeader 内の getCause
戻り値:
the cause code.

setCause

public void setCause(int cause)
              throws javax.sip.InvalidArgumentException
Set the cause.

定義:
インタフェース javax.sip.header.ReasonHeader 内の setCause
パラメータ:
cause - - cause to set.
例外:
javax.sip.InvalidArgumentException

setProtocol

public void setProtocol(java.lang.String protocol)
                 throws java.text.ParseException
Set the protocol

定義:
インタフェース javax.sip.header.ReasonHeader 内の setProtocol
パラメータ:
protocol - - protocol to set.
例外:
java.text.ParseException

getProtocol

public java.lang.String getProtocol()
Return the protocol.

定義:
インタフェース javax.sip.header.ReasonHeader 内の getProtocol
戻り値:
the protocol.

setText

public void setText(java.lang.String text)
             throws java.text.ParseException
Set the text.

定義:
インタフェース javax.sip.header.ReasonHeader 内の setText
パラメータ:
text - -- string text to set.
例外:
java.text.ParseException

getText

public java.lang.String getText()
Get the text.

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

getName

public java.lang.String getName()
Gets the unique string name of this Header. A name constant is defined in each individual Header identifying each Header.

定義:
インタフェース javax.sip.header.Header 内の getName
オーバーライド:
クラス SIPHeader 内の getName
戻り値:
the name of this specific Header