Pure, immutable URL representation.
Path segments are stored in decoded form and percent-encoded on output via encode. parse returns Left on invalid input (empty string, malformed port, etc.). Use / to append a path segment and ?? to add a query parameter. encode renders the full URL string with proper percent-encoding.
Attributes
Members list
Value members
Concrete methods
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
- Source
- URL.scala
Attributes
- Source
- URL.scala
Inherited methods
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
- Source
- Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
- Source
- Product.scala