Object

io.finch.request

RequestReader

Related Doc: package request

Permalink

object RequestReader

Convenience methods for creating new reader instances.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RequestReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait FromParams[L <: HList] extends AnyRef

    Permalink
  2. class GenericDerivation[A] extends AnyRef

    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. object FromParams

    Permalink
  5. def apply[R, A](f: (R) ⇒ A): PRequestReader[R, A]

    Permalink

    Creates a new RequestReader that reads the result from the request.

    Creates a new RequestReader that reads the result from the request.

    f

    the function to apply to the request

    returns

    a new reader that reads the result from the request

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def const[A](value: Future[A]): RequestReader[A]

    Permalink

    Creates a new RequestReader that always produces the specified value.

    Creates a new RequestReader that always produces the specified value. It will succeed if the given Future succeeds and fail if the Future fails.

    value

    the value the new reader should produce

    returns

    a new reader that always produces the specified value

  9. def derive[A]: GenericDerivation[A]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def exception[A](exc: Throwable): RequestReader[A]

    Permalink

    Creates a new RequestReader that always fails, producing the specified exception.

    Creates a new RequestReader that always fails, producing the specified exception.

    exc

    the exception the new reader should produce

    returns

    a new reader that always fails, producing the specified exception

  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

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

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. def value[A](value: A): RequestReader[A]

    Permalink

    Creates a new RequestReader that always succeeds, producing the specified value.

    Creates a new RequestReader that always succeeds, producing the specified value.

    value

    the value the new reader should produce

    returns

    a new reader that always succeeds, producing the specified value

  23. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped