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 passed to the underlying HttpServer.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 and SSL with the providedHttpsConfiguratordefault JexConfigJexConfig.httpsConfig(SSLContext sslContext) Configure HTTPS and SSL with the providedSSLContext.JexConfig.ignoreTrailingSlashes(boolean ignoreTrailingSlashes) Configures whether trailing slashes in request URIs should be ignored.JexConfig.initialStreamBufferSize(int initialSize) Set the initial size of the response stream buffer.JexConfig.jsonService(JsonService jsonService) Sets the JSON service used for (de)serialization.JexConfig.maxRequestSize(long maxRequestSize) Sets the the max size of request body that can be accessed without using using an InputStreamJexConfig.maxStreamBufferSize(long maxSize) Set the maximum size of the response stream buffer.JexConfig.port(int port) Sets the port number on which the HttpServer will listen for incoming requests. *JexConfig.rangeChunkSize(int rangeChunkSize) Set the chunk size on range requests, set to a high number to reduce the amount of range requests (especially for video streaming)JexConfig.renderer(String extension, TemplateRender renderer) Registers a template renderer for a specific file extension.JexConfig.serverProvider(HttpServerProvider serverProvider) Configure Provider used to createdHttpServerinstances.JexConfig.socketBacklog(int backlog) Set the socket backlog.Method parameters in io.avaje.jex with type arguments of type JexConfig