A B C D E F G H I J L M O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addDaemonShutdownHook() - Static method in class com.networknt.server.Server
- ALLOW_UNESCAPED_CHARACTERS_IN_URL - com.networknt.server.ServerOption
- ALWAYS_SET_DATE - com.networknt.server.ServerOption
- API_ID - Static variable in class com.networknt.server.DefaultConfigLoader
- API_VERSION - Static variable in class com.networknt.server.DefaultConfigLoader
- AUTHORIZATION - Static variable in class com.networknt.server.DefaultConfigLoader
- AUTHORIZATION - Static variable in class com.networknt.server.UrlConfigLoader
B
- BACKLOG - com.networknt.server.ServerOption
- BUFFER_SIZE - com.networknt.server.ServerOption
C
- CERTS - Static variable in class com.networknt.server.UrlConfigLoader
- checkClientTrusted(X509Certificate[], String) - Method in class com.networknt.server.DummyTrustManager
- checkServerTrusted(X509Certificate[], String) - Method in class com.networknt.server.DummyTrustManager
- CLIENT_TRUSTSTORE_LOC - Static variable in class com.networknt.server.DefaultConfigLoader
- CLIENT_TRUSTSTORE_LOC - Static variable in class com.networknt.server.UrlConfigLoader
- CLIENT_TRUSTSTORE_PASS - Static variable in class com.networknt.server.DefaultConfigLoader
- CLIENT_TRUSTSTORE_PASS - Static variable in class com.networknt.server.UrlConfigLoader
- clientToken - Static variable in class com.networknt.server.UrlConfigLoader
- com.networknt.server - package com.networknt.server
- com.networknt.server.handler - package com.networknt.server.handler
- com.networknt.server.model - package com.networknt.server.model
- CONFIG_LOADER_CLASS - Static variable in class com.networknt.server.Server
- CONFIG_NAME - Static variable in class com.networknt.server.ServerConfig
- CONFIG_SERVER_CERTS_CONTEXT_ROOT - Static variable in class com.networknt.server.DefaultConfigLoader
- CONFIG_SERVER_CONFIGS_CONTEXT_ROOT - Static variable in class com.networknt.server.DefaultConfigLoader
- CONFIG_SERVER_FILES_CONTEXT_ROOT - Static variable in class com.networknt.server.DefaultConfigLoader
- CONFIG_SERVER_PATH - Static variable in class com.networknt.server.UrlConfigLoader
- CONFIG_SERVER_URI - Static variable in class com.networknt.server.DefaultConfigLoader
- CONFIG_SERVER_URI - Static variable in class com.networknt.server.UrlConfigLoader
- CONFIGS - Static variable in class com.networknt.server.UrlConfigLoader
- configServerPath - Static variable in class com.networknt.server.UrlConfigLoader
- configServerUri - Static variable in class com.networknt.server.DefaultConfigLoader
- configServerUri - Static variable in class com.networknt.server.UrlConfigLoader
- currentAddress - Static variable in class com.networknt.server.Server
- currentHttpPort - Static variable in class com.networknt.server.Server
- currentHttpsPort - Static variable in class com.networknt.server.Server
D
- DEFAULT_ENV - Static variable in class com.networknt.server.DefaultConfigLoader
- DEFAULT_ENV - Static variable in class com.networknt.server.UrlConfigLoader
- DEFAULT_TARGET_CONFIGS_DIRECTORY - Static variable in class com.networknt.server.DefaultConfigLoader
- DEFAULT_TARGET_CONFIGS_DIRECTORY - Static variable in class com.networknt.server.UrlConfigLoader
- DefaultConfigLoader - Class in com.networknt.server
-
Default Config Loader to fetch and load configs from light config server
- DefaultConfigLoader() - Constructor for class com.networknt.server.DefaultConfigLoader
- DummyTrustManager - Class in com.networknt.server
-
Unlike static site, microservices are deployed on cloud with docker containers.
- DummyTrustManager() - Constructor for class com.networknt.server.DummyTrustManager
E
- ENV_PROPERTY_KEY - Static variable in class com.networknt.server.Server
- ENV_TAG - Static variable in class com.networknt.server.DefaultConfigLoader
- equals(Object) - Method in class com.networknt.server.model.ServerShutdownResponse
- ERROR_CONNECT_REGISTRY - Static variable in class com.networknt.server.Server
F
- FILES - Static variable in class com.networknt.server.UrlConfigLoader
G
- getAcceptedIssuers() - Method in class com.networknt.server.DummyTrustManager
- getAddress() - Static method in class com.networknt.server.Server
- getBacklog() - Method in class com.networknt.server.ServerConfig
- getBootstrapStoreName() - Method in class com.networknt.server.ServerConfig
- getBootstrapStorePass() - Method in class com.networknt.server.ServerConfig
- getBufferSize() - Method in class com.networknt.server.ServerConfig
- getBuildNumber() - Method in class com.networknt.server.ServerConfig
- getConfigServerHealth(String, String) - Method in class com.networknt.server.DefaultConfigLoader
-
This is a public method that is used to test the connectivity in the integration test to ensure that the light-config-server can be connected with the default bootstrap.truststore.
- getEnvironment() - Method in class com.networknt.server.ServerConfig
- getHttpPort() - Method in class com.networknt.server.ServerConfig
- getHttpsPort() - Method in class com.networknt.server.ServerConfig
- getIoThreads() - Method in class com.networknt.server.ServerConfig
- getIp() - Method in class com.networknt.server.ServerConfig
- getKeyPass() - Method in class com.networknt.server.ServerConfig
- getKeystoreName() - Method in class com.networknt.server.ServerConfig
- getKeystorePass() - Method in class com.networknt.server.ServerConfig
- getMaxPort() - Method in class com.networknt.server.ServerConfig
- getMaxTransferFileSize() - Method in class com.networknt.server.ServerConfig
- getMinPort() - Method in class com.networknt.server.ServerConfig
- getServerConfig() - Static method in class com.networknt.server.Server
- getServerString() - Method in class com.networknt.server.ServerConfig
- getServiceId() - Method in class com.networknt.server.model.ServerShutdownResponse
- getServiceId() - Method in class com.networknt.server.ServerConfig
- getServiceName() - Method in class com.networknt.server.ServerConfig
- getShutdownGracefulPeriod() - Method in class com.networknt.server.ServerConfig
- getShutdownTimeout() - Method in class com.networknt.server.ServerConfig
- getTag() - Method in class com.networknt.server.model.ServerShutdownResponse
- getTime() - Method in class com.networknt.server.model.ServerShutdownResponse
- getTruststoreName() - Method in class com.networknt.server.ServerConfig
- getTruststorePass() - Method in class com.networknt.server.ServerConfig
- getWorkerThreads() - Method in class com.networknt.server.ServerConfig
- GLOBALS - Static variable in class com.networknt.server.UrlConfigLoader
H
- handleRequest(HttpServerExchange) - Method in class com.networknt.server.handler.ServerShutdownHandler
- hashCode() - Method in class com.networknt.server.model.ServerShutdownResponse
I
- IConfigLoader - Interface in com.networknt.server
-
Config Loader to fetch and load configs To use this Config Loader, please implement it and add implementation class to startup.yml as configLoaderClass: com.abc.server.ABCConfigLoader so that Server class can find, instantiate and then trigger its init() method.
- init() - Method in class com.networknt.server.DefaultConfigLoader
- init() - Method in interface com.networknt.server.IConfigLoader
- init() - Static method in class com.networknt.server.Server
- init() - Method in class com.networknt.server.UrlConfigLoader
- IO_THREADS - com.networknt.server.ServerOption
- isAllowUnescapedCharactersInUrl() - Method in class com.networknt.server.ServerConfig
- isAlwaysSetDate() - Method in class com.networknt.server.ServerConfig
- isDynamicPort() - Method in class com.networknt.server.ServerConfig
- isEnableHttp() - Method in class com.networknt.server.ServerConfig
- isEnableHttp2() - Method in class com.networknt.server.ServerConfig
- isEnableHttps() - Method in class com.networknt.server.ServerConfig
- isEnableRegistry() - Method in class com.networknt.server.ServerConfig
- isEnableTwoWayTls() - Method in class com.networknt.server.ServerConfig
- isStartOnRegistryFailure() - Method in class com.networknt.server.ServerConfig
J
- JsonPathStartupHookProvider - Class in com.networknt.server
-
This is one of the startup hook to config JsonPath to use Jackson Parser, if you are planning to use Mask module or JsonPath directly, then you can put this into the startup hook config in service.yml.
- JsonPathStartupHookProvider() - Constructor for class com.networknt.server.JsonPathStartupHookProvider
L
- LIGHT_ENV - Static variable in class com.networknt.server.DefaultConfigLoader
- LIGHT_ENV - Static variable in class com.networknt.server.UrlConfigLoader
- lightEnv - Static variable in class com.networknt.server.DefaultConfigLoader
- lightEnv - Static variable in class com.networknt.server.UrlConfigLoader
- loadConfigs() - Static method in class com.networknt.server.Server
-
Locate the Config Loader class, instantiate it and then call init() method on it.
- loadKeyStore() - Static method in class com.networknt.server.Server
- loadTrustStore() - Static method in class com.networknt.server.Server
M
- main(String[]) - Static method in class com.networknt.server.Server
- MAX_TRANSFER_FILE_SIZE - com.networknt.server.ServerOption
- mergeStatusConfig() - Static method in class com.networknt.server.Server
O
- onShutdown() - Method in interface com.networknt.server.ShutdownHookProvider
-
Every implementation must implement this onShutdown method to hook in some business logic during server shutdown phase.
- onStartup() - Method in class com.networknt.server.JsonPathStartupHookProvider
- onStartup() - Method in interface com.networknt.server.StartupHookProvider
-
Every implementation must implement this onStartup method to hook in some business logic during server startup phase.
P
- PRODUCT_ID - Static variable in class com.networknt.server.DefaultConfigLoader
- PRODUCT_VERSION - Static variable in class com.networknt.server.DefaultConfigLoader
- PROJECT_NAME - Static variable in class com.networknt.server.UrlConfigLoader
- PROJECT_VERSION - Static variable in class com.networknt.server.UrlConfigLoader
R
- register(String) - Static method in class com.networknt.server.Server
-
Register the service to the Consul or other service registry.
- reloadConfig() - Method in class com.networknt.server.DefaultConfigLoader
- reloadConfig() - Method in interface com.networknt.server.IConfigLoader
-
Refresh config values from config server if the config server url is defined
- reloadConfig() - Method in class com.networknt.server.UrlConfigLoader
S
- SECRET_CONFIG_NAME - Static variable in class com.networknt.server.Server
- Server - Class in com.networknt.server
-
This is the entry point of the framework.
- Server() - Constructor for class com.networknt.server.Server
- SERVER_CONFIG_NAME - Static variable in class com.networknt.server.Server
- SERVER_STRING - com.networknt.server.ServerOption
- ServerConfig - Class in com.networknt.server
-
Server configuration class that maps to server.yml properties.
- ServerConfig() - Constructor for class com.networknt.server.ServerConfig
- ServerOption - Enum in com.networknt.server
-
This enum class is used to set and validate server options.
- serverOptionInit(Map<String, Object>, ServerConfig) - Static method in enum com.networknt.server.ServerOption
- ServerShutdownHandler - Class in com.networknt.server.handler
-
Light-4j handler to shut down and force restart the service deployed to the Kubernetes cluster Or running as a service in Windows Server or Linux.
- ServerShutdownHandler() - Constructor for class com.networknt.server.handler.ServerShutdownHandler
- ServerShutdownResponse - Class in com.networknt.server.model
-
POJO class for response body of shutdown endpoint.
- ServerShutdownResponse() - Constructor for class com.networknt.server.model.ServerShutdownResponse
- SERVICE_NAME - Static variable in class com.networknt.server.UrlConfigLoader
- SERVICE_VERSION - Static variable in class com.networknt.server.UrlConfigLoader
- serviceIds - Static variable in class com.networknt.server.Server
-
a list of service ids populated by startup hooks that want to register to the service registry
- serviceUrls - Static variable in class com.networknt.server.Server
-
a list of service urls kept in memory so that they can be unregistered during server shutdown
- setAllowUnescapedCharactersInUrl(boolean) - Method in class com.networknt.server.ServerConfig
- setAlwaysSetDate(boolean) - Method in class com.networknt.server.ServerConfig
- setBacklog(int) - Method in class com.networknt.server.ServerConfig
- setBootstrapStoreName(String) - Method in class com.networknt.server.ServerConfig
- setBootstrapStorePass(String) - Method in class com.networknt.server.ServerConfig
- setBufferSize(int) - Method in class com.networknt.server.ServerConfig
- setBuildNumber(String) - Method in class com.networknt.server.ServerConfig
- setDynamicPort(boolean) - Method in class com.networknt.server.ServerConfig
- setEnableHttp(boolean) - Method in class com.networknt.server.ServerConfig
- setEnableHttp2(boolean) - Method in class com.networknt.server.ServerConfig
- setEnableHttps(boolean) - Method in class com.networknt.server.ServerConfig
- setEnableRegistry(boolean) - Method in class com.networknt.server.ServerConfig
- setEnableTwoWayTls(boolean) - Method in class com.networknt.server.ServerConfig
- setEnvironment(String) - Method in class com.networknt.server.ServerConfig
- setHttpPort(int) - Method in class com.networknt.server.ServerConfig
- setHttpsPort(int) - Method in class com.networknt.server.ServerConfig
- setIoThreads(int) - Method in class com.networknt.server.ServerConfig
- setIp(String) - Method in class com.networknt.server.ServerConfig
- setKeyPass(String) - Method in class com.networknt.server.ServerConfig
- setKeystoreName(String) - Method in class com.networknt.server.ServerConfig
- setKeystorePass(String) - Method in class com.networknt.server.ServerConfig
- setMaxPort(int) - Method in class com.networknt.server.ServerConfig
- setMaxTransferFileSize(long) - Method in class com.networknt.server.ServerConfig
- setMinPort(int) - Method in class com.networknt.server.ServerConfig
- setServerString(String) - Method in class com.networknt.server.ServerConfig
- setServiceId(String) - Method in class com.networknt.server.model.ServerShutdownResponse
- setServiceId(String) - Method in class com.networknt.server.ServerConfig
- setServiceName(String) - Method in class com.networknt.server.ServerConfig
- setShutdownGracefulPeriod(int) - Method in class com.networknt.server.ServerConfig
- setShutdownTimeout(int) - Method in class com.networknt.server.ServerConfig
- setStartOnRegistryFailure(boolean) - Method in class com.networknt.server.ServerConfig
- setTag(String) - Method in class com.networknt.server.model.ServerShutdownResponse
- setTime(Long) - Method in class com.networknt.server.model.ServerShutdownResponse
- setTruststoreName(String) - Method in class com.networknt.server.ServerConfig
- setTruststorePass(String) - Method in class com.networknt.server.ServerConfig
- setWorkerThreads(int) - Method in class com.networknt.server.ServerConfig
- shutdown() - Static method in class com.networknt.server.Server
- SHUTDOWN_TIMEOUT - com.networknt.server.ServerOption
- shutdownApp(String[]) - Static method in class com.networknt.server.Server
- ShutdownHookProvider - Interface in com.networknt.server
-
If you want close database connections, release the resource allocated in the application before server shutdown, please implement this interface with a class and put it into your API project /src/main/resource/config/service.yml com.networknt.server.ShutdownHookProvider All shutdown hooks will be called during server shutdown so that resource can be released completely.
- shutdownRequested - Static variable in class com.networknt.server.Server
- SLASH - Static variable in class com.networknt.server.UrlConfigLoader
- start() - Static method in class com.networknt.server.Server
- STARTUP_CONFIG_NAME - Static variable in class com.networknt.server.Server
- startupConfig - Static variable in class com.networknt.server.DefaultConfigLoader
- startupConfig - Static variable in class com.networknt.server.UrlConfigLoader
- StartupHookProvider - Interface in com.networknt.server
-
If you want initialize database connections, load some resource or cached data during server startup, please implement this interface with a class and put it into your API project /src/main/resource/config/service.yml com.networknt.server.StartupHookProvider During server startup, these startup hooks will be called to initialize the server state.
- STATUS_CONFIG_NAME - Static variable in class com.networknt.server.Server
- STATUS_HOST_IP - Static variable in class com.networknt.server.Server
- stop() - Static method in class com.networknt.server.Server
T
- targetConfigsDirectory - Static variable in class com.networknt.server.DefaultConfigLoader
- targetConfigsDirectory - Static variable in class com.networknt.server.UrlConfigLoader
- TRUST_ALL_CERTS - Static variable in class com.networknt.server.Server
U
- UrlConfigLoader - Class in com.networknt.server
-
UrlConfigLoader fetch and load configs from Nginx.
- UrlConfigLoader() - Constructor for class com.networknt.server.UrlConfigLoader
V
- value() - Method in enum com.networknt.server.ServerOption
- valueOf(String) - Static method in enum com.networknt.server.ServerOption
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.networknt.server.ServerOption
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERIFY_HOST_NAME - Static variable in class com.networknt.server.DefaultConfigLoader
- VERIFY_HOST_NAME - Static variable in class com.networknt.server.UrlConfigLoader
- VERIFY_HOSTNAME_FALSE - Static variable in class com.networknt.server.DefaultConfigLoader
W
- WORKER_THREADS - com.networknt.server.ServerOption
All Classes All Packages