org.opensubsystems.core.www
Interface WebCommonConstants


public interface WebCommonConstants

Definition of common constants for WWW used throughout the application.

Version:
$Id: WebCommonConstants.java,v 1.7 2007/02/20 04:10:16 bastafidli Exp $
Author:
Miro Halas
Code reviewer:
Miro Halas
Code reviewed:
1.4 2006/04/26 02:06:38 jlegeny

Field Summary
static java.lang.String DEFAULT_DIRECTORY_WEB_PAGE
          Default page to display for directory.
static java.lang.String EXTENSION_SEPARATOR
          String used to separate extension in URLs
static char EXTENSION_SEPARATOR_CHAR
          Character used to separate extension in URLs
static int HTTP_PORT_BACKUP
          Standard backup (2nd instance) HTTP port.
static int HTTP_PORT_DEFAULT
          Default HTTP port.
static int HTTP_PORT_MAX
          Maximal HTTP port.
static int HTTP_PORT_MIN
          Minimal HTTP port.
static int HTTP_SECURE_PORT_BACKUP
          Backup (2nd instance) HTTPS port.
static int HTTP_SECURE_PORT_DEFAULT
          Default HTTPS port.
static int HTTP_SECURE_PORT_MAX
          Maximal HTTPS port.
static int HTTP_SECURE_PORT_MIN
          Minimal HTTPS port.
static java.lang.String ITEM_SEPARATOR
          Item separator
static java.lang.String JPEG_IMAGE_EXTENSION
          Valid extension for web images.
static java.lang.String OBJECT_SEPARATOR
          Object separator
static java.lang.String OBJECT_SEPARATOR2
          Object separator 2
static java.lang.String PROTOCOL_HTTP
          String defining a http protocol
static java.lang.String PROTOCOL_HTTPS
          String defining a https protocol
static java.lang.String URL_PARAMETER_PARAMETER_SEPARATOR
          String used to separate parameters from each other.
static char URL_PARAMETER_PARAMETER_SEPARATOR_CHAR
          Character used to separate parameters from each other.
static java.lang.String URL_PARAMETER_SEPARATOR
          String used to separate parameters from the rest of the url
static char URL_PARAMETER_SEPARATOR_CHAR
          Character used to separate parameters from the rest of the url
static java.lang.String URL_PARAMETER_VALUE_SEPARATOR
          String used to separate parameter name from value.
static char URL_PARAMETER_VALUE_SEPARATOR_CHAR
          Character used to separate parameter name from value.
static java.lang.String URL_ROOT
          String used as a root URL
static java.lang.String URL_SEPARATOR
          String used to separate different portions of URLs
static char URL_SEPARATOR_CHAR
          Character used to separate different portions of URLs
static int WEB_IMAGE_EXTENSION_LENGTH
          Length of JPEG_IMAGE_EXTENSION.
static java.lang.String WEB_PAGE_EXTENSION
          Valid extension for web pages.
static int WEB_PAGE_EXTENSION_LENGTH
          Length of WEB_PAGE_EXTENSION.
 

Field Detail

HTTP_PORT_DEFAULT

static final int HTTP_PORT_DEFAULT
Default HTTP port.

See Also:
Constant Field Values

HTTP_SECURE_PORT_DEFAULT

static final int HTTP_SECURE_PORT_DEFAULT
Default HTTPS port.

See Also:
Constant Field Values

HTTP_PORT_BACKUP

static final int HTTP_PORT_BACKUP
Standard backup (2nd instance) HTTP port.

See Also:
Constant Field Values

HTTP_SECURE_PORT_BACKUP

static final int HTTP_SECURE_PORT_BACKUP
Backup (2nd instance) HTTPS port.

See Also:
Constant Field Values

HTTP_PORT_MIN

static final int HTTP_PORT_MIN
Minimal HTTP port. Zero actually means that random port will be chosen.

See Also:
InetSocketAddress, Constant Field Values

HTTP_SECURE_PORT_MIN

static final int HTTP_SECURE_PORT_MIN
Minimal HTTPS port. Zero actually means that random port will be chosen.

See Also:
InetSocketAddress, Constant Field Values

HTTP_PORT_MAX

static final int HTTP_PORT_MAX
Maximal HTTP port.

See Also:
InetSocketAddress, Constant Field Values

HTTP_SECURE_PORT_MAX

static final int HTTP_SECURE_PORT_MAX
Maximal HTTPS port.

See Also:
InetSocketAddress, Constant Field Values

