Packages

final class Config[F[_]] extends Product with Serializable with Equals

Source
FileService.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
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Config(systemPath: String, fs2PathCollector: Fs2PathCollector[F], pathPrefix: String, cacheStrategy: CacheStrategy[F], bufferSize: Int)

    systemPath

    path prefix to the folder from which content will be served

    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

    cacheStrategy

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

    bufferSize

    buffer size to use for internal read buffers

  2. new Config(systemPath: String, pathCollector: PathCollector[F], pathPrefix: String, bufferSize: Int, cacheStrategy: CacheStrategy[F])

    For binary compatibility.

    For binary compatibility.

    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

    cacheStrategy

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.23.8) use the constructor with fs2PathCollector

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bufferSize: Int
  6. val cacheStrategy: CacheStrategy[F]
  7. def canEqual(that: Any): Boolean
    Definition Classes
    Config → Equals
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(other: Any): Boolean
    Definition Classes
    Config → Equals → AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val fs2PathCollector: Fs2PathCollector[F]
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    Config → AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. val pathPrefix: String
  20. def productIterator: Iterator[Any]
    Definition Classes
    Product
  21. def productPrefix: String
    Definition Classes
    Product
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. val systemPath: String
  24. def toString(): String
    Definition Classes
    Config → AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def _1: String
    Annotations
    @deprecated
    Deprecated

    (Since version 0.23.8) Config is no longer a case class. The _1 method is provided for binary compatibility.

  2. def _2: Function3[_, _, _, _]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.23.8) Config is no longer a case class. The _2 method is provided for binary compatibility.

  3. def _3: String
    Annotations
    @deprecated
    Deprecated

    (Since version 0.23.8) Config is no longer a case class. The _3 method is provided for binary compatibility.

  4. def _4: Int
    Annotations
    @deprecated
    Deprecated

    (Since version 0.23.8) Config is no longer a case class. The _4 method is provided for binary compatibility.

  5. def _5: CacheStrategy[F]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.23.8) Config is no longer a case class. The _5 method is provided for binary compatibility.

  6. def copy(systemPath: String = this.systemPath, pathCollector: PathCollector[F] = this.pathCollector, pathPrefix: String = this.pathPrefix, bufferSize: Int = this.bufferSize, cacheStrategy: CacheStrategy[F] = this.cacheStrategy): Config[F]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.23.8) Config is no longer a case class. The copy method is provided for binary compatibility.

  7. def pathCollector: PathCollector[F]

    For binary compatibility.

    For binary compatibility.

    returns

    an instance of PathCollector[F] created (converted) from fs2PathCollector

    Annotations
    @deprecated
    Deprecated

    (Since version 0.23.8) use fs2PathCollector

  8. def productArity: Int
    Definition Classes
    Config → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 0.23.8) Config is no longer a case class. The productArity method is provided for binary compatibility.

  9. def productElement(n: Int): Any
    Definition Classes
    Config → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 0.23.8) Config is no longer a case class. The productElement method is provided for binary compatibility.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped