• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 * Conditions Of Use
3 *
4 * This software was developed by employees of the National Institute of
5 * Standards and Technology (NIST), an agency of the Federal Government.
6 * Pursuant to title 15 Untied States Code Section 105, works of NIST
7 * employees are not subject to copyright protection in the United States
8 * and are considered to be in the public domain.  As a result, a formal
9 * license is not needed to use the software.
10 *
11 * This software is provided by NIST as a service and is expressly
12 * provided "AS IS."  NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
13 * OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
14 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
15 * AND DATA ACCURACY.  NIST does not warrant or make any representations
16 * regarding the use of the software or the results thereof, including but
17 * not limited to the correctness, accuracy, reliability or usefulness of
18 * the software.
19 *
20 * Permission to use this software is contingent upon your acceptance
21 * of the terms of this agreement
22 *
23 * .
24 *
25 */
26 package gov.nist.javax.sip.parser;
27 import javax.sip.message.Request;
28 import gov.nist.javax.sip.address.*;
29 import gov.nist.javax.sip.header.*;
30 
31 /**
32  * A grab bag of SIP Token names.
33  *
34  * @version 1.2 $Revision: 1.10 $ $Date: 2009/07/27 20:35:02 $
35  *
36  * @author M. Ranganathan   <br/>
37  *
38  *
39  */
40 public interface TokenNames
41     extends
42         gov.nist.javax.sip.header.ParameterNames,
43         gov.nist.javax.sip.address.ParameterNames {
44     // And now dreaded short forms....
45     public static final String INVITE = Request.INVITE;
46     public static final String ACK = Request.ACK;
47     public static final String BYE = Request.BYE;
48     public static final String SUBSCRIBE = Request.SUBSCRIBE;
49     public static final String NOTIFY = Request.NOTIFY;
50     public static final String OPTIONS = Request.OPTIONS;
51     public static final String REGISTER = Request.REGISTER;
52     public static final String MESSAGE = Request.MESSAGE;
53     public static final String PUBLISH = Request.PUBLISH;
54 
55     public static final String SIP = GenericURI.SIP;
56     public static final String SIPS = GenericURI.SIPS;
57     public static final String TEL = GenericURI.TEL;
58     public static final String GMT = SIPDate.GMT;
59     public static final String MON = SIPDate.MON;
60     public static final String TUE = SIPDate.TUE;
61     public static final String WED = SIPDate.WED;
62     public static final String THU = SIPDate.THU;
63     public static final String FRI = SIPDate.FRI;
64     public static final String SAT = SIPDate.SAT;
65     public static final String SUN = SIPDate.SUN;
66     public static final String JAN = SIPDate.JAN;
67     public static final String FEB = SIPDate.FEB;
68     public static final String MAR = SIPDate.MAR;
69     public static final String APR = SIPDate.APR;
70     public static final String MAY = SIPDate.MAY;
71     public static final String JUN = SIPDate.JUN;
72     public static final String JUL = SIPDate.JUL;
73     public static final String AUG = SIPDate.AUG;
74     public static final String SEP = SIPDate.SEP;
75     public static final String OCT = SIPDate.OCT;
76     public static final String NOV = SIPDate.NOV;
77     public static final String DEC = SIPDate.DEC;
78     public static final String K = "K";
79     public static final String C = "C";
80     public static final String E = "E";
81     public static final String F = "F";
82     public static final String I = "I";
83     public static final String M = "M";
84     public static final String L = "L";
85     public static final String S = "S";
86     public static final String T = "T";
87     public static final String U = "U";// JvB: added
88     public static final String V = "V";
89     public static final String R = "R";
90     public static final String O = "O";
91     public static final String X = "X"; //Jozef Saniga added
92 }
93 /*
94  * $Log: TokenNames.java,v $
95  * Revision 1.10  2009/07/27 20:35:02  deruelle_jean
96  * Fix for the compact form of SessionExpires Header from RFC 4028
97  *
98  * Issue number:
99  * Obtained from: Jozef Saniga
100  * Submitted by:  Jean Deruelle
101  * Reviewed by:
102  *
103  * Revision 1.9  2009/07/17 18:58:06  emcho
104  * Converts indentation tabs to spaces so that we have a uniform indentation policy in the whole project.
105  *
106  * Revision 1.8  2006/07/13 09:02:13  mranga
107  * Issue number:
108  * Obtained from:
109  * Submitted by:  jeroen van bemmel
110  * Reviewed by:   mranga
111  * Moved some changes from jain-sip-1.2 to java.net
112  *
113  * CVS: ----------------------------------------------------------------------
114  * CVS: Issue number:
115  * CVS:   If this change addresses one or more issues,
116  * CVS:   then enter the issue number(s) here.
117  * CVS: Obtained from:
118  * CVS:   If this change has been taken from another system,
119  * CVS:   then name the system in this line, otherwise delete it.
120  * CVS: Submitted by:
121  * CVS:   If this code has been contributed to the project by someone else; i.e.,
122  * CVS:   they sent us a patch or a set of diffs, then include their name/email
123  * CVS:   address here. If this is your work then delete this line.
124  * CVS: Reviewed by:
125  * CVS:   If we are doing pre-commit code reviews and someone else has
126  * CVS:   reviewed your changes, include their name(s) here.
127  * CVS:   If you have not had it reviewed then delete this line.
128  *
129  * Revision 1.5  2006/06/19 06:47:27  mranga
130  * javadoc fixups
131  *
132  * Revision 1.4  2006/06/16 15:26:28  mranga
133  * Added NIST disclaimer to all public domain files. Clean up some javadoc. Fixed a leak
134  *
135  * Revision 1.3  2005/10/27 20:49:00  jeroen
136  * added support for RFC3903 PUBLISH
137  *
138  * Revision 1.2  2005/10/08 23:13:56  jeroen
139  * added short form for Allow-Events
140  *
141  * Revision 1.1.1.1  2005/10/04 17:12:36  mranga
142  *
143  * Import
144  *
145  *
146  * Revision 1.5  2005/04/27 14:12:05  mranga
147  * Submitted by:  Mario Mantak
148  * Reviewed by:   mranga
149  *
150  * Added a missing "short form" for event header.
151  *
152  * Revision 1.4  2004/01/22 13:26:32  sverker
153  * Issue number:
154  * Obtained from:
155  * Submitted by:  sverker
156  * Reviewed by:   mranga
157  *
158  * Major reformat of code to conform with style guide. Resolved compiler and javadoc warnings. Added CVS tags.
159  *
160  * CVS: ----------------------------------------------------------------------
161  * CVS: Issue number:
162  * CVS:   If this change addresses one or more issues,
163  * CVS:   then enter the issue number(s) here.
164  * CVS: Obtained from:
165  * CVS:   If this change has been taken from another system,
166  * CVS:   then name the system in this line, otherwise delete it.
167  * CVS: Submitted by:
168  * CVS:   If this code has been contributed to the project by someone else; i.e.,
169  * CVS:   they sent us a patch or a set of diffs, then include their name/email
170  * CVS:   address here. If this is your work then delete this line.
171  * CVS: Reviewed by:
172  * CVS:   If we are doing pre-commit code reviews and someone else has
173  * CVS:   reviewed your changes, include their name(s) here.
174  * CVS:   If you have not had it reviewed then delete this line.
175  *
176  */
177