Packages

object MultipartFormData extends Serializable

Defines parts handled by Multipart form data.

Source
BodyParsers.scala
Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultipartFormData
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class BadPart(headers: Map[String, String]) extends Part[Nothing] with Product with Serializable

    A part that has not been properly parsed.

  2. case class DataPart(key: String, value: String) extends Part[Nothing] with Product with Serializable

    A data part.

  3. case class FilePart[A](key: String, filename: String, contentType: Option[String], ref: A, fileSize: Long = -1, dispositionType: String = "form-data") extends Part[A] with Product with Serializable

    A file part.

  4. case class MaxMemoryBufferExceeded(message: String) extends Part[Nothing] with Product with Serializable

    The multipart/form-data parser buffers many things in memory, including data parts, headers, file names etc.

    The multipart/form-data parser buffers many things in memory, including data parts, headers, file names etc.

    Some buffer limits apply to each element, eg, there is a buffer for headers before they are parsed. Other buffer limits apply to all in memory data in aggregate, this includes data parts, file names, part names.

    If any of these buffers are exceeded, this will be emitted.

  5. case class ParseError(message: String) extends Part[Nothing] with Product with Serializable

    Emitted when the multipart stream can't be parsed for some reason.

  6. sealed trait Part[+A] extends AnyRef

    A part.

    A part.

    A

    the type that file parts are exposed as.