FileService
org.http4s.server.staticcontent.FileService$
object FileService
Attributes
- Source:
- FileService.scala
- Graph
- Supertypes
- Self type
- FileService.type
Members list
Concise view
Type members
Classlikes
final class Config[F[_]](val systemPath: String, val fs2PathCollector: () => F, val pathPrefix: String, val cacheStrategy: CacheStrategy[F], val bufferSize: Int) extends Product with Serializable with Equals
org.http4s.server.staticcontent.FileService configuration
org.http4s.server.staticcontent.FileService configuration
Attributes
- 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
- Companion:
- object
- Source:
- FileService.scala
- Graph
- Supertypes
object Config
Attributes
- Companion:
- class
- Source:
- FileService.scala
- Graph
- Supertypes
- Self type
- Config.type
Types
Attributes
- Source:
- FileService.scala
Deprecated types
Attributes
- Deprecated
- true
- Source:
- FileService.scala