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. trait Mimes extends AnyRef

    A utility to help with mime type detection for a given file path or url

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

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

  5. class MultiMapHeadViewValueReader[T <: MultiMapHeadView[String, String]] extends ValueReader[T, String]

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

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

  8. trait ParamsValueReaderProperties extends AnyRef

  9. class RicherString extends AnyRef

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

  11. trait ValueReader[S, U] extends AnyRef

Value Members

  1. object DateUtil extends AnyRef

  2. object FileCharset extends AnyRef

  3. object MimeTypes extends Mimes

  4. object Mimes extends AnyRef

  5. object MultiMap extends AnyRef

  6. object MultiMapHeadView extends AnyRef

  7. object NotEmpty extends AnyRef

    Extractor object, useful for handling empty form parameter submissions:

  8. object ParamsValueReaderProperties extends ParamsValueReaderProperties

  9. object RicherString extends AnyRef

  10. package conversion

  11. 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