Object/Trait

com.malliina.play.streams

Streams

Related Docs: trait Streams | package streams

Permalink

object Streams extends Streams

Linear Supertypes
Streams, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Streams
  2. Streams
  3. AnyRef
  4. 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: (ByteString) ⇒ Unit)(implicit ec: ExecutionContext): Sink[ByteString, Future[Long]]

    Permalink

    returns

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

    Definition Classes
    Streams
  6. def clone(): AnyRef

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

    Permalink

    Builds a Sink that writes consumed bytes to all outStreams.

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

    returns

    a Sink that writes to outStream

    Definition Classes
    Streams
  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def fileWriter2(file: Path): Sink[ByteString, Future[IOResult]]

    Permalink

    file

    destination file

    returns

    a Sink that writes bytes to file, keeping track of the number of bytes written

    Definition Classes
    Streams
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def fromOutputStream(os: OutputStream)(implicit ec: ExecutionContext): Sink[ByteString, Future[OutputStream]]

    Permalink

    returns

    an Iteratee that writes any consumed bytes to os

    Definition Classes
    Streams
  13. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  16. def joinedStream(inputBuffer: StorageSize = 10.megs)(implicit ec: ExecutionContext): (PipedInputStream, Sink[ByteString, Future[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

    Definition Classes
    Streams
  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. def streamWriter(outStreams: OutputStream*)(implicit ec: ExecutionContext): Sink[ByteString, Future[Long]]

    Permalink

    returns

    an Iteratee that writes any consumed bytes to os

    Definition Classes
    Streams
  21. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  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 Streams

Inherited from AnyRef

Inherited from Any

Ungrouped