Index
All Classes and Interfaces|All Packages
B
- build() - Method in interface io.avaje.jex.staticcontent.StaticContent.Builder
-
Build and return the StaticContent.
C
- ClassResourceLoader - Interface in io.avaje.jex.staticcontent
-
Loading resources from the classpath or module path.
- createCP() - 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.
- createCP(String) - Static method in interface io.avaje.jex.staticcontent.StaticContent
-
Create and return a new static content class path configuration.
- createFile(String) - Static method in interface io.avaje.jex.staticcontent.StaticContent
-
Create and return a new static content configuration for a File.
D
- directoryIndex(String) - Method in interface io.avaje.jex.staticcontent.StaticContent.Builder
-
Sets the index file to be served when a directory is requests.
F
- fromClass(Class<?>) - Static method in interface io.avaje.jex.staticcontent.ClassResourceLoader
-
Create a
ClassResourceLoaderinstance based on a given Class.
H
- httpPath(String) - Method in interface io.avaje.jex.staticcontent.StaticContent.Builder
-
Sets the HTTP path for the static resource handler.
I
- io.avaje.jex.staticcontent - module io.avaje.jex.staticcontent
-
Defines the Static Content API for serving static resources with Jex - see.
invalid reference
StaticContent - io.avaje.jex.staticcontent - package io.avaje.jex.staticcontent
-
Static Content API - see
StaticContent.
L
- loadResource(String) - Method in interface io.avaje.jex.staticcontent.ClassResourceLoader
-
Loads the specified resource and returns its URL.
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.
S
- skipFilePredicate(Predicate<Context>) - 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