Class MqttProperties.UserProperties

    • Constructor Detail

      • UserProperties

        public UserProperties()
      • UserProperties

        public UserProperties​(java.util.Collection<MqttProperties.StringPair> values)
        Create user properties from the collection of the String pair values
        Parameters:
        values - string pairs. Collection entries are copied, collection itself isn't shared
    • Method Detail

      • add

        public void add​(java.lang.String key,
                        java.lang.String value)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object