c

sttp.tapir

StreamBodyIO

case class StreamBodyIO[BS, T, S](streams: Streams[S], codec: Codec[BS, T, CodecFormat], info: Info[T], charset: Option[Charset], encodedExamples: List[Example[Any]]) extends Basic[T] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Basic[T], EndpointTransput[T], EndpointTransputMacros[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamBodyIO
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Basic
  7. EndpointTransput
  8. EndpointTransputMacros
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StreamBodyIO(streams: Streams[S], codec: Codec[BS, T, CodecFormat], info: Info[T], charset: Option[Charset], encodedExamples: List[Example[Any]])

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 attribute[A](k: AttributeKey[A], v: A): ThisType[T]
    Definition Classes
    Basic
  6. def attribute[A](k: AttributeKey[A]): Option[A]
    Definition Classes
    Basic
  7. val charset: Option[Charset]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. val codec: Codec[BS, T, CodecFormat]
    Definition Classes
    StreamBodyIOBasic
  10. def default(d: T): ThisType[T]
    Definition Classes
    Basic
  11. def deprecated(): ThisType[T]
    Definition Classes
    Basic
  12. def description(d: String): ThisType[T]
    Definition Classes
    Basic
  13. def encodedExample(examples: List[Example[Any]]): ThisType[T]
  14. def encodedExample(example: Example[Any]): ThisType[T]
  15. def encodedExample(e: Any): ThisType[T]

    Add an example of a "deserialized" stream value.

    Add an example of a "deserialized" stream value. This should be given in an encoded form, e.g. in case of json - as a String, as the stream body doesn't have access to the codec that will be later used for deserialization.

  16. val encodedExamples: List[Example[Any]]
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def example(example: Example[T]): ThisType[T]
    Definition Classes
    Basic
  19. def example(t: T): ThisType[T]
    Definition Classes
    Basic
  20. def examples(examples: List[Example[T]]): ThisType[T]
    Definition Classes
    Basic
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. val info: Info[T]
    Definition Classes
    StreamBodyIOBasic
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def map[U](mapping: Mapping[T, U]): ThisType[U]
    Definition Classes
    BasicEndpointTransput
  25. def map[U](f: (T) ⇒ U)(g: (U) ⇒ T): ThisType[U]
    Definition Classes
    EndpointTransput
  26. def mapDecode[U](f: (T) ⇒ DecodeResult[U])(g: (U) ⇒ T): ThisType[U]
    Definition Classes
    EndpointTransput
  27. macro def mapTo[CASE_CLASS]: ThisType[CASE_CLASS]
    Definition Classes
    EndpointTransputMacros
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def schema(modify: (Schema[T]) ⇒ Schema[T]): ThisType[T]
    Definition Classes
    Basic
  32. def schema(s: Option[Schema[T]]): ThisType[T]
    Definition Classes
    Basic
  33. def schema(s: Schema[T]): ThisType[T]
    Definition Classes
    Basic
  34. def show: String
    Definition Classes
    StreamBodyIOEndpointTransput
  35. val streams: Streams[S]
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def validate(v: Validator[T]): ThisType[T]
    Definition Classes
    EndpointTransput
  38. def validateIterable[C[X] <: Iterable[X], U](v: Validator[U])(implicit tIsCU: =:=[T, C[U]]): ThisType[T]
    Definition Classes
    Basic
  39. def validateOption[U](v: Validator[U])(implicit tIsOptionU: =:=[T, Option[U]]): ThisType[T]
    Definition Classes
    Basic
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Basic[T]

Inherited from EndpointTransput[T]

Inherited from EndpointTransputMacros[T]

Inherited from AnyRef

Inherited from Any

Ungrouped