Package io.netty.handler.codec.mqtt
Class MqttProperties.UserProperties
java.lang.Object
io.netty.handler.codec.mqtt.MqttProperties.MqttProperty<List<MqttProperties.StringPair>>
io.netty.handler.codec.mqtt.MqttProperties.UserProperties
- Enclosing class:
MqttProperties
public static final class MqttProperties.UserProperties
extends MqttProperties.MqttProperty<List<MqttProperties.StringPair>>
-
Field Summary
Fields inherited from class io.netty.handler.codec.mqtt.MqttProperties.MqttProperty
propertyId, value
-
Constructor Summary
ConstructorsConstructorDescriptionCreate user properties from the collection of the String pair values -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(MqttProperties.StringPair pair) void
private static MqttProperties.UserProperties
toString()
Methods inherited from class io.netty.handler.codec.mqtt.MqttProperties.MqttProperty
equals, hashCode, propertyId, value
-
Constructor Details
-
UserProperties
public UserProperties() -
UserProperties
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 Details
-
fromUserPropertyCollection
private static MqttProperties.UserProperties fromUserPropertyCollection(Collection<MqttProperties.UserProperty> properties) -
add
-
add
-
toString
-