implicit class UrlContext extends AnyRef
- Source
- package.scala
- Alphabetic
- By Inheritance
- UrlContext
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new UrlContext(sc: StringContext)
Value Members
- val p: PathExtractor
String interpolator for extracting parameters out of URL paths.
String interpolator for extracting parameters out of URL paths.
By default, any sub value extracted out by the interpolator will match a path segment, that is, any String not containing a /, and its value will be decoded. If however the sub value is suffixed with *, then it will match any part of a path, and not be decoded. Regular expressions are also supported, by suffixing the sub value with a regular expression in angled brackets, and these are not decoded.
- macro def q: RequiredQueryStringParameter
String interpolator for required query parameters out of query strings.
String interpolator for required query parameters out of query strings.
The format must match
q"paramName=${param}"
. - macro def q_*: SeqQueryStringParameter
String interpolator for multi valued query parameters out of query strings.
String interpolator for multi valued query parameters out of query strings.
The format must match
q_*"paramName=${params}"
. - macro def q_?: OptionalQueryStringParameter
String interpolator for optional query parameters out of query strings.
String interpolator for optional query parameters out of query strings.
The format must match
q_?"paramName=${param}"
. - macro def q_o: OptionalQueryStringParameter
String interpolator for optional query parameters out of query strings.
String interpolator for optional query parameters out of query strings.
The format must match
q_o"paramName=${param}"
.The
q_?
interpolator is preferred, however Scala 2.10 does not support operator characters in String interpolator methods. - macro def q_s: SeqQueryStringParameter
String interpolator for multi valued query parameters out of query strings.
String interpolator for multi valued query parameters out of query strings.
The format must match
q_s"paramName=${params}"
.The
q_*
interpolator is preferred, however Scala 2.10 does not support operator characters in String interpolator methods.