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