org.http4s.blaze.util

ChunkProcessWriter

class ChunkProcessWriter extends ProcessWriter

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

Instance Constructors

  1. new ChunkProcessWriter(headers: StringWriter, pipe: TailStage[ByteBuffer], trailer: Task[Headers])(implicit ec: ExecutionContext)

Value Members

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

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

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

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

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

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

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. implicit val ec: ExecutionContext

    The ExecutionContext on which to run computations, assumed to be stack safe.

    The ExecutionContext on which to run computations, assumed to be stack safe.

    Definition Classes
    ChunkProcessWriterProcessWriter
  9. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  11. def exceptionFlush(): Future[Unit]

    Called in the event of an Await failure to alert the pipeline to cleanup

    Called in the event of an Await failure to alert the pipeline to cleanup

    Attributes
    protected
    Definition Classes
    ProcessWriter
  12. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  19. def requireClose(): Boolean

    Signifies if this ProcessWriter requires the connection be closed upon completion.

    Signifies if this ProcessWriter requires the connection be closed upon completion.

    Definition Classes
    ProcessWriter
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def writeBodyChunk(chunk: ByteVector, flush: Boolean): Future[Unit]

    write a ByteVector to the wire If a request is cancelled, or the stream is closed this method should return a failed Future with Cancelled as the exception

    write a ByteVector to the wire If a request is cancelled, or the stream is closed this method should return a failed Future with Cancelled as the exception

    chunk

    BodyChunk to write to wire

    returns

    a future letting you know when its safe to continue

    Attributes
    protected
    Definition Classes
    ChunkProcessWriterProcessWriter
  26. def writeEnd(chunk: ByteVector): Future[Unit]

    Write the ending chunk and, in chunked encoding, a trailer to the wire.

    Write the ending chunk and, in chunked encoding, a trailer to the wire. If a request is cancelled, or the stream is closed this method should return a failed Future with Cancelled as the exception

    chunk

    BodyChunk to write to wire

    returns

    a future letting you know when its safe to continue

    Attributes
    protected
    Definition Classes
    ChunkProcessWriterProcessWriter
  27. def writeProcess(p: Process[Task, ByteVector]): Task[Unit]

    Creates a Task that writes the contents the Process to the output.

    Creates a Task that writes the contents the Process to the output. Cancelled exceptions fall through to the Task cb

    p

    Process[Task, ByteVector] to write out

    returns

    the Task which when run will unwind the Process

    Definition Classes
    ProcessWriter

Inherited from ProcessWriter

Inherited from AnyRef

Inherited from Any

Ungrouped