Packages

final case class Config[F[_]](systemPath: String, pathCollector: PathCollector[F], pathPrefix: String, bufferSize: Int, blockingExecutionContext: ExecutionContext, cacheStrategy: CacheStrategy[F]) extends Product with Serializable

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Config
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. val blockingExecutionContext: ExecutionContext
  2. val bufferSize: Int
  3. val cacheStrategy: CacheStrategy[F]
  4. val pathCollector: PathCollector[F]
  5. val pathPrefix: String
  6. val systemPath: String