org.scalatra

util

package util

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
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

  2. object FileCharset

  3. object MimeTypes extends Mimes

  4. object Mimes

  5. object MultiMap

  6. object MultiMapHeadView

  7. object NotEmpty

    Extractor object, useful for handling empty form parameter submissions:

  8. object ParamsValueReaderProperties extends ParamsValueReaderProperties

  9. object RicherString

  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

Inherited from AnyRef

Inherited from Any

Ungrouped