AbsoluteOrEmptyPath

sealed trait AbsoluteOrEmptyPath extends UrlPath

This trait has two subclasses; AbsolutePath and EmptyPath. This encompasses the paths allowed to be used in URLs that have an Authority. As per RFC 3986:

When authority is present, the path must either be empty or begin with a slash ("/") character.

Companion
object
trait UrlPath
trait Path
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Value members

Inherited methods

def addPart[P](part: P)(implicit evidence$1: PathPart[P]): UrlPath
Inherited from
UrlPath
def addParts[P](first: P, second: P, otherParts: P*)(implicit evidence$3: PathPart[P]): UrlPath
Inherited from
UrlPath
def addParts[P](otherParts: P)(implicit evidence$2: TraversablePathParts[P]): UrlPath
Inherited from
UrlPath
def canEqual(that: Any): Boolean
Inherited from
Equals
Inherited from
Path
def isEmpty: Boolean
Inherited from
Path
def isSlashTerminated: Boolean
Inherited from
UrlPath
def nonEmpty: Boolean
Inherited from
Path
def normalize(removeEmptyParts: Boolean, slashTermination: SlashTermination): UrlPath

Returns this path normalized according to <a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</a>

Returns this path normalized according to <a href="http://www.ietf.org/rfc/rfc3986.txt">RFC 3986</a>

Inherited from
UrlPath
def parts: Vector[String]
Inherited from
Path
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product
Inherited from
UrlPath
def slashTerminated(slashTermination: SlashTermination): UrlPath
Inherited from
UrlPath
Inherited from
UrlPath
override def toString: String
Definition Classes
Path -> Any
Inherited from
Path
def toStringRaw: String

Returns the path with no encoders taking place (e.g. non ASCII characters will not be percent encoded)

Returns the path with no encoders taking place (e.g. non ASCII characters will not be percent encoded)

Returns

String containing the raw path for this Uri

Inherited from
Path
def withParts(parts: Iterable[String]): UrlPath
Inherited from
UrlPath