Home | History | Annotate | Download | only in message
      1 package gov.nist.javax.sip.message;
      2 
      3 import javax.sip.header.ContentDispositionHeader;
      4 import javax.sip.header.ContentTypeHeader;
      5 
      6 public interface Content {
      7 
      8     public abstract void setContent(Object content);
      9 
     10     public abstract Object getContent();
     11 
     12     public abstract ContentTypeHeader getContentTypeHeader();
     13 
     14     public abstract ContentDispositionHeader getContentDispositionHeader();
     15 
     16     /**
     17      * The default packing method. This packs the content to be appended to the
     18      * sip message.
     19      *
     20      */
     21     public abstract String toString();
     22 
     23 
     24 }
     25