Packages

trait URLObject extends Object

Parsed URL Object

Annotations
@JSType() @native() @deprecated
Deprecated

(Since version Node.js v11.0.0) Use URL instead

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. URLObject
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val auth: UndefOr[String]

    The auth property is the username and password portion of the URL, also referred to as "userinfo".

    The auth property is the username and password portion of the URL, also referred to as "userinfo". This string subset follows the protocol and double slashes (if present) and precedes the host component, delimited by an ASCII "at sign" (@). The format of the string is {username}[:{password}], with the [:{password}] portion being optional.

    Example:
    1. 'user:pass'

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  12. val hash: UndefOr[String]

    The hash property consists of the "fragment" portion of the URL including the leading ASCII hash (#) character.

    The hash property consists of the "fragment" portion of the URL including the leading ASCII hash (#) character.

    Example:
    1. '#hash'

  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. val host: UndefOr[String]

    The host property is the full lower-cased host portion of the URL, including the port if specified.

    The host property is the full lower-cased host portion of the URL, including the port if specified.

    Example:
    1. 'host.com:8080'

  15. val hostname: UndefOr[String]

    The hostname property is the lower-cased host name portion of the host component without the port included.

    The hostname property is the lower-cased host name portion of the host component without the port included.

    Example:
    1. 'host.com'

  16. val href: UndefOr[String]

    The href property is the full URL string that was parsed with both the protocol and host components converted to lower-case.

    The href property is the full URL string that was parsed with both the protocol and host components converted to lower-case.

    Example:
    1. http://user:[email protected]:8080/p/a/t/h?query=string#hash
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val path: UndefOr[String]

    The path property is a concatenation of the pathname and search components.

    The path property is a concatenation of the pathname and search components.

    Example:
    1. '/p/a/t/h?query=string'

  23. val pathname: UndefOr[String]

    The pathname property consists of the entire path section of the URL.

    The pathname property consists of the entire path section of the URL. This is everything following the host (including the port) and before the start of the query or hash components, delimited by either the ASCII question mark (?) or hash (#) characters.

    Example:
    1. '/p/a/t/h'

  24. val port: UndefOr[String]

    The port property is the numeric port portion of the host component.

    The port property is the numeric port portion of the host component.

    Example:
    1. '8080'

  25. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  26. val protocol: UndefOr[String]

    The protocol property identifies the URL's lower-cased protocol scheme.

    The protocol property identifies the URL's lower-cased protocol scheme.

    Example:
    1. 'http:'

  27. val query: UndefOr[String]

    The query property is either the query string without the leading ASCII question mark (?), or an object returned by the querystring module's parse() method.

    The query property is either the query string without the leading ASCII question mark (?), or an object returned by the querystring module's parse() method. Whether the query property is a string or object is determined by the parseQueryString argument passed to url.parse().

    If returned as a string, no decoding of the query string is performed. If returned as an object, both keys and values are decoded.

    Example:
    1. 'query=string' or {'query': 'string'}

  28. val search: UndefOr[String]

    The search property consists of the entire "query string" portion of the URL, including the leading ASCII question mark (?) character.

    The search property consists of the entire "query string" portion of the URL, including the leading ASCII question mark (?) character.

    Example:
    1. '?query=string'

  29. val slashes: UndefOr[Boolean]

    The slashes property is a boolean with a value of true if two ASCII forward-slash characters (/) are required following the colon in the protocol.

  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toLocaleString(): String
    Definition Classes
    Object
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def valueOf(): Any
    Definition Classes
    Object
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped