play.api.libs.iteratee

Iteratee

trait Iteratee [E, +A] extends AnyRef

E

Input type

A

Result type of this Iteratee

Self Type
Iteratee[E, A]
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Iteratee
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def fold [B] (done: (A, Input[E]) ⇒ Promise[B], cont: ((Input[E]) ⇒ Iteratee[E, A]) ⇒ Promise[B], error: (String, Input[E]) ⇒ Promise[B]): Promise[B]

    This method provides the means to check on the state of the Iteratee and eventually extract a value in a Promise

    This method provides the means to check on the state of the Iteratee and eventually extract a value in a Promise

    done

    a function that will be called if the Iteratee is a Done

    cont

    a function that will be called if the Iteratee is a Cont

    error

    a function that will be called if the Iteratee is an Error

    returns

    a Promise of a value extracted by calling the appropriate provided function

    Attributes
    abstract

Concrete Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  9. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def feed [AA >: A] (in: Input[E]): Promise[Iteratee[E, AA]]

  11. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def flatFold [B, C] (done: (A, Input[E]) ⇒ Promise[Iteratee[B, C]], cont: ((Input[E]) ⇒ Iteratee[E, A]) ⇒ Promise[Iteratee[B, C]], error: (String, Input[E]) ⇒ Promise[Iteratee[B, C]]): Iteratee[B, C]

  13. def flatMap [B] (f: (A) ⇒ Iteratee[E, B]): Iteratee[E, B]

    On Done of this Iteratee, the result is passed to the provided function, and the resulting Iteratee is used to continue consuming input

    On Done of this Iteratee, the result is passed to the provided function, and the resulting Iteratee is used to continue consuming input

    If the resulting Iteratee of evaluating the f function is a Done then its left Input is ignored and its computed result is wrapped in a Done and returned

  14. def flatMapTraversable [B, X] (f: (A) ⇒ Iteratee[E, B])(implicit p: (E) ⇒ TraversableLike[X, E], bf: CanBuildFrom[E, X, E]): Iteratee[E, B]

    Like flatMap except that it concatenates left inputs if the Iteratee returned by evaluating f is a Done.

  15. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  16. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  17. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  18. def joinConcatI [AIn, X] (implicit in: <:<[A, Iteratee[E, AIn]], p: (E) ⇒ TraversableLike[X, E], bf: CanBuildFrom[E, X, E]): Iteratee[E, AIn]

  19. def joinI [AIn] (implicit in: <:<[A, play.api.libs.iteratee.Iteratee[_, AIn]]): Iteratee[E, AIn]

  20. def map [B] (f: (A) ⇒ B): Iteratee[E, B]

    Uses the provided function to transform the Iteratee's computed result when the Iteratee is done.

    Uses the provided function to transform the Iteratee's computed result when the Iteratee is done.

    f

    a function for tranforming the computed result

  21. def mapDone [B] (f: (A) ⇒ B): Iteratee[E, B]

  22. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def pureFlatFold [B, C] (done: (A, Input[E]) ⇒ Iteratee[B, C], cont: ((Input[E]) ⇒ Iteratee[E, A]) ⇒ Iteratee[B, C], error: (String, Input[E]) ⇒ Iteratee[B, C]): Iteratee[B, C]

    Like pureFold, except taking functions that return an Iteratee

    Like pureFold, except taking functions that return an Iteratee

    returns

    an Iteratee extracted by calling the appropriate provided function

  26. def pureFold [B] (done: (A, Input[E]) ⇒ B, cont: ((Input[E]) ⇒ Iteratee[E, A]) ⇒ B, error: (String, Input[E]) ⇒ B): Promise[B]

    Like fold but taking functions returning pure values (not in promises)

    Like fold but taking functions returning pure values (not in promises)

    returns

    a Promise of a value extracted by calling the appropriate provided function

  27. def run [AA >: A] : Promise[AA]

    Extracts the computed result of the Iteratee pushing an Input.

    Extracts the computed result of the Iteratee pushing an Input.EOF if necessary

    returns

    a Promise of the eventually computed result

  28. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  29. def toString (): String

    Definition Classes
    AnyRef → Any
  30. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any