@ThreadSafe public final class HTTPServerImpl extends MetadataServiceAppHolderImpl
This server supplies HTTP(S) access to selected RVPF functionalities supplied by the modules specified in the configuration.
Listeners are specified by the "http.server.listener" properties groups, realms are specified by the "http.server.realm" properties groups and contexts are specified by the "http.server.context" properties groups.
Each listener may be made confidential (HTTPS) by specifying a keystore. A confidential listener may require 'certified' connections (client certificate).
Each realm must have a name and be configured by its own properties file.
Each context must be associated with one static resources path and/or one module.
Each module may configure as many servlets as necessary, each with a different relative path.
SERVICE_APP_CLASS_PROPERTYDEFAULT_JOIN_TIMEOUT, DEFAULT_RESTART_DELAY, DEFAULT_STARTING_EXTEND, DEFAULT_STOPPING_EXTEND, DEPENDENCY_PROPERTY, JOIN_TIMEOUT_PROPERTY, MEMORY_LOG_INTERVAL_PROPERTY, MONITOR_DISABLED_PROPERTY, RESTART_ALLOWED_PROPERTY, RESTART_DELAY_PROPERTY, RESTART_IGNORED_PROPERTY, SERVICE_LOG_ID_PROPERTY, SERVICE_UUID_PROPERTY, STARTING_EXTEND_PROPERTY, STARTUP_DELAY_PROPERTY, STATS_LOG_ENABLED_PROPERTY, STOPPING_EXTEND_PROPERTY, ZOMBIE_ENABLED_PROPERTYREFRESH_METADATA_SIGNALMIDNIGHT_EVENT, PING_SIGNAL, PONG_EVENT, RESTART_NOW_SIGNAL, RESTART_SIGNAL, RESUME_SIGNAL, RESUMED_EVENT, STARTED_EVENT, STOP_NOW_SIGNAL, STOP_SIGNAL, STOPPED_EVENT, SUSPEND_SIGNAL, SUSPENDED_EVENT, WATCHDOG_EVENT, ZOMBIE_EVENT| Constructor and Description |
|---|
HTTPServerImpl() |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getListenerHost(int index)
Gets the listener port.
|
int |
getListenerPort(int index)
Gets the listener port.
|
protected MetadataServiceApp |
newMetadataServiceApp()
Creates a new service application.
|
createStats, doPendingActions, doStart, doStop, getEntityName, getMetadataServiceApp, getServiceAppClassDef, onAlert, onEvent, onNewMetadata, onServicesNotReady, onSignal, setUp, tearDowngetMetadata, hasMetadata, loadMetadata, monitorStores, reloadMetadata, resetPointsStore, tearDownConfigaddAlertListener, cancelRestarters, disableSuspend, doRun, enableSuspend, exportAgent, fail, getAlerter, getConfig, getDataDir, getJoinTimeout, getMutex, getOptionalSourceUUID, getServiceActivator, getServiceUUID, getSourceUUID, isJMXRegistrationEnabled, isRunning, isStarted, isStopped, isStopping, isWait, isZombie, monitorService, onServiceStartFailure, registerServer, removeAlertListener, restart, restoreConfigState, restoreMonitored, resume, run, saveConfigState, saveMonitored, sendAlert, sendEvent, sendSignal, setRestartEnabled, setRestartSignaled, setSourceUUID, starting, stopping, suspend, trySuspend, unregisterServeraddStats, closeSnoozeAlarm, getLogID, getServiceActivatorBase, getServiceName, getStats, getThisLogger, getThread, getTimer, getVersion, interrupt, isCurrentThread, isThreadStarted, join, logStats, scheduleMidnightLogger, setLogID, setServiceActivatorBase, setServiceName, snooze, starting, startThread, startTimer, stopping, stopTimer, toString, uncaughtException, updateStats, wakeUpclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAlertListener, disableSuspend, enableSuspend, exportAgent, getAlerter, getConfig, getDataDir, getJoinTimeout, getOptionalSourceUUID, getServiceActivator, getServiceUUID, getSourceUUID, isRunning, isStarted, isStopped, isStopping, isWait, isZombie, monitorService, registerServer, removeAlertListener, restart, restoreConfigState, restoreMonitored, resume, saveConfigState, saveMonitored, sendAlert, sendEvent, sendSignal, setRestartEnabled, setSourceUUID, starting, stopping, suspend, trySuspend, unregisterServeraddStats, fail, getServiceName, getStats, getTimer, isJMXRegistrationEnabled, snooze, starting, stopping, wakeUppublic Optional<String> getListenerHost(int index)
index - The listener index.@CheckReturnValue public int getListenerPort(int index)
index - The listener index.protected MetadataServiceApp newMetadataServiceApp()
newMetadataServiceApp in class MetadataServiceAppHolderImplCopyright © 2003-2019 Serge Brisson. All Rights Reserved.