org.http4s.blaze

Http1Stage

trait Http1Stage extends AnyRef

Utility bits for dealing with the HTTP 1.x protocol

Self Type
Http1Stage with TailStage[ByteBuffer]
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Http1Stage
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    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 Process[Task, ByteVector] and a function used to drain the line if terminated early.

    Makes a Process[Task, ByteVector] 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. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. 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

    t
    msg

    Attributes
    protected
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. 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
  17. 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
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped