org.scalatra

util

package util

Visibility
  1. Public
  2. All

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. class MultiMapHeadViewValueReader[T <: MultiMapHeadView[String, String]] extends ValueReader[T, String]

  5. class MultiParamsValueReader extends ValueReader[MultiParams, Seq[String]]

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

  7. trait ParamsValueReaderProperties extends AnyRef

  8. class RicherString extends AnyRef

  9. class StringMapValueReader extends ValueReader[Map[String, String], String]

  10. trait ValueReader[S, U] extends AnyRef

Value Members

  1. object DateUtil extends AnyRef

  2. object MultiMap extends AnyRef

  3. object MultiMapHeadView extends AnyRef

  4. object NotEmpty extends AnyRef

    Extractor object, useful for handling empty form parameter submissions:

  5. object ParamsValueReaderProperties extends ParamsValueReaderProperties

  6. object RicherString extends AnyRef

  7. package conversion

  8. def using[A, B <: AnyRef { def close(): Unit }](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
    package