- Companion
- class
Type members
Value members
Concrete methods
Creates an instance of org.http4s.server.staticcontent.FileService configuration.
Creates an instance of org.http4s.server.staticcontent.FileService configuration.
- Value Params
- bufferSize
buffer size to use for internal read buffers
- cacheStrategy
strategy to use for caching purposes. Default to no caching.
- fs2PathCollector
function that performs the work of collecting the file or rendering the directory into a response.
- pathPrefix
prefix of Uri from which content will be served
- systemPath
path prefix to the folder from which content will be served
Deprecated methods
Creates an instance of org.http4s.server.staticcontent.FileService configuration. A constructor that accepts PathCollector[F] for binary compatibility.
Creates an instance of org.http4s.server.staticcontent.FileService configuration. A constructor that accepts PathCollector[F] for binary compatibility.
- Value Params
- bufferSize
buffer size to use for internal read buffers
- cacheStrategy
strategy to use for caching purposes. Default to no caching.
- pathCollector
function that performs the work of collecting the file or rendering the directory into a response.
- pathPrefix
prefix of Uri from which content will be served
- systemPath
path prefix to the folder from which content will be served
- Deprecated