Packages

final class UrlForm extends AnyVal

Source
UrlForm.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UrlForm
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def +(kv: (String, String)): UrlForm
  2. def ++?[T](key: String, vals: Chain[T])(implicit arg0: QueryParamEncoder[T]): UrlForm
  3. def +?[T](key: String, value: Option[T])(implicit arg0: QueryParamEncoder[T]): UrlForm
  4. def +?[T](key: String, value: T)(implicit arg0: QueryParamEncoder[T]): UrlForm
  5. def get(key: String): Chain[String]
  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. def getFirst(key: String): Option[String]
  8. def getFirstOrElse(key: String, default: ⇒ String): String
  9. def getOrElse(key: String, default: ⇒ Chain[String]): Chain[String]
  10. def toString(): String
    Definition Classes
    UrlForm → Any
  11. def updateFormField[T](key: String, value: Option[T])(implicit ev: QueryParamEncoder[T]): UrlForm

    key

    name of the field

    value

    optional value of the field

    ev

    evidence of the existence of QueryParamEncoder[T]

    returns

    UrlForm updated as it is updated with updateFormField(key, v) if value is Some(v), otherwise it is unaltered

  12. def updateFormField[T](key: String, value: T)(implicit ev: QueryParamEncoder[T]): UrlForm

    key

    name of the field

    value

    value of the field

    ev

    evidence of the existence of QueryParamEncoder[T]

    returns

    UrlForm updated with key and value pair if key does not exist in values. Otherwise value will be added to the existing entry.

  13. def updateFormFields[T](key: String, vals: Chain[T])(implicit ev: QueryParamEncoder[T]): UrlForm

    key

    name of the field

    vals

    a Chain of values for the field

    ev

    evidence of the existence of QueryParamEncoder[T]

    returns

    UrlForm updated with key and vals if key does not exist in values, otherwise vals will be appended to the existing entry. If vals is empty, UrlForm will remain as is

  14. val values: Map[String, Chain[String]]