| |
|
| java.lang.Object gov.nist.core.GenericObject gov.nist.siplite.header.RequestLine
Constructor Summary | |
public | RequestLine() Default constructor. | public | RequestLine(URI requestURI, String method) Constructor given the request URI and the method. |
sipVersion | protected String sipVersion(Code) | | SipVersion field
|
uri | protected URI uri(Code) | | Uri field. Note that this can be a SIP URI or a generic URI
like tel URI.
|
RequestLine | public RequestLine()(Code) | | Default constructor.
|
RequestLine | public RequestLine(URI requestURI, String method)(Code) | | Constructor given the request URI and the method.
Parameters: requestURI - the request URI Parameters: method - the operation to perform |
clone | public Object clone()(Code) | | Clone this request.
copt of the current object |
encode | public String encode()(Code) | | Encodes the request line as a String.
requestLine encoded as a string. |
equals | public boolean equals(Object other)(Code) | | Compare for equality.
Parameters: other - object to compare with. We assume that all fieldsare set. true if the object matches |
getMethod | public String getMethod()(Code) | | Get the Method
method string. |
getSipVersion | public String getSipVersion()(Code) | | Get the SIP version.
String |
getUri | public URI getUri()(Code) | | Gets the Request-URI.
the request URI |
getVersionMajor | public String getVersionMajor()(Code) | | Get the major verrsion number.
String major version number |
getVersionMinor | public String getVersionMinor()(Code) | | Get the minor version number.
String minor version number |
setMethod | public void setMethod(String method)(Code) | | Set the method member
Parameters: method - String to set |
setSIPVersion | public void setSIPVersion(String sipVersion)(Code) | | Set the SIP version.
Parameters: sipVersion - -- the SIP version to set. |
setSipVersion | public void setSipVersion(String s)(Code) | | Set the sipVersion member
Parameters: s - String to set |
setUri | public void setUri(URI uri)(Code) | | Set the uri member.
Parameters: uri - URI to set. |
|
|
|