Methods Summary |
---|
public void | addHeader(java.lang.String name, java.lang.String value)Adds a header to the SIP message.
|
public javax.microedition.sip.SipDialog | getDialog()Returns the current SIP dialog. This is available when the SipConnection
belongs to a created SipDialog and the system has received (or sent)
provisional (101-199) or final response (200).
|
public java.lang.String | getHeader(java.lang.String name)Gets the header field value of specified header type.
|
public java.lang.String[] | getHeaders(java.lang.String name)Gets the header field value(s) of specified header type
|
public java.lang.String | getMethod()Gets the SIP method. Applicable when a message has been
initialized or received.
|
public java.lang.String | getReasonPhrase()Gets SIP response reason phrase. Available when SipClientConnection is in
Proceeding or Completed state or when SipServerConnection is in
Initialized state.
|
public java.lang.String | getRequestURI()Gets Request-URI.
|
public int | getStatusCode()Gets SIP response status code. Available when SipClientConnection is in
Proceeding or Completed state or when SipServerConnection is in
Initialized state.
|
public java.io.InputStream | openContentInputStream()Returns InputStream to read SIP message body content.
|
public java.io.OutputStream | openContentOutputStream()Returns OutputStream to fill the SIP message body content.
|
public void | removeHeader(java.lang.String name)Reomves header from the SIP message.
|
public void | send()Sends the SIP message. Send must also close the OutputStream
if it was opened
|
public void | setHeader(java.lang.String name, java.lang.String value)Sets header value in SIP message.
|