Interface UdsTransportConfig
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
UdsTransportConfig.BuilderBase.UdsTransportConfigImpl
Configuration of the built-in Unix domain socket listener transport binding.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forUdsTransportConfig.static classUdsTransportConfig.BuilderBase<BUILDER extends UdsTransportConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends UdsTransportConfig>Fluent API builder base forUdsTransportConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic UdsTransportConfig.Builderbuilder()Create a new fluent API builder to customize configuration.static UdsTransportConfig.Builderbuilder(UdsTransportConfig instance) Create a new fluent API builder from an existing instance.static UdsTransportConfigcreate()Create a new instance with default values.static UdsTransportConfigCreate a new instance from configuration.booleanenabled()Whether this binding is enabled.booleanrequired()Whether this binding is required to become active.socket()Unix domain socket address to bind.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
enabled
boolean enabled()Whether this binding is enabled.- Returns:
- whether this binding is enabled
-
required
boolean required()Whether this binding is required to become active.- Returns:
- whether this binding is required
-
socket
Optional<UnixDomainSocketAddress> socket()Unix domain socket address to bind.- Returns:
- Unix domain socket address
-