Uses of Interface
io.avaje.jex.JexConfig
Packages that use JexConfig
-
Uses of JexConfig in io.avaje.jex
Methods in io.avaje.jex that return JexConfigModifier and TypeMethodDescriptionJexConfig.compression(Consumer<CompressionConfig> consumer) Configures compression settings using a consumer function.Jex.config()Return the configuration.JexConfig.contextPath(String contextPath) Set the contextPath.JexConfig.disableSpiPlugins()Disables auto-configuring the current instance withJexPluginloaded using the ServiceLoader.Sets the executor service used to handle incoming requests.JexConfig.health(boolean health) Enables/Disables the default health endpoint.Set the host on which the HttpServer will bind to.JexConfig.httpsConfig(HttpsConfigurator https) Enable https with the providedHttpsConfiguratorJexConfig.ignoreTrailingSlashes(boolean ignoreTrailingSlashes) Configures whether trailing slashes in request URIs should be ignored.JexConfig.jsonService(JsonService jsonService) Sets the JSON service used for (de)serialization.JexConfig.port(int port) Sets the port number on which the HttpServer will listen for incoming requests.JexConfig.renderer(String extension, TemplateRender renderer) Registers a template renderer for a specific file extension.JexConfig.socketBacklog(int backlog) Set the socket backlog.Method parameters in io.avaje.jex with type arguments of type JexConfig