Packages

class UrlParser extends UriParser

Linear Supertypes
UriParser, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UrlParser
  2. UriParser
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UrlParser(input: String)(implicit conf: UriConfig = UriConfig.default)

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. def _abs_url: Parser[AbsoluteUrl]
  5. val _alpha_num: Parser[Char]
    Definition Classes
    UriParser
  6. def _authority: Parser0[Authority]
  7. def _data_url: Parser[DataUrl]
  8. def _data_url_base64: Parser[DataUrl]
  9. def _data_url_percent_encoded: Parser[DataUrl]
  10. def _domain_name: Parser0[DomainName]
  11. def _fragment: Parser[String]
  12. def _full_ip_v6: Parser[IpV6]
  13. val _hex_digit: Parser[Char]
    Definition Classes
    UriParser
  14. def _host: Parser0[Host]
  15. val _host_end: String
  16. def _host_in_authority(hostEndChars: String): Parser0[Host]
  17. def _host_in_authority: Parser0[Host]
  18. def _int(maxLength: Int): Parser[Int]
  19. def _ip_in_url_end(hostEndChars: String): Parser0[Unit]
  20. def _ip_in_url_end: Parser0[Unit]

    To ensure that hosts that begin with an IP but have further leading characters are not matched as IPs, we need to anchor the tail end to a character that signals the end of the host.

    To ensure that hosts that begin with an IP but have further leading characters are not matched as IPs, we need to anchor the tail end to a character that signals the end of the host. E.g.

    The host in the URL http://1.2.3.4.blah/ should be DomainName(1.2.3.4.blah), not IPv4(1.2.3.4)

  21. def _ip_v4: Parser[IpV4]
  22. def _ip_v6: Parser[IpV6]
  23. def _ip_v6_hex_piece: Parser[String]
  24. def _ip_v6_hex_pieces: Parser0[Seq[String]]
  25. def _ip_v6_with_eluded: Parser[IpV6]
  26. def _maybe_query_string: Parser0[QueryString]
  27. def _media_type: Parser0[MediaType]
  28. def _media_type_param: Parser[(String, String)]
  29. def _octet: Parser[Int]
  30. val _p_char: Parser[Char]
    Definition Classes
    UriParser
  31. def _path: Parser0[UrlPath]

    A sequence of path parts optionally starting with a slash

  32. def _path_for_authority: Parser0[AbsoluteOrEmptyPath]

    A sequence of path parts that MUST start with a slash

    A sequence of path parts that MUST start with a slash

    If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character.

  33. def _path_segment: Parser0[String]
  34. val _pct_encoded: Parser[Char]
    Definition Classes
    UriParser
  35. def _port: Parser[Int]
  36. def _protocol_rel_url: Parser[ProtocolRelativeUrl]
  37. def _query_param: Parser[(String, Some[String])]
  38. def _query_param_or_tok: Parser0[(String, Option[String])]
  39. def _query_string: Parser[QueryString]
  40. def _query_tok: Parser[(String, None.type)]
  41. def _rel_url: Parser0[RelativeUrl]
  42. def _scheme: Parser[String]
  43. def _scp_like_url: Parser[ScpLikeUrl]
  44. def _scp_like_user: Parser0[Option[String]]
  45. def _simple_url_without_authority: Parser[SimpleUrlWithoutAuthority]
  46. val _sub_delims: Parser[Char]
    Definition Classes
    UriParser
  47. val _unreserved: Parser[Char]
    Definition Classes
    UriParser
  48. def _url: Parser0[Url]
  49. def _url_with_authority: Parser[UrlWithAuthority]
  50. def _url_without_authority: Parser[UrlWithoutAuthority]
  51. def _user_info: Parser0[UserInfo]
  52. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  53. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  54. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  55. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  56. val extractAbsOrEmptyPath: (Seq[String]) => AbsoluteOrEmptyPath { type Self >: io.lemonlabs.uri.EmptyPath.type with io.lemonlabs.uri.AbsolutePath <: io.lemonlabs.uri.AbsoluteOrEmptyPath }
  57. val extractAbsoluteUrl: (String, Authority, AbsoluteOrEmptyPath, QueryString, Option[String]) => AbsoluteUrl
  58. val extractAuthority: (Option[UserInfo], Host, Option[Int]) => Authority
  59. val extractBase64DataUrl: (MediaType, String) => DataUrl
  60. val extractDomainName: (String) => DomainName
  61. val extractFragment: (String) => String
  62. val extractFullIpv6: (Seq[String]) => IpV6
  63. val extractHexToInt: (String) => Int
  64. val extractInt: (String) => Int
  65. val extractIpv4: (Int, Int, Int, Int) => IpV4
  66. val extractIpv6WithEluded: (Seq[String], Seq[String]) => IpV6
  67. val extractMediaType: (String, Seq[(String, String)]) => MediaType
  68. val extractMediaTypeParam: (String, String) => (String, String)
  69. val extractPathPart: (String) => String
  70. val extractPercentEncodedDataUrl: (MediaType, String) => DataUrl
  71. val extractProtocolRelativeUrl: (Authority, AbsoluteOrEmptyPath, QueryString, Option[String]) => ProtocolRelativeUrl
  72. val extractQueryString: (Seq[(String, Option[String])]) => QueryString
  73. val extractRelPath: (Option[Unit], Seq[String]) => UrlPath
  74. val extractRelativeUrl: (UrlPath, QueryString, Option[String]) => RelativeUrl
  75. val extractScpLikeUrl: (Option[String], Host, UrlPath) => ScpLikeUrl
  76. val extractTok: (String) => (String, None.type)
  77. val extractTuple: (String, String) => (String, Some[String])
  78. val extractUrlWithoutAuthority: (String, UrlPath, QueryString, Option[String]) => SimpleUrlWithoutAuthority
  79. val extractUserInfo: (String, Option[String]) => UserInfo
  80. def fragmentDecoder: UriDecoder
  81. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  82. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  83. val input: String
  84. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  85. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  86. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  87. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  88. def parseAbsoluteUrl(): Try[AbsoluteUrl]
  89. def parseAuthority(): Try[Authority]
  90. def parseDataUrl(): Try[DataUrl]
  91. def parseDomainName(): Try[DomainName]
  92. def parseHost(): Try[Host]
  93. def parseIpV4(): Try[IpV4]
  94. def parseIpV6(): Try[IpV6]
  95. def parsePath(): Try[UrlPath]
  96. def parseProtocolRelativeUrl(): Try[ProtocolRelativeUrl]
  97. def parseQuery(): Try[QueryString]
  98. def parseQueryParam(): Try[(String, Option[String])]
  99. def parseRelativeUrl(): Try[RelativeUrl]
  100. def parseScpLikeUrl(): Try[ScpLikeUrl]
  101. def parseSimpleUrlWithoutAuthority(): Try[SimpleUrlWithoutAuthority]
  102. def parseUrl(): Try[Url]
  103. def parseUrlWithAuthority(): Try[UrlWithAuthority]
  104. def parseUrlWithoutAuthority(): Try[UrlWithoutAuthority]
  105. def parseUserInfo(): Try[UserInfo]
  106. def pathDecoder: UriDecoder
  107. def queryDecoder: UriDecoder
  108. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  109. def toString(): String
    Definition Classes
    AnyRef → Any
  110. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  111. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  112. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from UriParser

Inherited from AnyRef

Inherited from Any

Ungrouped