Trait/Object

org.http4s.blaze

Http1Stage

Related Docs: object Http1Stage | package blaze

Permalink

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
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def contentComplete(): Boolean

    Permalink
    Attributes
    protected
  2. abstract def doParseContent(buffer: ByteBuffer): Option[ByteBuffer]

    Permalink
    Attributes
    protected
  3. implicit abstract def ec: ExecutionContext

    Permalink

    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

    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. final def checkCloseConnection(conn: Connection, rr: StringWriter): Boolean

    Permalink

    Check Connection header and add applicable headers to response

    Check Connection header and add applicable headers to response

    Attributes
    protected
  6. def clone(): AnyRef

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

    Permalink

    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
  8. final def drainBody(buffer: ByteBuffer): Future[ByteBuffer]

    Permalink

    Cleans out any remaining body from the parser

    Cleans out any remaining body from the parser

    Attributes
    protected
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def fatalError(t: Throwable, msg: String): Unit

    Permalink

    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
  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def getEncoder(connectionHeader: Option[Connection], bodyEncoding: Option[Transfer-Encoding], lengthHeader: Option[Content-Length], trailer: Task[Headers], rr: StringWriter, minor: Int, closeOnFinish: Boolean): ProcessWriter

    Permalink

    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
  15. final def getEncoder(msg: Message, rr: StringWriter, minor: Int, closeOnFinish: Boolean): ProcessWriter

    Permalink

    Get the proper body encoder based on the message headers

    Get the proper body encoder based on the message headers

    Attributes
    protected
  16. def hashCode(): Int

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

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped