|
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.Object | +--gov.nist.core.GenericObject | +--gov.nist.javax.sip.header.SIPObject | +--gov.nist.javax.sip.header.RequestLine
RequestLine of SIP Request.
Constructor Summary | |
RequestLine()
Default constructor |
|
RequestLine(GenericURI requestURI,
String method)
Constructor given the request URI and the method. |
Method Summary | |
String |
encode()
Encode the request line as a String. |
boolean |
equals(Object other)
Compare for equality. |
String |
getMethod()
Get the Method |
String |
getSipVersion()
Get the SIP version. |
GenericURI |
getUri()
get the Request-URI. |
String |
getVersionMajor()
Get the major verrsion number. |
String |
getVersionMinor()
Get the minor version number. |
void |
setMethod(String method)
Set the method member |
void |
setSipVersion(String s)
Set the sipVersion member |
void |
setSIPVersion(String sipVersion)
Set the SIP version. |
void |
setUri(GenericURI uri)
Set the uri member. |
Methods inherited from class gov.nist.javax.sip.header.SIPObject |
clone, dbgPrint, debugDump, debugDump, 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 RequestLine()
public RequestLine(GenericURI requestURI, String method)
Method Detail |
public void setSIPVersion(String sipVersion)
sipVersion
- -- the SIP version to set.public String encode()
encode
in class SIPObject
public GenericURI getUri()
public String getMethod()
public String getSipVersion()
public void setUri(GenericURI uri)
uri
- URI to set.public void setMethod(String method)
method
- String to setpublic void setSipVersion(String s)
s
- String to setpublic String getVersionMajor()
public String getVersionMinor()
public boolean equals(Object other)
equals
in class SIPObject
other
- object to compare with. We assume that all fields
are set.
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |