Segment

trait Segment[A]

Defines how to build a path segment from an A

class Object
trait Matchable
class Any

Value members

Abstract methods

def encode(a: A): String
Returns:

An URL encoded path segment (e.g. "foo%2Fbar")