Class

org.dsa.iot.scala

RichActionResult

Related Doc: package scala

Permalink

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)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val event: ActionResult

    Permalink
  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. def getParam[T](name: String, check: (T) ⇒ Boolean = (_: T) => true, msg: String = "")(implicit ex: (Value) ⇒ T): T

    Permalink

    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

    Permalink
    Definition Classes
    Any
  9. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped