final class UriDsl extends AnyVal
Value class to add DSL functionality to Uris
- Alphabetic
- By Inheritance
- UriDsl
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
- def #(other: Uri): Uri
-
def
#(fragment: String): Uri
Adds a fragment to the end of the uri
Adds a fragment to the end of the uri
- fragment
String representing the fragment
- returns
A new Uri with this fragment
-
final
def
##(): Int
- Definition Classes
- Any
- def &(other: Uri): Uri
-
def
&(kv: String)(implicit config: UriConfig = UriConfig.default): Uri
Adds a new Query String.
Adds a new Query String. The specified String is parsed as a Query String param.
- returns
A new Uri with the new Query String parameter
-
def
&(kv: (String, Any)): Uri
Adds a new Query String parameter key-value pair.
Adds a new Query String parameter key-value pair. If the value for the Query String parameter is None, then this Query String parameter will not be rendered in calls to toString or toStringRaw
- kv
Tuple2 representing the query string parameter
- returns
A new Uri with the new Query String parameter
- def /(other: Uri): Uri
-
def
/(pp: String): Uri
Appends a path part to the path of this URI
Appends a path part to the path of this URI
- pp
The path part
- returns
A new Uri with this path part appended
-
def
/?(kv: (String, Any)): Uri
Adds a trailing forward slash to the path and a new Query String parameter key-value pair.
Adds a trailing forward slash to the path and a new Query String parameter key-value pair. If the value for the Query String parameter is None, then this Query String parameter will not be rendered in calls to toString or toStringRaw
- kv
Tuple2 representing the query string parameter
- returns
A new Uri with the new Query String parameter
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
- def ?(other: Uri): Uri
-
def
?(kv: String)(implicit config: UriConfig = UriConfig.default): Uri
Adds a new Query String.
Adds a new Query String. The specified String is parsed as a Query String param.
- returns
A new Uri with the new Query String parameter
-
def
?(kv: (String, Any)): Uri
Adds a new Query String parameter key-value pair.
Adds a new Query String parameter key-value pair. If the value for the Query String parameter is None, then this Query String parameter will not be rendered in calls to toString or toStringRaw
- kv
Tuple2 representing the query string parameter
- returns
A new Uri with the new Query String parameter
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toString(): String
- Definition Classes
- Any
- val uri: Uri