Uses of Class
io.netty5.bootstrap.ServerBootstrap
-
Packages that use ServerBootstrap Package Description io.netty5.bootstrap The helper classes with fluent API which enable an easy implementation of typical client side and server side channel initialization. -
-
Uses of ServerBootstrap in io.netty5.bootstrap
Methods in io.netty5.bootstrap that return ServerBootstrap Modifier and Type Method Description ServerBootstrap
ServerBootstrap. channel(Class<? extends ServerChannel> channelClass)
TheClass
which is used to createServerChannel
instances from.ServerBootstrap
ServerBootstrap. channelFactory(ServerChannelFactory<? extends ServerChannel> channelFactory)
ServerChannelFactory
which is used to createChannel
instances from when callingAbstractBootstrap.bind()
.<T> ServerBootstrap
ServerBootstrap. childAttr(AttributeKey<T> childKey, T value)
Set the specificAttributeKey
with the given value on every childChannel
.ServerBootstrap
ServerBootstrap. childHandler(ChannelHandler childHandler)
Set theChannelHandler
which is used to serve the request for theChannel
's.<T> ServerBootstrap
ServerBootstrap. childOption(ChannelOption<T> childOption, T value)
Allow to specify aChannelOption
which is used for theChannel
instances once they get created (after the acceptor accepted theChannel
).ServerBootstrap
ServerBootstrap. clone()
ServerBootstrap
ServerBootstrap. group(EventLoopGroup group)
Specify theEventLoopGroup
which is used for the parent (acceptor) and the child (client).ServerBootstrap
ServerBootstrap. group(EventLoopGroup parentGroup, EventLoopGroup childGroup)
Set theEventLoopGroup
for the parent (acceptor) and the child (client).ServerBootstrap
ServerBootstrap. validate()
-