Index
All Classes and Interfaces|All Packages
B
- build() - Method in interface io.avaje.jex.staticcontent.StaticContent.Builder
-
Build and return the StaticContent.
D
- directoryIndex(String) - Method in interface io.avaje.jex.staticcontent.StaticContent.Builder
-
Sets the index file to be served when a directory is requested.
I
- io.avaje.jex.staticcontent - module io.avaje.jex.staticcontent
-
Defines the Static Content API for serving static resources with Jex - see
StaticContent. - io.avaje.jex.staticcontent - package io.avaje.jex.staticcontent
-
Static Content API - see
StaticContent.
O
- ofClassPath() - Static method in interface io.avaje.jex.staticcontent.StaticContent
-
Create and return a new static content class path configuration with the `/public` directory as the root.
- ofClassPath(String) - Static method in interface io.avaje.jex.staticcontent.StaticContent
-
Create and return a new static content class path configuration.
- ofFile(String) - Static method in interface io.avaje.jex.staticcontent.StaticContent
-
Create and return a new static content configuration for a File.
P
- preCompress() - Method in interface io.avaje.jex.staticcontent.StaticContent.Builder
-
Sent resources will be pre-compressed and cached in memory when this is enabled
- putMimeTypeMapping(String, String) - Method in interface io.avaje.jex.staticcontent.StaticContent.Builder
-
Adds a new MIME type mapping to the configuration.
- putResponseHeader(String, String) - Method in interface io.avaje.jex.staticcontent.StaticContent.Builder
-
Adds a new response header to the configuration.
R
- resourceLoader(ClassResourceLoader) - Method in interface io.avaje.jex.staticcontent.StaticContent.Builder
-
Sets a custom resource loader for loading class/module path resources.
- resourceLoader(Class) - Method in interface io.avaje.jex.staticcontent.StaticContent.Builder
-
Sets a custom resource loader for loading class/module path resources using the given class.
- route(String, Role...) - Method in interface io.avaje.jex.staticcontent.StaticContent.Builder
-
Sets the HTTP route for the static resource handler.
S
- skipFilePredicate(Predicate) - Method in interface io.avaje.jex.staticcontent.StaticContent.Builder
-
Sets a predicate to filter files based on the request context.
- StaticContent - Interface in io.avaje.jex.staticcontent
-
Static content resource handler.
- StaticContent.Builder - Interface in io.avaje.jex.staticcontent
-
Builder for StaticContent.
All Classes and Interfaces|All Packages