VariableMapping

case class VariableMapping(pathPrefix: String, index: Int, varName: String, matchedRoute: Option[Route]) extends PathMapping

Mapping a variable in the path. For example, /v1/user/:id has a variable 'id'.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def toString: String
Definition Classes
Any
override def updateMatch(m: Map[String, String], pathComponent: String): Map[String, String]
Definition Classes

Inherited methods

def isRepeat: Boolean
Inherited from:
PathMapping
def isTerminal: Boolean
Inherited from:
PathMapping
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product