- Companion:
- class
- Source:
- FileService.scala
Type members
Inherited types
The names of the product elements
The names of the product elements
- Inherited from:
- Mirror
- Source:
- Mirror.scala
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 parameters:
- 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
- Source:
- FileService.scala
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 parameters:
- 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
- Source:
- FileService.scala
Deprecated and Inherited methods
- Deprecated
- Inherited from:
- FileServiceConfigCompanionCompat (hidden)
- Source:
- FileServiceConfigCompat.scala
- Deprecated
- Inherited from:
- FileServiceConfigCompanionCompat (hidden)
- Source:
- FileServiceConfigCompat.scala