Packages

trait Http1Stage extends AnyRef

Utility bits for dealing with the HTTP 1.x protocol

Self Type
Http1Stage with TailStage[ByteBuffer]
Source
Http1Stage.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Http1Stage
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def contentComplete(): Boolean
    Attributes
    protected
  2. abstract def doParseContent(buffer: ByteBuffer): Option[ByteBuffer]
    Attributes
    protected
  3. implicit abstract def ec: ExecutionContext

    ExecutionContext to be used for all Future continuations WARNING: The ExecutionContext should trampoline or risk possibly unhandled stack overflows

    ExecutionContext to be used for all Future continuations WARNING: The ExecutionContext should trampoline or risk possibly unhandled stack overflows

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Http1Stage to any2stringadd[Http1Stage] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Http1Stage, B)
    Implicit
    This member is added by an implicit conversion from Http1Stage to ArrowAssoc[Http1Stage] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. final def checkCloseConnection(conn: Connection, rr: StringWriter): Boolean

    Check Connection header and add applicable headers to response

    Check Connection header and add applicable headers to response

    Attributes
    protected
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def collectBodyFromParser(buffer: ByteBuffer, eofCondition: () ⇒ Throwable): (EntityBody, () ⇒ Future[ByteBuffer])

    Makes a EntityBody and a function used to drain the line if terminated early.

    Makes a EntityBody and a function used to drain the line if terminated early.

    buffer

    starting ByteBuffer to use in parsing.

    eofCondition

    If the other end hangs up, this is the condition used in the Process for termination. The desired result will differ between Client and Server as the former can interpret and Command.EOF as the end of the body while a server cannot.

    Attributes
    protected
  10. final def drainBody(buffer: ByteBuffer): Future[ByteBuffer]

    Cleans out any remaining body from the parser

    Cleans out any remaining body from the parser

    Attributes
    protected
  11. def ensuring(cond: (Http1Stage) ⇒ Boolean, msg: ⇒ Any): Http1Stage
    Implicit
    This member is added by an implicit conversion from Http1Stage to Ensuring[Http1Stage] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Http1Stage) ⇒ Boolean): Http1Stage
    Implicit
    This member is added by an implicit conversion from Http1Stage to Ensuring[Http1Stage] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): Http1Stage
    Implicit
    This member is added by an implicit conversion from Http1Stage to Ensuring[Http1Stage] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Http1Stage
    Implicit
    This member is added by an implicit conversion from Http1Stage to Ensuring[Http1Stage] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def fatalError(t: Throwable, msg: String): Unit

    Called when a fatal error has occurred The method logs an error and shuts down the stage, sending the error outbound

    Called when a fatal error has occurred The method logs an error and shuts down the stage, sending the error outbound

    Attributes
    protected
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Http1Stage to StringFormat[Http1Stage] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  21. final def getEncoder(connectionHeader: Option[Connection], bodyEncoding: Option[Transfer-Encoding], lengthHeader: Option[Content-Length], trailer: Task[Headers], rr: StringWriter, minor: Int, closeOnFinish: Boolean): ProcessWriter

    Get the proper body encoder based on the message headers, adding the appropriate Connection and Transfer-Encoding headers along the way

    Get the proper body encoder based on the message headers, adding the appropriate Connection and Transfer-Encoding headers along the way

    Attributes
    protected
  22. final def getEncoder(msg: Message, rr: StringWriter, minor: Int, closeOnFinish: Boolean): ProcessWriter

    Get the proper body encoder based on the message headers

    Get the proper body encoder based on the message headers

    Attributes
    protected
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def [B](y: B): (Http1Stage, B)
    Implicit
    This member is added by an implicit conversion from Http1Stage to ArrowAssoc[Http1Stage] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Http1Stage to any2stringadd[Http1Stage]

Inherited by implicit conversion StringFormat from Http1Stage to StringFormat[Http1Stage]

Inherited by implicit conversion Ensuring from Http1Stage to Ensuring[Http1Stage]

Inherited by implicit conversion ArrowAssoc from Http1Stage to ArrowAssoc[Http1Stage]

Ungrouped