| Package | Description |
|---|---|
| io.netty.bootstrap |
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
|
| Modifier and Type | Method and Description |
|---|---|
ServerBootstrap |
ServerBootstrap.channel(Class<? extends Channel> channelClass)
The
Class which is used to create the ServerChannel from (for the acceptor). |
<T> ServerBootstrap |
ServerBootstrap.childAttr(io.netty.util.AttributeKey<T> childKey,
T value) |
ServerBootstrap |
ServerBootstrap.childHandler(ChannelHandler childHandler)
Set the
ChannelHandler which is used to server the request for the Channel's. |
<T> ServerBootstrap |
ServerBootstrap.childOption(ChannelOption<T> childOption,
T value)
Allow to specify a
ChannelOption which is used for the Channel instances once they get created
(after the acceptor accepted the Channel). |
ServerBootstrap |
ServerBootstrap.group(EventLoopGroup group)
Specify the
EventLoopGroup which is used for the parent (acceptor) and the child (client). |
ServerBootstrap |
ServerBootstrap.group(EventLoopGroup parentGroup,
EventLoopGroup childGroup)
Set the
EventLoopGroup for the parent (acceptor) and the child (client). |
Copyright © 2008-2012 The Netty Project. All Rights Reserved.