- java.lang.Object
-
- io.netty5.bootstrap.AbstractBootstrapConfig<Bootstrap,Channel,ChannelFactory<? extends Channel>>
-
- io.netty5.bootstrap.BootstrapConfig
-
public final class BootstrapConfig extends AbstractBootstrapConfig<Bootstrap,Channel,ChannelFactory<? extends Channel>>
Exposes the configuration of aBootstrap
.
-
-
Field Summary
-
Fields inherited from class io.netty5.bootstrap.AbstractBootstrapConfig
bootstrap
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelFactory<? extends Channel>
channelFactory()
SocketAddress
remoteAddress()
Returns the configured remote address ornull
if non is configured yet.AddressResolverGroup<?>
resolver()
Returns the configuredAddressResolverGroup
or the default if non is configured yet.String
toString()
-
Methods inherited from class io.netty5.bootstrap.AbstractBootstrapConfig
attrs, group, handler, localAddress, options
-
-
-
-
Method Detail
-
channelFactory
public ChannelFactory<? extends Channel> channelFactory()
Description copied from class:AbstractBootstrapConfig
- Specified by:
channelFactory
in classAbstractBootstrapConfig<Bootstrap,Channel,ChannelFactory<? extends Channel>>
-
remoteAddress
public SocketAddress remoteAddress()
Returns the configured remote address ornull
if non is configured yet.
-
resolver
public AddressResolverGroup<?> resolver()
Returns the configuredAddressResolverGroup
or the default if non is configured yet.
-
toString
public String toString()
- Overrides:
toString
in classAbstractBootstrapConfig<Bootstrap,Channel,ChannelFactory<? extends Channel>>
-
-