trait ProcessWriter extends AnyRef
- Alphabetic
- By Inheritance
- ProcessWriter
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
implicit abstract
def
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.- Attributes
- protected
-
abstract
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
-
abstract
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
Concrete 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 ProcessWriter to any2stringadd[ProcessWriter] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ProcessWriter, B)
- Implicit
- This member is added by an implicit conversion from ProcessWriter to ArrowAssoc[ProcessWriter] 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( ... )
-
def
ensuring(cond: (ProcessWriter) ⇒ Boolean, msg: ⇒ Any): ProcessWriter
- Implicit
- This member is added by an implicit conversion from ProcessWriter to Ensuring[ProcessWriter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ProcessWriter) ⇒ Boolean): ProcessWriter
- Implicit
- This member is added by an implicit conversion from ProcessWriter to Ensuring[ProcessWriter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ProcessWriter
- Implicit
- This member is added by an implicit conversion from ProcessWriter to Ensuring[ProcessWriter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ProcessWriter
- Implicit
- This member is added by an implicit conversion from ProcessWriter to Ensuring[ProcessWriter] 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
-
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 ProcessWriter to StringFormat[ProcessWriter] 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
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
-
def
→[B](y: B): (ProcessWriter, B)
- Implicit
- This member is added by an implicit conversion from ProcessWriter to ArrowAssoc[ProcessWriter] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc