T
- The type of object resulting from the querypublic interface QueryResponseMessage<T> extends Message<T>
Modifier and Type | Method and Description |
---|---|
QueryResponseMessage<T> |
andMetaData(Map<String,?> additionalMetaData)
Returns a copy of this QueryResponseMessage with its MetaData merged with given
metaData . |
QueryResponseMessage<T> |
withMetaData(Map<String,?> metaData)
Returns a copy of this QueryResponseMessage with the given
metaData . |
getIdentifier, getMetaData, getPayload, getPayloadType
QueryResponseMessage<T> withMetaData(Map<String,?> metaData)
metaData
. The payload remains unchanged.withMetaData
in interface Message<T>
metaData
- The new MetaData for the QueryResponseMessageQueryResponseMessage<T> andMetaData(Map<String,?> additionalMetaData)
metaData
. The payload
remains unchanged.andMetaData
in interface Message<T>
additionalMetaData
- The MetaData to merge into the QueryResponseMessageCopyright © 2010–2018. All rights reserved.