c

play.api.routing.sird

UrlContext

implicit class UrlContext extends AnyRef

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UrlContext
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UrlContext(sc: StringContext)

Value Members

  1. 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.

  2. 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}".

  3. 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}".

  4. 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}".

  5. 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.

  6. 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.