public final class BootstrapConfig extends AbstractBootstrapConfig<Bootstrap,Channel>
Bootstrap
.bootstrap
限定符和类型 | 方法和说明 |
---|---|
java.net.SocketAddress |
remoteAddress()
Returns the configured remote address or
null if non is configured yet. |
AddressResolverGroup<?> |
resolver()
Returns the configured
AddressResolverGroup , null if resolver was disabled
with Bootstrap.disableResolver() , or the default if not configured yet. |
java.lang.String |
toString() |
attrs, channelFactory, group, handler, localAddress, options
public java.net.SocketAddress remoteAddress()
null
if non is configured yet.public AddressResolverGroup<?> resolver()
AddressResolverGroup
, null
if resolver was disabled
with Bootstrap.disableResolver()
, or the default if not configured yet.public java.lang.String toString()
toString
在类中 AbstractBootstrapConfig<Bootstrap,Channel>