Packages

c

zio.http.FormField

StreamingBinary

final case class StreamingBinary(name: String, contentType: MediaType, transferEncoding: Option[ContentTransferEncoding] = None, filename: Option[String] = None, data: ZStream[Any, Nothing, Byte]) extends FormField with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamingBinary
  2. Serializable
  3. Product
  4. Equals
  5. FormField
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StreamingBinary(name: String, contentType: MediaType, transferEncoding: Option[ContentTransferEncoding] = None, filename: Option[String] = None, data: ZStream[Any, Nothing, Byte])

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 asChunk(implicit trace: Trace): ZIO[Any, Nothing, Chunk[Byte]]

    Gets the value of this form field as a chunk of bytes.

    Gets the value of this form field as a chunk of bytes. If it is a text field, the value gets encoded as an UTF-8 byte stream.

    Definition Classes
    FormField
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def asText(implicit trace: Trace): ZIO[Any, CharacterCodingException, String]

    Gets the value of this form field as a String.

    Gets the value of this form field as a String. If it is a binary field, the value is interpreted as an UTF-8 byte stream.

    Definition Classes
    FormField
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. def collect(implicit trace: Trace): ZIO[Any, Nothing, Binary]
  9. val contentType: MediaType
    Definition Classes
    StreamingBinaryFormField
  10. val data: ZStream[Any, Nothing, Byte]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. val filename: Option[String]
    Definition Classes
    StreamingBinaryFormField
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def name(newName: String): FormField
    Definition Classes
    FormField
  16. val name: String
    Definition Classes
    StreamingBinaryFormField
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. final def stringValue: Option[String]

    Gets the value as a String, but only if it is a text or simple field.

    Gets the value as a String, but only if it is a text or simple field. For binary fields it returns None.

    Definition Classes
    FormField
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. val transferEncoding: Option[ContentTransferEncoding]
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. 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

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FormField

Inherited from AnyRef

Inherited from Any

Ungrouped