View Javadoc
1   /*
2    * Copyright 2014 The Netty Project
3    *
4    * The Netty Project licenses this file to you under the Apache License,
5    * version 2.0 (the "License"); you may not use this file except in compliance
6    * with the License. You may obtain a copy of the License at:
7    *
8    *   https://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13   * License for the specific language governing permissions and limitations
14   * under the License.
15   */
16  
17  package io.netty.handler.codec.rtsp;
18  
19  import io.netty.handler.codec.http.HttpHeaderValues;
20  import io.netty.util.AsciiString;
21  
22  /**
23   * Standard RTSP header names.
24   */
25  public final class RtspHeaderValues {
26      /**
27       * {@code "append"}
28       */
29      public static final AsciiString APPEND = AsciiString.cached("append");
30      /**
31       * {@code "AVP"}
32       */
33      public static final AsciiString AVP = AsciiString.cached("AVP");
34      /**
35       * {@code "bytes"}
36       */
37      public static final AsciiString BYTES = HttpHeaderValues.BYTES;
38      /**
39       * {@code "charset"}
40       */
41      public static final AsciiString CHARSET = HttpHeaderValues.CHARSET;
42      /**
43       * {@code "client_port"}
44       */
45      public static final AsciiString CLIENT_PORT = AsciiString.cached("client_port");
46      /**
47       * {@code "clock"}
48       */
49      public static final AsciiString CLOCK = AsciiString.cached("clock");
50      /**
51       * {@code "close"}
52       */
53      public static final AsciiString CLOSE = HttpHeaderValues.CLOSE;
54      /**
55       * {@code "compress"}
56       */
57      public static final AsciiString COMPRESS = HttpHeaderValues.COMPRESS;
58      /**
59       * {@code "100-continue"}
60       */
61      public static final AsciiString CONTINUE =  HttpHeaderValues.CONTINUE;
62      /**
63       * {@code "deflate"}
64       */
65      public static final AsciiString DEFLATE = HttpHeaderValues.DEFLATE;
66      /**
67       * {@code "destination"}
68       */
69      public static final AsciiString DESTINATION = AsciiString.cached("destination");
70      /**
71       * {@code "gzip"}
72       */
73      public static final AsciiString GZIP = HttpHeaderValues.GZIP;
74      /**
75       * {@code "identity"}
76       */
77      public static final AsciiString IDENTITY = HttpHeaderValues.IDENTITY;
78      /**
79       * {@code "interleaved"}
80       */
81      public static final AsciiString INTERLEAVED = AsciiString.cached("interleaved");
82      /**
83       * {@code "keep-alive"}
84       */
85      public static final AsciiString KEEP_ALIVE = HttpHeaderValues.KEEP_ALIVE;
86      /**
87       * {@code "layers"}
88       */
89      public static final AsciiString LAYERS = AsciiString.cached("layers");
90      /**
91       * {@code "max-age"}
92       */
93      public static final AsciiString MAX_AGE = HttpHeaderValues.MAX_AGE;
94      /**
95       * {@code "max-stale"}
96       */
97      public static final AsciiString MAX_STALE = HttpHeaderValues.MAX_STALE;
98      /**
99       * {@code "min-fresh"}
100      */
101     public static final AsciiString MIN_FRESH = HttpHeaderValues.MIN_FRESH;
102     /**
103      * {@code "mode"}
104      */
105     public static final AsciiString MODE = AsciiString.cached("mode");
106     /**
107      * {@code "multicast"}
108      */
109     public static final AsciiString MULTICAST = AsciiString.cached("multicast");
110     /**
111      * {@code "must-revalidate"}
112      */
113     public static final AsciiString MUST_REVALIDATE = HttpHeaderValues.MUST_REVALIDATE;
114     /**
115      * {@code "none"}
116      */
117     public static final AsciiString NONE = HttpHeaderValues.NONE;
118     /**
119      * {@code "no-cache"}
120      */
121     public static final AsciiString NO_CACHE = HttpHeaderValues.NO_CACHE;
122     /**
123      * {@code "no-transform"}
124      */
125     public static final AsciiString NO_TRANSFORM = HttpHeaderValues.NO_TRANSFORM;
126     /**
127      * {@code "only-if-cached"}
128      */
129     public static final AsciiString ONLY_IF_CACHED = HttpHeaderValues.ONLY_IF_CACHED;
130     /**
131      * {@code "port"}
132      */
133     public static final AsciiString PORT = AsciiString.cached("port");
134     /**
135      * {@code "private"}
136      */
137     public static final AsciiString PRIVATE = HttpHeaderValues.PRIVATE;
138     /**
139      * {@code "proxy-revalidate"}
140      */
141     public static final AsciiString PROXY_REVALIDATE = HttpHeaderValues.PROXY_REVALIDATE;
142     /**
143      * {@code "public"}
144      */
145     public static final AsciiString PUBLIC = HttpHeaderValues.PUBLIC;
146     /**
147      * {@code "RTP"}
148      */
149     public static final AsciiString RTP = AsciiString.cached("RTP");
150     /**
151      * {@code "rtptime"}
152      */
153     public static final AsciiString RTPTIME = AsciiString.cached("rtptime");
154     /**
155      * {@code "seq"}
156      */
157     public static final AsciiString SEQ = AsciiString.cached("seq");
158     /**
159      * {@code "server_port"}
160      */
161     public static final AsciiString SERVER_PORT = AsciiString.cached("server_port");
162     /**
163      * {@code "ssrc"}
164      */
165     public static final AsciiString SSRC = AsciiString.cached("ssrc");
166     /**
167      * {@code "TCP"}
168      */
169     public static final AsciiString TCP = AsciiString.cached("TCP");
170     /**
171      * {@code "time"}
172      */
173     public static final AsciiString TIME = AsciiString.cached("time");
174     /**
175      * {@code "timeout"}
176      */
177     public static final AsciiString TIMEOUT = AsciiString.cached("timeout");
178     /**
179      * {@code "ttl"}
180      */
181     public static final AsciiString TTL = AsciiString.cached("ttl");
182     /**
183      * {@code "UDP"}
184      */
185     public static final AsciiString UDP = AsciiString.cached("UDP");
186     /**
187      * {@code "unicast"}
188      */
189     public static final AsciiString UNICAST = AsciiString.cached("unicast");
190     /**
191      * {@code "url"}
192      */
193     public static final AsciiString URL = AsciiString.cached("url");
194 
195     private RtspHeaderValues() { }
196 }