case class ResourcesOptions[F[_]](useETags: Boolean, useGzippedIfAvailable: Boolean, resourceFilter: (List[String]) => Boolean, defaultResource: Option[List[String]]) extends Product with Serializable
- resourceFilter
A resource will be exposed only if this function returns
true
.- defaultResource
path segments (relative to the resource prefix from which resources are read) of the resource to return in case the one requested by the user isn't found. This is useful for SPA apps, where the same main application resource needs to be returned regardless of the path.
- Alphabetic
- By Inheritance
- ResourcesOptions
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ResourcesOptions(useETags: Boolean, useGzippedIfAvailable: Boolean, resourceFilter: (List[String]) => Boolean, defaultResource: Option[List[String]])
- resourceFilter
A resource will be exposed only if this function returns
true
.- defaultResource
path segments (relative to the resource prefix from which resources are read) of the resource to return in case the one requested by the user isn't found. This is useful for SPA apps, where the same main application resource 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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def defaultResource(d: List[String]): ResourcesOptions[F]
Path segments (relative to the resource prefix from which resources are read) of the resource to return in case the one requested by the user isn't found.
Path segments (relative to the resource prefix from which resources are read) of the resource to return in case the one requested by the user isn't found. This is useful for SPA apps, where the same main application resource needs to be returned regardless of the path.
- val defaultResource: Option[List[String]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- def resourceFilter(f: (List[String]) => Boolean): ResourcesOptions[F]
A resource will be exposed only if this function returns
true
. - val resourceFilter: (List[String]) => Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val useETags: Boolean
- val useGzippedIfAvailable: Boolean
- 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])
- def withUseETags: ResourcesOptions[F]
- def withUseGzippedIfAvailable: ResourcesOptions[F]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated