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

javax.sip.header
Interface ContentTypeHeader

All Superinterfaces:
Cloneable, Header, MediaType, Parameters, Serializable
All Known Implementing Classes:
ContentType

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

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

Field Summary
static 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 String NAME
Name of ContentTypeHeader

See Also:
Constant Field Values

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.