Interface SubscribeFormReader

    • Method Detail

      • isDeliverOn

        default boolean isDeliverOn()
        Determines if an entity wants to receive notifications.
        Returns:
        true if want to receive, false otherwise
      • isDigestOn

        default Boolean isDigestOn()
        Determines if notifications should be delivered as aggregations or not.
        Returns:
        true to aggregate, false otherwise
      • getDigestFrequency

        default Integer getDigestFrequency()
        Gets the minimum number of milliseconds between sending notification digests.
        Returns:
        The frequency in milliseconds
      • getExpiry

        default Date getExpiry()
                        throws ParseException
        Get the time at which the leased subscription will expire, or has expired.
        Returns:
        The expiry date
        Throws:
        ParseException - in case the date could not be parsed.
      • isIncludeBody

        default Boolean isIncludeBody()
        Determines whether the entity wants to receive an XMPP message body in addition to the payload format.
        Returns:
        true to receive the message body, false otherwise