RootlessPath

io.lemonlabs.uri.RootlessPath
See theRootlessPath companion object
final case class RootlessPath(parts: Vector[String])(implicit config: UriConfig) extends UrlPath

Attributes

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

Members list

Concise view

Type members

Types

Value members

Concrete methods

def isEmpty: Boolean

Returns true if this path is empty (i.e. calling toString will return an empty String)

Returns true if this path is empty (i.e. calling toString will return an empty String)

Attributes

override def isSlashTerminated: Boolean

Attributes

Definition Classes
def nonEmptyRootless: Boolean
def withParts(otherParts: Iterable[String]): UrlPath

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 nonEmpty: Boolean

Attributes

Inherited from:
Path
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 productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Attributes

Inherited from:
UrlPath
def slashTerminated(slashTermination: SlashTermination): 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

Implicits

Implicits

implicit val config: UriConfig