Class StaticContentService.ClassPathBuilder
java.lang.Object
io.helidon.webserver.staticcontent.StaticContentService.Builder<StaticContentService.FileBasedBuilder<StaticContentService.ClassPathBuilder>>
io.helidon.webserver.staticcontent.StaticContentService.FileBasedBuilder<StaticContentService.ClassPathBuilder>
io.helidon.webserver.staticcontent.StaticContentService.ClassPathBuilder
- All Implemented Interfaces:
Builder<StaticContentService.FileBasedBuilder<StaticContentService.ClassPathBuilder>,
,StaticContentService> Supplier<StaticContentService>
- Enclosing interface:
StaticContentService
public static class StaticContentService.ClassPathBuilder
extends StaticContentService.FileBasedBuilder<StaticContentService.ClassPathBuilder>
Builder for class path based static content.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected StaticContentService
doBuild()
Build the actual instance.Sets custom temporary folder for extracting static content from a jar.Methods inherited from class io.helidon.webserver.staticcontent.StaticContentService.FileBasedBuilder
contentType
Methods inherited from class io.helidon.webserver.staticcontent.StaticContentService.Builder
addCacheInMemory, build, pathMapper, recordCacheCapacity, welcomeFileName
-
Constructor Details
-
ClassPathBuilder
protected ClassPathBuilder()Construct with no classpath root.
-
-
Method Details
-
tmpDir
Sets custom temporary folder for extracting static content from a jar.- Parameters:
tmpDir
- custom temporary folder- Returns:
- updated builder
-
doBuild
Description copied from class:StaticContentService.Builder
Build the actual instance.- Specified by:
doBuild
in classStaticContentService.Builder<StaticContentService.FileBasedBuilder<StaticContentService.ClassPathBuilder>>
- Returns:
- static content support
-