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