Class StaticContentSupport.ClassPathBuilder
- java.lang.Object
-
- io.helidon.webserver.staticcontent.StaticContentSupport.Builder<StaticContentSupport.FileBasedBuilder<T>>
-
- io.helidon.webserver.staticcontent.StaticContentSupport.FileBasedBuilder<StaticContentSupport.ClassPathBuilder>
-
- io.helidon.webserver.staticcontent.StaticContentSupport.ClassPathBuilder
-
- All Implemented Interfaces:
Builder<StaticContentSupport>,Supplier<StaticContentSupport>
- Enclosing interface:
- StaticContentSupport
public static class StaticContentSupport.ClassPathBuilder extends StaticContentSupport.FileBasedBuilder<StaticContentSupport.ClassPathBuilder>
Builder for class path based static content.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedClassPathBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StaticContentSupportdoBuild()Build the actual instance.StaticContentSupport.ClassPathBuildertmpDir(Path tmpDir)Sets custom temporary folder for extracting static content from a jar.-
Methods inherited from class io.helidon.webserver.staticcontent.StaticContentSupport.FileBasedBuilder
contentType
-
Methods inherited from class io.helidon.webserver.staticcontent.StaticContentSupport.Builder
build, pathMapper, welcomeFileName
-
-
-
-
Method Detail
-
doBuild
protected StaticContentSupport doBuild()
Description copied from class:StaticContentSupport.BuilderBuild the actual instance.- Specified by:
doBuildin classStaticContentSupport.Builder<StaticContentSupport.FileBasedBuilder<StaticContentSupport.ClassPathBuilder>>- Returns:
- static content support
-
tmpDir
public StaticContentSupport.ClassPathBuilder tmpDir(Path tmpDir)
Sets custom temporary folder for extracting static content from a jar.- Parameters:
tmpDir- custom temporary folder- Returns:
- updated builder
-
-