object FormData
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FormData
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class Binary(name: String, data: Chunk[Byte], contentType: MediaType, transferEncoding: Option[ContentTransferEncoding] = None, filename: Option[String] = None) extends FormData with Product with Serializable
A binary form data part.
A binary form data part.
- name
Name of this form data part. This is the value of the
name
field in theContent-Disposition
within this part.- data
The data of this form data part. This is the data between the headers and the boundary.
- contentType
The content type of this form data part. This is the value of the
Content-Type
with in this part.- transferEncoding
The transfer encoding of this form data part. This is the value of the
Content-Transfer-Encoding
within this part. IMPORTANT NOTE: The data is not encoded in any way relative to the providedtransferEncoding
. It is the responsibility of the user to encode thedata
accordingly.
- final case class Simple(name: String, value: String) extends FormData with Product with Serializable
- final case class Text(name: String, value: String, contentType: MediaType, filename: Option[String] = None) extends FormData with Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def binaryField(name: String, data: Chunk[Byte], mediaType: MediaType, transferEncoding: Option[ContentTransferEncoding] = None, filename: Option[String] = None): FormData
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromFormAST(ast: Chunk[FormAST], defaultCharset: Charset = StandardCharsets.UTF_8): ZIO[Any, FormDecodingError, FormData]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def simpleField(name: String, value: String): FormData
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def textField(name: String, value: String, mediaType: MediaType = MediaType.text.plain): FormData
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])