|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.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.Reason
Definition of the Reason SIP Header.
| Field Summary | |
String |
CAUSE
|
String |
TEXT
|
| Fields inherited from interface javax.sip.header.ReasonHeader |
NAME |
| Fields inherited from interface 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 |
| Constructor Summary | |
Reason()
Set the cause. /** Creates a new instance of Reason |
|
| Method Summary | |
int |
getCause()
Get the cause token. |
String |
getName()
Gets the unique string name of this Header. |
String |
getProtocol()
Return the protocol. |
String |
getText()
Get the text. |
void |
setCause(int cause)
Set the cause. |
void |
setProtocol(String protocol)
Set the protocol |
void |
setText(String text)
Set the text. |
| Methods inherited from class gov.nist.javax.sip.header.ParametersHeader |
getNameValue, getParameter, getParameterNames, getParameters, getParameterValue, hasParameter, hasParameters, removeParameter, removeParameters, setParameter, setParameter, setParameters, setQuotedParameter |
| Methods inherited from class gov.nist.javax.sip.header.SIPHeader |
encode, getHeaderName, getHeaderValue, getValue, isHeaderList, setHeaderName |
| Methods inherited from class gov.nist.javax.sip.header.SIPObject |
clone, dbgPrint, debugDump, debugDump, equals, match, merge, replace, replace, replace, replace, toString |
| Methods inherited from class gov.nist.core.GenericObject |
getClassFromName, getMatcher, isMySubclass, match, setMatcher |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.sip.header.Parameters |
getParameter, getParameterNames, removeParameter, setParameter |
| Methods inherited from interface javax.sip.header.Header |
clone, equals, toString |
| Field Detail |
public final String TEXT
public final String CAUSE
| Constructor Detail |
public Reason()
| Method Detail |
public int getCause()
getCause in interface ReasonHeader
public void setCause(int cause)
throws InvalidArgumentException
setCause in interface ReasonHeadercause - - cause to set.
InvalidArgumentException - if the cause value is less than zero.
public void setProtocol(String protocol)
throws ParseException
setProtocol in interface ReasonHeaderprotocol - - protocol to set.
ParseException - which signals that an error has been reached
unexpectedly while parsing the protocol value.public String getProtocol()
getProtocol in interface ReasonHeader
public void setText(String text)
throws ParseException
setText in interface ReasonHeadertext - -- string text to set.
ParseException - which signals that an error has been reached
unexpectedly while parsing the text value.public String getText()
getText in interface ReasonHeaderpublic String getName()
getName in interface HeadergetName in class SIPHeader
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||