001: /*
002: * Portions Copyright 2000-2007 Sun Microsystems, Inc. All Rights
003: * Reserved. Use is subject to license terms.
004: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
005: *
006: * This program is free software; you can redistribute it and/or
007: * modify it under the terms of the GNU General Public License version
008: * 2 only, as published by the Free Software Foundation.
009: *
010: * This program is distributed in the hope that it will be useful, but
011: * WITHOUT ANY WARRANTY; without even the implied warranty of
012: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
013: * General Public License version 2 for more details (a copy is
014: * included at /legal/license.txt).
015: *
016: * You should have received a copy of the GNU General Public License
017: * version 2 along with this work; if not, write to the Free Software
018: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
019: * 02110-1301 USA
020: *
021: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
022: * Clara, CA 95054 or visit www.sun.com if you need additional
023: * information or have any questions.
024: */
025: package gov.nist.siplite.header;
026:
027: /**
028: * Header names that are supported by this parser. These are the canonical
029: * names for the headers.
030: */
031: public interface HeaderNames {
032:
033: /**
034: * Constant ERROR_INFO field.
035: */
036: public static final String ERROR_INFO = "Error-Info";
037:
038: /**
039: * Constant MIME_VERSION field.
040: */
041: public static final String MIME_VERSION = "Mime-Version";
042:
043: /**
044: * Constant IN_REPLY_TO field.
045: */
046: public static final String IN_REPLY_TO = "In-Reply-To";
047:
048: /**
049: * Constant ALLOW field.
050: */
051: public static final String ALLOW = "Allow";
052:
053: /**
054: * Constant CONTENT_LANGUAGE field.
055: */
056: public static final String CONTENT_LANGUAGE = "Content-Language";
057:
058: /**
059: * Constant CALL_INFO field.
060: */
061: public static final String CALL_INFO = "Call-Info";
062:
063: /**
064: * Constant CSEQ field.
065: */
066: public static final String CSEQ = "CSeq";
067:
068: /**
069: * Constant ALERT_INFO field.
070: */
071: public static final String ALERT_INFO = "Alert-Info";
072:
073: /**
074: * Constant ACCEPT_ENCODING field.
075: */
076: public static final String ACCEPT_ENCODING = "Accept-Encoding";
077:
078: /**
079: * Constant ACCEPT field.
080: */
081: public static final String ACCEPT = "Accept";
082:
083: /**
084: * Constant ENCRYPTION field.
085: */
086: public static final String ENCRYPTION = "Encryption";
087:
088: /**
089: * Constant ACCEPT_LANGUAGE field.
090: */
091: public static final String ACCEPT_LANGUAGE = "Accept-Language";
092:
093: /**
094: * Constant RECORD_ROUTE field.
095: */
096: public static final String RECORD_ROUTE = "Record-Route";
097:
098: /**
099: * Constant TIMESTAMP field.
100: */
101: public static final String TIMESTAMP = "Timestamp";
102:
103: /**
104: * Constant TO field.
105: */
106: public static final String TO = "To";
107:
108: /**
109: * Constant VIA field.
110: */
111: public static final String VIA = "Via";
112:
113: /**
114: * Constant FROM field.
115: */
116: public static final String FROM = "From";
117:
118: /**
119: * Constant CALL_ID field.
120: */
121: public static final String CALL_ID = "Call-Id";
122:
123: /**
124: * Constant AUTHORIZATION field.
125: */
126: public static final String AUTHORIZATION = "Authorization";
127:
128: /**
129: * Constant PROXY_AUTHENTICATE field.
130: */
131: public static final String PROXY_AUTHENTICATE = "Proxy-Authenticate";
132:
133: /**
134: * Constant SERVER field.
135: */
136: public static final String SERVER = "Server";
137:
138: /**
139: * Constant UNSUPPORTED field.
140: */
141: public static final String UNSUPPORTED = "Unsupported";
142:
143: /**
144: * Constant RETRY_AFTER field.
145: */
146: public static final String RETRY_AFTER = "Retry-After";
147:
148: /**
149: * Constant CONTENT_TYP field.
150: */
151: public static final String CONTENT_TYPE = "Content-Type";
152:
153: /**
154: * Constant CONTENT_ENCODING field.
155: */
156: public static final String CONTENT_ENCODING = "Content-Encoding";
157:
158: /**
159: * Constant CONTENT_LENGTH field.
160: */
161: public static final String CONTENT_LENGTH = "Content-Length";
162:
163: /**
164: * Constant HIDE field.
165: */
166: public static final String HIDE = "Hide";
167:
168: /**
169: * Constant ROUTE field.
170: */
171: public static final String ROUTE = "Route";
172:
173: /**
174: * Constant CONTACT field.
175: */
176: public static final String CONTACT = "Contact";
177:
178: /**
179: * Constant WWW_AUTHENTICATE field.
180: */
181: public static final String WWW_AUTHENTICATE = "WWW-Authenticate";
182:
183: /**
184: * Constant MAX_FORWARDS field.
185: */
186: public static final String MAX_FORWARDS = "Max-Forwards";
187:
188: /**
189: * Constant ORGANIZATION field.
190: */
191: public static final String ORGANIZATION = "Organization";
192:
193: /**
194: * Constant PROXY_AUTHORIZATION field.
195: */
196: public static final String PROXY_AUTHORIZATION = "Proxy-Authorization";
197:
198: /**
199: * Constant PROXY_REQUIRE field.
200: */
201: public static final String PROXY_REQUIRE = "Proxy-Require";
202:
203: /**
204: * Constant REQUIRE field.
205: */
206: public static final String REQUIRE = "Require";
207:
208: /**
209: * Constant CONTENT_DISPOSITION field.
210: */
211: public static final String CONTENT_DISPOSITION = "Content-Disposition";
212:
213: /**
214: * Constant SUBJECT field.
215: */
216: public static final String SUBJECT = "Subject";
217:
218: /**
219: * Constant USER_AGENT field.
220: */
221: public static final String USER_AGENT = "User-Agent";
222:
223: /**
224: * Constant WARNING field.
225: */
226: public static final String WARNING = "Warning";
227:
228: /**
229: * Constant PRIORITY field.
230: */
231: public static final String PRIORITY = "Priority";
232:
233: /**
234: * Constant DATE field.
235: */
236: public static final String DATE = "Date";
237:
238: /**
239: * Constant EXPIRES field.
240: */
241: public static final String EXPIRES = "Expires";
242:
243: /**
244: * Constant RESPONSE_KEY field.
245: */
246: public static final String RESPONSE_KEY = "Response-Key";
247:
248: /**
249: * Constant WARN_AGENT field.
250: */
251: public static final String WARN_AGENT = "Warn-Agent";
252:
253: /**
254: * Constant SUPPORTED field.
255: */
256: public static final String SUPPORTED = "Supported";
257:
258: /** Constant EVENT field. */
259: public static final String EVENT = "Event";
260:
261: }
|