org.scalatra.util

Members list

Packages

A collection of I/O utility methods.

A collection of I/O utility methods.

Attributes

Type members

Classlikes

object DateUtil

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
DateUtil.type
trait Inflector

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Inflector.type
object Inflector extends Inflector

Attributes

Companion
trait
Supertypes
trait Inflector
class Object
trait Matchable
class Any
Self type
Inflector.type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object InflectorImports.type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class MapQueryString(initialValues: Seq[(String, Seq[String])], rawValue: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object MimeTypes extends Mimes

Attributes

Supertypes
trait Mimes
class Object
trait Matchable
class Any
Self type
MimeTypes.type
object Mimes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Mimes.type
trait Mimes

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

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MimeTypes.type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait MultiMapHeadView[A, B]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object parameters.type
final class MultiMapHeadViewValueReader[T <: MultiMapHeadView[String, String]](val data: T) extends AnyVal, ValueReader[T, String]

Attributes

Supertypes
trait ValueReader[T, String]
class AnyVal
trait Matchable
class Any
final class MultiParamsValueReader(val data: MultiParams) extends AnyVal, ValueReader[MultiParams, Seq[String]]

Attributes

Supertypes
trait ValueReader[MultiParams, Seq[String]]
class AnyVal
trait Matchable
class Any
object NotEmpty

Extractor object, useful for handling empty form parameter submissions:

Extractor object, useful for handling empty form parameter submissions:

params.get("foo") match { case NotEmpty(value) => processValue(value) case _ => message("foo is required") }

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
NotEmpty.type
sealed trait NotNothing[A]

Nice trick from Miles Sabin using ambiguity in implicit resolution to disallow Nothing

Nice trick from Miles Sabin using ambiguity in implicit resolution to disallow Nothing

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object NotNothing

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
NotNothing.type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait RequestLogging extends ScalatraBase, Handler

Logs request information using slf4j with "REQUEST" logger name by mixing-in this trait to scalatra servlet or filter.

Logs request information using slf4j with "REQUEST" logger name by mixing-in this trait to scalatra servlet or filter.

Attributes

Companion
object
Supertypes
trait ScalatraBase
trait Initializable
trait DynamicScope
trait CoreDsl
trait Control
trait Handler
class Object
trait Matchable
class Any
Show all
final class StringMapValueReader(val data: Map[String, String]) extends AnyVal, ValueReader[Map[String, String], String]

Attributes

Supertypes
trait ValueReader[Map[String, String], String]
class AnyVal
trait Matchable
class Any

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object UrlCodingUtils.type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait ValueReader[S, U]

Attributes

Supertypes
class Any
Known subtypes