| Package | Description |
|---|---|
| io.helidon.webserver |
Reactive web server API.
|
| Modifier and Type | Method and Description |
|---|---|
static StaticContentSupport.Builder |
StaticContentSupport.builder(java.lang.String resourceRoot)
Creates new builder with defined static content root as a class-loader resource.
|
static StaticContentSupport.Builder |
StaticContentSupport.builder(java.lang.String resourceRoot,
java.lang.ClassLoader classLoader)
Creates new builder with defined static content root as a class-loader resource.
|
static StaticContentSupport.Builder |
StaticContentSupport.builder(java.nio.file.Path root)
Creates new builder with defined static content root as a path to the file system.
|
StaticContentSupport.Builder |
StaticContentSupport.Builder.contentType(java.lang.String filenameExtension,
MediaType contentType)
Maps a filename extension to the response content type.
|
StaticContentSupport.Builder |
StaticContentSupport.Builder.welcomeFileName(java.lang.String welcomeFileName)
Sets a name of the "file" which will be returned if directory is requested.
|
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.