PROTOCOL_HTTP

static final java.lang.String PROTOCOL_HTTP
String defining a http protocol

See Also:
Constant Field Values

PROTOCOL_HTTPS

static final java.lang.String PROTOCOL_HTTPS
String defining a https protocol

See Also:
Constant Field Values

URL_ROOT

static final java.lang.String URL_ROOT
String used as a root URL

See Also:
Constant Field Values

URL_SEPARATOR

static final java.lang.String URL_SEPARATOR
String used to separate different portions of URLs

See Also:
URL_SEPARATOR_CHAR, Constant Field Values

URL_SEPARATOR_CHAR

static final char URL_SEPARATOR_CHAR
Character used to separate different portions of URLs

See Also:
URL_SEPARATOR, Constant Field Values

EXTENSION_SEPARATOR

static final java.lang.String EXTENSION_SEPARATOR
String used to separate extension in URLs

See Also:
EXTENSION_SEPARATOR_CHAR, Constant Field Values

EXTENSION_SEPARATOR_CHAR

static final char EXTENSION_SEPARATOR_CHAR
Character used to separate extension in URLs

See Also:
EXTENSION_SEPARATOR, Constant Field Values

URL_PARAMETER_SEPARATOR

static final java.lang.String URL_PARAMETER_SEPARATOR
String used to separate parameters from the rest of the url

See Also:
URL_PARAMETER_SEPARATOR_CHAR, Constant Field Values

URL_PARAMETER_SEPARATOR_CHAR

static final char URL_PARAMETER_SEPARATOR_CHAR
Character used to separate parameters from the rest of the url

See Also:
URL_PARAMETER_SEPARATOR, Constant Field Values

URL_PARAMETER_VALUE_SEPARATOR

static final java.lang.String URL_PARAMETER_VALUE_SEPARATOR
String used to separate parameter name from value.

See Also:
URL_PARAMETER_VALUE_SEPARATOR_CHAR, Constant Field Values

URL_PARAMETER_VALUE_SEPARATOR_CHAR

static final char URL_PARAMETER_VALUE_SEPARATOR_CHAR
Character used to separate parameter name from value.

See Also:
URL_PARAMETER_VALUE_SEPARATOR, Constant Field Values

URL_PARAMETER_PARAMETER_SEPARATOR

static final java.lang.String URL_PARAMETER_PARAMETER_SEPARATOR
String used to separate parameters from each other.

See Also:
URL_PARAMETER_PARAMETER_SEPARATOR_CHAR, Constant Field Values

URL_PARAMETER_PARAMETER_SEPARATOR_CHAR

static final char URL_PARAMETER_PARAMETER_SEPARATOR_CHAR
Character used to separate parameters from each other.

See Also:
URL_PARAMETER_PARAMETER_SEPARATOR, Constant Field Values

JPEG_IMAGE_EXTENSION

static final java.lang.String JPEG_IMAGE_EXTENSION
Valid extension for web images. ALways should be compared with lower case strings.

See Also:
WEB_IMAGE_EXTENSION_LENGTH, Constant Field Values

WEB_IMAGE_EXTENSION_LENGTH

static final int WEB_IMAGE_EXTENSION_LENGTH
Length of JPEG_IMAGE_EXTENSION.

See Also:
JPEG_IMAGE_EXTENSION

WEB_PAGE_EXTENSION

static final java.lang.String WEB_PAGE_EXTENSION
Valid extension for web pages. ALways should be compared with lower case strings.

See Also:
WEB_PAGE_EXTENSION_LENGTH, Constant Field Values

WEB_PAGE_EXTENSION_LENGTH

static final int WEB_PAGE_EXTENSION_LENGTH
Length of WEB_PAGE_EXTENSION.

See Also:
WEB_PAGE_EXTENSION

DEFAULT_DIRECTORY_WEB_PAGE

static final java.lang.String DEFAULT_DIRECTORY_WEB_PAGE
Default page to display for directory.

See Also:
Constant Field Values

ITEM_SEPARATOR

static final java.lang.String ITEM_SEPARATOR
Item separator

See Also:
Constant Field Values

OBJECT_SEPARATOR

static final java.lang.String OBJECT_SEPARATOR
Object separator

See Also:
Constant Field Values

OBJECT_SEPARATOR2

static final java.lang.String OBJECT_SEPARATOR2
Object separator 2

See Also:
Constant Field Values


Copyright © 2003 - 2006 OpenSubsystems s.r.o.