org.echarts.servlet.sip
Class SipServletMessageHelper

java.lang.Object
  extended by org.echarts.servlet.sip.SipServletMessageHelper

public class SipServletMessageHelper
extends java.lang.Object

Formats SipServletMessage as an equivalent String.


Constructor Summary
SipServletMessageHelper()
           
 
Method Summary
static java.lang.String writeFirstLine(SipServletMessage msg)
          Format the first line of the SIP message
static java.lang.String writeMessage(SipServletMessage msg)
          Format an equivalent SIP message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SipServletMessageHelper

public SipServletMessageHelper()
Method Detail

writeMessage

public static java.lang.String writeMessage(SipServletMessage msg)
Format an equivalent SIP message.

Parameters:
msg - message to be formatted
Returns:
formatted String

writeFirstLine

public static java.lang.String writeFirstLine(SipServletMessage msg)
Format the first line of the SIP message

Parameters:
msg - message to be formatted
Returns:
formatted String