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.
- 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.
- Alphabetic
- By Inheritance
- Binary
- Serializable
- Product
- Equals
- FormData
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Binary(name: String, data: Chunk[Byte], contentType: MediaType, transferEncoding: Option[ContentTransferEncoding] = None, filename: Option[String] = None)
- 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.
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val contentType: MediaType
- val data: Chunk[Byte]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val filename: Option[String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
- 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 productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val transferEncoding: Option[ContentTransferEncoding]
- def valueAsString: Option[String]
- Definition Classes
- FormData
- 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])