io.finch.request

StringOptionReaderOps

Related Doc: package request

implicit final class StringOptionReaderOps[R] extends AnyVal

Implicit conversion that allows to call as[A] on any RequestReader[Option[String]] to perform a type conversion based on an implicit DecodeRequest[A] which must be in scope.

The resulting reader will fail when the result is non-empty and type conversion fails. It will succeed if the result is empty or type conversion succeeds.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StringOptionReaderOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StringOptionReaderOps(rr: PRequestReader[R, Option[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 as[A](implicit magnet: DecodeMagnet[A], tag: ClassTag[A]): PRequestReader[R, Option[A]]

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  8. val rr: PRequestReader[R, Option[String]]

  9. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped