com.nrinaudo.fetch

MediaTypeParameters

class MediaTypeParameters extends Parameters[MediaTypeParameters]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MediaTypeParameters
  2. Parameters
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MediaTypeParameters(values: Map[String, String] = ...)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

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

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. def apply[T](name: String)(implicit arg0: ValueReader[T]): T

    Returns the value of the requested parameter.

    Returns the value of the requested parameter.

    This method is unsafe: it will throw an exception if the requested parameter is either absent or not found. For safer alternatives, see Parameters.get and Parameters.getOpt.

    T

    type of the parameter to retrieve. An implicit instance of ValueReader for this type is required to be in scope.

    name

    name of the parameter to retrieve.

    Definition Classes
    Parameters
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def build(values: Map[String, String]): MediaTypeParameters

    Creates a new instance of Parameters with the specified values.

    Creates a new instance of Parameters with the specified values.

    Definition Classes
    MediaTypeParametersParameters
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def contains(name: String): Boolean

    Checks whether the current instance contains a parameter with the specified name.

    Checks whether the current instance contains a parameter with the specified name.

    Definition Classes
    Parameters
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(p1: Any): Boolean

    Definition Classes
    Parameters → AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def get[T](name: String)(implicit arg0: ValueReader[T]): Option[Try[T]]

    Returns the value of the requested parameter.

    Returns the value of the requested parameter.

    This method differentiates between an absent parameter (None) and one with an illegal value (Some(Failure)). If that distinction is not necessary, used Parameters.getOpt instead.

    T

    type of the parameter to retrieve. An implicit instance of ValueReader for this type is required to be in scope.

    name

    name of the parameter to retrieve.

    returns

    Definition Classes
    Parameters
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def getOpt[T](name: String)(implicit arg0: ValueReader[T]): Option[T]

    Returns the value of the requested parameter.

    Returns the value of the requested parameter.

    This method does not differentiate between an absent parameter and one with an illegal value: both cases will return None. If the distinction is important, use the Parameters.get method.

    T

    type of the parameter to retrieve. An implicit instance of ValueReader for this type is required to be in scope.

    name

    name of the parameter to retrieve.

    Definition Classes
    Parameters
  17. def hashCode(): Int

    Definition Classes
    Parameters → AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def remove(name: String): MediaTypeParameters

    Removes the specified parameter if it exists.

    Removes the specified parameter if it exists. Otherwise, does nothing.

    name

    name of the parameter to remove.

    Definition Classes
    Parameters
  23. def set(name: String, value: String): MediaTypeParameters

    Definition Classes
    Parameters
  24. def set[T](name: String, value: T)(implicit arg0: ValueWriter[T]): MediaTypeParameters

    Sets the specified parameter to the specified value.

    Sets the specified parameter to the specified value.

    T

    type of the parameter. An implicit instance of ValueWriter for this type is required to be in scope.

    name

    name of the parameter.

    value

    value of the parameter.

    Definition Classes
    Parameters
  25. def setIfEmpty[T](name: String, value: T)(implicit arg0: ValueWriter[T]): MediaTypeParameters

    Sets the specified parameter to the specified value if it does not exist.

    Sets the specified parameter to the specified value if it does not exist. Otherwise, does nothing.

    T

    type of the parameter. An implicit instance of ValueWriter for this type is required to be in scope.

    name

    name of the parameter to set.

    value

    desired value.

    Definition Classes
    Parameters
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. lazy val toString: String

    Definition Classes
    MediaTypeParametersParameters → AnyRef → Any
  28. val values: Map[String, String]

    Where the parameter and their values are stored.

    Where the parameter and their values are stored.

    Definition Classes
    MediaTypeParametersParameters
  29. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped