package static
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- static
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- 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.
- case class HeadInput(path: List[String]) extends Product with Serializable
- trait HeadOutput extends AnyRef
- 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.
- trait StaticErrorOutput extends AnyRef
- case class StaticInput(path: List[String], ifNoneMatch: Option[List[ETag]], ifModifiedSince: Option[Instant], range: Option[Range], acceptEncoding: Option[String]) extends Product with Serializable
- trait StaticOutput[+T] extends AnyRef
- trait TapirStaticContentEndpoints extends AnyRef
Static content endpoints, including files and resources.
Value Members
- def defaultETag(lastModified: Long, length: Long): ETag
- object Files
- object FilesOptions extends Serializable
- object HeadOutput
- object Resources
- object ResourcesOptions extends Serializable
- object StaticErrorOutput
- object StaticOutput