/**
  * Convert to a formatted string for pretty printing. Note that the encode method converts this
  * into a sip message that is suitable for transmission. Note hack here if you want to convert the
  * nice curly brackets into some grotesque XML tag.
  *
  * @return a string which can be used to examine the message contents.
  */
 public String debugDump() {
   String superstring = super.debugDump();
   stringRepresentation = "";
   sprint(SIPRequest.class.getName());
   sprint("{");
   if (requestLine != null) sprint(requestLine.debugDump());
   sprint(superstring);
   sprint("}");
   return stringRepresentation;
 }