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

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

public class RetryAfter
extends ParametersHeader
implements javax.sip.header.RetryAfterHeader

Retry-After SIP Header.

バージョン:
JAIN-SIP-1.1 $Revision: 1.3 $ $Date: 2004/09/13 15:12:27 $
作成者:
M. Ranganathan
, Olivier Deruelle
This code is in the public domain.
関連項目:
直列化された形式

フィールドの概要
static java.lang.String DURATION
          constant DURATION parameter.
 
インタフェース javax.sip.header.RetryAfterHeader から継承されたフィールド
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
 
コンストラクタの概要
RetryAfter()
          Default constructor
 
メソッドの概要
 java.lang.String encodeBody()
          Encode body of this into cannonical form.
 java.lang.String getComment()
          Gets the comment of RetryAfterHeader.
 int getDuration()
          Gets the duration value of the RetryAfterHeader.
 int getRetryAfter()
          Gets the retry after value of the RetryAfterHeader.
 boolean hasComment()
          Boolean function
 void removeComment()
          remove comment field
 void removeDuration()
          remove duration field
 void setComment(java.lang.String comment)
          Sets the comment value of the RetryAfterHeader.
 void setDuration(int duration)
          Sets the duration value of the RetryAfterHeader.
 void setRetryAfter(int retryAfter)
          Sets the retry after value of the RetryAfterHeader.
 
クラス 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, 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
 
インタフェース javax.sip.header.Parameters から継承されたメソッド
getParameter, getParameterNames, removeParameter, setParameter
 

フィールドの詳細

DURATION

public static final java.lang.String DURATION
constant DURATION parameter.

関連項目:
定数フィールド値
コンストラクタの詳細

RetryAfter

public RetryAfter()
Default constructor

メソッドの詳細

encodeBody

public java.lang.String encodeBody()
Encode body of this into cannonical form.

戻り値:
encoded body

hasComment

public boolean hasComment()
Boolean function

戻り値:
true if comment exist, false otherwise

removeComment

public void removeComment()
remove comment field


removeDuration

public void removeDuration()
remove duration field


setRetryAfter

public void setRetryAfter(int retryAfter)
                   throws javax.sip.InvalidArgumentException
Sets the retry after value of the RetryAfterHeader. The retry after value MUST be greater than zero and MUST be less than 2**31.

定義:
インタフェース javax.sip.header.RetryAfterHeader 内の setRetryAfter
パラメータ:
retryAfter - - the new retry after value of this RetryAfterHeader
例外:
javax.sip.InvalidArgumentException - if supplied value is less than zero.
導入されたバージョン:
JAIN SIP v1.1

getRetryAfter

public int getRetryAfter()
Gets the retry after value of the RetryAfterHeader. This retry after value is relative time.

定義:
インタフェース javax.sip.header.RetryAfterHeader 内の getRetryAfter
戻り値:
the retry after value of the RetryAfterHeader.
導入されたバージョン:
JAIN SIP v1.1

getComment

public java.lang.String getComment()
Gets the comment of RetryAfterHeader.

定義:
インタフェース javax.sip.header.RetryAfterHeader 内の getComment
戻り値:
the comment of this RetryAfterHeader, return null if no comment is available.

setComment

public void setComment(java.lang.String comment)
                throws java.text.ParseException
Sets the comment value of the RetryAfterHeader.

定義:
インタフェース javax.sip.header.RetryAfterHeader 内の setComment
パラメータ:
comment - - the new comment string value of the RetryAfterHeader.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the comment.

setDuration

public void setDuration(int duration)
                 throws javax.sip.InvalidArgumentException
Sets the duration value of the RetryAfterHeader. The retry after value MUST be greater than zero and MUST be less than 2**31.

定義:
インタフェース javax.sip.header.RetryAfterHeader 内の setDuration
パラメータ:
duration - - the new duration value of this RetryAfterHeader
例外:
javax.sip.InvalidArgumentException - if supplied value is less than zero.
導入されたバージョン:
JAIN SIP v1.1

getDuration

public int getDuration()
Gets the duration value of the RetryAfterHeader. This duration value is relative time.

定義:
インタフェース javax.sip.header.RetryAfterHeader 内の getDuration
戻り値:
the duration value of the RetryAfterHeader, return zero if not set.
導入されたバージョン:
JAIN SIP v1.1