public class RequestLine
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
method
Request method
|
protected GenericURI |
uri
Request target
|
Constructor and Description |
---|
RequestLine(java.lang.String method,
GenericURI uri)
Creates a new RequestLine request with sipurl as recipient.
|
RequestLine(java.lang.String request,
java.lang.String str_uri)
Creates a new RequestLine request with sipurl as recipient.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a new copy of the RequestLine.
|
boolean |
equals(java.lang.Object obj)
Whether Object obj is "equal to" this RequestLine.
|
GenericURI |
getAddress()
Gets the request target.
|
java.lang.String |
getMethod()
Gets the request method.
|
java.lang.String |
toString()
Gets String value of this Object.
|
protected java.lang.String method
protected GenericURI uri
public RequestLine(java.lang.String request, java.lang.String str_uri)
public RequestLine(java.lang.String method, GenericURI uri)
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getMethod()
public GenericURI getAddress()