Packages

object FormData

Source
Multipart.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FormData
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed abstract class BodyPart extends Multipart.BodyPart with javadsl.model.Multipart.FormData.BodyPart

    Body part of the FormData model.

  2. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(_parts: Source[BodyPart, Any]): FormData
  5. def apply(fields: Map[String, HttpEntity.Strict]): Strict
  6. def apply(parts: BodyPart*): FormData
  7. def apply(parts: FormData.BodyPart.Strict*): Strict
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. 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", ...)

  13. 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", ...)

  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. object BodyPart

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped