CommonContentHeaderProperties.java
01 /*
02  *
03  * Licensed to the Apache Software Foundation (ASF) under one
04  * or more contributor license agreements.  See the NOTICE file
05  * distributed with this work for additional information
06  * regarding copyright ownership.  The ASF licenses this file
07  * to you under the Apache License, Version 2.0 (the
08  * "License"); you may not use this file except in compliance
09  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  */
21 
22 package org.apache.qpid.framing;
23 
24 public interface CommonContentHeaderProperties extends ContentHeaderProperties
25 {
26     AMQShortString getContentType();
27 
28     void setContentType(AMQShortString contentType);
29 
30     FieldTable getHeaders();
31 
32     void setHeaders(FieldTable headers);
33 
34     byte getDeliveryMode();
35 
36     void setDeliveryMode(byte deliveryMode);
37 
38     byte getPriority();
39 
40     void setPriority(byte priority);
41 
42     AMQShortString getCorrelationId();
43 
44     void setCorrelationId(AMQShortString correlationId);
45 
46     AMQShortString getReplyTo();
47 
48     void setReplyTo(AMQShortString replyTo);
49 
50     long getExpiration();
51 
52     void setExpiration(long expiration);
53 
54     AMQShortString getMessageId();
55 
56     void setMessageId(AMQShortString messageId);
57 
58     long getTimestamp();
59 
60     void setTimestamp(long timestamp);
61 
62     AMQShortString getType();
63 
64     void setType(AMQShortString type);
65 
66     AMQShortString getUserId();
67 
68     void setUserId(AMQShortString userId);
69 
70     AMQShortString getAppId();
71 
72     void setAppId(AMQShortString appId);
73 
74     AMQShortString getClusterId();
75 
76     void setClusterId(AMQShortString clusterId);
77 
78     AMQShortString getEncoding();
79 
80     void setEncoding(AMQShortString encoding);
81 }