final case class Form(formData: Chunk[FormField]) extends Product with Serializable

Represents a form that can be either multipart or url encoded.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Form
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Form(formData: Chunk[FormField])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(field: FormField): Form

    Returns a new form with the specified field appended.

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def append(field: FormField): Form

    Returns a new form with the specified field appended.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def collectAll(implicit trace: Trace): ZIO[Any, Throwable, Form]

    Runs all streaming form data and stores them in memory, returning a Form that has no streaming parts.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val formData: Chunk[FormField]
  11. def get(name: String): Option[FormField]

    Returns the first field with the specified name.

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. lazy val map: Map[String, FormField]

    Returns a map view of the form, where the keys in the map are the field names, and the values are the field data.

  15. def multipartBytes(boundary: Boundary)(implicit trace: Trace): ZStream[Any, Nothing, Byte]

    Encodes the form using multipart encoding, using the specified boundary.

  16. def multipartBytesUUID(implicit trace: Trace): UIO[(Boundary, ZStream[Any, Nothing, Byte])]

    Encodes the form using multipart encoding, choosing a random UUID as the boundary.

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toQueryParams: QueryParams
  23. def urlEncoded(charset: Charset): String

    Encodes the form using URL encoding, using the specified charset.

    Encodes the form using URL encoding, using the specified charset. Ignores any data that cannot be URL encoded.

  24. def urlEncoded: String

    Encodes the form using URL encoding, using the default charset.

  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. 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 Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped