Packages

c

com.uralian.dsa

RichActionResult

implicit final class RichActionResult extends AnyVal

Extension to ActionResult which allows to extract parameters and results.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichActionResult
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichActionResult(event: ActionResult)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val event: ActionResult
  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. def getParam[T](name: String, check: (T) ⇒ Boolean = (_: T) => true, msg: String = "")(implicit ex: (Value) ⇒ T): T

    Extracts a parameter of the specified type, optionally checking if it is valid.

    Extracts a parameter of the specified type, optionally checking if it is valid.

    name

    parameter name.

    check

    function which checks if the parameter value is valid. If it returns false, IllegalArgumentException is thrown.

    msg

    message to pass to the exception, if the value fails validation.

    returns

    the parameter value.

    Exceptions thrown

    IllegalArgumentException if the parameter value fails validation.

  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped