object FormData
- Source
- Multipart.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FormData
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- sealed abstract class BodyPart extends Multipart.BodyPart with javadsl.model.Multipart.FormData.BodyPart
Body part of the FormData model.
- case class Strict(strictParts: Seq[BodyPart.Strict]) extends FormData with Multipart.Strict with javadsl.model.Multipart.FormData.Strict with Product with Serializable
Strict FormData.
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
- def apply(_parts: Source[BodyPart, Any]): FormData
- def apply(fields: Map[String, HttpEntity.Strict]): Strict
- def apply(parts: BodyPart*): FormData
- def apply(parts: FormData.BodyPart.Strict*): Strict
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromFile(name: String, contentType: ContentType, file: File, chunkSize: Int = -1): FormData
Creates a FormData instance that contains a single part backed by the given file.
Creates a FormData instance that contains a single part backed by the given file.
To create an instance with several parts or for multiple files, use
FormData(BodyPart.fromFile("field1", ...), BodyPart.fromFile("field2", ...)
- def fromPath(name: String, contentType: ContentType, file: Path, chunkSize: Int = -1): FormData
Creates a FormData instance that contains a single part backed by the given file.
Creates a FormData instance that contains a single part backed by the given file.
To create an instance with several parts or for multiple files, use
FormData(BodyPart.fromPath("field1", ...), BodyPart.fromPath("field2", ...)
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])
- object BodyPart