T
- The type of object resulting from the querypublic interface QueryResponseMessage<T> extends ResultMessage<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 . |
exceptionResult, isExceptional, optionalExceptionResult, serializeExceptionResult
getIdentifier, getMetaData, getPayload, getPayloadType, serializeMetaData, serializePayload
QueryResponseMessage<T> withMetaData(Map<String,?> metaData)
metaData
. The payload remains unchanged.withMetaData
in interface Message<T>
withMetaData
in interface ResultMessage<T>
metaData
- The new MetaData for the QueryResponseMessageQueryResponseMessage<T> andMetaData(Map<String,?> additionalMetaData)
metaData
. The payload
remains unchanged.andMetaData
in interface Message<T>
andMetaData
in interface ResultMessage<T>
additionalMetaData
- The MetaData to merge into the QueryResponseMessageCopyright © 2010–2018. All rights reserved.