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. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(kv: (String, String)): UrlForm
  4. def ++?[T](key: String, vals: Chain[T])(implicit arg0: QueryParamEncoder[T]): UrlForm
  5. def +?[T](key: String, value: Option[T])(implicit arg0: QueryParamEncoder[T]): UrlForm
  6. def +?[T](key: String, value: T)(implicit arg0: QueryParamEncoder[T]): UrlForm
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def get(key: String): Chain[String]
  10. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  11. def getFirst(key: String): Option[String]
  12. def getFirstOrElse(key: String, default: ⇒ String): String
  13. def getOrElse(key: String, default: ⇒ Chain[String]): Chain[String]
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def toString(): String
    Definition Classes
    UrlForm → Any
  16. 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

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

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

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

Inherited from AnyVal

Inherited from Any

Ungrouped