Trait/Object

org.http4s.blaze.channel

ChannelHead

Related Docs: object ChannelHead | package channel

Permalink

trait ChannelHead extends HeadStage[ByteBuffer]

Linear Supertypes
HeadStage[ByteBuffer], Head[ByteBuffer], Stage, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChannelHead
  2. HeadStage
  3. Head
  4. Stage
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def closeWithError(t: Throwable): Unit

    Permalink

    Close the channel with an error NOTE: EOF is a valid error to close the channel with and signals normal termination.

    Close the channel with an error NOTE: EOF is a valid error to close the channel with and signals normal termination. This method should not send a Disconnected command.

    Attributes
    protected
  2. abstract def name: String

    Permalink
    Definition Classes
    Stage
  3. abstract def readRequest(size: Int): Future[ByteBuffer]

    Permalink
    Definition Classes
    Head
  4. abstract def writeRequest(data: ByteBuffer): Future[Unit]

    Permalink
    Definition Classes
    Head

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def checkError(e: Throwable): Throwable

    Permalink

    Filter the error, replacing known "EOF" like errors with EOF

    Filter the error, replacing known "EOF" like errors with EOF

    Attributes
    protected
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def findInboundStage[C <: Stage](clazz: Class[C]): Option[C]

    Permalink
    Definition Classes
    Head
  11. final def findInboundStage(name: String): Option[Stage]

    Permalink
    Definition Classes
    Head
  12. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def inboundCommand(cmd: InboundCommand): Unit

    Permalink

    Receives inbound commands Override to capture commands.

    Receives inbound commands Override to capture commands.

    cmd

    a command originating from the channel

    Definition Classes
    HeadStage
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Stage
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def outboundCommand(cmd: OutboundCommand): Unit

    Permalink

    Receives outbound commands Override to capture commands.

    Receives outbound commands Override to capture commands.

    Definition Classes
    ChannelHeadHead
  21. final def sendInboundCommand(cmd: InboundCommand): Unit

    Permalink
    Definition Classes
    Head
  22. final def spliceAfter(stage: MidStage[ByteBuffer, ByteBuffer]): Unit

    Permalink
    Definition Classes
    Head
  23. def stageShutdown(): Unit

    Permalink

    Shuts down the stage, deallocating resources, etc.

    Shuts down the stage, deallocating resources, etc.

    This method will be called when the stages receives a Disconnected command unless the inboundCommand method is overridden. It is not impossible that this will not be called due to failure for other stages to propagate shutdown commands. Conversely, it is also possible for this to be called more than once due to the reception of multiple disconnect commands. It is therefore recommended that the method be idempotent.

    Attributes
    protected
    Definition Classes
    Stage
  24. def stageStartup(): Unit

    Permalink

    Start the stage, allocating resources etc.

    Start the stage, allocating resources etc.

    This method should not effect other stages by sending commands etc unless it creates them. It is not impossible that the stage will receive other commands besides Connected before this method is called. It is not impossible for this method to be called multiple times by misbehaving stages. It is therefore recommended that the method be idempotent.

    Attributes
    protected
    Definition Classes
    Stage
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def writeRequest(data: Seq[ByteBuffer]): Future[Unit]

    Permalink

    A simple default that serializes the write requests into the single element form.

    A simple default that serializes the write requests into the single element form. It almost certainly should be overwritten

    data

    sequence of elements which are to be written

    returns

    Future which will resolve when pipeline is ready for more data or fails

    Definition Classes
    Head

Inherited from HeadStage[ByteBuffer]

Inherited from Head[ByteBuffer]

Inherited from Stage

Inherited from AnyRef

Inherited from Any

Ungrouped