1 package org.apache.turbine.util.uri;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 /***
20 * This interface contains all the constants that are always needed when
21 * working with URIs.
22 *
23 * @author <a href="mailto:hps@intermeta.de">Henning P. Schmiedehausen</a>
24 * @author <a href="mailto:quintonm@bellsouth.net">Quinton McCombs</a>
25 * @version $Id: URIConstants.java 264148 2005-08-29 14:21:04Z henning $
26 */
27
28 public interface URIConstants
29 {
30 /*** HTTP protocol. */
31 String HTTP = "http";
32
33 /*** HTTPS protocol. */
34 String HTTPS = "https";
35
36 /*** HTTP Default Port */
37 int HTTP_PORT = 80;
38
39 /*** HTTPS Default Port */
40 int HTTPS_PORT = 443;
41
42 /*** FTP Default Control Port */
43 int FTP_PORT = 20;
44
45 /*** Path Info Data Marker */
46 int PATH_INFO = 0;
47
48 /*** Query Data Marker */
49 int QUERY_DATA = 1;
50
51 /***
52 * The part of the URI which separates the protocol indicator (i.e. the
53 * scheme) from the rest of the URI.
54 */
55 String URI_SCHEME_SEPARATOR = "://";
56
57 /*** CGI parameter for action name */
58 String CGI_ACTION_PARAM = "action";
59
60 /*** CGI parameter for screen name */
61 String CGI_SCREEN_PARAM = "screen";
62
63 /*** CGI parameter for template name */
64 String CGI_TEMPLATE_PARAM = "template";
65
66 /*** prefix for event names */
67 String EVENT_PREFIX = "eventSubmit_";
68 }