Trait/Object

com.mle.play.streams

Streams

Related Docs: object Streams | package streams

Permalink

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

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

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

    Permalink

    returns

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

  6. def clone(): AnyRef

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

    Permalink

    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

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

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

    Permalink

    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]

    Permalink
  12. def finalize(): Unit

    Permalink
    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]

    Permalink

    returns

    an Iteratee that writes any consumed bytes to os

  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. def joinedStream(inputBuffer: StorageSize = 10.megs)(implicit ec: ExecutionContext): (InputStream, Iteratee[Array[Byte], Long])

    Permalink

    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

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

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

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

    Permalink

    returns

    an Iteratee that writes any consumed bytes to os

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped