MjSip Stack
v1.6

org.zoolu.sip.header
Class RequestLine

java.lang.Object
  |
  +--org.zoolu.sip.header.RequestLine

public class RequestLine
extends java.lang.Object

SIP Request-line, i.e. the first line of a request message
The initial Request-URI of the message SHOULD be set to the value of the URI in the To field.


Field Summary
protected  java.lang.String method
           
protected  SipURL url
           
 
Constructor Summary
RequestLine(java.lang.String request, SipURL sipUrl)
           
RequestLine(java.lang.String request, java.lang.String sipUrl)
          Construct RequestLine request with sipurl as recipient
 
Method Summary
 java.lang.Object clone()
          Create a new copy of the RequestLine
 boolean equals(java.lang.Object obj)
          Indicates whether some other Object is "equal to" this RequestLine
 SipURL getAddress()
           
 java.lang.String getMethod()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

method

protected java.lang.String method

url

protected SipURL url
Constructor Detail

RequestLine

public RequestLine(java.lang.String request,
                   java.lang.String sipUrl)
Construct RequestLine request with sipurl as recipient

RequestLine

public RequestLine(java.lang.String request,
                   SipURL sipUrl)
Method Detail

clone

public java.lang.Object clone()
Create a new copy of the RequestLine
Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other Object is "equal to" this RequestLine
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getMethod

public java.lang.String getMethod()

getAddress

public SipURL getAddress()

MjSip Stack
v1.6