toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-api
/
me.ahoo.wow.api.messaging
/
Message
Message
interface
Message
<
SOURCE
:
Message
<
SOURCE
,
T
>
,
out
T
>
:
Identifier
Messages are the nexus of collaboration.
Author
ahoo wang
Inheritors
NamedBoundedContextMessage
Members
Properties
body
Link copied to clipboard
abstract
val
body
:
T
create
Time
Link copied to clipboard
abstract
val
createTime
:
Long
header
Link copied to clipboard
abstract
val
header
:
Header
id
Link copied to clipboard
abstract
val
id
:
String
id.
is
Read
Only
Link copied to clipboard
open
val
isReadOnly
:
Boolean
Functions
with
Header
Link copied to clipboard
open
fun
withHeader
(
additionalSource
:
Map
<
String
,
String
>
)
:
SOURCE
合并 header 并返回一个新的 Message.
open
fun
withHeader
(
key
:
String
,
value
:
String
)
:
SOURCE
with
Read
Only
Link copied to clipboard
open
fun
withReadOnly
(
)
:
SOURCE