object FormField
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FormField
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
final
case class
Binary(name: String, data: Chunk[Byte], contentType: MediaType, transferEncoding: Option[ContentTransferEncoding] = None, filename: Option[String] = None) extends FormField 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
namefield in theContent-Dispositionwithin 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-Typewith in this part.- transferEncoding
The transfer encoding of this form data part. This is the value of the
Content-Transfer-Encodingwithin 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 thedataaccordingly.
- final case class Simple(name: String, value: String) extends FormField with Product with Serializable
- 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
- final case class Text(name: String, value: String, contentType: MediaType, filename: Option[String] = None) extends FormField 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): FormField
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
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() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def simpleField(name: String, value: String): FormField
- def streamingBinaryField(name: String, data: ZStream[Any, Nothing, Byte], mediaType: MediaType, transferEncoding: Option[ContentTransferEncoding] = None, filename: Option[String] = None): FormField
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def textField(name: String, value: String, mediaType: MediaType = MediaType.text.plain): FormField
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )