NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

gov.nist.javax.sip.message
Class ContentImpl

java.lang.Object
  extended by gov.nist.javax.sip.message.ContentImpl
All Implemented Interfaces:
Content

public class ContentImpl
extends Object
implements Content


Constructor Summary
ContentImpl(ContentTypeHeader ctHeader, String content, String boundary)
           
 
Method Summary
 Object getContent()
           
 ContentTypeHeader getContentTypeHeader()
           
 void setContent(Object content)
           
 String toString()
          The default packing method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentImpl

public ContentImpl(ContentTypeHeader ctHeader,
                   String content,
                   String boundary)
Method Detail

setContent

public void setContent(Object content)
Specified by:
setContent in interface Content

getContentTypeHeader

public ContentTypeHeader getContentTypeHeader()
Specified by:
getContentTypeHeader in interface Content

getContent

public Object getContent()
Specified by:
getContent in interface Content

toString

public String toString()
Description copied from interface: Content
The default packing method. This packs the content to be appended to the sip message.

Specified by:
toString in interface Content
Overrides:
toString in class Object

NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.