Q - the type of payloadI - the type of initial responseU - the type of incremental responsespublic interface SubscriptionQueryMessage<Q,I,U> extends QueryMessage<Q,I>
Handlers should only answer a query if they can respond with the appropriate response type and update type.
| Modifier and Type | Method and Description |
|---|---|
SubscriptionQueryMessage<Q,I,U> |
andMetaData(Map<String,?> additionalMetaData)
Returns a copy of this SubscriptionQueryMessage with its MetaData merged with given
metaData. |
ResponseType<U> |
getUpdateResponseType()
Returns the type of incremental responses.
|
SubscriptionQueryMessage<Q,I,U> |
withMetaData(Map<String,?> metaData)
Returns a copy of this SubscriptionQueryMessage with the given
metaData. |
getQueryName, getResponseType, queryNamegetIdentifier, getMetaData, getPayload, getPayloadType, serializeMetaData, serializePayloadResponseType<U> getUpdateResponseType()
SubscriptionQueryMessage<Q,I,U> withMetaData(@Nonnull Map<String,?> metaData)
metaData. The payload remains unchanged.withMetaData in interface Message<Q>withMetaData in interface QueryMessage<Q,I>metaData - The new MetaData for the SubscriptionQueryMessageSubscriptionQueryMessage<Q,I,U> andMetaData(@Nonnull Map<String,?> additionalMetaData)
metaData. The payload
remains unchanged.andMetaData in interface Message<Q>andMetaData in interface QueryMessage<Q,I>additionalMetaData - The MetaData to merge into the SubscriptionQueryMessageCopyright © 2010–2025. All rights reserved.