Class

org.http4s.blaze.http.http1.server

Http1ServerStage

Related Doc: package server

Permalink

class Http1ServerStage extends TailStage[ByteBuffer]

Http1 Server tail stage

TailStage capable of decoding requests, obtaining results from the HttpService, rendering the response and, if possible, restarting to continue serving requests on the this connection.

Keep-Alive is supported and managed automatically by this stage via the Http1ServerCodec which examines the http version, and connection, content-length, and transfer-encoding headers to determine if the connection can be reused for a subsequent dispatch.

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

Instance Constructors

  1. new Http1ServerStage(service: HttpService, config: HttpServerStageConfig)

    Permalink

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, timeout: Duration): Future[ByteBuffer]

    Permalink
    Definition Classes
    Tail
  6. final def channelWrite(data: Seq[ByteBuffer], timeout: Duration): Future[Unit]

    Permalink
    Definition Classes
    Tail
  7. def channelWrite(data: Seq[ByteBuffer]): Future[Unit]

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

    Permalink
    Definition Classes
    Tail
  9. def channelWrite(data: ByteBuffer): Future[Unit]

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def closePipeline(cause: Option[Throwable]): Unit

    Permalink
    Definition Classes
    Tail → Stage
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  21. final val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Stage
  22. val name: String

    Permalink
    Definition Classes
    Http1ServerStage → Stage
  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 replaceTail(leafBuilder: LeafBuilder[ByteBuffer], startup: Boolean): Http1ServerStage.this.type

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

    Permalink
    Definition Classes
    Tail
  28. def stageShutdown(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Http1ServerStage → Stage
  29. def stageStartup(): Unit

    Permalink
    Definition Classes
    Http1ServerStage → Stage
  30. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from TailStage[ByteBuffer]

Inherited from Tail[ByteBuffer]

Inherited from Stage

Inherited from AnyRef

Inherited from Any

Ungrouped