Packages

object BodyPart

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

Type Members

  1. case class Strict(name: String, entity: HttpEntity.Strict, additionalDispositionParams: Map[String, String] = Map.empty, additionalHeaders: Seq[HttpHeader] = Nil) extends BodyPart with BodyPart.Strict with javadsl.model.Multipart.FormData.BodyPart.Strict with Product with Serializable

    Strict FormData.BodyPart.

Value Members

  1. def apply(_name: String, _entity: BodyPartEntity, _additionalDispositionParams: Map[String, String] = Map.empty, _additionalHeaders: Seq[HttpHeader] = Nil): BodyPart
  2. def fromFile(name: String, contentType: ContentType, file: File, chunkSize: Int = -1): BodyPart

    Creates a BodyPart backed by a File that will be streamed using a FileSource.

  3. def fromPath(name: String, contentType: ContentType, file: Path, chunkSize: Int = -1): BodyPart

    Creates a BodyPart backed by a file that will be streamed using a FileSource.

  4. def unapply(value: BodyPart): Option[(String, BodyPartEntity, Map[String, String], Seq[HttpHeader])]