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 : ContentEncodingHeader.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: * A ContentEncodingHeader is used as a modifier to the "media-type". When
25: * present, its value indicates what additional content codings have been
26: * applied to the entity-body, and thus what decoding mechanisms must be
27: * applied in order to obtain the media-type referenced by the
28: * ContentTypeHeader. The ContentEncodingHeader is primarily used to allow a
29: * body to be compressed without losing the identity of its underlying media
30: * type.
31: * <p>
32: * If multiple encodings have been applied to an entity, the ContentEncodings
33: * must be listed in the order in which they were applied. All content-coding
34: * values are case-insensitive. Clients MAY apply content encodings to the body
35: * in requests. A server MAY
36: * apply content encodings to the bodies in responses. The server MUST only
37: * use encodings listed in the Accept-Encoding header field in the request.
38: * If the server is not capable of decoding the body, or does not recognize any
39: * of the content-coding values, it must send a UNSUPPORTED_MEDIA_TYPE
40: * Response, listing acceptable encodings in an AcceptEncodingHeader.
41: *
42: * @see ContentDispositionHeader
43: * @see ContentLengthHeader
44: * @see ContentTypeHeader
45: * @see ContentLanguageHeader
46: *
47: * @author BEA Systems, NIST
48: * @version 1.2
49: */
50:
51: public interface ContentEncodingHeader extends Encoding, Header {
52:
53: /**
54: * Name of ContentEncodingHeader
55: */
56: public final static String NAME = "Content-Encoding";
57:
58: }
|