SubscribingRequest
public abstract class SubscribingRequest<M extends Message, C extends MessageContext, W extends Message, B extends SubscribingRequest<M, C, W, B>> extends FilteringRequest<M, R, A, B>
Abstract base for client requests that subscribe to messages.
Parameters
<M>
the type of the subscribed messages
<C>
the type of the context of messages or io.spine.core.EmptyContext if messages do not have a context
<W>
the type of the message that wraps a message and its context (e.g. io.spine.core.Event); if subscribed message type does not have a context, this parameter is likely to be the same as M
<B>
the type of this request for return type covariance
Inheritors
Functions
Inherited functions
Link copied to clipboard
Creates a builder for customizing command request.
Link copied to clipboard
Assigns a handler for an error occurred on the server-side (such as validation error) in response to posting a request.
Link copied to clipboard
Creates a builder for customizing subscription for the passed entity state type.
Link copied to clipboard
Creates a builder for customizing subscription for the passed event type.
Link copied to clipboard
Configures the request to return results matching all the passed filters.