case object Empty extends SlashOrEmpty with Product with Serializable
- Source
- Uri.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Empty
- Serializable
- Product
- Equals
- SlashOrEmpty
- Path
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def +(pathString: String): Path
- Definition Classes
- Path
- def ++(suffix: Path): Path
- def /(segment: String): Path
- Definition Classes
- Path
- def ::(segment: String): Path
- def ::(c: Char): Path
- Definition Classes
- Path
- def ?/(segment: String): Path
Appends two path segments while avoiding a double slash between them Example: - Path("abc") ?/ "def" returns Path("abc/def") - Path("abc/") ?/ "def" returns Path("abc/def")
Appends two path segments while avoiding a double slash between them Example: - Path("abc") ?/ "def" returns Path("abc/def") - Path("abc/") ?/ "def" returns Path("abc/def")
- segment
The path segment to be appended
- returns
The final concatenated path segment
- Definition Classes
- Path
- def charCount: Int
- def dropChars(count: Int): Empty
- final def endsWith(suffix: String, ignoreTrailingSlash: Boolean = false): Boolean
- Definition Classes
- Path
- def endsWithSlash: Boolean
- Definition Classes
- Path
- def head: Head
- def isEmpty: Boolean
- def length: Int
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def reverse: Path
- Definition Classes
- Path
- def reverseAndPrependTo(prefix: Path): Path
- def startsWith(that: Path): Boolean
- def startsWithSegment: Boolean
- Definition Classes
- SlashOrEmpty → Path
- def startsWithSlash: Boolean
- def tail: Path
- def toString(): String
- Definition Classes
- Path → AnyRef → Any