Describes which connected SSE clients should receive a message, built with a fluent API from SseManager.newFilter(). A filter always targets a hostname and connection type; contentId, profileId, attributeName and attributeValue further narrow the set of matching clients and are optional.


Methods

contentId(String contentId)

Returns: Filter

Narrows this filter to clients connected for the given content id.

ParameterDescription
contentIdthe content id to filter by

profileId(Long profileId)

Returns: Filter

Narrows this filter to clients connected as the given profile.

ParameterDescription
profileIdthe id of the profile to filter by

attributeName(String attributeName)

Returns: Filter

Narrows this filter to clients connected with the given attribute name set.

ParameterDescription
attributeNamethe attribute name to filter by

attributeValue(String attributeValue)

Returns: Filter

Narrows this filter to clients connected with the given attribute value set. Used together with attributeName().

ParameterDescription
attributeValuethe attribute value to filter by
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.