01: /**
02: * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
03: * Unpublished - rights reserved under the Copyright Laws of the United States.
04: * Copyright © 2003 Sun Microsystems, Inc. All rights reserved.
05: * Copyright © 2005 BEA Systems, Inc. All rights reserved.
06: *
07: * Use is subject to license terms.
08: *
09: * This distribution may include materials developed by third parties.
10: *
11: * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12: *
13: * Module Name : JSIP Specification
14: * File Name : ContentTypeHeader.java
15: * Author : Phelim O'Doherty
16: *
17: * HISTORY
18: * Version Date Author Comments
19: * 1.1 08/10/2002 Phelim O'Doherty
20: *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21: */package javax.sip.header;
22:
23: /**
24: * The Content-Type header field indicates the media type of the message-body
25: * sent to the recipient. The Content-Type header field MUST be present if the
26: * body is not empty. If the body is empty, and a Content-Type header field is
27: * present, it indicates that the body of the specific type has zero length
28: * (for example, an empty audio file).
29: * <p>
30: * For Example:<br>
31: * <code>Content-Type: application/sdp</code>
32: *
33: * @see ContentDispositionHeader
34: * @see ContentLengthHeader
35: * @see ContentEncodingHeader
36: * @see ContentLanguageHeader
37: *
38: * @author BEA Systems, NIST
39: * @version 1.2
40: */
41:
42: public interface ContentTypeHeader extends MediaType, Parameters,
43: Header {
44:
45: /**
46: * Name of ContentTypeHeader
47: */
48: public final static String NAME = "Content-Type";
49:
50: }
|