ApplicationProtocolConfig

cc.otavia.handler.ssl.ApplicationProtocolConfig
See theApplicationProtocolConfig companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

enum Protocol

Defines which application level protocol negotiation to use.

Defines which application level protocol negotiation to use.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Defines the most common behaviors for the peer which is notified of the selected protocol.

Defines the most common behaviors for the peer which is notified of the selected protocol.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Defines the most common behaviors for the peer that selects the application protocol.

Defines the most common behaviors for the peer that selects the application protocol.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply(supportedProtocols: List[String], protocol: Protocol, selectorBehavior: SelectorFailureBehavior, selectedBehavior: SelectedListenerFailureBehavior): ApplicationProtocolConfig

Create a new ApplicationProtocolConfig instance.

Create a new ApplicationProtocolConfig instance.

Value parameters

protocol

The application protocol functionality to use.

selectedBehavior

How the peer being notified of the selected protocol should behave.

selectorBehavior

How the peer selecting the protocol should behave.

supportedProtocols

The order of iteration determines the preference of support for protocols.

Attributes

Concrete fields