UndertowWebSocketEndpoint

automorph.transport.websocket.endpoint.UndertowWebSocketEndpoint
See theUndertowWebSocketEndpoint companion object

Undertow WebSocket endpoint transport plugin.

Interprets WebSocket request message as an RPC request and processes it using the specified RPC request handler.

  • The response returned by the RPC request handler is used as WebSocket response message.

Type parameters

Effect

effect type

Value parameters

effectSystem

effect system plugin

handler

RPC request handler

Attributes

Constructor

Creates an Undertow Websocket endpoint message transport plugin with specified effect system and request handler.

See also
Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Transport layer adapter.

Transport layer adapter.

Attributes

Definition Classes
override def close(): Unit

Attributes

Definition Classes
AutoCloseable

Creates an Undertow WebSocket handshake HTTP handler for this Undertow WebSocket callback.

Creates an Undertow WebSocket handshake HTTP handler for this Undertow WebSocket callback.

Value parameters

next

Undertow handler invoked if a HTTP request does not contain a WebSocket handshake

Attributes

Create a copy of this endpoint transport with specified RPC request handler.

Create a copy of this endpoint transport with specified RPC request handler.

Value parameters

handler

RPC request handler

Attributes

Returns

server transport

Definition Classes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields

protected val logger: Logger

Attributes

Inherited from:
Logging (hidden)