abstract class PriorKnowledgeHandshaker[T] extends TailStage[ByteBuffer]
Base type for performing the HTTP/2 prior knowledge handshake
- Annotations
- @deprecated
- Deprecated
(Since version 0.23.18) HTTP/2 support is unmaintained and will be removed in a future version.
- Source
- PriorKnowledgeHandshaker.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- PriorKnowledgeHandshaker
- TailStage
- Tail
- Stage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new PriorKnowledgeHandshaker(localSettings: ImmutableHttp2Settings)
Abstract Value Members
- abstract def handlePreface(): Future[ByteBuffer]
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
- abstract def handshakeComplete(remoteSettings: MutableHttp2Settings, data: ByteBuffer): Future[T]
Perform pipeline manipulations necessary upon successful handshaking
Perform pipeline manipulations necessary upon successful handshaking
- Attributes
- protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def channelRead(size: Int, timeout: Duration): Future[ByteBuffer]
- Definition Classes
- Tail
- final def channelWrite(data: Seq[ByteBuffer], timeout: Duration): Future[Unit]
- Definition Classes
- Tail
- def channelWrite(data: Seq[ByteBuffer]): Future[Unit]
- Definition Classes
- Tail
- final def channelWrite(data: ByteBuffer, timeout: Duration): Future[Unit]
- Definition Classes
- Tail
- def channelWrite(data: ByteBuffer): Future[Unit]
- Definition Classes
- Tail
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def closePipeline(cause: Option[Throwable]): Unit
- Definition Classes
- Tail → Stage
- implicit final def ec: ExecutionContext
- Attributes
- protected
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def findOutboundStage[C <: Stage](clazz: Class[C]): Option[C]
- Definition Classes
- Tail
- final def findOutboundStage(name: String): Option[Stage]
- Definition Classes
- Tail
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def handshake(): Future[T]
Perform the HTTP/2 prior knowledge handshake
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def inboundCommand(cmd: InboundCommand): Unit
- Definition Classes
- Stage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final val logger: Logger
- Attributes
- protected
- Definition Classes
- Stage
- def name: String
- Definition Classes
- PriorKnowledgeHandshaker → Stage
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def replaceTail(leafBuilder: LeafBuilder[ByteBuffer], startup: Boolean): PriorKnowledgeHandshaker.this.type
- Definition Classes
- Tail
- final def spliceBefore(stage: MidStage[ByteBuffer, ByteBuffer]): Unit
- Definition Classes
- Tail
- def stageShutdown(): Unit
- Attributes
- protected
- Definition Classes
- Stage
- def stageStartup(): Unit
- Attributes
- protected
- Definition Classes
- Stage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()