IntVar

org.http4s.dsl.impl.IntVar
object IntVar

Integer extractor of a path variable:

Path("/user/123") match {
   case Root / "user" / IntVar(userId) => ...

Attributes

Source
Path.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
IntVar.type

Members list

Value members

Inherited methods

def unapply(str: String): Option[Int]

Attributes

Inherited from:
PathVar (hidden)
Source
Path.scala