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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  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[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(name: String, value: String): FixedHeader
  22. def header[T](name: String)(implicit arg0: PlainCodecForMany[T]): Header[T]
  23. def headers: Headers
  24. val htmlBodyUtf8: Body[String, TextHtml, String]
  25. val infallibleEndpoint: Endpoint[Unit, Nothing, Unit, Nothing]
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def jsonBody[T](implicit codec: CodecForOptional[T, Json, _]): Body[T, Json, _]
  28. def multipartBody[T](implicit codec: CodecForOptional[T, MultipartFormData, _]): Body[T, MultipartFormData, _]
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. 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).

  33. def path[T](name: String)(implicit arg0: PlainCodec[T]): PathCapture[T]
  34. def path[T](implicit arg0: PlainCodec[T]): PathCapture[T]
  35. def paths: PathsCapture
  36. def plainBody[T](implicit codec: CodecForOptional[T, TextPlain, _]): Body[T, TextPlain, _]
  37. def query[T](name: String)(implicit arg0: PlainCodecForMany[T]): Query[T]
  38. def queryParams: QueryParams
  39. def schemaFor[T](implicit arg0: SchemaFor[T]): Schema
  40. def setCookie(name: String): Header[SetCookieValue]
  41. def setCookies: Header[List[SetCookie]]
  42. def statusCode(statusCode: StatusCode): FixedStatusCode
  43. def statusCode: StatusCode
  44. def statusDefaultMapping[O](output: EndpointOutput[O])(implicit arg0: ClassTag[O]): StatusMapping[O]

    Create a fallback mapping to be used in oneOf output descriptions.

  45. def statusMapping[O](statusCode: StatusCode, output: EndpointOutput[O])(implicit arg0: ClassTag[O]): StatusMapping[O]

    Create a mapping to be used in oneOf output descriptions.

  46. def streamBody[S](schema: Schema, mediaType: MediaType): Body[S, mediaType.type]
  47. def stringBody(charset: Charset): Body[String, TextPlain, String]
  48. def stringBody(charset: String): Body[String, TextPlain, String]
  49. def stringBody: Body[String, TextPlain, String]
  50. implicit def stringToPath(s: String): EndpointInput[Unit]
  51. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  52. def toString(): String
    Definition Classes
    AnyRef → Any
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from TapirDerivedInputs

Inherited from AnyRef

Inherited from Any

Ungrouped