Top Description Fields Constructors Methods
io.netty.bootstrap

public final Class ServerBootstrapConfig

extends AbstractBootstrapConfig<ServerBootstrap, ServerChannel>
Class Inheritance
Imports
io.netty.channel.ChannelHandler, .ChannelOption, .EventLoopGroup, .ServerChannel, io.netty.util.AttributeKey, io.netty.util.internal.StringUtil, java.util.Map

Exposes the configuration of a ServerBootstrapConfig.

Field Summary

Inherited from io.netty.bootstrap.AbstractBootstrapConfig:
bootstrap

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Map<AttributeKey<?>, Object>
childAttrs()

Returns a copy of the configured attributes which will be used for the child channels.

public EventLoopGroup
childGroup()

Returns the configured EventLoopGroup which will be used for the child channels or null if non is configured yet.

public ChannelHandler
childHandler()

Returns the configured ChannelHandler be used for the child channels or null if non is configured yet.

public Map<ChannelOption<?>, Object>
childOptions()

Returns a copy of the configured options which will be used for the child channels.

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

ServerBootstrapConfigback to summary
pack-priv ServerBootstrapConfig(ServerBootstrap bootstrap)

Method Detail

childAttrsback to summary
public Map<AttributeKey<?>, Object> childAttrs()

Returns a copy of the configured attributes which will be used for the child channels.

childGroupback to summary
public EventLoopGroup childGroup()

Returns the configured EventLoopGroup which will be used for the child channels or null if non is configured yet.

Annotations
@SuppressWarnings:deprecation
childHandlerback to summary
public ChannelHandler childHandler()

Returns the configured ChannelHandler be used for the child channels or null if non is configured yet.

childOptionsback to summary
public Map<ChannelOption<?>, Object> childOptions()

Returns a copy of the configured options which will be used for the child channels.

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