Packages

c

org.http4s.blaze.http.http1.server

Http1ServerStage

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)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def channelRead(size: Int, timeout: Duration): Future[ByteBuffer]
    Definition Classes
    Tail
  6. final def channelWrite(data: Seq[ByteBuffer], timeout: Duration): Future[Unit]
    Definition Classes
    Tail
  7. def channelWrite(data: Seq[ByteBuffer]): Future[Unit]
    Definition Classes
    Tail
  8. final def channelWrite(data: ByteBuffer, timeout: Duration): Future[Unit]
    Definition Classes
    Tail
  9. def channelWrite(data: ByteBuffer): Future[Unit]
    Definition Classes
    Tail
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. final def closePipeline(cause: Option[Throwable]): Unit
    Definition Classes
    Tail → Stage
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def findOutboundStage[C <: Stage](clazz: Class[C]): Option[C]
    Definition Classes
    Tail
  16. final def findOutboundStage(name: String): Option[Stage]
    Definition Classes
    Tail
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def inboundCommand(cmd: InboundCommand): Unit
    Definition Classes
    Stage
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final val logger: Logger
    Attributes
    protected
    Definition Classes
    Stage
  22. val name: String
    Definition Classes
    Http1ServerStage → Stage
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def replaceTail(leafBuilder: LeafBuilder[ByteBuffer], startup: Boolean): Http1ServerStage.this.type
    Definition Classes
    Tail
  27. final def spliceBefore(stage: MidStage[ByteBuffer, ByteBuffer]): Unit
    Definition Classes
    Tail
  28. def stageShutdown(): Unit
    Attributes
    protected
    Definition Classes
    Http1ServerStage → Stage
  29. def stageStartup(): Unit
    Definition Classes
    Http1ServerStage → Stage
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from TailStage[ByteBuffer]

Inherited from Tail[ByteBuffer]

Inherited from Stage

Inherited from AnyRef

Inherited from Any

Ungrouped