final case class Form(formData: Chunk[FormField]) extends Product with Serializable
Represents a form that can be either multipart or url encoded.
- Alphabetic
- By Inheritance
- Form
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(field: FormField): Form
Returns a new form with the specified field appended.
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
append(field: FormField): Form
Returns a new form with the specified field appended.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
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.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val formData: Chunk[FormField]
-
def
get(name: String): Option[FormField]
Returns the first field with the specified name.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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.
-
def
multipartBytes(boundary: Boundary)(implicit trace: Trace): ZStream[Any, Nothing, Byte]
Encodes the form using multipart encoding, using the specified boundary.
-
def
multipartBytesUUID(implicit trace: Trace): UIO[(Boundary, ZStream[Any, Nothing, Byte])]
Encodes the form using multipart encoding, choosing a random UUID as the boundary.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toQueryParams: QueryParams
-
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.
-
def
urlEncoded: String
Encodes the form using URL encoding, using the default charset.
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )