Interface Mqtt5ClientAdvancedConfigBuilderBase<B extends Mqtt5ClientAdvancedConfigBuilderBase<B>>
- Type Parameters:
B- the type of the builder.
- All Known Subinterfaces:
Mqtt5ClientAdvancedConfigBuilder,Mqtt5ClientAdvancedConfigBuilder.Nested<P>
@DoNotImplement
public interface Mqtt5ClientAdvancedConfigBuilderBase<B extends Mqtt5ClientAdvancedConfigBuilderBase<B>>
Builder base for a
Mqtt5ClientAdvancedConfig.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionallowServerReAuth(boolean allowServerReAuth) Sets whetherserver re-auth is allowed.@NotNull Mqtt5ClientInterceptorsBuilder.Nested<? extends B> Fluent counterpart ofinterceptors(Mqtt5ClientInterceptors).interceptors(@Nullable Mqtt5ClientInterceptors interceptors) Sets the optionalcollection of interceptors of MQTT messages.validatePayloadFormat(boolean validatePayloadFormat) Sets whetherthe payload format is validated.
-
Method Details
-
allowServerReAuth
Sets whetherserver re-auth is allowed.- Parameters:
allowServerReAuth- whether server re-auth is allowed.- Returns:
- the builder.
-
validatePayloadFormat
Sets whetherthe payload format is validated.- Parameters:
validatePayloadFormat- whether the payload format is validated.- Returns:
- the builder.
-
interceptors
Sets the optionalcollection of interceptors of MQTT messages.- Parameters:
interceptors- collection of interceptors of MQTT messages ornullto remove any previously set interceptors.- Returns:
- the builder.
-
interceptors
Fluent counterpart ofinterceptors(Mqtt5ClientInterceptors).Calling
Mqtt5ClientInterceptorsBuilder.Nested.applyInterceptors()on the returned builder has the effect of extending the current collection of interceptors.- Returns:
- the fluent builder for the collection of interceptors.
- See Also:
-