public static final class MqttProperties.UserProperties extends MqttProperties.MqttProperty<List<MqttProperties.StringPair>>
propertyId, value| 构造器和说明 |
|---|
UserProperties() |
UserProperties(Collection<MqttProperties.StringPair> values)
Create user properties from the collection of the String pair values
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(MqttProperties.StringPair pair) |
void |
add(String key,
String value) |
private static MqttProperties.UserProperties |
fromUserPropertyCollection(Collection<MqttProperties.UserProperty> properties) |
String |
toString() |
equals, hashCode, propertyId, valuepublic UserProperties()
public UserProperties(Collection<MqttProperties.StringPair> values)
values - string pairs. Collection entries are copied, collection itself isn't sharedprivate static MqttProperties.UserProperties fromUserPropertyCollection(Collection<MqttProperties.UserProperty> properties)
public void add(MqttProperties.StringPair pair)
Copyright © 2023. All rights reserved.