A B C D E G I J L M O 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
 

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

D

DEFAULT_ENV - Static variable in class com.networknt.server.DefaultConfigLoader
 
DefaultConfigLoader - Class in com.networknt.server
Default Config Loader to fetch and load configs from config server To use this Config Loader, please add it to startup.yml as configLoaderClass: com.networknt.server.DefaultConfigLoader so that Server class can find, instantiate and the trigger its init() method.
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
 
getBufferSize() - Method in class com.networknt.server.ServerConfig
 
getBuildNumber() - Method in class com.networknt.server.ServerConfig
 
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
 
getKeystoreName() - 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
 
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
Load config files from light-config-server instance.
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

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

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

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.

W

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