|
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.StatusLine
Status Line (for SIPReply) messages.
| Constructor Summary | |
StatusLine()
Default Constructor |
|
| Method Summary | |
String |
encode()
Encode into a canonical form. |
String |
getReasonPhrase()
get the ReasonPhrase field |
String |
getSipVersion()
get the Sip Version |
int |
getStatusCode()
get the Status Code |
String |
getVersionMajor()
Get the major version number. |
String |
getVersionMinor()
Get the minor version number. |
boolean |
match(Object matchObj)
Match with a template. |
void |
setMatchStatusClass(boolean flag)
set the flag on a match template. |
void |
setReasonPhrase(String reasonPhrase)
Set the reasonPhrase member |
void |
setSipVersion(String s)
Set the sipVersion member |
void |
setStatusCode(int statusCode)
Set the statusCode member |
| 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, setMatcher |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public StatusLine()
| Method Detail |
public boolean match(Object matchObj)
match in class GenericObjectmatchObj - the match pattern to test against. The match object
has to be of the same type (class). Primitive types
and non-sip fields that are non null are matched for equality.
Null in any field matches anything. Some book-keeping fields
are ignored when making the comparison.public void setMatchStatusClass(boolean flag)
public String encode()
encode in class SIPObjectpublic String getSipVersion()
public int getStatusCode()
public String getReasonPhrase()
public void setSipVersion(String s)
s - String to setpublic void setStatusCode(int statusCode)
statusCode - int to setpublic void setReasonPhrase(String reasonPhrase)
reasonPhrase - String to setpublic String getVersionMajor()
public String getVersionMinor()
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||