code: public Object getContent() throws IOException, UnsupportedEncodingException {
  		ContentTypeHeader contentTypeHeader = (ContentTypeHeader)
   			this.message.getHeader(ContentTypeHeader.NAME);
  		if(contentTypeHeader != null && logger.isDebugEnabled()) {
  			logger.debug("Content type " + contentTypeHeader.getContentType());
  			logger.debug("Content sub type " + contentTypeHeader.getContentSubType());
  		}
  		if(contentTypeHeader!= null && CONTENT_TYPE_TEXT.equals(contentTypeHeader.getContentType())) {
  			String content = null;
  			if(message.getRawContent() != null) {
  				String charset = this.getCharacterEncoding();
  				if(charset == null) {
  					content = new String(message.getRawContent());
  				} else {
  					content = new String(message.getRawContent(), charset);
  				}
  			} else {
  				content = "";
  			}
  			return content;
  		} else if(contentTypeHeader!= null && CONTENT_TYPE_MULTIPART.equals(contentTypeHeader.getContentType())) {
  			try {
  				return new MimeMultipart(new ByteArrayDataSource(message.getRawContent(),
  						contentTypeHeader.toString().replaceAll(ContentTypeHeader.NAME+": ", "")));
  			} catch (MessagingException e) {
  				logger.warn("Problem with multipart message.", e);
  				return this.message.getRawContent();
  			}
  		} else {
  			return this.message.getRawContent();
  		}
  	}
docs: /*
  (non-Javadoc)
  @see javax.servlet.sip.SipServletMessage#getContent()