class Http2Writer extends ProcessWriter
- Source
- Http2Writer.scala
- Alphabetic
- By Inheritance
- Http2Writer
- ProcessWriter
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Http2Writer(tail: TailStage[Http2Msg], headers: blaze.http.Headers, 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 Http2Writer to any2stringadd[Http2Writer] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (Http2Writer, B)
- Implicit
- This member is added by an implicit conversion from Http2Writer to ArrowAssoc[Http2Writer] 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
- @native() @throws( ... )
-
val
ec: ExecutionContext
- Attributes
- protected
- Definition Classes
- Http2Writer → ProcessWriter
-
def
ensuring(cond: (Http2Writer) ⇒ Boolean, msg: ⇒ Any): Http2Writer
- Implicit
- This member is added by an implicit conversion from Http2Writer to Ensuring[Http2Writer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (Http2Writer) ⇒ Boolean): Http2Writer
- Implicit
- This member is added by an implicit conversion from Http2Writer to Ensuring[Http2Writer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Http2Writer
- Implicit
- This member is added by an implicit conversion from Http2Writer to Ensuring[Http2Writer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): Http2Writer
- Implicit
- This member is added by an implicit conversion from Http2Writer to Ensuring[Http2Writer] 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 Http2Writer to StringFormat[Http2Writer] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
- @native() @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
- Http2Writer → 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
- Http2Writer → 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): (Http2Writer, B)
- Implicit
- This member is added by an implicit conversion from Http2Writer to ArrowAssoc[Http2Writer] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc