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 protected
ClassPathBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StaticContentSupport
doBuild()
Build the actual instance.StaticContentSupport.ClassPathBuilder
tmpDir(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.Builder
Build the actual instance.- Specified by:
doBuild
in 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
-
-