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.
| Parameter | Description |
|---|---|
contentId | the content id to filter by |
profileId(Long profileId)
Returns: Filter
Narrows this filter to clients connected as the given profile.
| Parameter | Description |
|---|---|
profileId | the id of the profile to filter by |
attributeName(String attributeName)
Returns: Filter
Narrows this filter to clients connected with the given attribute name set.
| Parameter | Description |
|---|---|
attributeName | the 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().
| Parameter | Description |
|---|---|
attributeValue | the attribute value to filter by |
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.