Class ServerConstants
java.lang.Object
com.iizix.ServerConstants
Static class holding constants used for the Server.
- Author:
- Christopher Mindus
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe Client WebSocket URI: "/iizi/app.ws"static final StringThe base path for apps in IIZI: "/apps".static final StringThe base path #2 for apps in IIZI without root: "apps/".static final StringThe base path for compressed files URI's: "/izc".static final StringThe base page URI (without trailing '/') for pages to launch iiziApp, iiziGoDesigner, etc...static final StringThe base path for WebSocket URI's: "/iizi/".static final StringThe iiziGo Design Viewer HTML file name.static final StringThe full path to the iiziGo Design Viewer HTML file name.static final StringThe JavaScript iiziGo Design Viewer WebSocket URI: "/iizi/iiziGoDV.ws"static final StringThe iiziGo Designer HTML file name.static final StringThe full path to the iiziGo Designer HTML file name.static final StringThe JavaScript iiziGo Designer WebSocket URI: "/iizi/iiziGo.ws"static final StringThe HTML text in UTF-8 content type.static final StringThe iiziApp HTML file name.static final StringThe full path to the iiziApp HTML file name.static final StringThe HTML file served instead of iiziApp.html to a Browser that cannot run IIZI (CC-BROWSER-GATE).static final StringThe full path to the iiziAppSorry HTML file name.static final StringThe full path for the index page of iiziGo apps: "/apps/iiziGo-index.html".static final intThe protocol version of iiziRun: theversionmember of every iiziRun JSON reply of iiziServer (pkey.json,apps.json,app.json) and of iiziGo (panels.json,panel.json).static final String[]The iiziRun WebView origins, established from the Cordova configuration (iOS:scheme=iz,hostname=izain the ios platform block of iiziRunDevel/config.xml; Android:content src="http://localhost/index.html"in its android block, served by WebViewAssetLoader with http allowed).static final StringThe JSON content type in UTF-8.static final StringThe Load Balancer WebSocket URI: "/iizi/lb.ws"static final StringThe Server Remote Runtime Builder WebSocket URI: "/iizi/rrb.ws"static final StringiiziRun list of panels URI: "/iizi/iiziRun/app.json".static final StringiiziRun list of panels URI: "/iizi/iiziRun/apps.json".static final StringiiziRun panels data URI: "/iizi/iiziRun/panel.json".static final StringiiziRun list of panels URI: "/iizi/iiziRun/panels.json".static final StringiiziRun send public key URI: "/iizi/iiziRun/pkey.json".static final StringThe Server Monitoring WebSocket URI: "/iizi/sm.ws"static final StringTooltips preview URI base: "/$tooltip-preview$".static final StringThe IIZI VirtualSpace Viewer HTML file name.static final StringThe full path to the IIZI VirtualSpace Viewer HTML file name.static final StringThe VS Viewer intialize URI: "/iizi/VSViewer/init.json".static final StringThe JavaScript VirtualSpace Viewer WebSocket URI: "/iizi/iiziVSViewer.ws"static final StringThe IIZI WebSocket protocol: "iizi".static final StringThe IIZI WebSocket protocol: "iizic".static final String[]Array of sub-protocols handled: just one: "iizi".Constructor Summary
ConstructorsMethod Summary
Field Details
WS_PROTOCOL
WS_PROTOCOL_COMPRESSED
WS_PROTOCOLS
Array of sub-protocols handled: just one: "iizi".PS: Do not modify array!
IIZIRUN_WEBVIEW_ORIGINS
The iiziRun WebView origins, established from the Cordova configuration (iOS:scheme=iz,hostname=izain the ios platform block of iiziRunDevel/config.xml; Android:content src="http://localhost/index.html"in its android block, served by WebViewAssetLoader with http allowed). Exact match, case-sensitive, no trailing slash. The one source of the upload endpoint's CORS allowance (CORSFilter.UPLOAD_ORIGINS) and of the WebSocketOriginallow-list (com.iizix.server.hub.HubOrigins, HUB-DESIGN.md 3.6).PS: Do not modify array!
BASE_WS_URI
APP_CLIENT_WS_URI
DESIGNER_WS_URI
The JavaScript iiziGo Designer WebSocket URI: "/iizi/iiziGo.ws"- See Also:
DESIGN_VIEWER_WS_URI
The JavaScript iiziGo Design Viewer WebSocket URI: "/iizi/iiziGoDV.ws"- See Also:
VS_VIEWER_WS_URI
The JavaScript VirtualSpace Viewer WebSocket URI: "/iizi/iiziVSViewer.ws"- See Also:
SERVER_MONITOR_WS_URI
The Server Monitoring WebSocket URI: "/iizi/sm.ws"- See Also:
LOAD_BALANCER_WS_URI
The Load Balancer WebSocket URI: "/iizi/lb.ws"- See Also:
RT_BUILDER_WS_URI
The Server Remote Runtime Builder WebSocket URI: "/iizi/rrb.ws"- See Also:
BASE_PAGE_URI
The base page URI (without trailing '/') for pages to launch iiziApp, iiziGoDesigner, etc...- See Also:
DESIGNER_FILE
DESIGNER_FULL_PATH
The full path to the iiziGo Designer HTML file name.- See Also:
DESIGN_VIEWER_FILE
DESIGN_VIEWER_FULL_PATH
The full path to the iiziGo Design Viewer HTML file name.- See Also:
IIZI_APP_FILE
IIZI_APP_FULL_PATH
IIZI_APP_SORRY_FILE
The HTML file served instead of iiziApp.html to a Browser that cannot run IIZI (CC-BROWSER-GATE).- See Also:
IIZI_APP_SORRY_FULL_PATH
The full path to the iiziAppSorry HTML file name.- See Also:
VS_VIEWER_FILE
VS_VIEWER_FULL_PATH
The full path to the IIZI VirtualSpace Viewer HTML file name.- See Also:
BASE_COMPRESSED_URI
The base path for compressed files URI's: "/izc".- See Also:
APPS_URI
APPS_URI_2_NO_ROOT
The base path #2 for apps in IIZI without root: "apps/".- See Also:
IIZIGO_APPS_FULL_PATH
The full path for the index page of iiziGo apps: "/apps/iiziGo-index.html".- See Also:
TT_PREVIEW
HTML_UTF8
JSON_UTF8
IIZIRUN_PROTOCOL_VERSION
public static final int IIZIRUN_PROTOCOL_VERSIONThe protocol version of iiziRun: theversionmember of every iiziRun JSON reply of iiziServer (pkey.json,apps.json,app.json) and of iiziGo (panels.json,panel.json). An iiziRun compares it with its own (PROTOCOL_VERSIONiniiziRunDevel/www/jsc/init.js) and refuses a remote party whose version differs, so the two are changed together. IIZI version 5 is 5: its iiziRun makes no Diffie-Hellman key and sends no password before the connection (L-15). Every release before it replied 1.- See Also:
RUN_PKEY
RUN_APP
RUN_APPS
RUN_PANEL
RUN_PANELS
iiziRun list of panels URI: "/iizi/iiziRun/panels.json".- See Also:
VS_VIEWER_INIT_URI
The VS Viewer intialize URI: "/iizi/VSViewer/init.json".- See Also:
Constructor Details
ServerConstants
public ServerConstants()