NIST SIP Parser and Stack (v1.2) API

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.1
Author:
Sun Microsystems
See Also:
ContentDispositionHeader, ContentLengthHeader, ContentEncodingHeader, ContentLanguageHeader

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

See Also:
Constant Field Values

NIST SIP Parser and Stack (v1.2) API

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