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

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.AddressParametersHeader
                      上位を拡張 gov.nist.javax.sip.header.To
すべての実装されたインタフェース:
SIPHeaderNames, java.io.Serializable, java.lang.Cloneable, javax.sip.header.Header, javax.sip.header.HeaderAddress, javax.sip.header.Parameters, javax.sip.header.ToHeader

public final class To
extends AddressParametersHeader
implements javax.sip.header.ToHeader

To SIP Header.

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

フィールドの概要
 
インタフェース javax.sip.header.ToHeader から継承されたフィールド
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
 
コンストラクタの概要
To()
          default Constructor.
To(From from)
          Generate a TO header from a FROM header
 
メソッドの概要
 java.lang.String encode()
          Encode the header into a String.
 boolean equals(java.lang.Object otherHeader)
          Compare two To headers for equality.
 java.lang.String getDisplayName()
          Get the display name from the address.
 HostPort getHostPort()
          Conveniance accessor function to get the hostPort field from the address.
 java.lang.String getTag()
          Get the tag parameter from the address parm list.
 java.lang.String getUserAtHostPort()
          Get the user@host port string.
 boolean hasTag()
          Boolean function
 void removeTag()
          remove Tag member
 void setTag(java.lang.String t)
          Set the tag member.
 java.lang.String toString()
          Gets a string representation of the Header.
 
クラス gov.nist.javax.sip.header.AddressParametersHeader から継承されたメソッド
getAddress, setAddress
 
クラス 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 から継承されたメソッド
getHeaderName, getHeaderValue, getName, getValue, isHeaderList, setHeaderName
 
クラス gov.nist.javax.sip.header.SIPObject から継承されたメソッド
clone, dbgPrint, debugDump, debugDump, match, merge, replace, replace, replace, replace
 
クラス gov.nist.core.GenericObject から継承されたメソッド
getClassFromName, getMatcher, isMySubclass, setMatcher
 
クラス java.lang.Object から継承されたメソッド
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース javax.sip.header.HeaderAddress から継承されたメソッド
getAddress, setAddress
 
インタフェース javax.sip.header.Parameters から継承されたメソッド
getParameter, getParameterNames, removeParameter, setParameter
 
インタフェース javax.sip.header.Header から継承されたメソッド
clone, getName
 

コンストラクタの詳細

To

public To()
default Constructor.


To

public To(From from)
Generate a TO header from a FROM header

メソッドの詳細

equals

public boolean equals(java.lang.Object otherHeader)
Compare two To headers for equality.

定義:
インタフェース javax.sip.header.Header 内の equals
オーバーライド:
クラス SIPObject 内の equals
パラメータ:
otherHeader - Object to set
戻り値:
true if the two headers are the same.

encode

public java.lang.String encode()
Encode the header into a String.

オーバーライド:
クラス SIPHeader 内の encode
戻り値:
String
導入されたバージョン:
1.0

getHostPort

public HostPort getHostPort()
Conveniance accessor function to get the hostPort field from the address. Warning -- this assumes that the embedded URI is a SipURL.

戻り値:
hostport field

getDisplayName

public java.lang.String getDisplayName()
Get the display name from the address.

戻り値:
Display name

getTag

public java.lang.String getTag()
Get the tag parameter from the address parm list.

定義:
インタフェース javax.sip.header.ToHeader 内の getTag
戻り値:
tag field

hasTag

public boolean hasTag()
Boolean function

戻り値:
true if the Tag exist

removeTag

public void removeTag()
remove Tag member


setTag

public void setTag(java.lang.String t)
            throws java.text.ParseException
Set the tag member. This should be set to null for the initial request in a dialog.

定義:
インタフェース javax.sip.header.ToHeader 内の setTag
パラメータ:
t - tag String to set.
例外:
java.text.ParseException

getUserAtHostPort

public java.lang.String getUserAtHostPort()
Get the user@host port string.


toString

public java.lang.String toString()
Gets a string representation of the Header. This method overrides the toString method in java.lang.Object.

定義:
インタフェース javax.sip.header.Header 内の toString
オーバーライド:
クラス SIPObject 内の toString
戻り値:
string representation of Header