Class

org.http4s.blaze.http.http2

PriorKnowledgeHandshaker

Related Doc: package http2

Permalink

abstract class PriorKnowledgeHandshaker[T] extends TailStage[ByteBuffer]

Base type for performing the HTTP/2 prior knowledge handshake

Linear Supertypes
TailStage[ByteBuffer], Tail[ByteBuffer], Stage, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PriorKnowledgeHandshaker
  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 PriorKnowledgeHandshaker(localSettings: ImmutableHttp2Settings)

    Permalink

Abstract Value Members

  1. abstract def handlePreface(): Future[ByteBuffer]

    Permalink

    Handle the prior knowledge preface

    Handle the prior knowledge preface

    The preface is the magic string "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n" which is intended to cause HTTP/1.x connections to fail gracefully. For clients, this involves sending the magic string and for servers this consists of receiving the magic string. The return value of this function is any unconsumed inbound data.

    Attributes
    protected
  2. abstract def handshakeComplete(remoteSettings: MutableHttp2Settings, data: ByteBuffer): Future[T]

    Permalink

    Perform pipeline manipulations necessary upon successful handshaking

    Perform pipeline manipulations necessary upon successful handshaking

    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. 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. implicit final def ec: ExecutionContext

    Permalink
    Attributes
    protected
  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. final def handshake(): Future[T]

    Permalink

    Perform the HTTP/2 prior knowledge handshake

  19. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    Any
  22. final val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Stage
  23. def name: String

    Permalink
    Definition Classes
    PriorKnowledgeHandshaker → Stage
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. final def replaceTail(leafBuilder: LeafBuilder[ByteBuffer], startup: Boolean): PriorKnowledgeHandshaker.this.type

    Permalink
    Definition Classes
    Tail
  28. final def sendOutboundCommand(cmd: OutboundCommand): Unit

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Stage
  31. def stageStartup(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Stage
  32. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. 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