Base class for all SIP body types.
SIP body type to represent an invalid content type (MIME content-type Invalid/Invalid).
virtual EncodeStream & encodeParsed(EncodeStream &str) const
Data & text()
Gets the parsed text from invalid contents.
static const Mime & getStaticType()
const Mime & getOriginalType() const
Gets the MIME content-type used in the constructor of InvalidContents.
virtual void parse(ParseBuffer &pb)
InvalidContents & operator=(const InvalidContents &rhs)
const Data & text() const
Gets a const reference to the parsed text from invalid contents.
virtual ~InvalidContents()
virtual Contents * clone() const
duplicate an InvalidContents object