Class/Object

com.nrinaudo.fetch

MediaTypeParameters

Related Docs: object MediaTypeParameters | package fetch

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[T](name: String)(implicit arg0: ValueReader[T]): T

    Permalink

    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
  5. final def asInstanceOf[T0]: T0

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

    Permalink

    Creates a new instance of Parameters with the specified values.

    Creates a new instance of Parameters with the specified values.

    Definition Classes
    MediaTypeParametersParameters
  7. def clone(): AnyRef

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

    Permalink

    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
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink

    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.

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

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

    Permalink

    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
  15. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

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

    Permalink

    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
  21. def set(name: String, value: String): MediaTypeParameters

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

    Permalink

    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
  23. def setIfEmpty[T](name: String, value: T)(implicit arg0: ValueWriter[T]): MediaTypeParameters

    Permalink

    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
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. lazy val toString: String

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

    Permalink

    Where the parameter and their values are stored.

    Where the parameter and their values are stored.

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped