UrlForm

org.http4s.UrlForm
See theUrlForm companion object
final class UrlForm extends AnyVal

Attributes

Companion:
object
Source:
UrlForm.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def +(kv: (String, String)): UrlForm

Attributes

Source:
UrlForm.scala
def ++?[T : QueryParamEncoder](key: String, vals: Chain[T]): UrlForm

Same as updatedParamEncoders(key, vals)

Same as updatedParamEncoders(key, vals)

Attributes

Source:
UrlForm.scala
def +?[T : QueryParamEncoder](key: String, value: T): UrlForm

Same as updateFormField(key, value)

Same as updateFormField(key, value)

Attributes

Source:
UrlForm.scala
def +?[T : QueryParamEncoder](key: String, value: Option[T]): UrlForm

Same as updateParamEncoder(key, value)

Same as updateParamEncoder(key, value)

Attributes

Source:
UrlForm.scala
def get(key: String): Chain[String]

Attributes

Source:
UrlForm.scala

Attributes

Source:
UrlForm.scala
def getFirstOrElse(key: String, default: => String): String

Attributes

Source:
UrlForm.scala
def getOrElse(key: String, default: => Chain[String]): Chain[String]

Attributes

Source:
UrlForm.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any
Source:
UrlForm.scala
def updateFormField[T](key: String, value: T)(implicit ev: QueryParamEncoder[T]): UrlForm

Attributes

ev

evidence of the existence of QueryParamEncoder[T]

key

name of the field

value

value of the field

Returns:

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

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

Attributes

ev

evidence of the existence of QueryParamEncoder[T]

key

name of the field

value

optional value of the field

Returns:

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

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

Attributes

ev

evidence of the existence of QueryParamEncoder[T]

key

name of the field

vals

a Chain of values for the field

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

Source:
UrlForm.scala

Concrete fields

Attributes

Source:
UrlForm.scala