Attributes
- Companion
- object
- Source
- URL.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait QueryChecks[URL]trait QueryGetters[URL]trait QueryModifier[URL]trait URLPlatformSpecificclass Objecttrait Matchableclass AnyShow all
- Self type
Members list
Value members
Concrete methods
A right-biased way of combining two URLs. Where it makes sense, information will be merged, but in cases where this does not make sense (e.g. two non-empty fragments), the information from the right URL will be used.
A right-biased way of combining two URLs. Where it makes sense, information will be merged, but in cases where this does not make sense (e.g. two non-empty fragments), the information from the right URL will be used.
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Compares the receiver object (this) with the argument object (that) for equivalence.
Compares the receiver object (this) with the argument object (that) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
xof typeAny,x.equals(x)should returntrue. - It is symmetric: for any instances
xandyof typeAny,x.equals(y)should returntrueif and only ify.equals(x)returnstrue. - It is transitive: for any instances
x,y, andzof typeAnyifx.equals(y)returnstrueandy.equals(z)returnstrue, thenx.equals(z)should returntrue.
If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).
Value parameters
- that
-
the object to compare against this object for equality.
Attributes
Calculates a hash code value for the object.
Calculates a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.
Attributes
- Returns
-
the hash code value for this object.
- Definition Classes
-
Any
- Source
- URL.scala
Attributes
- Returns
-
the location, the host name and the port. The port part is omitted if is the default port for the protocol.
- Source
- URL.scala
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Attributes
- Source
- URL.scala
Attributes
- Definition Classes
- Source
- URL.scala
RFC 3986 § 5.2 Relative Resolution
RFC 3986 § 5.2 Relative Resolution
Value parameters
- reference
-
the URL to resolve relative to
thisbase URL
Attributes
- Returns
-
the target URL
- Source
- URL.scala
Returns a new java.net.URI representing this URL.
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
- Definition Classes
- Source
- URL.scala
Inherited methods
Combines two collections of query parameters together. If there are duplicate keys, the values from both sides are preserved, in order from left-to-right.
Combines two collections of query parameters together. If there are duplicate keys, the values from both sides are preserved, in order from left-to-right.
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Adds the specified key/value pair to the query parameters.
Adds the specified key/value pair to the query parameters.
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Adds the specified key/value pairs to the query parameters.
Adds the specified key/value pairs to the query parameters.
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Attributes
- Inherited from:
- QueryChecks
- Source
- QueryChecks.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Retrieves query parameters as a value of the specified type. The type must have a schema and be a case class and all fields must be query parameters. So fields must be of primitive types (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these. Query parameters are selected by field names.
Retrieves query parameters as a value of the specified type. The type must have a schema and be a case class and all fields must be query parameters. So fields must be of primitive types (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these. Query parameters are selected by field names.
Attributes
- Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Retrieves the query parameter with the specified name as a value of the specified type. The type must have a schema and can be a primitive type (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these.
Retrieves the query parameter with the specified name as a value of the specified type. The type must have a schema and can be a primitive type (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these.
Attributes
- Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Attributes
- Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Attributes
- Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Retrieves the first query parameter value having the specified name.
Retrieves the first query parameter value having the specified name.
Attributes
- Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Retrieves the first query parameter value having the specified name, or else uses the default value.
Retrieves the first query parameter value having the specified name, or else uses the default value.
Attributes
- Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Retrieves all query parameter values having the specified name.
Retrieves all query parameter values having the specified name.
Attributes
- Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Retrieves all query parameter values having the specified name, or else uses the default iterable.
Retrieves all query parameter values having the specified name, or else uses the default iterable.
Attributes
- Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Retrieves all typed query parameter values having the specified name as ZIO
Retrieves all typed query parameter values having the specified name as ZIO
Attributes
- Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Removes the specified key from the query parameters.
Removes the specified key from the query parameters.
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Removes the specified keys from the query parameters.
Removes the specified keys from the query parameters.
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Attributes
- Inherited from:
- QueryModifier
- Source
- QueryModifier.scala
Returns a new java.net.URL only if this URL represents an absolute location.
Returns a new java.net.URL only if this URL represents an absolute location.
Attributes
- Inherited from:
- URLPlatformSpecific
- Source
- URLPlatformSpecific.scala
Attributes
- Inherited from:
- QueryChecks
- Source
- QueryChecks.scala
Deprecated and Inherited methods
Retrieves the first typed query parameter value having the specified name.
Retrieves the first typed query parameter value having the specified name.
Attributes
- Deprecated
-
[Since version 3.1.0]Use query(key)[T] - Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Retrieves the first typed query parameter value having the specified name, or else uses the default value.
Retrieves the first typed query parameter value having the specified name, or else uses the default value.
Attributes
- Deprecated
-
[Since version 3.1.0]Use queryParamOrElse(key, default) - Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Retrieves the first typed query parameter value having the specified name as ZIO.
Retrieves the first typed query parameter value having the specified name as ZIO.
Attributes
- Deprecated
-
[Since version 3.1.0]Use queryZIO(key)[T] - Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Retrieves all typed query parameter values having the specified name.
Retrieves all typed query parameter values having the specified name.
Attributes
- Deprecated
-
[Since version 3.1.0]Use query(key)[Chunk[T] - Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Retrieves all query parameter values having the specified name, or else uses the default iterable.
Retrieves all query parameter values having the specified name, or else uses the default iterable.
Attributes
- Deprecated
-
[Since version 3.1.0]Use queryParamsOrElse(key, default) - Inherited from:
- QueryGetters
- Source
- QueryGetters.scala
Retrieves all typed query parameter values having the specified name as ZIO.
Retrieves all typed query parameter values having the specified name as ZIO.
Attributes
- Deprecated
-
[Since version 3.1.0]Use queryZIO(key)[Chunk[T] - Inherited from:
- QueryGetters
- Source
- QueryGetters.scala