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

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

public final class StatusLine
extends SIPObject

Status Line (for SIPReply) messages.

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

コンストラクタの概要
StatusLine()
          Default Constructor
 
メソッドの概要
 java.lang.String encode()
          Encode into a canonical form.
 java.lang.String getReasonPhrase()
          get the ReasonPhrase field
 java.lang.String getSipVersion()
          get the Sip Version
 int getStatusCode()
          get the Status Code
 java.lang.String getVersionMajor()
          Get the major version number.
 java.lang.String getVersionMinor()
          Get the minor version number.
 boolean match(java.lang.Object matchObj)
          Match with a template.
 void setMatchStatusClass(boolean flag)
          set the flag on a match template.
 void setReasonPhrase(java.lang.String reasonPhrase)
          Set the reasonPhrase member
 void setSipVersion(java.lang.String s)
          Set the sipVersion member
 void setStatusCode(int statusCode)
          Set the statusCode member
 
クラス gov.nist.javax.sip.header.SIPObject から継承されたメソッド
clone, dbgPrint, debugDump, debugDump, equals, merge, replace, replace, replace, replace, toString
 
クラス gov.nist.core.GenericObject から継承されたメソッド
getClassFromName, getMatcher, isMySubclass, setMatcher
 
クラス java.lang.Object から継承されたメソッド
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

StatusLine

public StatusLine()
Default Constructor

メソッドの詳細

match

public boolean match(java.lang.Object matchObj)
Match with a template. Match only the response class if the last two digits of the match templates are 0's

オーバーライド:
クラス SIPObject 内の match
パラメータ:
matchObj - the match pattern to test against. The match object has to be of the same type (class). Primitive types and non-sip fields that are non null are matched for equality. Null in any field matches anything. Some book-keeping fields are ignored when making the comparison.

setMatchStatusClass

public void setMatchStatusClass(boolean flag)
set the flag on a match template. If this set to true, then the whole status code is matched (default behavior) else only the class of the response is matched.


encode

public java.lang.String encode()
Encode into a canonical form.

定義:
クラス SIPObject 内の encode
戻り値:
String

getSipVersion

public java.lang.String getSipVersion()
get the Sip Version

戻り値:
SipVersion

getStatusCode

public int getStatusCode()
get the Status Code

戻り値:
StatusCode

getReasonPhrase

public java.lang.String getReasonPhrase()
get the ReasonPhrase field

戻り値:
ReasonPhrase field

setSipVersion

public void setSipVersion(java.lang.String s)
Set the sipVersion member

パラメータ:
s - String to set

setStatusCode

public void setStatusCode(int statusCode)
Set the statusCode member

パラメータ:
statusCode - int to set

setReasonPhrase

public void setReasonPhrase(java.lang.String reasonPhrase)
Set the reasonPhrase member

パラメータ:
reasonPhrase - String to set

getVersionMajor

public java.lang.String getVersionMajor()
Get the major version number.

戻り値:
String major version number

getVersionMinor

public java.lang.String getVersionMinor()
Get the minor version number.

戻り値:
String minor version number