final class UrlForm extends AnyVal
- Source
- UrlForm.scala
- Alphabetic
- By Inheritance
- UrlForm
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
- def +(kv: (String, String)): UrlForm
- def ++?[T](key: String, vals: Seq[T])(implicit arg0: QueryParamEncoder[T]): UrlForm
- def +?[T](key: String, value: Option[T])(implicit arg0: QueryParamEncoder[T]): UrlForm
- def +?[T](key: String, value: T)(implicit arg0: QueryParamEncoder[T]): UrlForm
- def ->[B](y: B): (UrlForm, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (UrlForm) ⇒ Boolean, msg: ⇒ Any): UrlForm
- def ensuring(cond: (UrlForm) ⇒ Boolean): UrlForm
- def ensuring(cond: Boolean, msg: ⇒ Any): UrlForm
- def ensuring(cond: Boolean): UrlForm
- def formatted(fmtstr: String): String
- def get(key: String): Seq[String]
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getFirst(key: String): Option[String]
- def getFirstOrElse(key: String, default: ⇒ String): String
- def getOrElse(key: String, default: ⇒ Seq[String]): Seq[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toString(): String
- Definition Classes
- UrlForm → Any
-
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 withupdateFormField(key, v)
ifvalue
isSome(v)
, otherwise it is unaltered
-
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 withkey
andvalue
pair if key does not exist invalues
. Otherwisevalue
will be added to the existing entry.
-
def
updateFormFields[T](key: String, vals: Seq[T])(implicit ev: QueryParamEncoder[T]): UrlForm
- key
name of the field
- vals
a sequence of values for the field
- ev
evidence of the existence of
QueryParamEncoder[T]
- returns
UrlForm
updated withkey
andvals
if key does not exist invalues
, otherwisevals
will be appended to the existing entry. Ifvals
is empty,UrlForm
will remain as is
- val values: Map[String, Seq[String]]
- def →[B](y: B): (UrlForm, B)
Shadowed Implicit Value Members
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from UrlForm to any2stringadd[UrlForm] performed by method any2stringadd in scala.Predef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(urlForm: any2stringadd[UrlForm]).+(other)
- Definition Classes
- any2stringadd