case class FilesOptions[F[_]](calculateETag: (MonadError[F]) => (File) => F[Option[ETag]], fileFilter: (List[String]) => Boolean, defaultFile: Option[List[String]]) extends Product with Serializable
- fileFilter
A file will be exposed only if this function returns
true
.- defaultFile
path segments (relative to the system path from which files are read) of the file to return in case the one requested by the user isn't found. This is useful for SPA apps, where the same main application file needs to be returned regardless of the path.
- Alphabetic
- By Inheritance
- FilesOptions
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FilesOptions(calculateETag: (MonadError[F]) => (File) => F[Option[ETag]], fileFilter: (List[String]) => Boolean, defaultFile: Option[List[String]])
- fileFilter
A file will be exposed only if this function returns
true
.- defaultFile
path segments (relative to the system path from which files are read) of the file to return in case the one requested by the user isn't found. This is useful for SPA apps, where the same main application file needs to be returned regardless of the path.
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
- def calculateETag(f: (File) => F[Option[ETag]]): FilesOptions[F]
- val calculateETag: (MonadError[F]) => (File) => F[Option[ETag]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def defaultFile(d: List[String]): FilesOptions[F]
Path segments (relative to the system path from which files are read) of the file to return in case the one requested by the user isn't found.
Path segments (relative to the system path from which files are read) of the file to return in case the one requested by the user isn't found. This is useful for SPA apps, where the same main application file needs to be returned regardless of the path.
- val defaultFile: Option[List[String]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fileFilter(f: (List[String]) => Boolean): FilesOptions[F]
A file will be exposed only if this function returns
true
. - val fileFilter: (List[String]) => Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated