gov.nist.javax.sip.header
クラス ErrorInfo
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.ErrorInfo
- すべての実装されたインタフェース:
- SIPHeaderNames, java.io.Serializable, java.lang.Cloneable, javax.sip.header.ErrorInfoHeader, javax.sip.header.Header, javax.sip.header.Parameters
public final class ErrorInfo
- extends ParametersHeader
- implements javax.sip.header.ErrorInfoHeader
ErrorInfo SIP Header.
- バージョン:
- 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.ErrorInfoHeader から継承されたフィールド |
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 |
メソッドの概要 |
java.lang.String |
encodeBody()
Encode into canonical form. |
javax.sip.address.URI |
getErrorInfo()
Returns the ErrorInfo value of this ErrorInfoHeader. |
java.lang.String |
getErrorMessage()
Get the Error information message of this ErrorInfoHeader. |
void |
setErrorInfo(javax.sip.address.URI errorInfo)
Sets the ErrorInfo of the ErrorInfoHeader to the errorInfo
parameter value. |
void |
setErrorMessage(java.lang.String message)
Sets the Error information message to the new message value
supplied to this method. |
クラス gov.nist.javax.sip.header.ParametersHeader から継承されたメソッド |
getNameValue, getParameter, getParameterNames, getParameters, getParameterValue, hasParameter, hasParameters, removeParameter, removeParameters, setParameter, setParameter, setParameters, setQuotedParameter |
クラス gov.nist.javax.sip.header.SIPObject から継承されたメソッド |
clone, dbgPrint, debugDump, debugDump, equals, match, merge, replace, replace, replace, replace, toString |
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース javax.sip.header.Parameters から継承されたメソッド |
getParameter, getParameterNames, removeParameter, setParameter |
インタフェース javax.sip.header.Header から継承されたメソッド |
clone, equals, getName, toString |
ErrorInfo
public ErrorInfo()
- Default constructor.
ErrorInfo
public ErrorInfo(GenericURI errorInfo)
- Constructor given the error info
- パラメータ:
errorInfo
- -- the error information to set.
encodeBody
public java.lang.String encodeBody()
- Encode into canonical form.
- 戻り値:
- String
setErrorInfo
public void setErrorInfo(javax.sip.address.URI errorInfo)
- Sets the ErrorInfo of the ErrorInfoHeader to the errorInfo
parameter value.
- 定義:
- インタフェース
javax.sip.header.ErrorInfoHeader
内の setErrorInfo
- パラメータ:
errorInfo
- the new ErrorInfo of this ErrorInfoHeader.
getErrorInfo
public javax.sip.address.URI getErrorInfo()
- Returns the ErrorInfo value of this ErrorInfoHeader. This message
may return null if a String message identifies the ErrorInfo.
- 定義:
- インタフェース
javax.sip.header.ErrorInfoHeader
内の getErrorInfo
- 戻り値:
- the URI representing the ErrorInfo.
setErrorMessage
public void setErrorMessage(java.lang.String message)
throws java.text.ParseException
- Sets the Error information message to the new message value
supplied to this method.
- 定義:
- インタフェース
javax.sip.header.ErrorInfoHeader
内の setErrorMessage
- パラメータ:
message
- - the new string value that represents the error message.
- 例外:
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the error message.
getErrorMessage
public java.lang.String getErrorMessage()
- Get the Error information message of this ErrorInfoHeader.
- 定義:
- インタフェース
javax.sip.header.ErrorInfoHeader
内の getErrorMessage
- 戻り値:
- the stringified version of the ErrorInfo header.