A B C D E G I J L M O P R S T V W 
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
 
AUTHORIZATION - Static variable in class com.networknt.server.DefaultConfigLoader
 

B

BACKLOG - com.networknt.server.ServerOption
 
BUFFER_SIZE - com.networknt.server.ServerOption
 

C

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_PASS - Static variable in class com.networknt.server.DefaultConfigLoader
 
com.networknt.server - package com.networknt.server
 
config - Static variable in class com.networknt.server.Server
Deprecated.
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_URI - Static variable in class com.networknt.server.DefaultConfigLoader
 
configServerUri - Static variable in class com.networknt.server.DefaultConfigLoader
 

D

DEFAULT_ENV - Static variable in class com.networknt.server.DefaultConfigLoader
 
DEFAULT_TARGET_CONFIGS_DIRECTORY - Static variable in class com.networknt.server.DefaultConfigLoader
 
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
 

G

getAcceptedIssuers() - Method in class com.networknt.server.DummyTrustManager
 
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) - Static 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
 
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.ServerConfig
 
getServiceName() - Method in class com.networknt.server.ServerConfig
 
getTruststoreName() - Method in class com.networknt.server.ServerConfig
 
getTruststorePass() - Method in class com.networknt.server.ServerConfig
 
getWorkerThreads() - Method in class com.networknt.server.ServerConfig
 

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
 
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
 

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
 
lightEnv - Static variable in class com.networknt.server.DefaultConfigLoader
 
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
 
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

PROJECT_NAME - Static variable in class com.networknt.server.DefaultConfigLoader
 
PROJECT_VERSION - Static variable in class com.networknt.server.DefaultConfigLoader
 

R

register(String, int) - Static method in class com.networknt.server.Server
Register the service to the Consul or other service registry.

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
 
SERVICE_NAME - Static variable in class com.networknt.server.DefaultConfigLoader
 
SERVICE_VERSION - Static variable in class com.networknt.server.DefaultConfigLoader
 
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
 
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.ServerConfig
 
setServiceName(String) - Method in class com.networknt.server.ServerConfig
 
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
 
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
 
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
 
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
 
stop() - Static method in class com.networknt.server.Server
 

T

targetConfigsDirectory - Static variable in class com.networknt.server.DefaultConfigLoader
 
TRUST_ALL_CERTS - Static variable in class com.networknt.server.Server
 

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
 

W

WORKER_THREADS - com.networknt.server.ServerOption
 
A B C D E G I J L M O P R S T V W 
All Classes All Packages