class UrlParser extends UriParser
- Alphabetic
- By Inheritance
- UrlParser
- UriParser
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new UrlParser(input: String)(implicit conf: UriConfig = UriConfig.default)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def _abs_url: Parser[AbsoluteUrl]
- val _alpha_num: Parser[Char]
- Definition Classes
- UriParser
- def _authority: Parser0[Authority]
- def _data_url: Parser[DataUrl]
- def _data_url_base64: Parser[DataUrl]
- def _data_url_percent_encoded: Parser[DataUrl]
- def _domain_name: Parser0[DomainName]
- def _fragment: Parser[String]
- def _full_ip_v6: Parser[IpV6]
- val _hex_digit: Parser[Char]
- Definition Classes
- UriParser
- def _host: Parser0[Host]
- val _host_end: String
- def _host_in_authority(hostEndChars: String): Parser0[Host]
- def _host_in_authority: Parser0[Host]
- def _int(maxLength: Int): Parser[Int]
- def _ip_in_url_end(hostEndChars: String): Parser0[Unit]
- 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) - def _ip_v4: Parser[IpV4]
- def _ip_v6: Parser[IpV6]
- def _ip_v6_hex_piece: Parser[String]
- def _ip_v6_hex_pieces: Parser0[Seq[String]]
- def _ip_v6_with_eluded: Parser[IpV6]
- def _maybe_query_string: Parser0[QueryString]
- def _media_type: Parser0[MediaType]
- def _media_type_param: Parser[(String, String)]
- def _octet: Parser[Int]
- val _p_char: Parser[Char]
- Definition Classes
- UriParser
- def _path: Parser0[UrlPath]
A sequence of path parts optionally starting with a slash
- 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.
- def _path_segment: Parser0[String]
- val _pct_encoded: Parser[Char]
- Definition Classes
- UriParser
- def _port: Parser[Int]
- def _protocol_rel_url: Parser[ProtocolRelativeUrl]
- def _query_param: Parser[(String, Some[String])]
- def _query_param_or_tok: Parser0[(String, Option[String])]
- def _query_string: Parser[QueryString]
- def _query_tok: Parser[(String, None.type)]
- def _rel_url: Parser0[RelativeUrl]
- def _scheme: Parser[String]
- def _scp_like_url: Parser[ScpLikeUrl]
- def _scp_like_user: Parser0[Option[String]]
- def _simple_url_without_authority: Parser[SimpleUrlWithoutAuthority]
- val _sub_delims: Parser[Char]
- Definition Classes
- UriParser
- val _unreserved: Parser[Char]
- Definition Classes
- UriParser
- def _url: Parser0[Url]
- def _url_with_authority: Parser[UrlWithAuthority]
- def _url_without_authority: Parser[UrlWithoutAuthority]
- def _user_info: Parser0[UserInfo]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val extractAbsOrEmptyPath: (Seq[String]) => AbsoluteOrEmptyPath { type Self >: io.lemonlabs.uri.EmptyPath.type with io.lemonlabs.uri.AbsolutePath <: io.lemonlabs.uri.AbsoluteOrEmptyPath }
- val extractAbsoluteUrl: (String, Authority, AbsoluteOrEmptyPath, QueryString, Option[String]) => AbsoluteUrl
- val extractAuthority: (Option[UserInfo], Host, Option[Int]) => Authority
- val extractBase64DataUrl: (MediaType, String) => DataUrl
- val extractDomainName: (String) => DomainName
- val extractFragment: (String) => String
- val extractFullIpv6: (Seq[String]) => IpV6
- val extractHexToInt: (String) => Int
- val extractInt: (String) => Int
- val extractIpv4: (Int, Int, Int, Int) => IpV4
- val extractIpv6WithEluded: (Seq[String], Seq[String]) => IpV6
- val extractMediaType: (String, Seq[(String, String)]) => MediaType
- val extractMediaTypeParam: (String, String) => (String, String)
- val extractPathPart: (String) => String
- val extractPercentEncodedDataUrl: (MediaType, String) => DataUrl
- val extractProtocolRelativeUrl: (Authority, AbsoluteOrEmptyPath, QueryString, Option[String]) => ProtocolRelativeUrl
- val extractQueryString: (Seq[(String, Option[String])]) => QueryString
- val extractRelPath: (Option[Unit], Seq[String]) => UrlPath
- val extractRelativeUrl: (UrlPath, QueryString, Option[String]) => RelativeUrl
- val extractScpLikeUrl: (Option[String], Host, UrlPath) => ScpLikeUrl
- val extractTok: (String) => (String, None.type)
- val extractTuple: (String, String) => (String, Some[String])
- val extractUrlWithoutAuthority: (String, UrlPath, QueryString, Option[String]) => SimpleUrlWithoutAuthority
- val extractUserInfo: (String, Option[String]) => UserInfo
- def fragmentDecoder: UriDecoder
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val input: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def parseAbsoluteUrl(): Try[AbsoluteUrl]
- def parseAuthority(): Try[Authority]
- def parseDataUrl(): Try[DataUrl]
- def parseDomainName(): Try[DomainName]
- def parseHost(): Try[Host]
- def parseIpV4(): Try[IpV4]
- def parseIpV6(): Try[IpV6]
- def parsePath(): Try[UrlPath]
- def parseProtocolRelativeUrl(): Try[ProtocolRelativeUrl]
- def parseQuery(): Try[QueryString]
- def parseQueryParam(): Try[(String, Option[String])]
- def parseRelativeUrl(): Try[RelativeUrl]
- def parseScpLikeUrl(): Try[ScpLikeUrl]
- def parseSimpleUrlWithoutAuthority(): Try[SimpleUrlWithoutAuthority]
- def parseUrl(): Try[Url]
- def parseUrlWithAuthority(): Try[UrlWithAuthority]
- def parseUrlWithoutAuthority(): Try[UrlWithoutAuthority]
- def parseUserInfo(): Try[UserInfo]
- def pathDecoder: UriDecoder
- def queryDecoder: UriDecoder
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated