Packages

final case class Config(basePath: String, pathPrefix: String = "", bufferSize: Int = 50*1024, executor: ExecutorService = DefaultPool, cacheStrategy: CacheStrategy = NoopCacheStrategy) extends Product with Serializable

basePath

prefix of the path files will be served from

pathPrefix

prefix of the Uri that content will be served from

bufferSize

size hint of internal buffers to use when serving resources

executor

ExecutorService to use when collecting content

cacheStrategy

strategy to use for caching purposes. Default to no caching.

Source
ResourceService.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
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(basePath: String, pathPrefix: String = "", bufferSize: Int = 50*1024, executor: ExecutorService = DefaultPool, cacheStrategy: CacheStrategy = NoopCacheStrategy)

    basePath

    prefix of the path files will be served from

    pathPrefix

    prefix of the Uri that content will be served from

    bufferSize

    size hint of internal buffers to use when serving resources

    executor

    ExecutorService to use when collecting content

    cacheStrategy

    strategy to use for caching purposes. Default to no caching.

Value Members

  1. val basePath: String
  2. val bufferSize: Int
  3. val cacheStrategy: CacheStrategy
  4. val executor: ExecutorService
  5. val pathPrefix: String