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 . |
exceptionDetails, exceptionResult, isExceptional, optionalExceptionResult, serializeExceptionResult, serializePayload
getIdentifier, getMetaData, getPayload, getPayloadType, serializeMetaData
QueryResponseMessage<T> withMetaData(@Nonnull 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(@Nonnull 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–2023. All rights reserved.