object BodyParser
Provides factory for BodyParser
.
- Alphabetic
- By Inheritance
- BodyParser
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bytes(maxLength: Int = 8388608, bufferSize: Int = 8192): BodyParser[Array[Byte]]
Gets body parser for byte array.
Gets body parser for byte array.
- maxLength
maximum length
- bufferSize
buffer size in bytes
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def file(dest: File = new File(sys.props("java.io.tmpdir")), maxLength: Long = 8388608, bufferSize: Int = 8192): BodyParser[File]
Gets body parser for storing message body to file.
Gets body parser for storing message body to file.
- dest
destination to which message body is stored
- maxLength
maximum length in bytes
- bufferSize
buffer size in bytes
- Note
If
dest
is a directory, then the parser creates a new file in the specified directory on each parsing invocation. Otherwise, the parser overwrites the specified file on each invocation.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def form(maxLength: Int = 8388608, bufferSize: Int = 8192): BodyParser[Map[String, Seq[String]]]
Gets body parser for form data.
Gets body parser for form data.
- maxLength
maximum length in bytes
- bufferSize
buffer size in bytes
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def multipart(dest: File = new File(sys.props("java.io.tmpdir")), maxLength: Long = 8388608, bufferSize: Int = 8192): BodyParser[Multipart]
Gets body parser for multipart form data.
Gets body parser for multipart form data.
- dest
destination directory in which file content is stored
- maxLength
maximum length in bytes
- bufferSize
buffer size in bytes
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def query(maxLength: Int = 8388608, bufferSize: Int = 8192): BodyParser[QueryString]
Gets body parser for query string.
Gets body parser for query string.
- maxLength
maximum length in bytes
- bufferSize
buffer size in bytes
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def text(maxLength: Int = 8388608, bufferSize: Int = 8192): BodyParser[String]
Gets body parser for text.
Gets body parser for text.
- maxLength
maximum length in bytes
- bufferSize
buffer size in bytes
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
Provided herein is API documentation for Scamper, the HTTP library for Scala.