gov.nist.javax.sip.header
クラス Event
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.Event
- すべての実装されたインタフェース:
- SIPHeaderNames, java.io.Serializable, java.lang.Cloneable, javax.sip.header.EventHeader, javax.sip.header.Header, javax.sip.header.Parameters
public class Event
- extends ParametersHeader
- implements javax.sip.header.EventHeader
Event SIP Header.
- バージョン:
- JAIN-SIP-1.1 $Revision: 1.3 $ $Date: 2004/01/22 13:26:29 $
- 作成者:
- M. Ranganathan
, Olivier Deruelle
This code is in the public domain.
- 関連項目:
- 直列化された形式
インタフェース javax.sip.header.EventHeader から継承されたフィールド |
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 |
コンストラクタの概要 |
Event()
Creates a new instance of Event |
メソッドの概要 |
java.lang.String |
encodeBody()
Encode in canonical form. |
java.lang.String |
getEventId()
Gets the id of the EventHeader. |
java.lang.String |
getEventType()
Gets the eventType of the EventHeader. |
boolean |
match(Event matchTarget)
Return true if the given event header matches the supplied one. |
void |
setEventId(java.lang.String eventId)
Sets the id to the newly supplied eventId string. |
void |
setEventType(java.lang.String eventType)
Sets the eventType to the newly supplied eventType string. |
クラス 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 から継承されたメソッド |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース javax.sip.header.Parameters から継承されたメソッド |
getParameter, getParameterNames, removeParameter, setParameter |
インタフェース javax.sip.header.Header から継承されたメソッド |
clone, equals, getName, toString |
Event
public Event()
- Creates a new instance of Event
setEventType
public void setEventType(java.lang.String eventType)
throws java.text.ParseException
- Sets the eventType to the newly supplied eventType string.
- 定義:
- インタフェース
javax.sip.header.EventHeader
内の setEventType
- パラメータ:
eventType
- - the new string defining the eventType supported
in this EventHeader
- 例外:
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the eventType value.
getEventType
public java.lang.String getEventType()
- Gets the eventType of the EventHeader.
- 定義:
- インタフェース
javax.sip.header.EventHeader
内の getEventType
- 戻り値:
- the string object identifing the eventType of EventHeader.
setEventId
public void setEventId(java.lang.String eventId)
throws java.text.ParseException
- Sets the id to the newly supplied eventId string.
- 定義:
- インタフェース
javax.sip.header.EventHeader
内の setEventId
- パラメータ:
eventId
- - the new string defining the eventId of this EventHeader
- 例外:
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the eventId value.
getEventId
public java.lang.String getEventId()
- Gets the id of the EventHeader. This method may return null if the
"eventId" is not set.
- 定義:
- インタフェース
javax.sip.header.EventHeader
内の getEventId
- 戻り値:
- the string object identifing the eventId of EventHeader.
encodeBody
public java.lang.String encodeBody()
- Encode in canonical form.
- 戻り値:
- String
match
public boolean match(Event matchTarget)
- Return true if the given event header matches the supplied one.
- パラメータ:
matchTarget
- -- event header to match against.