@DoNotImplement public interface Mqtt5UserProperty extends Comparable<Mqtt5UserProperty>
A User Property consists of a name and value UTF-8 encoded String Pair.
| Modifier and Type | Method and Description |
|---|---|
@NotNull MqttUtf8String |
getName() |
@NotNull MqttUtf8String |
getValue() |
static @NotNull Mqtt5UserProperty |
of(@NotNull MqttUtf8String name,
@NotNull MqttUtf8String value)
Creates an User Property of the given name and value.
|
static @NotNull Mqtt5UserProperty |
of(@NotNull String name,
@NotNull String value)
Creates an User Property of the given name and value.
|
compareTo@NotNull static @NotNull Mqtt5UserProperty of(@NotNull @NotNull String name, @NotNull @NotNull String value)
name - the name of the User Property.value - the value of the User Property.@NotNull static @NotNull Mqtt5UserProperty of(@NotNull @NotNull MqttUtf8String name, @NotNull @NotNull MqttUtf8String value)
name - the name of the User Property.value - the value of the User Property.@NotNull @NotNull MqttUtf8String getName()
@NotNull @NotNull MqttUtf8String getValue()