object Body

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

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. val empty: Body

    A body that contains no data.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def fromCharSequence(charSequence: CharSequence, charset: Charset = Charsets.Http): Body

    Constructs a zio.http.Body from the contents of a file.

  10. def fromCharSequenceStream(stream: ZStream[Any, Throwable, CharSequence], charset: Charset = Charsets.Http)(implicit trace: Trace): Body

    Constructs a zio.http.Body from a stream of text, using the specified character set, which defaults to the HTTP character set.

  11. def fromChunk(data: Chunk[Byte]): Body

    Constructs a zio.http.Body from a chunk of bytes.

  12. def fromFile(file: File, chunkSize: Int = 1024 * 4): Body

    Constructs a zio.http.Body from the contents of a file.

  13. def fromMultipartForm(form: Form, specificBoundary: Boundary)(implicit trace: Trace): Body

    Constructs a zio.http.Body from from form data, using multipart encoding and the specified character set, which defaults to UTF-8.

  14. def fromMultipartFormUUID(form: Form)(implicit trace: Trace): UIO[Body]

    Constructs a zio.http.Body from from form data, using multipart encoding and the specified character set, which defaults to UTF-8.

    Constructs a zio.http.Body from from form data, using multipart encoding and the specified character set, which defaults to UTF-8. Utilizes a random boundary based on a UUID.

  15. def fromSocketApp(app: WebSocketApp[Any]): WebsocketBody
  16. def fromStream(stream: ZStream[Any, Throwable, Byte]): Body

    Constructs a zio.http.Body from a stream of bytes.

  17. def fromString(text: String, charset: Charset = Charsets.Http): Body

    Helper to create Body from String

  18. def fromURLEncodedForm(form: Form, charset: Charset = StandardCharsets.UTF_8): Body

    Constructs a zio.http.Body from form data using URL encoding and the default character set.

  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped