skinny.controller

Params

case class Params(underlying: Map[String, Any]) extends Dynamic with Product with Serializable

Scalatra's params wrapper.

underlying

Scalatra's params

Linear Supertypes
Serializable, Serializable, Product, Equals, Dynamic, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Params
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Dynamic
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Params(underlying: Map[String, Any])

    underlying

    Scalatra's params

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getAs[A](key: String): Option[A]

    Returns value for the key if exists.

    Returns value for the key if exists.

    A

    type

    key

    key

    returns

    value

  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. def isSnakeCasedParams(keyPrefix: String): Boolean

  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. def permit(paramKeyAndParamTypes: (String, ParamType)*): PermittedStrongParameters

    Permits parameters to be updated.

    Permits parameters to be updated.

    paramKeyAndParamTypes

    name and param type

    returns

    permitted parameters

  18. def selectDynamic(key: String): Option[Any]

    Enables accessing key using type-dynamic.

    Enables accessing key using type-dynamic. Both of the following code is same.

    params.get("userId")
    params.userId
    key

    key

    returns

    value if exists

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toDatetimeKeys(key: String): (String, String)

  21. def toHmsKeys(key: String): (String, String, String)

  22. def toYmdKeys(key: String): (String, String, String)

  23. def toYmdhmsKeys(key: String): (String, String, String, String, String, String)

  24. val underlying: Map[String, Any]

    Scalatra's params

  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def withDate(key: String): Params

    Appends a new Date param to params.

    Appends a new Date param to params.

    key

    new param key

    returns

    params

  29. def withDate(ymd: (String, String, String), key: String): Params

    Appends a new Date param to params.

    Appends a new Date param to params.

    ymd

    year,month,day keys

    key

    new param key

    returns

    params

  30. def withDateTime(key: String): Params

    Appends a new DateTime param to params.

    Appends a new DateTime param to params.

    key

    new param key

    returns

    params

  31. def withDateTime[A <: Product](ymdhms: A, key: String): Params

    Appends a new DateTime param to params.

    Appends a new DateTime param to params.

    ymdhms

    year,month,day,hour,minute,second keys

    key

    new param key

    returns

    params

  32. def withNow(key: String): Params

    Appends now datetime param to params.

  33. def withTime(key: String): Params

    Appends a new Date param to params.

    Appends a new Date param to params.

    key

    new param key

    returns

    params

  34. def withTime(hms: (String, String, String), key: String): Params

    Appends a new Date param to params.

    Appends a new Date param to params.

    hms

    hour,minute,second keys

    key

    new param key

    returns

    params

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Dynamic

Inherited from AnyRef

Inherited from Any

Ungrouped