public static final class MqttProperties.UserProperties extends MqttProperties.MqttProperty<List<MqttProperties.StringPair>>
Constructor and Description |
---|
UserProperties() |
UserProperties(Collection<MqttProperties.StringPair> values)
Create user properties from the collection of the String pair values
|
Modifier and Type | Method and Description |
---|---|
void |
add(MqttProperties.StringPair pair) |
void |
add(String key,
String value) |
public UserProperties()
public UserProperties(Collection<MqttProperties.StringPair> values)
values
- string pairs. Collection entries are copied, collection itself isn't sharedpublic void add(MqttProperties.StringPair pair)
Copyright © 2008–2021 The Netty Project. All rights reserved.