class ChunkProcessWriter extends ProcessWriter
- Alphabetic
- By Inheritance
- ChunkProcessWriter
- ProcessWriter
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ChunkProcessWriter(headers: StringWriter, pipe: TailStage[ByteBuffer], trailer: Task[Headers])(implicit ec: ExecutionContext)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ChunkProcessWriter to any2stringadd[ChunkProcessWriter] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ChunkProcessWriter, B)
- Implicit
- This member is added by an implicit conversion from ChunkProcessWriter to ArrowAssoc[ChunkProcessWriter] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
implicit
val
ec: ExecutionContext
- Definition Classes
- ChunkProcessWriter → ProcessWriter
-
def
ensuring(cond: (ChunkProcessWriter) ⇒ Boolean, msg: ⇒ Any): ChunkProcessWriter
- Implicit
- This member is added by an implicit conversion from ChunkProcessWriter to Ensuring[ChunkProcessWriter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ChunkProcessWriter) ⇒ Boolean): ChunkProcessWriter
- Implicit
- This member is added by an implicit conversion from ChunkProcessWriter to Ensuring[ChunkProcessWriter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ChunkProcessWriter
- Implicit
- This member is added by an implicit conversion from ChunkProcessWriter to Ensuring[ChunkProcessWriter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ChunkProcessWriter
- Implicit
- This member is added by an implicit conversion from ChunkProcessWriter to Ensuring[ChunkProcessWriter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ChunkProcessWriter to StringFormat[ChunkProcessWriter] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
writeBodyChunk(chunk: ByteVector, flush: Boolean): Future[Unit]
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
- chunk
BodyChunk to write to wire
- returns
a future letting you know when its safe to continue
- Attributes
- protected
- Definition Classes
- ChunkProcessWriter → ProcessWriter
-
def
writeEnd(chunk: ByteVector): Future[Boolean]
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.
- chunk
BodyChunk to write to wire
- returns
a future letting you know when its safe to continue (if
false
) or to close the connection (iftrue
)
- Attributes
- protected
- Definition Classes
- ChunkProcessWriter → ProcessWriter
-
def
writeProcess(p: EntityBody): Task[Boolean]
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
EntityBody to write out
- returns
the Task which when run will unwind the Process
- Definition Classes
- ProcessWriter
-
def
→[B](y: B): (ChunkProcessWriter, B)
- Implicit
- This member is added by an implicit conversion from ChunkProcessWriter to ArrowAssoc[ChunkProcessWriter] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc