Top Description Fields Constructors Methods
io.netty5.bootstrap

public final Class BootstrapConfig

extends AbstractBootstrapConfig<Bootstrap, Channel, ChannelFactory<? extends Channel>>
Class Inheritance
Imports
io.netty5.channel.Channel, .ChannelFactory, io.netty5.resolver.AddressResolverGroup, java.net.SocketAddress

Exposes the configuration of a Bootstrap.

Field Summary

Inherited from io.netty5.bootstrap.AbstractBootstrapConfig:
bootstrap

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public ChannelFactory<? extends Channel>
channelFactory()

Implements abstract io.netty5.bootstrap.AbstractBootstrapConfig.channelFactory.

Returns the configured ChannelFactory / ServerChannelFactory or null if non is configured yet.
public SocketAddress
remoteAddress()

Returns the configured remote address or null if non is configured yet.

public AddressResolverGroup<?>
resolver()

Returns the configured AddressResolverGroup or the default if non is configured yet.

public String
toString()

Overrides io.netty5.bootstrap.AbstractBootstrapConfig.toString.

Returns a string representation of the object.
Inherited from io.netty5.bootstrap.AbstractBootstrapConfig:
attrsgrouphandlerlocalAddressoptions

Constructor Detail

BootstrapConfigback to summary
pack-priv BootstrapConfig(Bootstrap bootstrap)

Method Detail

channelFactoryback to summary
public ChannelFactory<? extends Channel> channelFactory()

Implements abstract io.netty5.bootstrap.AbstractBootstrapConfig.channelFactory.

Doc from io.netty5.bootstrap.AbstractBootstrapConfig.channelFactory.

Returns the configured ChannelFactory / ServerChannelFactory or null if non is configured yet.

Annotations
@Override
remoteAddressback to summary
public SocketAddress remoteAddress()

Returns the configured remote address or null if non is configured yet.

resolverback to summary
public AddressResolverGroup<?> resolver()

Returns the configured AddressResolverGroup or the default if non is configured yet.

toStringback to summary
public String toString()

Overrides io.netty5.bootstrap.AbstractBootstrapConfig.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override