c

play.api.http

ParserConfiguration

case class ParserConfiguration(maxMemoryBuffer: Long = 102400, maxDiskBuffer: Long = 10485760, allowEmptyFiles: Boolean = false) extends Product with Serializable

Configuration for body parsers.

maxMemoryBuffer

The maximum size that a request body that should be buffered in memory.

maxDiskBuffer

The maximum size that a request body should be buffered on disk.

allowEmptyFiles

If empty file uploads are allowed (no matter if filename or file is empty)

Source
HttpConfiguration.scala
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParserConfiguration
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ParserConfiguration(maxMemoryBuffer: Long = 102400, maxDiskBuffer: Long = 10485760, allowEmptyFiles: Boolean = false)

    maxMemoryBuffer

    The maximum size that a request body that should be buffered in memory.

    maxDiskBuffer

    The maximum size that a request body should be buffered on disk.

    allowEmptyFiles

    If empty file uploads are allowed (no matter if filename or file is empty)

Value Members

  1. val allowEmptyFiles: Boolean
  2. val maxDiskBuffer: Long
  3. val maxMemoryBuffer: Long
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product