object BodyParsers
Includes default body parser implementations.
- Alphabetic
- By Inheritance
- BodyParsers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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 collecting raw bytes.
Gets body parser for collecting raw bytes.
- maxLength
maximum length
- bufferSize
buffer size in bytes
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
file(dest: File = ..., 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[java.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 collecting form data.
Gets body parser for collecting form data.
- maxLength
maximum length in bytes
- bufferSize
buffer size in bytes
-
final
def
getClass(): Class[_]
- 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 = ..., maxLength: Long = 8388608, bufferSize: Int = 8192): BodyParser[Multipart]
Gets body parser for collecting multipart form data.
Gets body parser for collecting 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 collecting form data as query string.
Gets body parser for collecting form data as 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 collecting text.
Gets body parser for collecting 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )