com.mle.play.streams

Streams

trait Streams extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Streams
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def byteConsumer(f: (Array[Byte]) ⇒ Unit)(implicit ec: ExecutionContext): Iteratee[Array[Byte], Long]

    f
    returns

    an iteratee that consumes bytes by applying f and returns the total number of bytes consumed

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def closingStreamWriter(outStreams: OutputStream*)(implicit ec: ExecutionContext): Iteratee[Array[Byte], Long]

    Builds an Iteratee that writes consumed bytes to all outStreams.

    Builds an Iteratee that writes consumed bytes to all outStreams. The streams are closed when the Iteratee is done.

    returns

    an Iteratee that writes to outStream

  8. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  10. def fileWriter(file: Path): Iteratee[Array[Byte], Long]

    file

    destination file

    returns

    an Iteratee that writes bytes to file, keeping track of the number of bytes written

  11. def fileWriter2(file: Path)(implicit ec: ExecutionContext): Iteratee[Array[Byte], Long]

  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fromOutputStream(os: OutputStream)(implicit ec: ExecutionContext): Iteratee[Array[Byte], OutputStream]

    returns

    an Iteratee that writes any consumed bytes to os

  14. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  17. def joinedStream(inputBuffer: StorageSize = 10.megs)(implicit ec: ExecutionContext): (InputStream, Iteratee[Array[Byte], Long])

    http://stackoverflow.com/questions/12066993/uploading-file-as-stream-in-play-framework-2-0

    http://stackoverflow.com/questions/12066993/uploading-file-as-stream-in-play-framework-2-0

    returns

    an InputStream and an Iteratee such that any bytes consumed by the Iteratee are made available to the InputStream

  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. def streamWriter(outStreams: OutputStream*)(implicit ec: ExecutionContext): Iteratee[Array[Byte], Long]

    returns

    an Iteratee that writes any consumed bytes to os

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped