t

tapir

Tapir

trait Tapir extends TapirDerivedInputs

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Tapir
  2. TapirDerivedInputs
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def auth: TapirAuth.type
  6. def binaryBody[T](implicit codec: CodecForOptional[T, OctetStream, _]): Body[T, OctetStream, _]
  7. def body[T, M <: MediaType](implicit tm: CodecForOptional[T, M, _]): Body[T, M, _]
  8. def clientIp: EndpointInput[Option[String]]
    Definition Classes
    TapirDerivedInputs
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def cookie[T](name: String)(implicit arg0: PlainCodecForOptional[T]): Cookie[T]
  11. def cookies: Header[List[Cookie]]
  12. def emptyOutput: EndpointOutput[Unit]

    An empty output.

    An empty output. Useful if one of oneOf branches should be mapped to the status code only.

  13. val endpoint: Endpoint[Unit, Unit, Unit, Nothing]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def extractFromRequest[T](f: (ServerRequest) ⇒ T): ExtractFromRequest[T]

    Extract a value from a server request.

    Extract a value from a server request. This input is only used by server interpreters, it is ignored by documentation interpreters and the provided value is discarded by client interpreters.

  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formBody[T](implicit codec: CodecForOptional[T, XWwwFormUrlencoded, _]): Body[T, XWwwFormUrlencoded, _]
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def header[T](name: String)(implicit arg0: PlainCodecForMany[T]): Header[T]
  22. def headers: Headers
  23. val htmlBodyUtf8: Body[String, TextHtml, String]
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def jsonBody[T](implicit codec: CodecForOptional[T, Json, _]): Body[T, Json, _]
  26. def multipartBody[T](implicit codec: CodecForOptional[T, MultipartFormData, _]): Body[T, MultipartFormData, _]
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def oneOf[I](firstCase: StatusMapping[_ <: I], otherCases: StatusMapping[_ <: I]*): OneOf[I]

    Maps status codes to outputs.

    Maps status codes to outputs. All outputs must have a common supertype (I). Typically, the supertype is a sealed trait, and the mappings are implementing cases classes.

    Note that exhaustiveness of the mappings is not checked (that all subtypes of I are covered).

  31. def path[T](name: String)(implicit arg0: PlainCodec[T]): PathCapture[T]
  32. def path[T](implicit arg0: PlainCodec[T]): PathCapture[T]
  33. def paths: PathsCapture
  34. def plainBody[T](implicit codec: CodecForOptional[T, TextPlain, _]): Body[T, TextPlain, _]
  35. def query[T](name: String)(implicit arg0: PlainCodecForMany[T]): Query[T]
  36. def queryParams: QueryParams
  37. def schemaFor[T](implicit arg0: SchemaFor[T]): Schema
  38. def setCookie(name: String): Header[SetCookieValue]
  39. def setCookies: Header[List[SetCookie]]
  40. def statusCode(statusCode: StatusCode): FixedStatusCode
  41. def statusCode: StatusCode
  42. def statusDefaultMapping[O](output: EndpointOutput[O])(implicit arg0: ClassTag[O]): StatusMapping[O]
  43. def statusMapping[O](statusCode: StatusCode, output: EndpointOutput[O])(implicit arg0: ClassTag[O]): StatusMapping[O]
  44. def streamBody[S](schema: Schema, mediaType: MediaType): Body[S, mediaType.type]
  45. def stringBody(charset: Charset): Body[String, TextPlain, String]
  46. def stringBody(charset: String): Body[String, TextPlain, String]
  47. def stringBody: Body[String, TextPlain, String]
  48. implicit def stringToPath(s: String): EndpointInput[Unit]
  49. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  50. def toString(): String
    Definition Classes
    AnyRef → Any
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from TapirDerivedInputs

Inherited from AnyRef

Inherited from Any

Ungrouped