final case class Config[F[_]](systemPath: String, pathCollector: PathCollector[F], pathPrefix: String, bufferSize: Int, blockingExecutionContext: ExecutionContext, cacheStrategy: CacheStrategy[F]) extends Product with Serializable
org.http4s.server.staticcontent.FileService configuration
- systemPath
path prefix to the folder from which content will be served
- 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
- bufferSize
buffer size to use for internal read buffers
- blockingExecutionContext
ExecutionContext
to use for blocking I/O- cacheStrategy
strategy to use for caching purposes. Default to no caching.
- Source
- FileService.scala
- Alphabetic
- By Inheritance
- Config
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Config(systemPath: String, pathCollector: PathCollector[F], pathPrefix: String, bufferSize: Int, blockingExecutionContext: ExecutionContext, cacheStrategy: CacheStrategy[F])
- systemPath
path prefix to the folder from which content will be served
- 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
- bufferSize
buffer size to use for internal read buffers
- blockingExecutionContext
ExecutionContext
to use for blocking I/O- cacheStrategy
strategy to use for caching purposes. Default to no caching.
Value Members
- val blockingExecutionContext: ExecutionContext
- val bufferSize: Int
- val cacheStrategy: CacheStrategy[F]
- val pathCollector: PathCollector[F]
- val pathPrefix: String
- val systemPath: String