final class ALPNServerSelector extends TailStage[ByteBuffer]
Dynamically inject an appropriate pipeline using ALPN negotiation.
- Annotations
- @deprecated
- Deprecated
(Since version 0.23.18) HTTP/2 support is unmaintained and will be removed in a future version.
- Source
- ALPNServerSelector.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ALPNServerSelector
- TailStage
- Tail
- Stage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ALPNServerSelector(engine: SSLEngine, selector: (Set[String]) => String, builder: (String) => LeafBuilder[ByteBuffer])
- engine
the
SSLEnginein use for the connection- selector
selects the preferred protocol from the sequence of supported clients. May receive an empty sequence.
- builder
builds the appropriate pipeline based on the negotiated protocol
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
- 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 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
- ALPNServerSelector → 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): ALPNServerSelector.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
- ALPNServerSelector → 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()