Message

akka.http.javadsl.model.ws.Message
See theMessage companion object
@DoNotInherit
abstract class Message

Represents a WebSocket message. A message can either be a binary message or a text message.

Attributes

Companion
object
Source
Message.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Streamed
class Strict
class TextMessage
trait TextMessage
class Streamed
class Strict
trait Message
Show all

Members list

Value members

Abstract methods

Returns this BinaryMessage if it is a binary message, throws otherwise.

Returns this BinaryMessage if it is a binary message, throws otherwise.

Attributes

Source
Message.scala

Attributes

Source
Message.scala

Returns this TextMessage if it is a text message, throws otherwise.

Returns this TextMessage if it is a text message, throws otherwise.

Attributes

Source
Message.scala

Is this message a strict one?

Is this message a strict one?

Attributes

Source
Message.scala

Is this message a text message? If true, asTextMessage will return this text message, if false, asBinaryMessage will return this binary message.

Is this message a text message? If true, asTextMessage will return this text message, if false, asBinaryMessage will return this binary message.

Attributes

Source
Message.scala