ByteBuffer representation of Headers to send
the blaze TailStage
, which takes ByteBuffers which will send the data downstream
an ExecutionContext which will be used to complete operations
an ExecutionContext which will be used to complete operations
an ExecutionContext which will be used to complete operations
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
Write a ByteVector to the wire.
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
BodyChunk to write to wire
a future letting you know when its safe to continue
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, or a Future with a Boolean to indicate whether the connection is to be closed or not.
BodyChunk to write to wire
a future letting you know when its safe to continue (if false
) or
to close the connection (if true
)
Doesn't write the entity body, just the headers.
Doesn't write the entity body, just the headers. Kills the stream, if an error if necessary
an entity body that will be killed
the Task which, when run, will send the headers and kill the entity body
Discards the body, killing it so as to clean up resources