Top Description Fields Constructors Methods
io.netty.bootstrap

public final Class BootstrapConfig

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

Exposes the configuration of a Bootstrap.

Field Summary

Inherited from io.netty.bootstrap.AbstractBootstrapConfig:
bootstrap

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public SocketAddress
remoteAddress()

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

public AddressResolverGroup<?>
resolver()

Returns the configured AddressResolverGroup, null if resolver was disabled with Bootstrap#disableResolver(), or the default if not configured yet.

public String
toString()

Overrides io.netty.bootstrap.AbstractBootstrapConfig.toString.

Returns a string representation of the object.
Inherited from io.netty.bootstrap.AbstractBootstrapConfig:
attrschannelFactorygrouphandlerlocalAddressoptions

Constructor Detail

BootstrapConfigback to summary
pack-priv BootstrapConfig(Bootstrap bootstrap)

Method Detail

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, null if resolver was disabled with Bootstrap#disableResolver(), or the default if not configured yet.

toStringback to summary
public String toString()

Overrides io.netty.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