Packages

final case class Slash(tail: Path) extends SlashOrEmpty with Product with Serializable

Source
Uri.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Slash
  2. Serializable
  3. Product
  4. Equals
  5. SlashOrEmpty
  6. Path
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Slash(tail: Path)

Type Members

  1. type Head = Char
    Definition Classes
    SlashPath

Value Members

  1. def +(pathString: String): Path
    Definition Classes
    Path
  2. def ++(suffix: Path): Slash
    Definition Classes
    SlashPath
  3. def /(segment: String): Path
    Definition Classes
    Path
  4. def ::(segment: String): Path
    Definition Classes
    SlashPath
  5. def ::(c: Char): Path
    Definition Classes
    Path
  6. 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
  7. def charCount: Int
    Definition Classes
    SlashPath
  8. def dropChars(count: Int): Path
    Definition Classes
    SlashPath
  9. final def endsWith(suffix: String, ignoreTrailingSlash: Boolean = false): Boolean
    Definition Classes
    Path
  10. def endsWithSlash: Boolean
    Definition Classes
    Path
  11. def head: Char
    Definition Classes
    SlashPath
  12. def isEmpty: Boolean
    Definition Classes
    SlashPath
  13. def length: Int
    Definition Classes
    SlashPath
  14. def productElementNames: Iterator[String]
    Definition Classes
    Product
  15. def reverse: Path
    Definition Classes
    Path
  16. def reverseAndPrependTo(prefix: Path): Path
    Definition Classes
    SlashPath
  17. def startsWith(that: Path): Boolean
    Definition Classes
    SlashPath
  18. def startsWithSegment: Boolean
    Definition Classes
    SlashOrEmptyPath
  19. def startsWithSlash: Boolean
    Definition Classes
    SlashPath
  20. val tail: Path
    Definition Classes
    SlashPath
  21. def toString(): String
    Definition Classes
    Path → AnyRef → Any