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

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

public class ExtensionHeaderImpl
extends SIPHeader
implements javax.sip.header.ExtensionHeader

A generic extension header for the stack. The input text of the header gets recorded here.

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

フィールドの概要
 
インタフェース 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
 
コンストラクタの概要
ExtensionHeaderImpl()
          This was added to allow for automatic cloning of headers.
ExtensionHeaderImpl(java.lang.String headerName)
           
 
メソッドの概要
 java.lang.String encode()
          Return the canonical encoding of this header.
 java.lang.String encodeBody()
          Return just the body of this header encoded (leaving out the name and the CRLF at the end).
 java.lang.String getHeaderValue()
          Get the value of the extension header.
 void setName(java.lang.String headerName)
          Set the name of the header.
 void setValue(java.lang.String value)
          Set the value of the header.
 
クラス gov.nist.javax.sip.header.SIPHeader から継承されたメソッド
getHeaderName, 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 から継承されたメソッド
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース javax.sip.header.ExtensionHeader から継承されたメソッド
getValue
 
インタフェース javax.sip.header.Header から継承されたメソッド
clone, equals, getName, toString
 

コンストラクタの詳細

ExtensionHeaderImpl

public ExtensionHeaderImpl()
This was added to allow for automatic cloning of headers.


ExtensionHeaderImpl

public ExtensionHeaderImpl(java.lang.String headerName)
メソッドの詳細

setName

public void setName(java.lang.String headerName)
Set the name of the header.

パラメータ:
headerName - is the name of the header to set.

setValue

public void setValue(java.lang.String value)
Set the value of the header.

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

getHeaderValue

public java.lang.String getHeaderValue()
Get the value of the extension header.

オーバーライド:
クラス SIPHeader 内の getHeaderValue
戻り値:
the value of the extension header.

encode

public java.lang.String encode()
Return the canonical encoding of this header.

オーバーライド:
クラス SIPHeader 内の encode
戻り値:
String

encodeBody

public java.lang.String encodeBody()
Return just the body of this header encoded (leaving out the name and the CRLF at the end).