AbsoluteOrEmptyPath

io.lemonlabs.uri.AbsoluteOrEmptyPath
See theAbsoluteOrEmptyPath companion object
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.

Attributes

Companion:
object
Graph
Supertypes
trait UrlPath
trait Path
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object EmptyPath.type

Members list

Concise view

Type members

Value members

Inherited methods

def addPart[P : PathPart](part: P): UrlPath

Attributes

Inherited from:
UrlPath
def addParts[P : PathPart](first: P, second: P, otherParts: P*): UrlPath

Attributes

Inherited from:
UrlPath
def addParts[P : TraversablePathParts](otherParts: P): UrlPath

Attributes

Inherited from:
UrlPath
def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

Attributes

Inherited from:
Path
def isEmpty: Boolean

Attributes

Inherited from:
Path
def isSlashTerminated: Boolean

Attributes

Inherited from:
UrlPath
def nonEmpty: Boolean

Attributes

Inherited from:
Path
def nonEmptyRootless: Boolean

Attributes

Inherited from:
UrlPath
def normalize(removeEmptyParts: Boolean, slashTermination: SlashTermination): UrlPath

Returns this path normalized according to RFC 3986

Returns this path normalized according to RFC 3986

Attributes

Inherited from:
UrlPath
def parts: Vector[String]

Attributes

Inherited from:
Path
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product

Attributes

Inherited from:
UrlPath
def slashTerminated(slashTermination: SlashTermination): UrlPath

Attributes

Inherited from:
UrlPath

Attributes

Inherited from:
UrlPath
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
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)

Attributes

Returns:

String containing the raw path for this Uri

Inherited from:
Path
def withConfig(config: UriConfig): Self

Attributes

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

Attributes

Inherited from:
UrlPath