JAIN SIP API
v1.1 - 23rd June 2003

javax.sip.header
Interface ContentTypeHeader

All Superinterfaces:
java.lang.Cloneable, Header, MediaType, Parameters, java.io.Serializable

public interface ContentTypeHeader
extends MediaType, Parameters, Header

The Content-Type header field indicates the media type of the message-body sent to the recipient. The Content-Type header field MUST be present if the body is not empty. If the body is empty, and a Content-Type header field is present, it indicates that the body of the specific type has zero length (for example, an empty audio file).

For Example:
Content-Type: application/sdp

See Also:
ContentDispositionHeader, ContentLengthHeader, ContentEncodingHeader, ContentLanguageHeader

Field Summary
static java.lang.String NAME
          Name of ContentTypeHeader
 
Methods inherited from interface javax.sip.header.MediaType
getContentSubType, getContentType, setContentSubType, setContentType
 
Methods inherited from interface javax.sip.header.Parameters
getParameter, getParameterNames, removeParameter, setParameter
 
Methods inherited from interface javax.sip.header.Header
clone, equals, getName, toString
 

Field Detail

NAME

public static final java.lang.String NAME
Name of ContentTypeHeader

See Also:
Constant Field Values

JAIN SIP API
v1.1 - 23rd June 2003

If you have any comments, please mail them to JAIN-SIP-INTEREST@java.sun.com after subscribing to the
JAIN-SIP-Interest list at http://archives.java.sun.com
Copyright - 2003 Sun Microsystems