SimpleParam

cask.endpoints.QueryParamReader.SimpleParam
class SimpleParam[T](f: String => T) extends QueryParamReader[T]

Attributes

Graph
Supertypes
class QueryParamReader[T]
trait ArgReader[Seq[String], T, Request]
class Object
trait Matchable
class Any
Known subtypes
object BooleanParam
object ByteParam
object DoubleParam
object FloatParam
object IntParam
object LongParam
object ShortParam
object StringParam
Show all

Members list

Value members

Concrete methods

def arity: Int
def read(ctx: Request, label: String, v: Seq[String]): T

Inherited methods

def remainingPathSegments: Boolean

Attributes

Inherited from:
ArgReader
def unknownQueryParams: Boolean

Attributes

Inherited from:
ArgReader