Class WebSite.WinCGI.Server
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class WebSite.WinCGI.Server

java.lang.Object
   |
   +----WebSite.WinCGI.Server

public final class Server
extends Object

The Server class implements access to WebSite server-related data items. It is a purely static class, and cannot be instantiated.

Author: Robert B. Denny
Version: 0.2 (experimental)

See Also:
Client, Request, Form, Response

Method Index

 o getAdminEmail()
Gets the email address of the WebSite server administrator.
 o getDebugFlag()
Gets the state of WebSite's "back-end debug tracing" option.
 o getGMTOffset()
Gets the GMT offset in seconds, negative is West of GMT.
 o getName()
Gets the internet (DNS) name of the server.
 o getPort()
Gets the IP port number of the server.
 o getProduct()
Gets the Website server product identification and version.
 o getVersion()
Gets the version of the CGI interface.

Methods

 o getProduct
  public static String getProduct()
Gets the Website server product identification and version.
 o getVersion
  public static String getVersion()
Gets the version of the CGI interface.
 o getName
  public static String getName()
Gets the internet (DNS) name of the server. This may be used to manufacture URLs that reference the server. NOTE: If WebSite is running in "multi-homed" mode, this string will contain the DNS name of the identity on which the current HTTP/CGI request was received.
 o getPort
  public static int getPort()
Gets the IP port number of the server. This may be used to manufacture URLs that reference the server. NOTE: This port number will differ depending on whether the HTTP request was received via an SSL connection or not.
 o getAdminEmail
  public static String getAdminEmail()
Gets the email address of the WebSite server administrator. This may be used to build "mailto:" URLs, for example.
 o getDebugFlag
  public static boolean getDebugFlag()
Gets the state of WebSite's "back-end debug tracing" option. This may be used to enable diagnostic features of your Java CGI program.
 o getGMTOffset
  public static int getGMTOffset()
Gets the GMT offset in seconds, negative is West of GMT. For example, the GMT offset for US Pacific Standard Time (PST, 8hr west) is -28800.

All Packages  Class Hierarchy  This Package  Previous  Next  Index