final class ServerPriorKnowledgeHandshaker extends PriorKnowledgeHandshaker[Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 0.23.18) HTTP/2 support is unmaintained and will be removed in a future version.
- Source
- ServerPriorKnowledgeHandshaker.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServerPriorKnowledgeHandshaker
- PriorKnowledgeHandshaker
- TailStage
- Tail
- Stage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ServerPriorKnowledgeHandshaker(localSettings: ImmutableHttp2Settings, flowStrategy: FlowStrategy, nodeBuilder: (Int) => LeafBuilder[StreamFrame])
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
- Definition Classes
- PriorKnowledgeHandshaker
- 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()
- 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
- Definition Classes
- ServerPriorKnowledgeHandshaker → PriorKnowledgeHandshaker
- final def handshake(): Future[Unit]
Perform the HTTP/2 prior knowledge handshake
Perform the HTTP/2 prior knowledge handshake
- Definition Classes
- PriorKnowledgeHandshaker
- def handshakeComplete(remoteSettings: MutableHttp2Settings, data: ByteBuffer): Future[Unit]
Perform pipeline manipulations necessary upon successful handshaking
Perform pipeline manipulations necessary upon successful handshaking
- Attributes
- protected
- Definition Classes
- ServerPriorKnowledgeHandshaker → PriorKnowledgeHandshaker
- 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): ServerPriorKnowledgeHandshaker.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
- ServerPriorKnowledgeHandshaker → 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()