Segment

endpoints4s.play.server.Urls.Segment
trait Segment[A]

Defines how to decode and encode path segments

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def decode(segment: String): Validated[A]

Value parameters

segment

URL decoded path segment

Attributes

def encode(a: A): String

Attributes

Returns

URL encoded path segment