SimpleBody

object SimpleBody

Body extractor for simple request, with only one document. If there are more than one document, matching just ignore extra ones.

class Object
trait Matchable
class Any

Value members

Concrete methods

def unapply(body: List[BDoc]): Option[List[(String, BSONValue)]]
Returns:

BSON properties from the first document of the body.