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

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

public class MaxForwards
extends SIPHeader
implements javax.sip.header.MaxForwardsHeader

MaxForwards SIPHeader

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

フィールドの概要
 
インタフェース javax.sip.header.MaxForwardsHeader から継承されたフィールド
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
 
コンストラクタの概要
MaxForwards()
          Default constructor.
 
メソッドの概要
 void decrementMaxForwards()
          decrement MaxForwards field one by one.
 java.lang.String encodeBody()
          Encode into a string.
 int getMaxForwards()
          get the MaxForwards field.
 boolean hasReachedZero()
          Boolean function
 void setMaxForwards(int maxForwards)
          Set the maxForwards member
 
クラス 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
 

コンストラクタの詳細

MaxForwards

public MaxForwards()
Default constructor.

メソッドの詳細

getMaxForwards

public int getMaxForwards()
get the MaxForwards field.

定義:
インタフェース javax.sip.header.MaxForwardsHeader 内の getMaxForwards
戻り値:
the maxForwards member.

setMaxForwards

public void setMaxForwards(int maxForwards)
                    throws javax.sip.InvalidArgumentException
Set the maxForwards member

定義:
インタフェース javax.sip.header.MaxForwardsHeader 内の setMaxForwards
パラメータ:
maxForwards - maxForwards parameter to set
例外:
javax.sip.InvalidArgumentException

encodeBody

public java.lang.String encodeBody()
Encode into a string.

戻り値:
encoded string.

hasReachedZero

public boolean hasReachedZero()
Boolean function

戻り値:
true if MaxForwards field reached zero.

decrementMaxForwards

public void decrementMaxForwards()
decrement MaxForwards field one by one.

定義:
インタフェース javax.sip.header.MaxForwardsHeader 内の decrementMaxForwards