Packages

p

sttp.tapir

static

package static

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. static
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. 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.

  2. case class HeadInput(path: List[String]) extends Product with Serializable
  3. trait HeadOutput extends AnyRef
  4. 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.

  5. trait StaticErrorOutput extends AnyRef
  6. case class StaticInput(path: List[String], ifNoneMatch: Option[List[ETag]], ifModifiedSince: Option[Instant], range: Option[Range], acceptEncoding: Option[String]) extends Product with Serializable
  7. trait StaticOutput[+T] extends AnyRef
  8. trait TapirStaticContentEndpoints extends AnyRef

    Static content endpoints, including files and resources.

Value Members

  1. def defaultETag(lastModified: Long, length: Long): ETag
  2. object Files
  3. object FilesOptions extends Serializable
  4. object HeadOutput
  5. object Resources
  6. object ResourcesOptions extends Serializable
  7. object StaticErrorOutput
  8. object StaticOutput

Inherited from AnyRef

Inherited from Any

Ungrouped