B
- the type of the builder.@DoNotImplement public interface Mqtt5ClientAdvancedConfigBuilderBase<B extends Mqtt5ClientAdvancedConfigBuilderBase<B>>
Mqtt5ClientAdvancedConfig
.Modifier and Type | Method and Description |
---|---|
B |
allowServerReAuth(boolean allowServerReAuth)
Sets whether
server re-auth is allowed . |
Mqtt5ClientInterceptorsBuilder.Nested<? extends B> |
interceptors()
Fluent counterpart of
interceptors(Mqtt5ClientInterceptors) . |
B |
interceptors(@Nullable Mqtt5ClientInterceptors interceptors)
Sets the optional
collection of interceptors of MQTT messages . |
B |
validatePayloadFormat(boolean validatePayloadFormat)
Sets whether
the payload format is validated . |
@NotNull B allowServerReAuth(boolean allowServerReAuth)
server re-auth is allowed
.allowServerReAuth
- whether server re-auth is allowed.@NotNull B validatePayloadFormat(boolean validatePayloadFormat)
the payload format is validated
.validatePayloadFormat
- whether the payload format is validated.@NotNull B interceptors(@Nullable @Nullable Mqtt5ClientInterceptors interceptors)
collection of interceptors of MQTT messages
.interceptors
- collection of interceptors of MQTT messages or null
to remove any previously set
interceptors.@NotNull Mqtt5ClientInterceptorsBuilder.Nested<? extends B> interceptors()
interceptors(Mqtt5ClientInterceptors)
.
Calling Mqtt5ClientInterceptorsBuilder.Nested#applyInterceptors()
on the returned builder has the effect
of extending the current collection of interceptors.
interceptors(Mqtt5ClientInterceptors)