final class Config[F[_]] extends Product with Serializable with Equals
- Alphabetic
- By Inheritance
- Config
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bufferSize: Int
- val cacheStrategy: CacheStrategy[F]
-
def
canEqual(that: Any): Boolean
- Definition Classes
- Config → Equals
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- Config → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val fs2PathCollector: Fs2PathCollector[F]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- Config → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pathPrefix: String
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- Product
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val systemPath: String
-
def
toString(): String
- Definition Classes
- Config → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
Deprecated Value Members
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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.
-
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.