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

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

public class RequestLine
extends SIPObject

RequestLine of SIP Request.

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

コンストラクタの概要
RequestLine()
          Default constructor
RequestLine(GenericURI requestURI, java.lang.String method)
          Constructor given the request URI and the method.
 
メソッドの概要
 java.lang.String encode()
          Encode the request line as a String.
 boolean equals(java.lang.Object other)
          Compare for equality.
 java.lang.String getMethod()
          Get the Method
 java.lang.String getSipVersion()
          Get the SIP version.
 GenericURI getUri()
          get the Request-URI.
 java.lang.String getVersionMajor()
          Get the major verrsion number.
 java.lang.String getVersionMinor()
          Get the minor version number.
 void setMethod(java.lang.String method)
          Set the method member
 void setSipVersion(java.lang.String s)
          Set the sipVersion member
 void setSIPVersion(java.lang.String sipVersion)
          Set the SIP version.
 void setUri(GenericURI uri)
          Set the uri member.
 
クラス gov.nist.javax.sip.header.SIPObject から継承されたメソッド
clone, dbgPrint, debugDump, debugDump, 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
 

コンストラクタの詳細

RequestLine

public RequestLine()
Default constructor


RequestLine

public RequestLine(GenericURI requestURI,
                   java.lang.String method)
Constructor given the request URI and the method.

メソッドの詳細

setSIPVersion

public void setSIPVersion(java.lang.String sipVersion)
Set the SIP version.

パラメータ:
sipVersion - -- the SIP version to set.

encode

public java.lang.String encode()
Encode the request line as a String.

定義:
クラス SIPObject 内の encode
戻り値:
requestLine encoded as a string.

getUri

public GenericURI getUri()
get the Request-URI.

戻り値:
the request URI

getMethod

public java.lang.String getMethod()
Get the Method

戻り値:
method string.

getSipVersion

public java.lang.String getSipVersion()
Get the SIP version.

戻り値:
String

setUri

public void setUri(GenericURI uri)
Set the uri member.

パラメータ:
uri - URI to set.

setMethod

public void setMethod(java.lang.String method)
Set the method member

パラメータ:
method - String to set

setSipVersion

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

パラメータ:
s - String to set

getVersionMajor

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

戻り値:
String major version number

getVersionMinor

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

戻り値:
String minor version number

equals

public boolean equals(java.lang.Object other)
Compare for equality.

オーバーライド:
クラス SIPObject 内の equals
パラメータ:
other - object to compare with. We assume that all fields are set.
戻り値:
true if the objects are euqal and false otherwise