Class

rapture.io.Readable

Capability

Related Doc: package Readable

Permalink

class Capability[Res] extends AnyRef

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

Instance Constructors

  1. new Capability(res: Res)

    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. def >[Data](out: Output[Data])(implicit sr: Reader[Res, Data], mode: Mode[Readable#redirectTo], mf: ClassTag[Data]): Wrap[Int, Exception]

    Permalink

    Pumps the input for the specified resource to the destination output provided

    Pumps the input for the specified resource to the destination output provided

    Data

    The type that the data should be pumped as

    out

    The destination for data to be pumped to

  5. def >[Data, DestRes](dest: DestRes)(implicit sr: Reader[Res, Data], sw: Writer[DestRes, Data], mode: Mode[Readable#redirectTo], mf: ClassTag[Data]): Wrap[Int, Exception]

    Permalink
  6. def >>[Data, DestRes](dest: DestRes)(implicit sr: Reader[Res, Data], sw: Appender[DestRes, Data], mode: Mode[Readable#appendTo], mf: ClassTag[Data]): Wrap[Int, Exception]

    Permalink
  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def handleInput[Data, Res2](body: (Input[Data]) ⇒ Res2)(implicit sr: Reader[Res, Data]): Res2

    Permalink

    Carefully handles writing to the input stream, ensuring that it is closed following data being written to the stream.

    Carefully handles writing to the input stream, ensuring that it is closed following data being written to the stream. Handling an input stream which is already being handled will have no effect.

    Data

    The type of data the stream should carry

    Res2

    The type of body's result

    body

    The code to be executed upon the this Input before it is closed

  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def input[Data](implicit sr: Reader[Res, Data], mode: Mode[Readable#input]): Wrap[Input[Data], Exception]

    Permalink

    Gets the input for the resource specified in this resource

  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. def pipeTo[Data, DestRes](dest: DestRes)(implicit sr: Reader[Res, Data], sw: Writer[DestRes, Data], mf: ClassTag[Data]): DestRes

    Permalink
  21. def redirectTo[Data, DestRes](dest: DestRes)(implicit sr: Reader[Res, Data], sw: Writer[DestRes, Data], mode: Mode[Readable#redirectTo], mf: ClassTag[Data]): Wrap[Int, Exception]

    Permalink

    Pumps the input for the specified resource to the destination resource provided

  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( ... )
  27. def |[Data, DestRes](dest: DestRes)(implicit sr: Reader[Res, Data], sw: Writer[DestRes, Data], mf: ClassTag[Data]): DestRes

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped