JSIP API v1.2
November 2006

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

Author:
BEA Systems, NIST
See Also:
ContentDispositionHeader, ContentLengthHeader, ContentEncodingHeader, ContentLanguageHeader

Field Summary
static java.lang.String NAME
          Name of ContentTypeHeader
 
Method Summary
 
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, hashCode, toString
 

Field Detail

NAME

static final java.lang.String NAME
Name of ContentTypeHeader

See Also:
Constant Field Values

JSIP API v1.2
November 2006

If you have any comments, please mail them to JAIN-SIP-INTEREST@java.sun.com after subscribing at http://archives.java.sun.com
Copyright - 2006 BEA Systems and Sun Microsystems