VariableMapping

wvlet.airframe.http.router.RouteMatcher$.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'.

Attributes

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

Members list

Concise view

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

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

Attributes

Definition Classes

Inherited methods

def isRepeat: Boolean

Attributes

Inherited from:
PathMapping
def isTerminal: Boolean

Attributes

Inherited from:
PathMapping
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product