Class

rapture.uri

Url

Related Doc: package uri

Permalink

abstract class Url[+UrlType <: Url[UrlType]] extends AbsolutePath[UrlType] with Uri

Represents a generic URL

Self Type
UrlType
Linear Supertypes
Uri, AbsolutePath[UrlType], Path[UrlType], Link, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Url
  2. Uri
  3. AbsolutePath
  4. Path
  5. Link
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Url(elements: Seq[String], afterPath: AfterPath)

    Permalink

Abstract Value Members

  1. abstract def makePath(ascent: Int, elements: Seq[String], afterPath: AfterPath): UrlType

    Permalink

    Constructs a new path

    Constructs a new path

    Definition Classes
    AbsolutePathPath
  2. abstract val pathRoot: PathRoot[UrlType]

    Permalink

    The base for this URL

  3. abstract def schemeSpecificPart: String

    Permalink
    Definition Classes
    Uri

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +[P <: Path[P]](dest: P): Path[_]

    Permalink

    Calculates the destination of the given link from this URL

    Calculates the destination of the given link from this URL

    Definition Classes
    UrlAbsolutePath
  4. def -[P <: AbsolutePath[P]](src: P)(implicit linkable: Linkable[P, UrlType]): Result

    Permalink
    Definition Classes
    AbsolutePath
  5. def /(path: SimplePath): UrlType

    Permalink

    Constructs a new URL by calculating the destination URL by following the given Path from this URL

  6. def /(element: String): UrlType

    Permalink

    Constructs a new URL by appending the given path element to the path.

    Constructs a new URL by appending the given path element to the path.

    Definition Classes
    UrlAbsolutePathPath
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def absolute: Boolean

    Permalink

    This is an absolute path

    This is an absolute path

    Definition Classes
    AbsolutePathPathLink
  9. val afterPath: AfterPath

    Permalink
    Definition Classes
    Path
  10. def afterPathString: String

    Permalink
    Attributes
    protected
    Definition Classes
    Path
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. val ascent: Int

    Permalink

    The number of levels to navigate up the path hierarchy to reach the common parent

    The number of levels to navigate up the path hierarchy to reach the common parent

    Definition Classes
    Path
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def drop(n: Int): UrlType

    Permalink

    Drops the specified number of path elements from the left of the path

    Drops the specified number of path elements from the left of the path

    Definition Classes
    AbsolutePath
  15. def dropRight(n: Int): UrlType

    Permalink

    Drops the specified number of path elements from the right of the path

    Drops the specified number of path elements from the right of the path

    Definition Classes
    AbsolutePath
  16. val elements: Seq[String]

    Permalink

    The String components of this path

    The String components of this path

    Definition Classes
    Path
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(any: Any): Boolean

    Permalink
    Definition Classes
    UrlPath → AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    Url → AnyRef → Any
  22. def head: String

    Permalink

    Returns the first element of the path, if it exists

    Returns the first element of the path, if it exists

    Definition Classes
    AbsolutePath
  23. def init: UrlType

    Permalink

    Returns all but the last element of the path

    Returns all but the last element of the path

    Definition Classes
    AbsolutePath
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def isRoot: Boolean

    Permalink

    Returns true if this is a root path

    Returns true if this is a root path

    Definition Classes
    AbsolutePath
  26. def last: String

    Permalink

    Returns the last element of the path, if it exists

    Returns the last element of the path, if it exists

    Definition Classes
    AbsolutePath
  27. def link[P <: AbsolutePath[P]](dest: P)(implicit linkable: Linkable[UrlType, P]): Result

    Permalink
    Definition Classes
    AbsolutePath
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def parent: UrlType

    Permalink

    Returns the parent path of this path; equivalent to tail

    Returns the parent path of this path; equivalent to tail

    Definition Classes
    AbsolutePath
  32. def pathString: String

    Permalink
    Definition Classes
    AbsolutePath
  33. def query[Q](q: Q)(implicit qt: QueryType[UrlType, Q]): UrlType

    Permalink
    Definition Classes
    Path
  34. def scheme: Scheme[UrlType]

    Permalink

    Delegate to make the URL's scheme from the PathRoot visible from the URL

    Delegate to make the URL's scheme from the PathRoot visible from the URL

    Definition Classes
    UrlUri
  35. def schemeName: String

    Permalink

    The string version of the scheme, for the benefit of the Uri trait

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def tail: UrlType

    Permalink

    Returns all but the first element of the path

    Returns all but the first element of the path

    Definition Classes
    AbsolutePath
  38. def take(n: Int): UrlType

    Permalink

    Drops all but the specified number of path elements from the left of the path

    Drops all but the specified number of path elements from the left of the path

    Definition Classes
    AbsolutePath
  39. def toString(): String

    Permalink
    Definition Classes
    Uri → AnyRef → Any
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def /?[Q](q: Q)(implicit qt: QueryType[UrlType, Q]): UrlType

    Permalink
    Definition Classes
    Path
    Annotations
    @deprecated
    Deprecated

    (Since version 0.10.0) Use the query method instead.

Inherited from Uri

Inherited from AbsolutePath[UrlType]

Inherited from Path[UrlType]

Inherited from Link

Inherited from AnyRef

Inherited from Any

Ungrouped