Interface SubscriptionAuthorizerInput

    • Method Detail

      • getUserProperties

        @NotNull UserProperties getUserProperties()
        The user properties from the SUBSCRIBE packet.

        For an MQTT 3 client this MQTT 5 property will always contain an empty list as the user properties.

        Returns:
        The UserProperties of the SUBSCRIBE packet.
        Since:
        4.0.0, CE 2019.1
      • getSubscriptionIdentifier

        @NotNull Optional<Integer> getSubscriptionIdentifier()
        If this property is present, it contains the subscription identifier for the SUBSCRIBE packet.

        For an MQTT 3 client this Optional for the MQTT 5 property will always be empty.

        Returns:
        An Optional containing the subscription identifier of the SUBSCRIBE packet if present.
        Since:
        4.0.0, CE 2019.1