Extractors

org.scalatra.util.conversion.Extractors$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Self type
Extractors.type

Members list

Type members

Classlikes

sealed case class DateExtractor(format: String) extends TypeExtractor[Date]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypeExtractor[Date]
class Object
trait Matchable
class Any
Show all
sealed abstract class TypeExtractorImpl[T](implicit val converter: TypeConverter[String, T]) extends TypeExtractor[T]

Attributes

Supertypes
trait TypeExtractor[T]
class Object
trait Matchable
class Any
Known subtypes
object asBoolean.type
object asByte.type
object asDouble.type
object asFloat.type
object asInt.type
object asLong.type
object asShort.type
object asString.type
Show all
case object asBoolean extends TypeExtractorImpl[Double]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class TypeExtractorImpl[Double]
trait TypeExtractor[Double]
class Object
trait Matchable
class Any
Show all
Self type
asBoolean.type
case object asByte extends TypeExtractorImpl[Byte]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class TypeExtractorImpl[Byte]
trait TypeExtractor[Byte]
class Object
trait Matchable
class Any
Show all
Self type
asByte.type
object asDate

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
asDate.type
case object asDouble extends TypeExtractorImpl[Double]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class TypeExtractorImpl[Double]
trait TypeExtractor[Double]
class Object
trait Matchable
class Any
Show all
Self type
asDouble.type
case object asFloat extends TypeExtractorImpl[Float]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class TypeExtractorImpl[Float]
trait TypeExtractor[Float]
class Object
trait Matchable
class Any
Show all
Self type
asFloat.type
case object asInt extends TypeExtractorImpl[Int]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class TypeExtractorImpl[Int]
trait TypeExtractor[Int]
class Object
trait Matchable
class Any
Show all
Self type
asInt.type
case object asLong extends TypeExtractorImpl[Long]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class TypeExtractorImpl[Long]
trait TypeExtractor[Long]
class Object
trait Matchable
class Any
Show all
Self type
asLong.type
case object asShort extends TypeExtractorImpl[Short]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class TypeExtractorImpl[Short]
trait TypeExtractor[Short]
class Object
trait Matchable
class Any
Show all
Self type
asShort.type
case object asString extends TypeExtractorImpl[String]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class TypeExtractorImpl[String]
trait TypeExtractor[String]
class Object
trait Matchable
class Any
Show all
Self type
asString.type

Value members

Inherited methods

def stringToDate(format: => String): TypeConverter[String, Date]

Attributes

Inherited from:
DefaultImplicitConversions
def stringToDateFormat(format: => DateFormat): TypeConverter[String, Date]

Attributes

Inherited from:
DefaultImplicitConversions
def stringToSeq[T : ClassTag](elementConverter: TypeConverter[String, T], separator: String): TypeConverter[String, Seq[T]]

Attributes

Inherited from:
DefaultImplicitConversions

Implicits

Inherited implicits

implicit val anyToBoolean: TypeConverter[Any, Boolean]

Attributes

Inherited from:
LowPriorityImplicitConversions
implicit val anyToByte: TypeConverter[Any, Byte]

Attributes

Inherited from:
LowPriorityImplicitConversions
implicit val anyToDouble: TypeConverter[Any, Double]

Attributes

Inherited from:
LowPriorityImplicitConversions
implicit val anyToFloat: TypeConverter[Any, Float]

Attributes

Inherited from:
LowPriorityImplicitConversions
implicit val anyToInt: TypeConverter[Any, Int]

Attributes

Inherited from:
LowPriorityImplicitConversions
implicit val anyToLong: TypeConverter[Any, Long]

Attributes

Inherited from:
LowPriorityImplicitConversions
implicit val anyToShort: TypeConverter[Any, Short]

Attributes

Inherited from:
LowPriorityImplicitConversions
implicit val anyToString: TypeConverter[Any, String]

Attributes

Inherited from:
LowPriorityImplicitConversions
implicit def defaultStringToSeq[T : ClassTag](implicit evidence$1: ClassTag[T], elementConverter: TypeConverter[String, T]): TypeConverter[String, Seq[T]]

Attributes

Inherited from:
DefaultImplicitConversions
implicit def lowestPriorityAny2T[T : ClassTag]: TypeConverter[Any, T]

Attributes

Inherited from:
LowestPriorityImplicitConversions
implicit def safe[S, T](f: S => T): TypeConverter[S, T]

Attributes

Inherited from:
TypeConverterSupport
implicit def safeOption[S, T](f: S => Option[T]): TypeConverter[S, T]

Implicit convert a (String) => Option[T] function into a TypeConverter[T]

Implicit convert a (String) => Option[T] function into a TypeConverter[T]

Attributes

Inherited from:
TypeConverterSupport
implicit def seqHead[T : ClassTag](implicit evidence$3: ClassTag[T], elementConverter: TypeConverter[String, T]): TypeConverter[Seq[String], T]

Attributes

Inherited from:
DefaultImplicitConversions
implicit def seqToSeq[T : ClassTag](implicit evidence$4: ClassTag[T], elementConverter: TypeConverter[String, T]): TypeConverter[Seq[String], Seq[T]]

Attributes

Inherited from:
DefaultImplicitConversions
implicit val stringToBoolean: TypeConverter[String, Boolean]

Attributes

Inherited from:
DefaultImplicitConversions
implicit val stringToByte: TypeConverter[String, Byte]

Attributes

Inherited from:
DefaultImplicitConversions
implicit val stringToDouble: TypeConverter[String, Double]

Attributes

Inherited from:
DefaultImplicitConversions
implicit val stringToFloat: TypeConverter[String, Float]

Attributes

Inherited from:
DefaultImplicitConversions
implicit val stringToInt: TypeConverter[String, Int]

Attributes

Inherited from:
DefaultImplicitConversions
implicit val stringToLong: TypeConverter[String, Long]

Attributes

Inherited from:
DefaultImplicitConversions
implicit val stringToSelf: TypeConverter[String, String]

Attributes

Inherited from:
DefaultImplicitConversions
implicit val stringToShort: TypeConverter[String, Short]

Attributes

Inherited from:
DefaultImplicitConversions