public class IndexedMessageBody
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
IndexedMessageBody.IndexedMessageBodyBuilder |
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.String> |
content |
java.util.Map<java.lang.String,java.lang.Object> |
data |
Keyword |
messageId |
java.lang.String |
preview |
java.util.List<Keyword> |
references |
Keyword |
subject |
java.lang.String |
uid |
Modifier and Type | Method and Description |
---|---|
static IndexedMessageBody |
createIndexBody(java.lang.String uid,
BodyStreamProcessor.MessageBodyData bodyData) |
static IndexedMessageBody |
createIndexBody(java.lang.String uid,
io.netty.buffer.ByteBufInputStream stream) |
java.util.Map<java.lang.String,java.lang.Object> |
headers() |
java.lang.String |
toJson() |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public final java.util.List<java.lang.String> content
public final java.util.Map<java.lang.String,java.lang.Object> data
public final Keyword subject
public final Keyword messageId
public final java.util.List<Keyword> references
public final java.lang.String uid
public final java.lang.String preview
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toJson()
public static IndexedMessageBody createIndexBody(java.lang.String uid, io.netty.buffer.ByteBufInputStream stream) throws java.lang.Exception
java.lang.Exception
public static IndexedMessageBody createIndexBody(java.lang.String uid, BodyStreamProcessor.MessageBodyData bodyData)
public java.util.Map<java.lang.String,java.lang.Object> headers()
Copyright © 2021. All Rights Reserved.