All Classes
-
All Classes Interface Summary Class Summary Enum Summary Class Description DefaultConfigLoader Default Config Loader to fetch and load configs from light config serverDummyTrustManager Unlike static site, microservices are deployed on cloud with docker containers.IConfigLoader 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.JsonPathStartupHookProvider 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.Server This is the entry point of the framework.ServerConfig Server configuration class that maps to server.yml properties.ServerOption This enum class is used to set and validate server options.ServerShutdownHandler 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.ServerShutdownResponse POJO class for response body of shutdown endpoint.ShutdownHookProvider 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.StartupHookProvider 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.UrlConfigLoader UrlConfigLoader fetch and load configs from Nginx.