FileService
org.http4s.server.staticcontent.FileService
object FileService
Attributes
- Source
- FileService.scala
- Graph
-
- Supertypes
- Self type
-
FileService.type
Members list
Type members
Classlikes
final case class Config[F[_]](systemPath: String, pathCollector: () => F, pathPrefix: String, bufferSize: Int, cacheStrategy: CacheStrategy[F])
org.http4s.server.staticcontent.FileService configuration
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.
- 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
Attributes
- Companion
- object
- Source
- FileService.scala
- Supertypes
object Config
Attributes
- Companion
- class
- Source
- FileService.scala
- Supertypes
- Self type
-
Config.type
Types
Attributes
- Source
- FileService.scala
In this article