KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > ubik > rmi > server > transport > http > HttpConsts


1 package org.sapia.ubik.rmi.server.transport.http;
2
3
4 /**
5  * Holds constants.
6  *
7  * @author Yanick Duchesne
8  * <dl>
9  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2004 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
10  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
11  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
12  * </dl>
13  */

14 public interface HttpConsts {
15   /**
16    * This constant specifies the default HTTP port: 8080.
17    */

18   public static final int DEFAULT_HTTP_PORT = 8080;
19
20   /**
21    * This constant specifies the default HTTP "transport type" identifier: http.
22    */

23   public static final String JavaDoc DEFAULT_HTTP_TRANSPORT_TYPE = "http";
24
25   /**
26    * Corresponds to the <code>ubik.rmi.transport.http.port</code> property, used
27    * to specify the port on which a HTTP Ubik RMI server should be bound (for
28    * a given <code>HttpTransportProvider</code> instance.
29    */

30   public static final String JavaDoc HTTP_PORT_KEY = "ubik.rmi.transport.http.port";
31
32   /**
33    * The key of the property that corresponds to the server URL that is made available to clients.
34    * (<code>ubik.rmi.transport.http.url</code>).
35    */

36   public static final String JavaDoc SERVER_URL_KEY = "ubik.rmi.transport.http.url";
37
38   /**
39    * The key of the property that corresponds to the path under which the Ubik request handler is bound.
40    * (<code>ubik.rmi.transport.http.path</code>).
41    */

42   public static final String JavaDoc PATH_KEY = "ubik.rmi.transport.http.path";
43
44   /**
45    * This constant specifies the default context path.
46    */

47   public static final String JavaDoc DEFAULT_CONTEXT_PATH = "/ubik";
48 }
49
Popular Tags