Trait

org.http4s.blaze.pipeline.stages.addons

Serializer

Related Doc: package addons

Permalink

trait Serializer[I] extends WriteSerializer[I] with ReadSerializer[I]

Combined WriteSerializer and ReadSerializer

Linear Supertypes
ReadSerializer[I], WriteSerializer[I], TailStage[I], Tail[I], Stage, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Serializer
  2. ReadSerializer
  3. WriteSerializer
  4. TailStage
  5. Tail
  6. Stage
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def name: String

    Permalink
    Definition Classes
    Stage

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 channelRead(size: Int = 1, timeout: Duration = Duration.Inf): Future[I]

    Permalink
    Definition Classes
    ReadSerializerTail
  6. def channelWrite(data: Seq[I]): Future[Unit]

    Permalink
    Definition Classes
    WriteSerializerTail
  7. def channelWrite(data: I): Future[Unit]

    Permalink
    Definition Classes
    WriteSerializerTail
  8. final def channelWrite(data: Seq[I], timeout: Duration): Future[Unit]

    Permalink
    Definition Classes
    Tail
  9. final def channelWrite(data: I, timeout: Duration): Future[Unit]

    Permalink
    Definition Classes
    Tail
  10. def clone(): AnyRef

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

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

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

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

    Permalink
    Definition Classes
    Tail
  15. final def findOutboundStage(name: String): Option[Stage]

    Permalink
    Definition Classes
    Tail
  16. final def getClass(): Class[_]

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

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

    Permalink

    Handle basic startup and shutdown commands.

    Handle basic startup and shutdown commands. This should clearly be overridden in all cases except possibly TailStages

    cmd

    a command originating from the channel

    Definition Classes
    Stage
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Stage
  21. def maxReadQueue: Int

    Permalink
    Definition Classes
    ReadSerializer
  22. def maxWriteQueue: Int

    Permalink
    Definition Classes
    WriteSerializer
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. final def replaceInline(leafBuilder: LeafBuilder[I], startup: Boolean = true): Serializer.this.type

    Permalink
    Definition Classes
    Tail
  27. final def sendOutboundCommand(cmd: OutboundCommand): Unit

    Permalink
    Definition Classes
    Tail
  28. final def spliceBefore(stage: MidStage[I, I]): Unit

    Permalink
    Definition Classes
    Tail
  29. 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
  30. 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
  31. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ReadSerializer[I]

Inherited from WriteSerializer[I]

Inherited from TailStage[I]

Inherited from Tail[I]

Inherited from Stage

Inherited from AnyRef

Inherited from Any

Ungrouped