ru.dimgel.lib.validator

Param

case class Param (data: List[String]) extends NotNull with Product with Serializable

Incapsulates input data for validator chains. Contains list of values to support multi-valued HTTP request parameters / headers.

data

Must not be null.

Attributes
final
Linear Supertypes
Serializable, Serializable, Product, Equals, NotNull, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Param
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. NotNull
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Param (data: List[String])

    data

    Must not be null.

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def apply [T] (validator: VChain[T], default: T): Result[T]

    A convenience shortcut.

    A convenience shortcut. Delegates to apply(validator, Some(default)).

  7. def apply [T] (validator: VChain[T], default_?: Option[T]): Result[T]

    Queries parameter value, validated and converted to requested type T.

  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def canEqual (arg0: Any): Boolean

    Definition Classes
    Param → Equals
  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. val data : List[String]

    Must not be null.

  12. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  13. def equals (arg0: Any): Boolean

    Definition Classes
    Param → Equals → AnyRef → Any
  14. def exists : Boolean

    Returns false if data == Nil.

    Returns false if data == Nil.

    Used in lib.web, in conjunction with ParamMap and HeaderMap. The idea is that when queried unknown parameter name, ParamMap returns Param(Nil) which does not pass any VRequired* test (a sort of "null object").

    Not sure if this is good idea, but since it's still used...

  15. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  17. def hashCode (): Int

    Definition Classes
    Param → AnyRef → Any
  18. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  19. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. def productArity : Int

    Definition Classes
    Param → Product
  23. def productElement (arg0: Int): Any

    Definition Classes
    Param → Product
  24. def productIterator : Iterator[Any]

    Definition Classes
    Product
  25. def productPrefix : String

    Definition Classes
    Param → Product
  26. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  27. def toString (): String

    Definition Classes
    Param → AnyRef → Any
  28. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from NotNull

Inherited from AnyRef

Inherited from Any