org.scalatra

util

package util

Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. trait MapWithIndifferentAccess [+B] extends Map[String, B]

    Inspired by Rails' MapWithIndifferentAccess, allows the substitution of symbols for strings as map keys.

  2. class MultiMap extends Map[String, Seq[String]]

  3. trait MultiMapHeadView [A, B] extends Map[A, B]

  4. trait MutableMapWithIndifferentAccess [B] extends MapWithIndifferentAccess[B] with Map[String, B]

  5. class RicherString extends AnyRef

Value Members

  1. object MultiMap extends AnyRef

  2. object NotEmpty extends AnyRef

    Extractor object, useful for handling empty form parameter submissions:

  3. object RicherString extends AnyRef

  4. def using [A, B <: AnyRef {...}] (closeable: B)(f: (B) ⇒ A) : Unit

    Executes a block with a closeable resource, and closes it after the block runs

    Executes a block with a closeable resource, and closes it after the block runs

    A

    the return type of the block

    B

    the closeable resource type

    closeable

    the closeable resource

    f

    the block

    definition classes: root