colossus.protocols.http

QueryParameters

final case class QueryParameters(parameters: Seq[(String, String)]) extends AnyVal with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. QueryParameters
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyVal
  7. NotNull
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueryParameters(parameters: Seq[(String, String)])

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. def apply(key: String): String

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def contains(key: String): Boolean

    return true if at least one parameter's key matches the given key

  7. def getAll(key: String): Seq[String]

    Get the values of all instances of key

    Get the values of all instances of key

    This is for urls like http://foo.com?bar=val1&bar=val2&bar=val3, which is a valid url

  8. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  9. def getFirst(key: String): Option[String]

    Get the value of a query string parameter when only at most one value is expected.

    Get the value of a query string parameter when only at most one value is expected. If there are multiple instances of the parameter then only the value of the first is returned

  10. def getFirstAs[T](key: String)(implicit parser: ParameterParser[T]): Try[T]

    Get the value of a query string parameter and attempt to cast it to the given type

  11. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  12. val parameters: Seq[(String, String)]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped