Package

play.api.data

mapping

Permalink

package mapping

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. mapping
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Constraint[T] = (T) ⇒ Validation[ValidationError, T]

    Permalink
  2. type Mapping[E, I, O] = (I) ⇒ Validation[E, O]

    Permalink
    Annotations
    @implicitNotFound( ... )
  3. type VA[O] = Validation[(Path, Seq[ValidationError]), O]

    Permalink
  4. type ValidationError = validation.ValidationError

    Permalink

Value Members

  1. def ValidationError(message: String, args: Any*): ValidationError

    Permalink
  2. package forms

    Permalink

    Contains the validation API used by Form.

    Contains the validation API used by Form.

    For example, to define a custom constraint:

    val negative = Constraint[Int] {
      case i if i < 0 => Valid
      case _ => Invalid("Must be a negative number.")
    }

Inherited from AnyRef

Inherited from Any

Ungrouped