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.FileBasedBuilder<StaticContentSupport.ClassPathBuilder>,
,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
-
Method Summary
Modifier and TypeMethodDescriptionprotected StaticContentSupport
doBuild()
Build the actual instance.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
-
Constructor Details
-
ClassPathBuilder
protected ClassPathBuilder()
-
-
Method Details
-
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
Sets custom temporary folder for extracting static content from a jar.- Parameters:
tmpDir
- custom temporary folder- Returns:
- updated builder
-